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/1762 | Unable to format dataset to CUDA Tensors | Hi @lhoestq,
Thanks a lot. Is this true for all format types?
As in, for 'torch', I can have `**kwargs` to `torch.tensor` and for 'tf' those args are passed to `tf.Tensor`, and the same for 'numpy' and 'pandas'? | Hi,
I came across this [link](https://huggingface.co/docs/datasets/torch_tensorflow.html) where the docs show show to convert a dataset to a particular format. I see that there is an option to convert it to tensors, but I don't see any option to convert it to CUDA tensors.
I tried this, but Dataset doesn't support assignment:
```
columns=['input_ids', 'token_type_ids', 'attention_mask', 'start_positions','end_positions']
samples.set_format(type='torch', columns = columns)
for column in columns:
samples[column].to(torch.device(self.config.device))
```
There should be an option to do so, or if there is already a way to do this, please let me know.
Thanks,
Gunjan | 38 | Unable to format dataset to CUDA Tensors
Hi,
I came across this [link](https://huggingface.co/docs/datasets/torch_tensorflow.html) where the docs show show to convert a dataset to a particular format. I see that there is an option to convert it to tensors, but I don't see any option to convert it to CUDA tensors.
I tried this, but Dataset doesn't support assignment:
```
columns=['input_ids', 'token_type_ids', 'attention_mask', 'start_positions','end_positions']
samples.set_format(type='torch', columns = columns)
for column in columns:
samples[column].to(torch.device(self.config.device))
```
There should be an option to do so, or if there is already a way to do this, please let me know.
Thanks,
Gunjan
Hi @lhoestq,
Thanks a lot. Is this true for all format types?
As in, for 'torch', I can have `**kwargs` to `torch.tensor` and for 'tf' those args are passed to `tf.Tensor`, and the same for 'numpy' and 'pandas'? | [
-0.19142435491085052,
-0.495354562997818,
-0.06351529806852341,
0.1430513858795166,
0.5737580060958862,
0.35782375931739807,
0.6109960675239563,
0.3751012980937958,
-0.006469424813985825,
0.09331350028514862,
-0.1843089461326599,
0.238564133644104,
-0.1888938993215561,
0.2082742601633072,
0.18554750084877014,
-0.355099081993103,
0.23482170701026917,
-0.15433916449546814,
-0.03766303509473801,
0.0704861581325531,
-0.20851469039916992,
-0.024109521880745888,
-0.15626361966133118,
-0.290000855922699,
-0.19499105215072632,
-0.16171960532665253,
0.0201719943434,
-0.44003283977508545,
-0.10248088836669922,
-0.06419306248426437,
0.2913293242454529,
0.10488815605640411,
0.3066849112510681,
0.48786187171936035,
-0.00012565638462547213,
-0.017864294350147247,
-0.04979497939348221,
-0.15105685591697693,
-0.12282539904117584,
-0.26639652252197266,
0.013185922056436539,
-0.27952873706817627,
0.3273180425167084,
-0.26975017786026,
-0.3616904616355896,
0.13513293862342834,
0.050388798117637634,
-0.37674981355667114,
0.20086467266082764,
0.5606642961502075,
0.08733196556568146,
0.15674181282520294,
0.22398142516613007,
0.03131280466914177,
-0.14011070132255554,
0.47426456212997437,
-0.38699477910995483,
0.03213566541671753,
0.12391387671232224,
0.23134173452854156,
0.23909565806388855,
0.12194755673408508,
-0.11706193536520004,
0.03669324889779091,
0.24364876747131348,
0.006877644453197718,
-0.3590640127658844,
-0.2845255434513092,
0.04157479852437973,
0.23167824745178223,
0.7356419563293457,
-0.30583691596984863,
-0.41983562707901,
0.0801287367939949,
0.03840772807598114,
-0.3957471251487732,
-0.19685116410255432,
0.6596464514732361,
-0.3205678462982178,
0.06708043813705444,
-0.3185793161392212,
0.11471559852361679,
-0.23709900677204132,
0.12597520649433136,
-0.26309892535209656,
0.0228494331240654,
-0.23862552642822266,
-0.0052826181054115295,
0.013435862958431244,
0.13735942542552948,
0.29155653715133667,
0.10848187655210495,
0.18641021847724915,
0.17297007143497467,
-0.49683594703674316,
-0.11239532381296158,
-0.5637845993041992,
-0.17507383227348328,
0.145513117313385,
0.07509360462427139,
0.18898414075374603,
0.047055184841156006,
-0.1527157872915268,
0.045681778341531754,
-0.16893550753593445,
0.22416871786117554,
0.03230829909443855,
0.1593715399503708,
-0.05211978405714035,
-0.268301397562027,
0.3393747806549072,
-0.06395164877176285,
-0.29077738523483276,
-0.500095009803772,
-0.29448574781417847,
0.18284684419631958,
0.0936032384634018,
-0.07467897981405258,
-0.25507357716560364,
-0.11885782331228256,
-0.024816639721393585,
0.10760556161403656,
-0.26661238074302673,
0.2495327889919281,
0.025321826338768005,
0.30207979679107666,
0.39458149671554565,
0.18590840697288513,
0.06243763118982315,
0.0885021910071373,
0.04599938169121742,
0.09767515957355499,
-0.2249602973461151,
-0.20465998351573944,
0.050319645553827286,
-0.3494419753551483,
-0.05204179883003235,
0.1319434642791748,
-0.029844284057617188,
-0.005022279918193817,
-0.11016396433115005,
0.08496440947055817,
0.4755420386791229,
0.11982347071170807,
-0.10784076154232025,
0.40939024090766907,
0.21080513298511505,
0.21505694091320038,
-0.2697773575782776,
0.1633632630109787,
-0.482879102230072,
-0.050340309739112854,
-0.4977715015411377,
-0.045852385461330414,
0.27820348739624023,
-0.005237109959125519,
-0.2089647352695465,
0.20634062588214874,
0.2674427330493927,
0.1263454556465149,
0.1163301020860672,
-0.18638628721237183,
-0.1187274158000946,
-0.29599279165267944,
0.48397162556648254,
0.09433698654174805,
-0.3462418019771576,
-0.013565078377723694,
0.5384857058525085,
-0.04938801750540733,
0.22865495085716248,
0.34459489583969116,
0.19991762936115265,
-0.1558273434638977,
-0.11615260690450668,
-0.3076293468475342,
0.5141445994377136,
-0.33276480436325073,
0.062090933322906494,
-0.20462843775749207,
0.23859407007694244,
-0.23974071443080902,
-0.03069280833005905,
0.09010326862335205,
0.2652628421783447,
0.04171337932348251,
0.17193688452243805,
0.24469409883022308,
-0.025607647374272346,
0.006251899525523186,
-0.02020176686346531,
0.05640266090631485,
0.4594370126724243,
-0.09072956442832947,
-0.19937382638454437,
0.3107620179653168,
-0.2633800804615021,
-0.11514108628034592,
0.16215114295482635,
-0.09875208139419556,
-0.06227746605873108,
0.012384910136461258,
0.20490103960037231,
0.030500318855047226,
-0.13591085374355316,
0.0358944833278656,
-0.49508827924728394,
-0.12879803776741028,
0.3969790041446686,
0.1687711477279663,
0.12177667021751404,
-0.17474894225597382,
-0.003075656481087208,
-0.00991485733538866,
0.007943648844957352,
0.04481729865074158,
-0.04640967398881912,
-0.24932631850242615,
-0.08740447461605072,
-0.061576567590236664,
-0.37236499786376953,
0.18128342926502228,
-0.22459420561790466,
0.15824750065803528,
-0.2071203887462616,
-0.1247372254729271,
0.05925438925623894,
-0.07163283973932266,
0.06302884966135025,
0.23526263236999512,
0.013181276619434357,
-0.2124841809272766,
0.028421346098184586,
0.08193603157997131,
0.2183370143175125,
-0.055892691016197205,
-0.5166804194450378,
0.28932562470436096,
0.28287917375564575,
0.10455137491226196,
-0.11550598591566086,
0.031122151762247086,
0.005508703179657459,
-0.16298344731330872,
-0.37091588973999023,
0.40673619508743286,
0.05993266403675079,
0.23095488548278809,
-0.3554260730743408,
0.375916451215744,
0.18661487102508545,
0.10953205823898315,
-0.08151204884052277,
0.06284967064857483,
-0.030696023255586624,
0.15433275699615479,
0.12423041462898254,
-0.02691979520022869,
-0.8723094463348389,
-0.08261089771986008,
0.08933564275503159,
-0.05247209966182709,
0.12470885366201401,
0.08510832488536835,
-0.15958547592163086,
0.16698500514030457,
0.2630167603492737,
-0.39782679080963135,
-0.13760633766651154,
0.041425932198762894,
0.19408674538135529,
-0.04857073724269867,
0.05651477351784706,
-0.23356404900550842,
0.018663614988327026,
-0.0982428640127182,
-0.09157950431108475,
-0.0727773979306221,
0.10715183615684509,
-0.018402311950922012,
0.03373345732688904,
0.3695031404495239,
-0.03052286058664322,
0.019054314121603966,
-0.5362110733985901,
-0.0158577598631382,
-0.35196346044540405,
0.09774752706289291,
-0.34909969568252563,
-0.35213249921798706,
0.12913447618484497,
-0.01895293965935707,
-0.1611277312040329,
0.05347537249326706,
0.301958292722702,
0.27894797921180725,
0.16807006299495697,
0.27210745215415955,
0.1798410713672638,
-0.12249661237001419,
-0.21189892292022705,
-0.2402275800704956,
0.12413748353719711,
0.0009449906647205353,
0.44000545144081116,
-0.21657603979110718,
0.217851459980011,
-0.20759104192256927,
0.14603134989738464,
-0.2733972668647766,
0.04511647671461105,
-0.10205906629562378,
-0.11125943064689636,
-0.1189442127943039,
0.08324448019266129,
0.3903746008872986,
0.021829694509506226,
-0.028823744505643845,
0.13501855731010437,
0.18238039314746857,
-0.021163299679756165,
0.023500394076108932,
-0.329959899187088,
-0.03737712651491165,
-0.25455981492996216,
-0.2003006935119629,
-0.23299039900302887,
-0.24436962604522705,
0.2478485256433487,
-0.04161950945854187,
0.14786797761917114,
-0.312380313873291,
0.32257217168807983,
-0.13676179945468903,
-0.051597803831100464,
0.04162774980068207,
0.0545707605779171,
-0.4584088623523712,
0.644271194934845,
-0.2775747776031494,
-0.49756374955177307,
0.1916208267211914,
0.1685623675584793,
0.3659406006336212,
0.44887417554855347,
0.04723626375198364,
0.11433135718107224,
0.14738905429840088,
-0.11060129106044769,
0.05620955675840378,
0.07604121416807175,
0.23533375561237335,
-0.02266240119934082,
0.1571551412343979,
0.11755318194627762,
-0.07409730553627014,
-0.010389536619186401,
0.05458889901638031,
0.22116237878799438,
0.20902952551841736,
0.458960622549057,
0.0763143002986908,
0.612847089767456,
0.06709855794906616,
-0.6483483910560608,
0.05798831582069397,
-0.20468124747276306,
0.36498770117759705,
-0.11801858991384506,
-0.2335178405046463,
0.32664379477500916,
-0.016942456364631653,
0.15338575839996338,
0.029170379042625427,
-0.15080133080482483,
-0.09526614844799042,
-0.19704201817512512,
0.2728227972984314,
-0.30712372064590454,
-0.15409252047538757,
0.2696656584739685,
-0.32572656869888306,
0.2577628791332245,
-0.31247881054878235,
0.27710095047950745,
-0.06721137464046478,
-0.16107690334320068,
0.25389885902404785,
0.33993494510650635,
0.26574286818504333,
0.14257341623306274,
-0.15450146794319153,
-0.002981979865580797,
-0.5467554330825806,
0.2598884701728821,
-0.07410629093647003,
0.4347228407859802,
-0.08689014613628387,
0.139903724193573,
0.09342218190431595,
0.2414613962173462,
0.7726783752441406,
0.20273257791996002,
-0.5556977391242981,
-0.011865070089697838,
-0.08352157473564148,
-0.48285162448883057,
-0.12135416269302368,
0.006544061005115509,
0.138680100440979,
-0.1353883445262909,
0.1908855438232422,
-0.21867191791534424,
-0.26978665590286255,
-0.051134318113327026,
0.2668800354003906,
-0.2181890904903412,
0.026884697377681732,
-0.08293437957763672,
-0.051274314522743225,
-0.06738067418336868,
0.09949048608541489,
0.29848310351371765,
0.12875650823116302,
0.021568695083260536,
-0.2902405560016632,
-0.358356773853302,
0.14387160539627075,
0.4408705234527588,
-0.19629311561584473,
0.19311097264289856,
0.2548777163028717,
-0.21164219081401825,
0.08775395154953003,
0.2692278027534485,
0.23539087176322937,
-0.18073125183582306,
-0.16844530403614044,
-0.09179148077964783,
0.06575573235750198,
-0.06015295907855034,
0.4541960060596466,
-0.04473520815372467,
0.03737519308924675,
-0.1145983412861824,
-0.22698067128658295,
-0.10908176004886627,
-0.32349979877471924,
0.2126026749610901,
0.2521568834781647,
0.3025760054588318,
-0.7884064316749573,
-0.5442994832992554,
0.24488404393196106,
0.15127672255039215,
0.2036590427160263,
0.4967099726200104,
0.30149292945861816,
-0.08931072056293488,
0.1331835836172104,
0.5167668461799622,
0.7235732674598694,
-0.44036662578582764,
0.2087450474500656,
0.15286102890968323,
-0.13520559668540955,
0.48635363578796387,
-0.46839815378189087,
0.2737189531326294,
-0.3209706246852875,
-0.033350151032209396,
-0.4079744815826416,
-0.24025733768939972,
0.09103783965110779,
0.14531520009040833,
0.10421080887317657,
0.17466279864311218,
-0.47718149423599243,
0.29625192284584045,
-0.002069178968667984,
-0.10513724386692047,
0.06221814453601837,
-0.3006749451160431,
0.024256499484181404,
0.04470330476760864,
-0.23823849856853485,
0.06198810040950775,
0.05130736529827118,
-0.04984520748257637,
-0.0427679717540741,
0.27352768182754517,
-0.25463831424713135,
-0.14871245622634888,
-0.36352720856666565,
-0.024082228541374207,
0.08029167354106903,
-0.9106858968734741,
0.3314272165298462,
0.6718658804893494,
0.6400460600852966,
-0.029920164495706558,
-0.11608254909515381,
-0.1233912855386734,
-0.08240251988172531,
-0.11754733324050903,
-0.1499609649181366,
0.05989672988653183,
0.2463066577911377,
0.10090348869562149,
0.12225637584924698,
0.36588254570961,
0.2592405676841736,
-0.08992543816566467,
-0.019898787140846252,
0.008575588464736938,
-0.00841435045003891,
-0.39364132285118103,
-0.6244139671325684,
0.0060457512736320496,
0.32281172275543213,
0.08910022675991058,
0.02794639952480793,
0.12683919072151184,
-0.12331376224756241,
0.27057021856307983,
-0.10165585577487946,
-0.10501808673143387,
0.13362596929073334,
0.15311628580093384,
0.006571518257260323,
-0.21788208186626434,
0.3395913541316986,
0.35489997267723083,
-0.2539772093296051,
-0.03672395274043083,
-0.032797060906887054,
0.48724427819252014,
-0.11750878393650055,
0.08984460681676865,
-0.12113209813833237,
0.18238277733325958,
-0.1915602833032608,
0.31415873765945435,
-0.21435509622097015,
0.05060040205717087,
-0.0304672010242939,
-0.11681663244962692,
-0.1696016937494278,
-0.08666077256202698,
-0.2223857194185257,
0.39391303062438965,
0.1930730640888214,
0.14748021960258484,
0.042856983840465546,
-0.26386910676956177,
-0.12461909651756287,
-0.0007994626648724079,
0.02465384639799595,
0.21864768862724304,
0.03738578408956528,
0.3422355353832245,
-0.07445827126502991,
-0.1857154816389084,
0.004726562649011612,
0.12638512253761292,
0.09883308410644531,
-0.12558883428573608,
-0.1860201358795166,
0.15718312561511993,
0.0885663777589798,
0.15467354655265808,
0.19220338761806488,
-0.029054705053567886,
-0.3014991879463196,
-0.29980775713920593,
0.2054164856672287,
0.47492504119873047,
-0.08227895200252533,
0.5092018246650696,
-0.03951707109808922,
0.1536431610584259,
-0.03764800354838371,
-0.01122245192527771,
0.279564768075943,
-0.026844657957553864,
0.15633155405521393,
0.0051207877695560455,
0.04819720983505249,
-0.006669171154499054,
-0.30123600363731384,
0.30353233218193054,
0.22089053690433502,
-0.2415975034236908,
0.034744005650281906,
-0.016292281448841095,
0.16150020062923431,
0.011128932237625122,
0.0818256065249443,
0.027270279824733734,
-0.07982286810874939,
0.3388362526893616,
0.23706910014152527,
-0.0012149978429079056,
0.03749287128448486,
0.1251111626625061,
0.06854210793972015,
-0.02164890617132187,
-0.059589557349681854,
0.1306433081626892,
0.1558702439069748,
-0.11925424635410309,
-0.10880778729915619,
-0.24471688270568848,
0.03511161729693413,
-0.36084413528442383,
0.2779548168182373,
0.0782332643866539,
0.2904631197452545,
0.06496357917785645,
0.1931929886341095,
0.011962339282035828,
-0.03224196285009384,
-0.27289271354675293,
0.20333826541900635,
0.33752357959747314,
0.3924200236797333,
-0.11422425508499146,
0.3086021840572357,
-0.21244433522224426,
-0.25209522247314453,
-0.2953307032585144,
0.09576481580734253,
0.3000320792198181,
0.0520971305668354,
0.41988062858581543,
-0.08451294153928757,
-0.4007326364517212,
-0.15737786889076233,
0.10226442664861679,
-0.3023599088191986,
0.006013376638293266,
-0.2600734829902649,
0.12816175818443298,
0.2903255522251129,
0.051657985895872116,
-0.08670619130134583,
-0.3957054615020752,
0.25724586844444275,
0.18434736132621765,
0.09140980988740921,
0.2649306356906891,
0.14339584112167358,
0.21925583481788635,
0.06524628400802612,
0.06891939043998718,
-0.05405882000923157,
-0.2141500860452652,
-0.09969817101955414,
-0.041492123156785965,
0.22619248926639557,
0.2643825113773346,
0.20510250329971313,
0.1496022343635559,
0.11853907257318497,
-0.12864156067371368,
-0.0508820004761219,
0.35821211338043213,
0.1805957555770874,
0.08653523027896881,
-0.0661822259426117,
0.10451138019561768,
0.08722181618213654,
0.12043459713459015,
-0.029785845428705215,
-0.06254301965236664,
0.19566646218299866,
-0.2986263632774353,
-0.1839807629585266,
-0.3820001184940338,
-0.29861685633659363,
-0.34546875953674316,
-0.025028027594089508,
-0.19504114985466003,
0.03979070857167244,
0.34293434023857117,
0.0748336911201477,
-0.12234713137149811,
0.11729960888624191,
-0.018920447677373886,
0.06898623704910278,
0.32520410418510437,
-0.028658684343099594,
0.3553127944469452,
-0.024725351482629776,
-0.2297629415988922,
-0.12274910509586334,
0.07837609946727753,
0.30535149574279785,
0.20919032394886017,
-0.12961766123771667,
-0.09332700818777084,
0.19918254017829895,
0.08901946246623993,
-0.17964430153369904,
-0.1754830777645111,
0.14526227116584778,
0.43723854422569275,
-0.0852479562163353,
-0.12611564993858337,
-0.42638760805130005,
0.0997573733329773,
0.01628570258617401,
-0.055218398571014404,
0.044783685356378555,
-0.04661960154771805,
-0.11090939491987228,
-0.2146395891904831,
0.4659695029258728,
-0.07415701448917389,
0.3106871247291565,
0.12527304887771606,
0.004641423001885414,
0.2990761995315552,
0.2199089229106903,
0.22128704190254211,
-0.08248153328895569,
0.1476169228553772,
-0.1360059529542923,
0.2829578220844269,
-0.2025214284658432,
0.10332374274730682,
-0.20903179049491882,
-0.3423645496368408,
-0.13384190201759338,
0.5338132381439209,
0.07488220185041428,
-0.2111457735300064,
-0.07290002703666687,
0.18708352744579315,
-0.19916772842407227,
-0.3507272005081177,
0.6488538384437561,
0.37112218141555786,
0.06720638275146484,
0.1906408667564392,
-0.245226189494133,
0.03795483708381653,
0.248058021068573,
-0.3406537175178528,
-0.1891872137784958,
0.08417627215385437,
-0.3319997489452362,
0.3432599604129791,
0.2048109471797943,
-0.9493134617805481,
-0.020699292421340942,
0.04169061407446861,
-0.26528653502464294,
-0.07873719930648804,
0.23119059205055237,
0.07804396748542786,
0.06430824100971222,
-0.22882352769374847,
0.3666221499443054,
0.1664106249809265,
0.05018100142478943,
-0.5354927778244019,
-0.3855128884315491
] |
https://github.com/huggingface/datasets/issues/1762 | Unable to format dataset to CUDA Tensors | Yes the keywords arguments are passed to the convert function like `np.array`, `torch.tensor` or `tensorflow.ragged.constant`.
We don't support the kwargs for pandas on the other hand. | Hi,
I came across this [link](https://huggingface.co/docs/datasets/torch_tensorflow.html) where the docs show show to convert a dataset to a particular format. I see that there is an option to convert it to tensors, but I don't see any option to convert it to CUDA tensors.
I tried this, but Dataset doesn't support assignment:
```
columns=['input_ids', 'token_type_ids', 'attention_mask', 'start_positions','end_positions']
samples.set_format(type='torch', columns = columns)
for column in columns:
samples[column].to(torch.device(self.config.device))
```
There should be an option to do so, or if there is already a way to do this, please let me know.
Thanks,
Gunjan | 26 | Unable to format dataset to CUDA Tensors
Hi,
I came across this [link](https://huggingface.co/docs/datasets/torch_tensorflow.html) where the docs show show to convert a dataset to a particular format. I see that there is an option to convert it to tensors, but I don't see any option to convert it to CUDA tensors.
I tried this, but Dataset doesn't support assignment:
```
columns=['input_ids', 'token_type_ids', 'attention_mask', 'start_positions','end_positions']
samples.set_format(type='torch', columns = columns)
for column in columns:
samples[column].to(torch.device(self.config.device))
```
There should be an option to do so, or if there is already a way to do this, please let me know.
Thanks,
Gunjan
Yes the keywords arguments are passed to the convert function like `np.array`, `torch.tensor` or `tensorflow.ragged.constant`.
We don't support the kwargs for pandas on the other hand. | [
-0.2339969128370285,
-0.47138333320617676,
-0.05872590094804764,
0.14542758464813232,
0.5945421457290649,
0.3813999891281128,
0.5536249876022339,
0.3486224114894867,
0.020402226597070694,
0.08473782986402512,
-0.13873961567878723,
0.34072184562683105,
-0.1757795810699463,
0.14769119024276733,
0.1723192036151886,
-0.3778468370437622,
0.3084687888622284,
-0.08804377913475037,
-0.048724547028541565,
0.0729149729013443,
-0.24024450778961182,
-0.00899570807814598,
-0.1322970688343048,
-0.27126044034957886,
-0.17395347356796265,
-0.22400715947151184,
-0.03733990713953972,
-0.3639821410179138,
-0.12426752597093582,
-0.08157812803983688,
0.2801266014575958,
0.042556032538414,
0.26847222447395325,
0.4797216057777405,
-0.00012504290498327464,
-0.03806454688310623,
-0.037614695727825165,
-0.11308083683252335,
-0.08158043026924133,
-0.3308830261230469,
0.14338582754135132,
-0.31014227867126465,
0.31452226638793945,
-0.23096045851707458,
-0.4044010043144226,
0.10086064040660858,
0.004184350371360779,
-0.3171217441558838,
0.28702065348625183,
0.5416353940963745,
0.10367047786712646,
0.1582944244146347,
0.2337692230939865,
0.0570036880671978,
-0.28840404748916626,
0.3508221507072449,
-0.3622896671295166,
0.0290854312479496,
0.10623613744974136,
0.09897885471582413,
0.2423032820224762,
0.12628594040870667,
-0.14471980929374695,
-0.00993352010846138,
0.341901570558548,
-0.01170427817851305,
-0.3300119638442993,
-0.3430464565753937,
0.02895478904247284,
0.17491097748279572,
0.5755486488342285,
-0.3697310984134674,
-0.39376842975616455,
0.0476246103644371,
0.10242307186126709,
-0.46207839250564575,
-0.23093566298484802,
0.616789698600769,
-0.3567795753479004,
0.10831539332866669,
-0.34924736618995667,
0.03672211617231369,
-0.22198432683944702,
0.11479765176773071,
-0.23694396018981934,
-0.01293531060218811,
-0.19366344809532166,
-0.019067414104938507,
0.11135335266590118,
0.12375464290380478,
0.35010266304016113,
0.11340178549289703,
0.20304477214813232,
0.15490715205669403,
-0.4486977458000183,
-0.09801717102527618,
-0.5485565662384033,
-0.1681693196296692,
0.13751590251922607,
0.04020659998059273,
0.13041968643665314,
0.007959159091114998,
-0.1278875470161438,
0.0056559257209300995,
-0.22420752048492432,
0.3471836745738983,
0.06690815091133118,
0.1643442064523697,
-0.04320167750120163,
-0.2695739269256592,
0.30386412143707275,
-0.0564141646027565,
-0.23167310655117035,
-0.5269573330879211,
-0.31648311018943787,
0.18811210989952087,
0.05350010097026825,
-0.0537036657333374,
-0.26784613728523254,
-0.125056654214859,
-0.024798214435577393,
0.20733866095542908,
-0.23674795031547546,
0.3064679205417633,
0.026696261018514633,
0.1756039559841156,
0.41726356744766235,
0.2402888536453247,
0.08842545002698898,
0.11471159011125565,
0.008256539702415466,
0.18305575847625732,
-0.25453662872314453,
-0.16197460889816284,
0.01823405921459198,
-0.40842342376708984,
-0.000009741168469190598,
0.11447795480489731,
-0.014623090624809265,
0.03693348169326782,
-0.17126379907131195,
0.10971754789352417,
0.4806715250015259,
0.15008659660816193,
-0.0555732399225235,
0.31689882278442383,
0.25874537229537964,
0.17157942056655884,
-0.17937248945236206,
0.1278156340122223,
-0.4333972930908203,
-0.05245790258049965,
-0.49587148427963257,
-0.039254095405340195,
0.1906518042087555,
0.02057836391031742,
-0.26810362935066223,
0.25097352266311646,
0.19777601957321167,
0.18048390746116638,
0.10702279955148697,
-0.16016347706317902,
-0.16911335289478302,
-0.3387620747089386,
0.4698260724544525,
0.08423978090286255,
-0.34537866711616516,
0.029735885560512543,
0.4349878132343292,
0.000408148393034935,
0.2666268050670624,
0.31809425354003906,
0.17470480501651764,
-0.13623777031898499,
-0.05826755613088608,
-0.30672013759613037,
0.5030118823051453,
-0.38117122650146484,
-0.002110791392624378,
-0.1177433505654335,
0.1807861179113388,
-0.2046893835067749,
-0.11610879749059677,
0.07915017008781433,
0.21617820858955383,
0.05981280654668808,
0.13826265931129456,
0.2432873398065567,
-0.026260731741786003,
-0.029442351311445236,
-0.011663470417261124,
-0.04376276955008507,
0.5554083585739136,
-0.10150304436683655,
-0.14703114330768585,
0.33180850744247437,
-0.2507636249065399,
-0.11310576647520065,
0.17606472969055176,
-0.08090905845165253,
-0.07027359306812286,
0.06364601105451584,
0.20800581574440002,
0.023250777274370193,
-0.11838211119174957,
0.0695905014872551,
-0.42079395055770874,
-0.08125106990337372,
0.3631976842880249,
0.19658611714839935,
-0.000635288655757904,
-0.1281883418560028,
-0.06710059940814972,
0.015698717907071114,
0.0038446784019470215,
-0.05560315027832985,
-0.01554395817220211,
-0.38849547505378723,
-0.025530625134706497,
-0.0298727136105299,
-0.27642393112182617,
0.25452470779418945,
-0.26640576124191284,
0.17234687507152557,
-0.2724767029285431,
0.04021580517292023,
0.057477548718452454,
-0.13148653507232666,
0.15939931571483612,
0.23209628462791443,
0.06383102387189865,
-0.24902090430259705,
0.04840706288814545,
0.14101529121398926,
0.17529362440109253,
-0.021081574261188507,
-0.4079717695713043,
0.2039380967617035,
0.22360247373580933,
0.01749541237950325,
-0.06829673796892166,
0.14139433205127716,
-0.030487656593322754,
-0.16485556960105896,
-0.4090501666069031,
0.38250017166137695,
-0.02572040632367134,
0.21203354001045227,
-0.36238133907318115,
0.41578513383865356,
0.2095380574464798,
0.0852200835943222,
-0.03705127164721489,
0.07534493505954742,
-0.022806409746408463,
0.0823449045419693,
0.17734432220458984,
-0.07552188634872437,
-0.8429782390594482,
-0.037773601710796356,
0.08810433000326157,
0.003272656351327896,
0.09828507900238037,
0.10125671327114105,
-0.13496029376983643,
0.09924609214067459,
0.2931075096130371,
-0.3925173282623291,
-0.13158263266086578,
0.058647483587265015,
0.16302452981472015,
0.07026056945323944,
0.05519528687000275,
-0.16240166127681732,
0.02840212732553482,
-0.06881694495677948,
-0.03662071004509926,
-0.17232635617256165,
0.13150538504123688,
-0.05442062392830849,
0.04102736711502075,
0.33361876010894775,
-0.021804489195346832,
0.13820278644561768,
-0.4633522629737854,
0.04508256912231445,
-0.40186166763305664,
-0.017923569306731224,
-0.33085089921951294,
-0.3282230794429779,
0.04917279630899429,
-0.03659408912062645,
-0.24194534122943878,
0.13144329190254211,
0.33992838859558105,
0.310305118560791,
0.23228216171264648,
0.14058169722557068,
0.22552095353603363,
-0.09868337213993073,
-0.28284233808517456,
-0.25501272082328796,
0.1266613006591797,
0.02334541082382202,
0.3692154586315155,
-0.12413493543863297,
0.17337150871753693,
-0.19539403915405273,
0.21282142400741577,
-0.3078776001930237,
0.07725466042757034,
-0.1389772891998291,
-0.16885560750961304,
-0.03074597753584385,
0.12552928924560547,
0.39944666624069214,
-0.11662675440311432,
-0.021317631006240845,
0.12724563479423523,
0.16489166021347046,
0.027348922565579414,
0.025696925818920135,
-0.2978481650352478,
-0.058302972465753555,
-0.18600811064243317,
-0.21474263072013855,
-0.22172507643699646,
-0.23600371181964874,
0.2539249360561371,
-0.0015281140804290771,
0.1012185737490654,
-0.27039405703544617,
0.42852920293807983,
-0.12148646265268326,
0.0936642587184906,
-0.07238628715276718,
0.09459776431322098,
-0.49328553676605225,
0.6376009583473206,
-0.25055405497550964,
-0.5051739811897278,
0.17505240440368652,
0.16696806252002716,
0.40394648909568787,
0.35993093252182007,
-0.015758439898490906,
0.12108489125967026,
0.16162380576133728,
-0.02647087164223194,
0.06233818084001541,
0.03719678893685341,
0.23683519661426544,
-0.023073071613907814,
0.1312924325466156,
0.107618547976017,
-0.07475506514310837,
-0.04889928549528122,
0.09959790110588074,
0.30013689398765564,
0.17715847492218018,
0.5592429041862488,
0.09301605820655823,
0.6866158246994019,
0.12865765392780304,
-0.5674310922622681,
0.010748140513896942,
-0.2740856409072876,
0.3683099150657654,
-0.1180502250790596,
-0.3410990834236145,
0.2362448275089264,
-0.03753045201301575,
0.17968463897705078,
0.019972532987594604,
-0.11563684791326523,
-0.024451443925499916,
-0.1877104640007019,
0.10297331213951111,
-0.30499184131622314,
-0.11817264556884766,
0.1908496618270874,
-0.33053165674209595,
0.16518142819404602,
-0.31551578640937805,
0.3517729341983795,
-0.06922520697116852,
-0.18026825785636902,
0.23913775384426117,
0.36207395792007446,
0.27598389983177185,
0.18264935910701752,
-0.046622134745121,
-0.006591015495359898,
-0.6597191095352173,
0.2536439299583435,
-0.14832089841365814,
0.4231060743331909,
-0.08791164308786392,
0.24140223860740662,
0.1323261559009552,
0.2363470047712326,
0.8280132412910461,
0.19685301184654236,
-0.5567100644111633,
0.019037339836359024,
-0.10753399133682251,
-0.5107792019844055,
-0.11072036623954773,
0.07239118218421936,
0.14274883270263672,
-0.07743944227695465,
0.09410209208726883,
-0.13572420179843903,
-0.2569347321987152,
-0.08631701022386551,
0.31191396713256836,
-0.28437018394470215,
0.02399453893303871,
-0.12110447883605957,
-0.10736070573329926,
-0.10288083553314209,
0.09147097170352936,
0.23088406026363373,
0.1489974558353424,
0.031293779611587524,
-0.23969666659832,
-0.2657478451728821,
0.09349790960550308,
0.44476085901260376,
-0.10397982597351074,
0.19375401735305786,
0.24020230770111084,
-0.1588640809059143,
0.05638934671878815,
0.17618030309677124,
0.25234997272491455,
-0.130062535405159,
-0.2216258943080902,
-0.137531116604805,
-0.07664927840232849,
-0.10140976309776306,
0.48493459820747375,
-0.0676986426115036,
-0.031450606882572174,
-0.1294439733028412,
-0.23150160908699036,
-0.059891343116760254,
-0.2750644385814667,
0.19623948633670807,
0.21767136454582214,
0.2921275794506073,
-0.6761102080345154,
-0.5005914568901062,
0.3080516457557678,
0.13609613478183746,
0.2173367291688919,
0.5419601798057556,
0.31161075830459595,
-0.07332509011030197,
0.20434510707855225,
0.4828853905200958,
0.7467300295829773,
-0.44846904277801514,
0.08711405098438263,
0.22865593433380127,
-0.20278535783290863,
0.5286082029342651,
-0.4583536386489868,
0.2617257237434387,
-0.3106413781642914,
-0.04682888090610504,
-0.3594840168952942,
-0.16608642041683197,
0.11217635869979858,
0.15606048703193665,
0.030176658183336258,
0.2758593261241913,
-0.4692671298980713,
0.11992873251438141,
-0.041672296822071075,
-0.039645060896873474,
0.13393758237361908,
-0.2912849485874176,
-0.06380978226661682,
0.05224481225013733,
-0.1875164806842804,
0.11367198824882507,
0.07890135049819946,
-0.06239120662212372,
-0.11710618436336517,
0.28014880418777466,
-0.2094517946243286,
-0.09150949865579605,
-0.29131338000297546,
0.035117246210575104,
0.0444837361574173,
-0.9460865259170532,
0.2878391444683075,
0.6920849680900574,
0.6729732751846313,
-0.0539446584880352,
-0.16225306689739227,
-0.09288367629051208,
-0.1192675456404686,
-0.1274362951517105,
-0.17472797632217407,
0.05485506355762482,
0.3042758107185364,
0.09115631133317947,
0.11327321082353592,
0.28363072872161865,
0.2406708002090454,
-0.04393445700407028,
-0.0002025216817855835,
0.024205129593610764,
-0.04658239334821701,
-0.3549324572086334,
-0.5426569581031799,
0.003377161920070648,
0.27082952857017517,
0.037426386028528214,
0.02897762693464756,
0.1265203207731247,
-0.07382163405418396,
0.2401248812675476,
-0.11891548335552216,
-0.13495148718357086,
0.07924486696720123,
0.14226274192333221,
-0.013510521501302719,
-0.23536190390586853,
0.31125256419181824,
0.4385104775428772,
-0.2563994526863098,
-0.022135019302368164,
-0.08899209648370743,
0.49139583110809326,
-0.07469820231199265,
0.1575951725244522,
-0.16272279620170593,
0.2984333634376526,
-0.16704045236110687,
0.23340106010437012,
-0.20549093186855316,
0.05434989184141159,
-0.05569450184702873,
-0.1090751439332962,
-0.27910423278808594,
-0.17233110964298248,
-0.18873485922813416,
0.3204328417778015,
0.20893612504005432,
0.1702377051115036,
0.08257722109556198,
-0.1930774450302124,
-0.14431734383106232,
0.017290376126766205,
0.0009182151407003403,
0.20426681637763977,
0.10811363905668259,
0.30624720454216003,
-0.10176321864128113,
-0.23826420307159424,
0.00021610409021377563,
0.09640233963727951,
0.07719700038433075,
-0.11649207770824432,
-0.1810884326696396,
0.14457762241363525,
0.04852554202079773,
0.12016066163778305,
0.16599248349666595,
-0.019621575251221657,
-0.2690388858318329,
-0.33193573355674744,
0.2213335484266281,
0.5063856840133667,
-0.05209171772003174,
0.5310230851173401,
0.015691109001636505,
0.12466712296009064,
-0.046744998544454575,
-0.10510160028934479,
0.2283625453710556,
0.0009695440530776978,
0.06900205463171005,
0.03986090421676636,
0.1266225427389145,
-0.048247091472148895,
-0.25755396485328674,
0.18386733531951904,
0.1103384792804718,
-0.2583167254924774,
0.15489447116851807,
0.0688125491142273,
0.17193160951137543,
-0.03132916986942291,
0.024329446256160736,
0.0608491450548172,
-0.09138037264347076,
0.3637605309486389,
0.27780789136886597,
0.009463267400860786,
-0.021955963224172592,
0.1275051087141037,
0.025305237621068954,
-0.02992008626461029,
-0.10487882047891617,
0.09501251578330994,
0.18315909802913666,
-0.10085448622703552,
-0.17035381495952606,
-0.21469953656196594,
0.18381959199905396,
-0.43272387981414795,
0.1902829110622406,
0.11702778190374374,
0.25387078523635864,
0.05563515052199364,
0.21168696880340576,
0.03994389995932579,
-0.04207315295934677,
-0.08495886623859406,
0.17832046747207642,
0.37684133648872375,
0.3827629089355469,
-0.12037050724029541,
0.30994388461112976,
-0.10552361607551575,
-0.2833259105682373,
-0.2708873152732849,
0.005258373916149139,
0.21140190958976746,
0.03841925039887428,
0.3883097767829895,
-0.09094308316707611,
-0.35263097286224365,
-0.10377201437950134,
0.20786415040493011,
-0.2998802065849304,
0.03487828001379967,
-0.14803406596183777,
0.1560293734073639,
0.31075021624565125,
0.04974794760346413,
-0.043106142431497574,
-0.4737074375152588,
0.19687238335609436,
0.13566365838050842,
0.03401937708258629,
0.3772856891155243,
0.08544385433197021,
0.23622700572013855,
0.08201390504837036,
0.00964931771159172,
-0.2035851776599884,
-0.16317646205425262,
-0.1027626246213913,
-0.11565501987934113,
0.17117974162101746,
0.37493619322776794,
0.15429925918579102,
0.11242711544036865,
0.15369577705860138,
-0.0506160594522953,
-0.09662674367427826,
0.38047870993614197,
0.2438122183084488,
0.012849919497966766,
0.048390988260507584,
0.06193635240197182,
0.0990792065858841,
0.1020309329032898,
-0.09455639123916626,
-0.05302918329834938,
0.22165454924106598,
-0.29267752170562744,
-0.1310747265815735,
-0.3994072377681732,
-0.35896530747413635,
-0.38508713245391846,
-0.01815260946750641,
-0.15140387415885925,
0.10215041786432266,
0.34588006138801575,
0.04063209891319275,
-0.14775484800338745,
0.06733968108892441,
-0.016040826216340065,
0.05649084970355034,
0.35833191871643066,
0.013549022376537323,
0.36515796184539795,
-0.06246800720691681,
-0.24868851900100708,
-0.1333656907081604,
0.03950713574886322,
0.2420816570520401,
0.1670302152633667,
-0.1253892034292221,
-0.11927229166030884,
0.11325770616531372,
0.06010592356324196,
-0.24929727613925934,
-0.13585111498832703,
0.14730991423130035,
0.4346067011356354,
-0.051164064556360245,
-0.11231490969657898,
-0.46680670976638794,
0.058228999376297,
0.04851275682449341,
0.03288979083299637,
0.11925788223743439,
-0.07989184558391571,
-0.10707151889801025,
-0.22859974205493927,
0.5114039182662964,
-0.08231136202812195,
0.3495626151561737,
0.11860446631908417,
0.005926801823079586,
0.3164980411529541,
0.23208242654800415,
0.29436472058296204,
-0.05984789505600929,
0.15666300058364868,
-0.0823223888874054,
0.3606933653354645,
-0.16216745972633362,
0.10245871543884277,
-0.12705424427986145,
-0.48811712861061096,
-0.16486257314682007,
0.5384296178817749,
0.11123640835285187,
-0.17529965937137604,
-0.08734587579965591,
0.20836499333381653,
-0.20336800813674927,
-0.28475576639175415,
0.6637989282608032,
0.34301936626434326,
0.04693807661533356,
0.15813548862934113,
-0.26440590620040894,
-0.019473865628242493,
0.2774274945259094,
-0.33322352170944214,
-0.25801652669906616,
0.04286760091781616,
-0.3855658769607544,
0.36430367827415466,
0.1272258758544922,
-0.9844717979431152,
-0.050329215824604034,
0.016510572284460068,
-0.24294784665107727,
-0.11023230850696564,
0.21021869778633118,
0.014380242675542831,
0.12927795946598053,
-0.18881450593471527,
0.28011977672576904,
0.10042694211006165,
0.05050477385520935,
-0.5019500255584717,
-0.3692336082458496
] |
https://github.com/huggingface/datasets/issues/1762 | Unable to format dataset to CUDA Tensors | Thanks @lhoestq,
Would it be okay if I added this to the docs and made a PR? | Hi,
I came across this [link](https://huggingface.co/docs/datasets/torch_tensorflow.html) where the docs show show to convert a dataset to a particular format. I see that there is an option to convert it to tensors, but I don't see any option to convert it to CUDA tensors.
I tried this, but Dataset doesn't support assignment:
```
columns=['input_ids', 'token_type_ids', 'attention_mask', 'start_positions','end_positions']
samples.set_format(type='torch', columns = columns)
for column in columns:
samples[column].to(torch.device(self.config.device))
```
There should be an option to do so, or if there is already a way to do this, please let me know.
Thanks,
Gunjan | 17 | Unable to format dataset to CUDA Tensors
Hi,
I came across this [link](https://huggingface.co/docs/datasets/torch_tensorflow.html) where the docs show show to convert a dataset to a particular format. I see that there is an option to convert it to tensors, but I don't see any option to convert it to CUDA tensors.
I tried this, but Dataset doesn't support assignment:
```
columns=['input_ids', 'token_type_ids', 'attention_mask', 'start_positions','end_positions']
samples.set_format(type='torch', columns = columns)
for column in columns:
samples[column].to(torch.device(self.config.device))
```
There should be an option to do so, or if there is already a way to do this, please let me know.
Thanks,
Gunjan
Thanks @lhoestq,
Would it be okay if I added this to the docs and made a PR? | [
-0.20760783553123474,
-0.44932812452316284,
-0.08087801933288574,
0.14295901358127594,
0.5672464370727539,
0.3796422481536865,
0.5310695171356201,
0.33096638321876526,
-0.018165085464715958,
0.14095808565616608,
-0.07886829972267151,
0.23653079569339752,
-0.2230987846851349,
0.13259851932525635,
0.17031146585941315,
-0.33069363236427307,
0.2573102116584778,
-0.09791544079780579,
-0.037962011992931366,
0.07903367280960083,
-0.13591869175434113,
-0.012856410816311836,
-0.1050756648182869,
-0.3105602264404297,
-0.23593789339065552,
-0.1902676820755005,
0.05615903437137604,
-0.38574761152267456,
-0.19675315916538239,
-0.05761639401316643,
0.19551897048950195,
0.1002451628446579,
0.2974628210067749,
0.4419078528881073,
-0.00012571120169013739,
-0.04053866118192673,
-0.07637126743793488,
-0.10638674348592758,
-0.08023244142532349,
-0.2797964811325073,
0.10085300356149673,
-0.26195934414863586,
0.3520951569080353,
-0.19315138459205627,
-0.4167788326740265,
0.1588602513074875,
0.03766980022192001,
-0.3366958796977997,
0.221116840839386,
0.5201232433319092,
0.10554603487253189,
0.20198170840740204,
0.2504798471927643,
0.024018917232751846,
-0.14119818806648254,
0.41279131174087524,
-0.405952513217926,
0.05938223376870155,
0.18688353896141052,
0.14194753766059875,
0.23614081740379333,
0.1956162452697754,
-0.10180370509624481,
0.03672260046005249,
0.2884673774242401,
-0.007952935062348843,
-0.39253389835357666,
-0.33232203125953674,
0.022507967427372932,
0.14643558859825134,
0.742635190486908,
-0.3099435567855835,
-0.35278943181037903,
0.1035456582903862,
0.07862899452447891,
-0.38191062211990356,
-0.23601189255714417,
0.6073794960975647,
-0.33573222160339355,
0.10583102703094482,
-0.317597359418869,
-0.02527700364589691,
-0.2114557921886444,
0.11352476477622986,
-0.20103874802589417,
-0.02108301967382431,
-0.21688790619373322,
-0.0134134441614151,
0.08003509044647217,
0.1509760320186615,
0.34543150663375854,
0.21283084154129028,
0.20728887617588043,
0.14627759158611298,
-0.4573127031326294,
-0.10751987993717194,
-0.5549706816673279,
-0.13731783628463745,
0.17152026295661926,
0.09198463708162308,
0.1974640041589737,
-0.0025129318237304688,
-0.13473710417747498,
0.014733247458934784,
-0.25740504264831543,
0.25820064544677734,
0.07270120829343796,
0.21643254160881042,
-0.03819786012172699,
-0.20394471287727356,
0.3264053165912628,
-0.05225710570812225,
-0.3161252439022064,
-0.5621751546859741,
-0.3139210045337677,
0.2240675389766693,
0.0709722489118576,
-0.13251523673534393,
-0.2899286448955536,
-0.06305859982967377,
-0.02032327651977539,
0.15199986100196838,
-0.19523312151432037,
0.32589977979660034,
0.042466919869184494,
0.1394878625869751,
0.4517868757247925,
0.19386263191699982,
0.010500369593501091,
0.033883363008499146,
0.00504327891394496,
0.16968880593776703,
-0.3044995367527008,
-0.07383011281490326,
0.031079541891813278,
-0.3389310836791992,
-0.047170646488666534,
0.07432357221841812,
-0.021770112216472626,
-0.007043033838272095,
-0.13742323219776154,
0.1592932492494583,
0.5288166999816895,
0.1485939621925354,
-0.05669363588094711,
0.31778329610824585,
0.21659287810325623,
0.2340802699327469,
-0.2023088037967682,
0.11907057464122772,
-0.4427163600921631,
-0.13292142748832703,
-0.5485045313835144,
-0.020791664719581604,
0.22623395919799805,
0.008070819079875946,
-0.1792019009590149,
0.20979051291942596,
0.24655640125274658,
0.13048668205738068,
0.10137035697698593,
-0.08268459886312485,
-0.13238012790679932,
-0.3094056248664856,
0.4982709586620331,
0.153586745262146,
-0.3233243525028229,
0.03163626790046692,
0.47332146763801575,
-0.04352441802620888,
0.2070111334323883,
0.3417695164680481,
0.1974048763513565,
-0.05036435276269913,
-0.12042178958654404,
-0.30957287549972534,
0.45860087871551514,
-0.40097326040267944,
-0.024446969851851463,
-0.1857912242412567,
0.11774216592311859,
-0.2924158573150635,
-0.07877405732870102,
0.08995262533426285,
0.2781101167201996,
0.09618911892175674,
0.1539413034915924,
0.16230621933937073,
-0.011931026354432106,
0.001958979293704033,
-0.027278689667582512,
-0.011946341954171658,
0.4723086357116699,
-0.09964646399021149,
-0.19392676651477814,
0.35071104764938354,
-0.22162702679634094,
-0.06640699505805969,
0.18247070908546448,
-0.0920221209526062,
-0.04421279579401016,
0.08833649754524231,
0.26010435819625854,
0.027874361723661423,
-0.14926394820213318,
0.062236420810222626,
-0.46464037895202637,
-0.12677982449531555,
0.43452227115631104,
0.2147192806005478,
0.07348090410232544,
-0.1725204437971115,
-0.02750251069664955,
0.0007655024528503418,
-0.02017207071185112,
-0.08455677330493927,
-0.028566161170601845,
-0.35601556301116943,
-0.05885269492864609,
-0.1167132556438446,
-0.29341208934783936,
0.22823813557624817,
-0.31797048449516296,
0.21134434640407562,
-0.31064629554748535,
0.008449263870716095,
0.05475693941116333,
-0.0987834557890892,
0.0593864843249321,
0.23880097270011902,
0.01398603618144989,
-0.25569236278533936,
0.06104470416903496,
0.08806595206260681,
0.16654005646705627,
-0.06169193983078003,
-0.37241554260253906,
0.2719941735267639,
0.2509321868419647,
-0.06388694792985916,
-0.12551230192184448,
0.03958689421415329,
-0.05996514856815338,
-0.13796190917491913,
-0.44419607520103455,
0.333382248878479,
0.009533166885375977,
0.18334056437015533,
-0.37802261114120483,
0.39142557978630066,
0.16075366735458374,
0.11271166801452637,
-0.09410163015127182,
0.01927851140499115,
0.012938302010297775,
0.17888258397579193,
0.10638752579689026,
-0.09390769898891449,
-0.8347516059875488,
-0.034602753818035126,
0.009974505752325058,
-0.009353032335639,
0.1038297638297081,
0.09021277725696564,
-0.08894220739603043,
0.1563890278339386,
0.2987087666988373,
-0.3835814595222473,
-0.14633096754550934,
0.06979859620332718,
0.19326750934123993,
0.053692176938056946,
0.09002844989299774,
-0.17241302132606506,
-0.006564706563949585,
-0.14950983226299286,
-0.06291233003139496,
-0.11087814718484879,
0.10530547052621841,
-0.02686217427253723,
0.019815534353256226,
0.303730845451355,
-0.032921988517045975,
0.1207721009850502,
-0.5268216729164124,
-0.08210624754428864,
-0.3464765250682831,
0.09703544527292252,
-0.36443233489990234,
-0.34287014603614807,
0.01659271866083145,
0.01035241223871708,
-0.1444888412952423,
0.15347833931446075,
0.31932005286216736,
0.2531527280807495,
0.2624109089374542,
0.17822034657001495,
0.1932380497455597,
-0.09990833699703217,
-0.15989936888217926,
-0.2299976795911789,
0.1815832257270813,
0.011940699070692062,
0.34749695658683777,
-0.15609215199947357,
0.2044474333524704,
-0.30229252576828003,
0.16558176279067993,
-0.3841092884540558,
0.020667821168899536,
-0.09328700602054596,
-0.10448582470417023,
-0.11262433230876923,
0.13182401657104492,
0.42428719997406006,
-0.006744876503944397,
0.013342970050871372,
0.10773862153291702,
0.14083752036094666,
-0.028689322993159294,
-0.028262687847018242,
-0.33995118737220764,
-0.044954411685466766,
-0.21763578057289124,
-0.2819054424762726,
-0.1910872608423233,
-0.25679078698158264,
0.2568631172180176,
-0.015287039801478386,
0.15546998381614685,
-0.33966881036758423,
0.39593181014060974,
-0.12996193766593933,
0.004628081806004047,
-0.023476293310523033,
0.028850393369793892,
-0.5347703695297241,
0.6057139039039612,
-0.29248082637786865,
-0.5323600172996521,
0.19576898217201233,
0.18422158062458038,
0.3844257593154907,
0.39299148321151733,
0.0005280598998069763,
0.1903710961341858,
0.17102184891700745,
-0.07116423547267914,
0.04338177666068077,
0.0737035945057869,
0.30599457025527954,
-0.01407652348279953,
0.1499236524105072,
0.12253192812204361,
-0.12694138288497925,
-0.046679235994815826,
0.08883775025606155,
0.2946558892726898,
0.11531372368335724,
0.483746200799942,
0.06143658235669136,
0.6757725477218628,
0.08866848051548004,
-0.5966697931289673,
0.0748068243265152,
-0.2757519483566284,
0.3746648132801056,
-0.13897311687469482,
-0.287361741065979,
0.29564380645751953,
-0.031816884875297546,
0.10922457277774811,
0.02299649268388748,
-0.12118371576070786,
0.039766088128089905,
-0.1470092236995697,
0.2281888723373413,
-0.3481971323490143,
-0.12248677015304565,
0.20938140153884888,
-0.33852362632751465,
0.18097615242004395,
-0.3129066824913025,
0.3045591115951538,
-0.058418065309524536,
-0.15167492628097534,
0.19676800072193146,
0.3891717195510864,
0.31393975019454956,
0.11892841011285782,
-0.10168363153934479,
0.07036471366882324,
-0.6821165084838867,
0.2481829971075058,
-0.157420352101326,
0.380526602268219,
-0.15121273696422577,
0.20292404294013977,
0.14213332533836365,
0.2285238653421402,
0.7871834635734558,
0.163944810628891,
-0.518164336681366,
-0.06091969460248947,
-0.06351417303085327,
-0.43896210193634033,
-0.11758147180080414,
0.0592317171394825,
0.17372974753379822,
-0.1141628623008728,
0.1568436622619629,
-0.16530343890190125,
-0.24185436964035034,
-0.012508071959018707,
0.22454507648944855,
-0.24857407808303833,
0.042893048375844955,
-0.1151408702135086,
-0.06530646234750748,
-0.1427766978740692,
0.1266496479511261,
0.3015599548816681,
0.14394141733646393,
0.0740279108285904,
-0.27820342779159546,
-0.21069131791591644,
0.14883586764335632,
0.43249887228012085,
-0.135456845164299,
0.19188231229782104,
0.23676863312721252,
-0.1541232168674469,
0.1587652862071991,
0.22914069890975952,
0.2965295612812042,
-0.05993542820215225,
-0.20784203708171844,
-0.10693445801734924,
0.04631836339831352,
-0.07800284773111343,
0.4774355888366699,
-0.019223079085350037,
0.08632645756006241,
-0.13395977020263672,
-0.1964457780122757,
-0.052919238805770874,
-0.3171696066856384,
0.22250095009803772,
0.22687232494354248,
0.30459344387054443,
-0.7227420806884766,
-0.4659360647201538,
0.2787938117980957,
0.1624547392129898,
0.20510031282901764,
0.5931315422058105,
0.3560982346534729,
-0.057924844324588776,
0.14737701416015625,
0.5321177244186401,
0.787018895149231,
-0.48543208837509155,
0.11152300983667374,
0.1690112054347992,
-0.20266379415988922,
0.4901742935180664,
-0.552054762840271,
0.21403472125530243,
-0.3513670563697815,
-0.01851191371679306,
-0.3378239870071411,
-0.20042684674263,
0.12047778069972992,
0.1363215446472168,
0.07245111465454102,
0.2074894905090332,
-0.4844917058944702,
0.21365487575531006,
-0.043852031230926514,
-0.06625652313232422,
0.14484910666942596,
-0.3037320673465729,
0.0800589770078659,
0.035920195281505585,
-0.2224351316690445,
0.14975130558013916,
0.007113343104720116,
0.0018467754125595093,
-0.09078983962535858,
0.24095310270786285,
-0.24584917724132538,
-0.11437977850437164,
-0.3347642719745636,
-0.04008207470178604,
0.04036219045519829,
-0.8884336948394775,
0.33410128951072693,
0.672886073589325,
0.6103254556655884,
-0.029398072510957718,
-0.1831839382648468,
-0.0758502334356308,
-0.10741972178220749,
-0.14762116968631744,
-0.21664565801620483,
0.04439370706677437,
0.23397374153137207,
0.06904692947864532,
0.055141858756542206,
0.24889817833900452,
0.24396374821662903,
-0.08115831017494202,
-0.019443154335021973,
0.01908007264137268,
0.04437907040119171,
-0.40642645955085754,
-0.5095788240432739,
0.07069113105535507,
0.29182377457618713,
0.04282478615641594,
0.03347330540418625,
0.14490608870983124,
-0.1694497913122177,
0.15616628527641296,
-0.03555804863572121,
-0.11281074583530426,
0.08772478997707367,
0.2027311623096466,
-0.04606780409812927,
-0.23523454368114471,
0.2552710771560669,
0.4344184100627899,
-0.23227927088737488,
-0.07194608449935913,
-0.06106102094054222,
0.6061146855354309,
-0.13895848393440247,
0.03653189539909363,
-0.17248205840587616,
0.19282139837741852,
-0.1596536785364151,
0.23875221610069275,
-0.19756735861301422,
0.02777157723903656,
0.005368776619434357,
-0.09476502239704132,
-0.29006335139274597,
-0.1597348153591156,
-0.26992207765579224,
0.36860859394073486,
0.1735461950302124,
0.15528245270252228,
0.05582404136657715,
-0.22454750537872314,
-0.1342834085226059,
0.0632728859782219,
0.05184821039438248,
0.22016167640686035,
0.12189546972513199,
0.29951733350753784,
-0.07510977983474731,
-0.26289957761764526,
-0.0003999844193458557,
0.11265293508768082,
0.06608613580465317,
-0.11651431024074554,
-0.15659980475902557,
0.14532923698425293,
0.0634855329990387,
0.14472365379333496,
0.15795248746871948,
0.004555642604827881,
-0.291679322719574,
-0.32062312960624695,
0.26105111837387085,
0.5018328428268433,
-0.026195354759693146,
0.5026639103889465,
0.0075258612632751465,
0.07919204235076904,
-0.0773141011595726,
-0.09660229086875916,
0.29399240016937256,
0.00027132779359817505,
0.06005777791142464,
0.001751478761434555,
0.04300619661808014,
-0.06449464708566666,
-0.29759418964385986,
0.25001829862594604,
0.21008920669555664,
-0.21926158666610718,
0.07570090889930725,
0.04388165473937988,
0.2049107700586319,
-0.07950177788734436,
0.11201147735118866,
-0.012763656675815582,
-0.07537683099508286,
0.33903634548187256,
0.25643855333328247,
0.02051287144422531,
0.041529394686222076,
0.13028137385845184,
0.034827396273612976,
-0.04347815737128258,
-0.10719926655292511,
0.08413220942020416,
0.1625445932149887,
-0.023662149906158447,
-0.19653262197971344,
-0.21390828490257263,
0.0881647914648056,
-0.37378716468811035,
0.21556535363197327,
0.037412937730550766,
0.213949516415596,
0.06402217596769333,
0.2510871887207031,
0.004876676946878433,
-0.029145844280719757,
-0.12081149220466614,
0.1924336850643158,
0.4192003607749939,
0.3636755347251892,
-0.09857097268104553,
0.28450512886047363,
-0.14305800199508667,
-0.2455260306596756,
-0.3108026385307312,
0.15044765174388885,
0.2094431221485138,
-0.01651584357023239,
0.37413856387138367,
-0.04521792382001877,
-0.4020013213157654,
-0.13959051668643951,
0.1565152108669281,
-0.3509292006492615,
0.014774436131119728,
-0.17180030047893524,
0.12919893860816956,
0.32393747568130493,
0.06256239116191864,
-0.06671759486198425,
-0.46561115980148315,
0.24161361157894135,
0.11075431853532791,
0.03724537044763565,
0.27842894196510315,
0.10986348241567612,
0.23688814043998718,
0.06049339845776558,
0.03294036164879799,
-0.09338291734457016,
-0.2792631983757019,
-0.09873034060001373,
-0.07737229764461517,
0.2119201421737671,
0.3134056031703949,
0.17101392149925232,
0.1951712965965271,
0.17252518236637115,
-0.11214205622673035,
-0.06688475608825684,
0.3330703675746918,
0.20091964304447174,
0.02056485414505005,
-0.038723256438970566,
0.06291116774082184,
0.09133851528167725,
0.08678636699914932,
-0.07607473433017731,
-0.0480678416788578,
0.23584552109241486,
-0.2489837110042572,
-0.26996302604675293,
-0.38985398411750793,
-0.37587618827819824,
-0.3808150291442871,
-0.0015238001942634583,
-0.17872706055641174,
0.10032643377780914,
0.3658068776130676,
0.03363031521439552,
-0.14601513743400574,
0.08231057226657867,
-0.021311353892087936,
0.05833017826080322,
0.35850363969802856,
-0.0015690885484218597,
0.33837324380874634,
-0.07027566432952881,
-0.29230672121047974,
-0.14474138617515564,
0.1255771368741989,
0.2702936828136444,
0.16379359364509583,
-0.10627524554729462,
-0.08355537801980972,
0.1526227593421936,
0.0980309471487999,
-0.18127934634685516,
-0.20748011767864227,
0.1495787650346756,
0.4486220180988312,
-0.09120150655508041,
-0.06466378271579742,
-0.46721982955932617,
0.09055215120315552,
0.07184278219938278,
0.0319591760635376,
0.07672679424285889,
-0.021878082305192947,
-0.11413141340017319,
-0.25060003995895386,
0.5121709108352661,
-0.1104847639799118,
0.31391197443008423,
0.17581835389137268,
-0.007904481142759323,
0.31405580043792725,
0.19377154111862183,
0.214717298746109,
-0.09859277307987213,
0.12596115469932556,
-0.09712176769971848,
0.3895476162433624,
-0.14747610688209534,
0.08314471691846848,
-0.16476276516914368,
-0.3862560987472534,
-0.18342500925064087,
0.5290039777755737,
0.1201300173997879,
-0.1372961401939392,
-0.13721179962158203,
0.22733721137046814,
-0.13246439397335052,
-0.2655062675476074,
0.6308994293212891,
0.35843339562416077,
0.08226252347230911,
0.1822301596403122,
-0.3089647889137268,
-0.0003807041794061661,
0.3028075098991394,
-0.25665169954299927,
-0.14606542885303497,
0.12071018666028976,
-0.29591500759124756,
0.4274280369281769,
0.09672197699546814,
-1.0665228366851807,
-0.03144712746143341,
-0.0032903840765357018,
-0.30788519978523254,
-0.13592353463172913,
0.24893543124198914,
0.039486363530159,
0.12630514800548553,
-0.1835099309682846,
0.3833090662956238,
0.1133234053850174,
0.07156755030155182,
-0.49166691303253174,
-0.39118748903274536
] |
https://github.com/huggingface/datasets/issues/1759 | wikipedia dataset incomplete | Hi !
From what pickle file fo you get this ?
I guess you mean the dataset loaded using `load_dataset` ? | Hey guys,
I am using the https://github.com/huggingface/datasets/tree/master/datasets/wikipedia dataset.
Unfortunately, I found out that there is an incompleteness for the German dataset.
For reasons unknown to me, the number of inhabitants has been removed from many pages:
Thorey-sur-Ouche has 128 inhabitants according to the webpage (https://de.wikipedia.org/wiki/Thorey-sur-Ouche).
The pickle file however shows: französische Gemeinde mit Einwohnern (Stand).
Is it possible to fix this?
Best regards
Chris
| 21 | wikipedia dataset incomplete
Hey guys,
I am using the https://github.com/huggingface/datasets/tree/master/datasets/wikipedia dataset.
Unfortunately, I found out that there is an incompleteness for the German dataset.
For reasons unknown to me, the number of inhabitants has been removed from many pages:
Thorey-sur-Ouche has 128 inhabitants according to the webpage (https://de.wikipedia.org/wiki/Thorey-sur-Ouche).
The pickle file however shows: französische Gemeinde mit Einwohnern (Stand).
Is it possible to fix this?
Best regards
Chris
Hi !
From what pickle file fo you get this ?
I guess you mean the dataset loaded using `load_dataset` ? | [
0.12411244213581085,
0.09065645933151245,
-0.06485217809677124,
0.4390086531639099,
-0.14518484473228455,
0.1351812779903412,
0.14004506170749664,
-0.0993291437625885,
0.33159226179122925,
0.17427147924900055,
0.18785704672336578,
-0.055586714297533035,
0.3833341896533966,
-0.371428906917572,
0.0213762279599905,
-0.21881937980651855,
0.13571347296237946,
0.18676625192165375,
-0.35366928577423096,
-0.29928797483444214,
-0.12052890658378601,
0.4303146302700043,
-0.29729315638542175,
-0.37382757663726807,
0.004159379750490189,
0.191292405128479,
0.04239864647388458,
-0.026565566658973694,
-0.03989747166633606,
-0.25450482964515686,
0.07189538329839706,
-0.12893061339855194,
0.023216016590595245,
0.294452965259552,
-0.00012120632891310379,
-0.20768339931964874,
0.1829906553030014,
0.032718099653720856,
-0.5496044754981995,
-0.07042151689529419,
-0.31867483258247375,
-0.3378352224826813,
-0.05534924566745758,
-0.3048531711101532,
0.33564019203186035,
0.12569494545459747,
0.2353793829679489,
0.028540506958961487,
-0.043028995394706726,
-0.19880567491054535,
0.10993708670139313,
-0.30889466404914856,
0.17181994020938873,
0.019335685297846794,
0.3870477080345154,
0.5492720007896423,
0.12996912002563477,
0.4180329144001007,
-0.008695743978023529,
-0.13117817044258118,
0.0025486797094345093,
0.5580912232398987,
0.11516775190830231,
-0.08448784053325653,
0.15158823132514954,
-0.08533317595720291,
0.04866330698132515,
-0.3207387626171112,
0.4474429786205292,
0.432677298784256,
0.7783437967300415,
0.03877846151590347,
-0.2873818576335907,
-0.23016881942749023,
-0.025563731789588928,
0.060712359845638275,
0.4423190653324127,
0.09541743993759155,
-0.001109209842979908,
0.08618198335170746,
0.017479831352829933,
-0.38013777136802673,
0.08367958664894104,
0.28655433654785156,
-0.2406739890575409,
0.6932729482650757,
-0.05220808833837509,
0.15740948915481567,
-0.11127513647079468,
0.03836658224463463,
-0.5061635375022888,
-0.17510566115379333,
-0.11951237916946411,
0.6439183950424194,
-0.01200023666024208,
0.1531449556350708,
0.1128866970539093,
0.05467001348733902,
0.3744641840457916,
-0.12401410937309265,
-0.31823694705963135,
-0.10555993765592575,
-0.4076497256755829,
0.08684735000133514,
0.4266244173049927,
-0.002024361863732338,
0.3739506006240845,
-0.24734796583652496,
0.24851825833320618,
0.03157806396484375,
0.05097721144556999,
0.25372108817100525,
0.11150471866130829,
-0.2443264126777649,
-0.07423242181539536,
-0.0230274498462677,
0.09758912026882172,
-0.20076969265937805,
0.010422663763165474,
0.4637050926685333,
-0.22067424654960632,
-0.25251251459121704,
-0.18578748404979706,
0.022953350096940994,
-0.19247283041477203,
0.31441405415534973,
0.04616750776767731,
-0.015052799135446548,
-0.32744303345680237,
-0.39580604434013367,
0.04111408069729805,
0.04603707417845726,
-0.07173663377761841,
-0.10202907025814056,
-0.1323874592781067,
-0.22799740731716156,
0.3639758825302124,
0.06871172785758972,
-0.09243956208229065,
-0.12160525470972061,
0.02502024732530117,
-0.3007543981075287,
0.04012703150510788,
0.12442974746227264,
0.20845237374305725,
0.26045116782188416,
-0.11597979068756104,
-0.6150662899017334,
0.01899699866771698,
0.05944390967488289,
-0.3399093747138977,
-0.1113065630197525,
-0.7143049836158752,
0.13141445815563202,
-0.19117148220539093,
-0.03158579766750336,
-0.2961345314979553,
0.11985021829605103,
0.20133158564567566,
-0.4083994925022125,
0.11676718294620514,
0.055734921246767044,
-0.14017584919929504,
-0.03294490650296211,
0.3443155586719513,
0.5783536434173584,
-0.18094395101070404,
-0.2524647116661072,
-0.2087494283914566,
0.08979390561580658,
0.3532005250453949,
0.42280566692352295,
-0.011846298351883888,
0.37365174293518066,
-0.17512927949428558,
0.16062891483306885,
0.03740350157022476,
0.07629896700382233,
-0.44937559962272644,
0.02959102764725685,
0.12741641700267792,
0.01283700205385685,
-0.3067496418952942,
0.03436731547117233,
0.025889094918966293,
0.30428773164749146,
0.0671057179570198,
0.14695973694324493,
0.3602665960788727,
-0.07202616333961487,
-0.300205260515213,
-0.16942963004112244,
0.5182997584342957,
-0.039348434656858444,
0.1673233062028885,
0.02780570089817047,
0.22749972343444824,
0.13956353068351746,
0.6033776998519897,
0.10704231262207031,
0.39787453413009644,
0.7896960377693176,
0.026263343170285225,
0.23377035558223724,
0.21180638670921326,
-0.01062111184000969,
-0.257316529750824,
-0.008675314486026764,
-0.01641981303691864,
0.3641388416290283,
0.15434695780277252,
-0.09906695783138275,
-0.1662696897983551,
-0.013634326867759228,
0.019592687487602234,
-0.13728803396224976,
0.014181200414896011,
0.14564460515975952,
-0.031726740300655365,
0.06265324354171753,
0.1838209331035614,
-0.3371157944202423,
-0.2549683451652527,
-0.07837042212486267,
-0.6629972457885742,
0.3918355405330658,
-0.1417582631111145,
0.09924444556236267,
-0.35232532024383545,
0.162143737077713,
-0.01178942620754242,
-0.14205142855644226,
-0.13182464241981506,
0.007983449846506119,
0.3144644498825073,
-0.07846108078956604,
0.4909602403640747,
0.0006881505250930786,
0.12129990011453629,
-0.34340900182724,
-0.06582536548376083,
0.10464879870414734,
0.02985769882798195,
0.07522470504045486,
-0.600905179977417,
-0.19819502532482147,
0.2485598772764206,
0.22674500942230225,
-0.22696402668952942,
0.22831644117832184,
0.5967851281166077,
0.14583760499954224,
0.08363386243581772,
-0.4401925504207611,
0.38652390241622925,
0.2097623646259308,
0.10510577261447906,
0.06930390745401382,
-0.2616158425807953,
0.029255546629428864,
-0.01956767961382866,
0.11314614117145538,
0.3585664927959442,
0.35462796688079834,
-0.2935870289802551,
-0.3039523959159851,
0.26483839750289917,
-0.23474496603012085,
-0.16617782413959503,
0.17547489702701569,
0.3176707923412323,
-0.19199179112911224,
0.387127161026001,
0.02238309383392334,
0.11802733689546585,
0.20031185448169708,
0.13944442570209503,
0.17726224660873413,
0.15259449183940887,
0.18204335868358612,
-0.33026233315467834,
-0.1329108029603958,
-0.07103808969259262,
0.3756261467933655,
-0.030554216355085373,
-0.06495112180709839,
-0.05406906083226204,
-0.011312108486890793,
0.034010548144578934,
0.03964179381728172,
-0.8664524555206299,
-0.17904989421367645,
0.030365634709596634,
-0.0061968304216861725,
-0.15164127945899963,
0.2164190113544464,
-0.07838695496320724,
-0.1252056211233139,
-0.21348080039024353,
0.16409072279930115,
-0.16192905604839325,
-0.18736515939235687,
-0.259403795003891,
-0.008393209427595139,
0.002093123272061348,
-0.0685688704252243,
0.11455848813056946,
-0.4670071005821228,
-0.49885421991348267,
-0.6564515233039856,
-0.3859995901584625,
0.2722925543785095,
0.0006182603538036346,
0.033633068203926086,
0.19477345049381256,
0.45684462785720825,
-0.42540889978408813,
0.10165566205978394,
0.13104033470153809,
-0.04507683217525482,
0.027340518310666084,
0.03574023395776749,
-0.2880313992500305,
0.009588450193405151,
-0.07109764218330383,
-0.12753444910049438,
-0.23204709589481354,
0.06711846590042114,
0.1465849131345749,
0.35589393973350525,
0.24039007723331451,
0.3179810345172882,
0.04286927729845047,
-0.24076339602470398,
-0.07850785553455353,
-0.14289863407611847,
-0.37388595938682556,
-0.4261963367462158,
0.0893009603023529,
-0.257398396730423,
-0.2928769588470459,
0.03569338843226433,
-0.09717116504907608,
-0.03744549676775932,
-0.11537317931652069,
-0.5714576244354248,
0.08455726504325867,
-0.15955966711044312,
0.18992504477500916,
-0.37960559129714966,
0.17619764804840088,
0.4080468416213989,
-0.013770800083875656,
0.11595307290554047,
-0.08973453938961029,
-0.16030751168727875,
-0.0024275705218315125,
0.3095693588256836,
0.6256234645843506,
-0.14491409063339233,
0.11373534053564072,
0.044324565678834915,
0.6312339305877686,
0.4565292000770569,
0.4432750642299652,
0.11865510791540146,
0.014066106639802456,
0.22301791608333588,
-0.1847379207611084,
-0.011887420900166035,
0.14252471923828125,
-0.08156584203243256,
-0.09561517834663391,
0.4853443503379822,
0.1688072383403778,
0.029847577214241028,
-0.049866531044244766,
-0.11894328892230988,
-0.5683523416519165,
-0.1573636382818222,
0.10965389013290405,
0.22229760885238647,
0.4297432601451874,
0.07246913015842438,
0.00426831841468811,
-0.4546712636947632,
-0.30104362964630127,
-0.0173498522490263,
0.09974972158670425,
0.4043804705142975,
0.20553429424762726,
-0.25597307085990906,
-0.0552053302526474,
-0.343591570854187,
0.29639407992362976,
0.1967509537935257,
-0.11616478860378265,
-0.04314625263214111,
0.2480863630771637,
0.19203266501426697,
0.05996311083436012,
0.27832329273223877,
-0.32355841994285583,
0.3307548761367798,
0.06306479871273041,
0.3061443269252777,
-0.19523778557777405,
0.1243378221988678,
-0.007675345987081528,
0.07808376103639603,
0.3835098147392273,
-0.14589998126029968,
-0.39413583278656006,
0.006821600720286369,
0.1317760944366455,
0.38699081540107727,
-0.41598597168922424,
-0.16280461847782135,
-0.15026576817035675,
-0.09559233486652374,
-0.07438256591558456,
-0.24007707834243774,
0.10507429391145706,
0.14072273671627045,
0.4571061432361603,
0.2124798744916916,
0.2755672037601471,
0.31508851051330566,
-0.02788710594177246,
0.12341701984405518,
0.37309131026268005,
0.5226805806159973,
-0.19587329030036926,
0.09502364695072174,
0.18478047847747803,
0.23060902953147888,
0.6488132476806641,
-0.08112944662570953,
-0.20413270592689514,
0.2236938178539276,
-0.22765015065670013,
0.28513193130493164,
0.04819701611995697,
0.15412789583206177,
0.14335909485816956,
0.3147253394126892,
0.01762150228023529,
-0.20845374464988708,
-0.0019114399328827858,
0.07305729389190674,
0.21918223798274994,
-0.19458967447280884,
-0.21650825440883636,
0.4007434844970703,
-0.17130057513713837,
-0.21891173720359802,
0.15937308967113495,
0.38460034132003784,
-0.28094667196273804,
0.26177293062210083,
0.170026957988739,
1.0994678735733032,
0.341122031211853,
0.09656542539596558,
-0.049511827528476715,
0.007065635174512863,
0.31172579526901245,
-0.13474997878074646,
0.1021701842546463,
-0.3982694149017334,
0.17212387919425964,
0.031194360926747322,
0.14713922142982483,
-0.0875842347741127,
0.16796079277992249,
-0.011609457433223724,
0.037985995411872864,
-0.3027433753013611,
0.1452646404504776,
-0.14947250485420227,
0.5097953081130981,
0.21857179701328278,
-0.06462974846363068,
0.09433424472808838,
0.06366229057312012,
-0.07375381886959076,
0.5269137620925903,
-0.39218220114707947,
0.13093268871307373,
-0.021682720631361008,
-0.06397267431020737,
-0.4623461365699768,
-0.10992312431335449,
0.16342271864414215,
0.2898711562156677,
0.0740600973367691,
-0.3698224425315857,
0.06294174492359161,
0.3448388874530792,
-0.04248221218585968,
0.2795942425727844,
-0.16653099656105042,
0.26789742708206177,
-0.12253224104642868,
0.08907515555620193,
0.2536839544773102,
0.25608500838279724,
-0.09571969509124756,
-0.1574682593345642,
-0.28874140977859497,
0.060715287923812866,
-0.2990491986274719,
-0.1858643740415573,
-0.2878056764602661,
-0.22037754952907562,
-0.2034480720758438,
-0.2111729234457016,
0.23746255040168762,
0.05782556161284447,
0.03270094469189644,
-0.27780765295028687,
0.040584079921245575,
0.3265535831451416,
-0.07738485187292099,
-0.032852500677108765,
0.04001545161008835,
-0.27500981092453003,
-0.0557425357401371,
0.24834895133972168,
0.09665945172309875,
0.043319448828697205,
0.543592095375061,
0.3383607864379883,
-0.2557900547981262,
-0.08802038431167603,
0.04234804958105087,
-0.24994680285453796,
-0.32041695713996887,
-0.13072820007801056,
-0.13733045756816864,
0.31068652868270874,
-0.5650644302368164,
0.05348046496510506,
0.2527604401111603,
-0.07836475223302841,
-0.2076031118631363,
-0.4911597967147827,
-0.28660720586776733,
0.1836092472076416,
0.046620264649391174,
-0.06911364197731018,
0.09869145601987839,
-0.3289678692817688,
0.1177264153957367,
0.18794558942317963,
-0.20757617056369781,
-0.21443955600261688,
-0.1628054976463318,
0.24855615198612213,
0.08002714067697525,
0.07069232314825058,
-0.20356887578964233,
-0.17124073207378387,
0.008264189586043358,
-0.4229913353919983,
0.2090296447277069,
-0.10921452939510345,
0.007071603089570999,
0.21640081703662872,
0.0040407683700323105,
-0.2575334906578064,
0.15364187955856323,
-0.14625868201255798,
0.007274020463228226,
-0.2359386533498764,
-0.17999708652496338,
0.06270934641361237,
0.1607576310634613,
0.3790537416934967,
-0.011361997574567795,
0.23513013124465942,
-0.3436381220817566,
0.2361389845609665,
0.2088630497455597,
0.10108354687690735,
0.012288060039281845,
0.20786309242248535,
0.4228385388851166,
-0.03713548183441162,
-0.06470368802547455,
0.030424848198890686,
-0.0875321477651596,
-0.07146235555410385,
0.014039352536201477,
-0.26210129261016846,
0.41723740100860596,
0.4105348289012909,
0.15696118772029877,
0.01944378763437271,
-0.13676093518733978,
0.12764012813568115,
0.13222673535346985,
0.19447113573551178,
-0.5206780433654785,
-0.07531687617301941,
0.3623286485671997,
0.13867796957492828,
-0.06036384403705597,
0.027307532727718353,
-0.07277259975671768,
-0.09958936274051666,
0.009119808673858643,
0.09467114508152008,
-0.0029423595406115055,
-0.07118972390890121,
0.04434436932206154,
0.2746727764606476,
-0.013510696589946747,
0.11590899527072906,
-0.2780136466026306,
0.2060651183128357,
0.02913922816514969,
0.2886098027229309,
0.23125049471855164,
-0.005335463210940361,
-0.07401689141988754,
-0.01619533821940422,
0.02897491306066513,
-0.1542559117078781,
0.22034767270088196,
0.214186429977417,
-0.09432435035705566,
0.187734454870224,
0.20880237221717834,
-0.04681608825922012,
0.10824254900217056,
-0.01263183169066906,
-0.31185802817344666,
0.1510060578584671,
-0.17385056614875793,
-0.09704601764678955,
-0.5045151710510254,
-0.14968137443065643,
0.12216439843177795,
-0.02124221809208393,
-0.027651268988847733,
-0.3495687246322632,
0.05850478261709213,
0.14485333859920502,
-0.3765433430671692,
-0.5085455179214478,
0.0045265816152095795,
0.17144733667373657,
0.2790910303592682,
-0.2493128627538681,
0.04157352074980736,
0.19247877597808838,
-0.1547214686870575,
-0.24632075428962708,
0.5353739261627197,
0.22187265753746033,
-0.09334906935691833,
-0.08470536768436432,
-0.08813012391328812,
0.0008309502154588699,
-0.035385359078645706,
-0.21919496357440948,
0.14106065034866333,
0.01549026370048523,
-0.21043632924556732,
0.09539125859737396,
0.037416912615299225,
-0.11080558598041534,
-0.08785846829414368,
0.29286429286003113,
0.17172065377235413,
0.04812587425112724,
-0.34661829471588135,
-0.14486102759838104,
-0.23814353346824646,
-0.10546836256980896,
-0.0719589814543724,
0.04355693608522415,
-0.06101521849632263,
0.3149777948856354,
0.3373502194881439,
0.07071658968925476,
-0.10077383369207382,
0.02375221624970436,
-0.014904048293828964,
0.13001172244548798,
0.2392910271883011,
0.05573175102472305,
-0.08921612054109573,
-0.41693681478500366,
-0.48504504561424255,
0.28067582845687866,
-0.44431522488594055,
-0.4358862638473511,
0.15703660249710083,
0.17744581401348114,
0.058855246752500534,
0.10956382006406784,
0.16562463343143463,
0.3773578107357025,
-0.2004370093345642,
0.5021964311599731,
-0.16422133147716522,
-0.06992198526859283,
0.04627814143896103,
0.19594717025756836,
-0.10628993809223175,
-0.2104584276676178,
0.32615798711776733,
0.22631870210170746,
-0.11302071064710617,
-0.20873847603797913,
0.014973707497119904,
0.013991691172122955,
0.30819931626319885,
0.2971161901950836,
0.22443562746047974,
0.24094654619693756,
-0.32510021328926086,
-0.21935304999351501,
-0.08294737339019775,
-0.2932721972465515,
-0.06315475702285767,
0.7308736443519592,
0.0041919369250535965,
0.05573953688144684,
-0.17406636476516724,
-0.13323155045509338,
0.05223966762423515,
0.3003106713294983,
0.10839010775089264,
0.1931813508272171,
-0.5772890448570251,
-0.047317348420619965,
0.032431088387966156,
0.1926538199186325,
0.0499005950987339,
-0.07506612688302994,
0.12494398653507233,
-0.24923259019851685,
-0.41549575328826904,
-0.23982758820056915,
0.023705080151557922,
-0.410173624753952,
-0.23189829289913177,
-0.6320624947547913,
0.040671542286872864,
0.08724135905504227,
-0.32886630296707153,
-0.20460516214370728,
-0.16943658888339996,
0.4141499102115631,
0.1858736276626587,
-0.028733577579259872,
-0.3691379129886627,
-0.14782965183258057,
0.049879033118486404,
-0.13128790259361267,
0.3941730558872223,
0.09589813649654388,
-0.424275279045105,
0.06945300102233887,
-0.29675787687301636
] |
https://github.com/huggingface/datasets/issues/1759 | wikipedia dataset incomplete | yes sorry, I used the `load_dataset`function and saved the data to a pickle file so I don't always have to reload it and are able to work offline. | Hey guys,
I am using the https://github.com/huggingface/datasets/tree/master/datasets/wikipedia dataset.
Unfortunately, I found out that there is an incompleteness for the German dataset.
For reasons unknown to me, the number of inhabitants has been removed from many pages:
Thorey-sur-Ouche has 128 inhabitants according to the webpage (https://de.wikipedia.org/wiki/Thorey-sur-Ouche).
The pickle file however shows: französische Gemeinde mit Einwohnern (Stand).
Is it possible to fix this?
Best regards
Chris
| 28 | wikipedia dataset incomplete
Hey guys,
I am using the https://github.com/huggingface/datasets/tree/master/datasets/wikipedia dataset.
Unfortunately, I found out that there is an incompleteness for the German dataset.
For reasons unknown to me, the number of inhabitants has been removed from many pages:
Thorey-sur-Ouche has 128 inhabitants according to the webpage (https://de.wikipedia.org/wiki/Thorey-sur-Ouche).
The pickle file however shows: französische Gemeinde mit Einwohnern (Stand).
Is it possible to fix this?
Best regards
Chris
yes sorry, I used the `load_dataset`function and saved the data to a pickle file so I don't always have to reload it and are able to work offline. | [
0.06431539356708527,
0.08949467539787292,
-0.059721123427152634,
0.4419093132019043,
-0.13233673572540283,
0.10839968174695969,
0.15771766006946564,
-0.12213253974914551,
0.2750073969364166,
0.15894310176372528,
0.17383402585983276,
-0.13584333658218384,
0.40387701988220215,
-0.4070717990398407,
0.014494100585579872,
-0.20748168230056763,
0.15051531791687012,
0.15277501940727234,
-0.3166950047016144,
-0.3021358549594879,
-0.11335371434688568,
0.43509355187416077,
-0.31234976649284363,
-0.37748050689697266,
0.043786268681287766,
0.21637152135372162,
0.03356870263814926,
-0.08158291131258011,
-0.011925771832466125,
-0.21831047534942627,
0.05330494046211243,
-0.14862743020057678,
0.04436478391289711,
0.2822432816028595,
-0.00012187469837954268,
-0.21250665187835693,
0.144067645072937,
0.030698617920279503,
-0.5327084064483643,
-0.07560206949710846,
-0.320605605840683,
-0.306942343711853,
-0.08979407697916031,
-0.3360282778739929,
0.3274797797203064,
0.11988934129476547,
0.258157879114151,
0.034428708255290985,
-0.029454484581947327,
-0.16841885447502136,
0.11059699952602386,
-0.35089391469955444,
0.16841262578964233,
0.0006384680164046586,
0.3564845025539398,
0.5651248097419739,
0.12218979746103287,
0.3544338047504425,
-0.011749915778636932,
-0.17912068963050842,
0.034215353429317474,
0.5692541599273682,
0.04896831512451172,
-0.08313547074794769,
0.15748412907123566,
-0.08397775143384933,
0.05019482970237732,
-0.3444978892803192,
0.5438239574432373,
0.4237297773361206,
0.7482107281684875,
0.007644981145858765,
-0.2656746804714203,
-0.21402156352996826,
-0.04731065034866333,
0.08734409511089325,
0.4619983434677124,
0.11520340293645859,
-0.001973194070160389,
0.10316550731658936,
-0.007771012373268604,
-0.3689866364002228,
0.06876388192176819,
0.32724159955978394,
-0.30602216720581055,
0.6822798252105713,
-0.08614054322242737,
0.142123281955719,
-0.15089483559131622,
0.03874741867184639,
-0.4797348380088806,
-0.21501892805099487,
-0.11078213155269623,
0.6301546692848206,
-0.011760730296373367,
0.15365064144134521,
0.1211945116519928,
0.05643472075462341,
0.34729641675949097,
-0.15678513050079346,
-0.32790428400039673,
-0.10556787997484207,
-0.31502842903137207,
0.08514153957366943,
0.43955758213996887,
0.022349823266267776,
0.39213472604751587,
-0.2581225335597992,
0.26944175362586975,
0.029309043660759926,
0.025640692561864853,
0.2339448630809784,
0.10454423725605011,
-0.2102554440498352,
-0.0032202787697315216,
-0.01329243928194046,
0.14469724893569946,
-0.23220284283161163,
0.05439625680446625,
0.4595739245414734,
-0.21296605467796326,
-0.25901421904563904,
-0.1943204700946808,
0.07142917066812515,
-0.1848260760307312,
0.32237157225608826,
0.04887012392282486,
0.01143500953912735,
-0.35385674238204956,
-0.3810111880302429,
0.06483811140060425,
0.03865981101989746,
-0.04008577764034271,
-0.09608040750026703,
-0.12245413661003113,
-0.1822860985994339,
0.29526999592781067,
0.01972806453704834,
-0.07036341726779938,
-0.13898518681526184,
0.03447176516056061,
-0.3196362257003784,
0.09931442141532898,
0.11807684600353241,
0.2433468997478485,
0.2680317759513855,
-0.1300937533378601,
-0.6249837279319763,
0.03627150505781174,
0.09635447710752487,
-0.27530401945114136,
-0.13534270226955414,
-0.7036626935005188,
0.1318923383951187,
-0.23034480214118958,
-0.01756313443183899,
-0.26860103011131287,
0.15423579514026642,
0.23902902007102966,
-0.377413272857666,
0.11949482560157776,
0.07051064074039459,
-0.13709306716918945,
-0.030950039625167847,
0.38591715693473816,
0.5811342000961304,
-0.150360107421875,
-0.24101777374744415,
-0.17847096920013428,
0.09952446818351746,
0.30835074186325073,
0.39310938119888306,
-0.0097174858674407,
0.367339164018631,
-0.12320519238710403,
0.06893362104892731,
0.04784213751554489,
0.11040844023227692,
-0.4387211203575134,
0.05026164650917053,
0.10641922056674957,
-0.002491980791091919,
-0.3263643980026245,
0.060717832297086716,
0.0681004524230957,
0.3225803077220917,
0.05006915703415871,
0.14571228623390198,
0.35620400309562683,
-0.03805892542004585,
-0.3022036850452423,
-0.16616088151931763,
0.5067034959793091,
-0.024381089955568314,
0.2399934083223343,
0.06066519394516945,
0.215231791138649,
0.17612574994564056,
0.5853965282440186,
0.0900953859090805,
0.44975218176841736,
0.8086163401603699,
0.041014429181814194,
0.2599586546421051,
0.23173487186431885,
-0.018616117537021637,
-0.22491604089736938,
-0.019668996334075928,
0.008512668311595917,
0.36897003650665283,
0.15359318256378174,
-0.1252012848854065,
-0.11379417032003403,
-0.034260302782058716,
0.04281024634838104,
-0.13272394239902496,
0.013787537813186646,
0.12447543442249298,
0.013954941183328629,
0.10332272946834564,
0.1956513226032257,
-0.33570876717567444,
-0.18713238835334778,
-0.1004587933421135,
-0.6284236311912537,
0.4010469913482666,
-0.12590210139751434,
0.12131781131029129,
-0.35179343819618225,
0.15365423262119293,
-0.006245046854019165,
-0.09916398674249649,
-0.16607055068016052,
0.023119930177927017,
0.24434855580329895,
-0.09342354536056519,
0.46422240138053894,
0.036649808287620544,
0.13563914597034454,
-0.3289436399936676,
-0.014046279713511467,
0.0952284038066864,
0.00653361901640892,
0.11359890550374985,
-0.6195911169052124,
-0.2180345207452774,
0.30332404375076294,
0.2615131437778473,
-0.20239487290382385,
0.2310919463634491,
0.6155297756195068,
0.10416713356971741,
0.1185884103178978,
-0.43793991208076477,
0.37535351514816284,
0.17864985764026642,
0.030894126743078232,
0.045681148767471313,
-0.26534584164619446,
0.08388794958591461,
-0.07871431112289429,
0.14103008806705475,
0.35485517978668213,
0.32767367362976074,
-0.3154001832008362,
-0.27691081166267395,
0.249527707695961,
-0.20541521906852722,
-0.18645189702510834,
0.17180036008358002,
0.2963217794895172,
-0.1858099102973938,
0.4059668183326721,
0.028181351721286774,
0.12686970829963684,
0.24853703379631042,
0.11924844235181808,
0.11186038702726364,
0.1804560273885727,
0.18637634813785553,
-0.3563383221626282,
-0.1338770091533661,
-0.05496539920568466,
0.37303051352500916,
-0.032013554126024246,
-0.07606186717748642,
-0.021411804482340813,
-0.08003208786249161,
0.06578777730464935,
0.08110897243022919,
-0.8917044401168823,
-0.1627465933561325,
0.05679313838481903,
-0.005560673773288727,
-0.17351987957954407,
0.221001535654068,
-0.05866272374987602,
-0.17214073240756989,
-0.23477067053318024,
0.11379723250865936,
-0.12918615341186523,
-0.21693173050880432,
-0.24437487125396729,
-0.0020238738507032394,
-0.03281751275062561,
-0.05973760038614273,
0.15630577504634857,
-0.4442383348941803,
-0.49885326623916626,
-0.6673244833946228,
-0.399553120136261,
0.24938806891441345,
0.033001936972141266,
-0.005857953801751137,
0.15187600255012512,
0.41924744844436646,
-0.46256786584854126,
0.1145004853606224,
0.16809144616127014,
-0.09098852425813675,
0.07930191606283188,
0.05233227461576462,
-0.2788633704185486,
-0.012877813540399075,
-0.10351286828517914,
-0.11173691600561142,
-0.20859374105930328,
0.07707180082798004,
0.15152525901794434,
0.35916879773139954,
0.24185624718666077,
0.26946818828582764,
0.04678817838430405,
-0.2720734477043152,
-0.10891788452863693,
-0.13766875863075256,
-0.3673318922519684,
-0.4052067995071411,
0.10230641812086105,
-0.2623260021209717,
-0.31534048914909363,
0.06017125025391579,
-0.07122117280960083,
-0.048825252801179886,
-0.06013762205839157,
-0.6084826588630676,
0.0356832891702652,
-0.12982620298862457,
0.12296248972415924,
-0.36581695079803467,
0.16988642513751984,
0.3927967846393585,
-0.03394116833806038,
0.10767976939678192,
-0.06735802441835403,
-0.10495686531066895,
0.013231337070465088,
0.30286794900894165,
0.5987234115600586,
-0.17783471941947937,
0.11948725581169128,
0.05199206992983818,
0.5267831683158875,
0.4268621802330017,
0.5182896256446838,
0.07355798780918121,
-0.011333314701914787,
0.20644916594028473,
-0.18934157490730286,
-0.026311401277780533,
0.16096504032611847,
-0.07318666577339172,
-0.15255029499530792,
0.5049316883087158,
0.1899755299091339,
-0.036841221153736115,
-0.08402249217033386,
-0.1401457041501999,
-0.5720709562301636,
-0.18057125806808472,
0.10143081098794937,
0.24879330396652222,
0.5083115696907043,
0.09699144959449768,
0.037873461842536926,
-0.49737170338630676,
-0.335401326417923,
-0.025150902569293976,
0.08410260826349258,
0.38704603910446167,
0.17601467669010162,
-0.26639625430107117,
-0.06136515364050865,
-0.4050890803337097,
0.32386142015457153,
0.17685797810554504,
-0.14957189559936523,
-0.04018228501081467,
0.2509101927280426,
0.15891195833683014,
0.02478780969977379,
0.22931340336799622,
-0.35806047916412354,
0.3446398973464966,
0.08436495065689087,
0.26562583446502686,
-0.22651785612106323,
0.13045068085193634,
-0.013093251734972,
-0.0009671463631093502,
0.41357260942459106,
-0.16081354022026062,
-0.3760305345058441,
-0.004971378482878208,
0.1477150321006775,
0.3667696416378021,
-0.40451157093048096,
-0.13161620497703552,
-0.12843531370162964,
-0.10676969587802887,
-0.12581948935985565,
-0.25674304366111755,
0.11785370856523514,
0.1275593340396881,
0.45973649621009827,
0.2020023614168167,
0.3096126914024353,
0.3750741183757782,
-0.022270582616329193,
0.10822150111198425,
0.38801899552345276,
0.5211102366447449,
-0.1680448353290558,
0.048516564071178436,
0.19645573198795319,
0.23415300250053406,
0.5824503302574158,
-0.05696874484419823,
-0.22189489006996155,
0.2266021966934204,
-0.22829802334308624,
0.3059277832508087,
0.04717014729976654,
0.09865530580282211,
0.145879328250885,
0.34567487239837646,
0.10335999727249146,
-0.21088044345378876,
-0.005326045211404562,
0.03371982276439667,
0.2130783200263977,
-0.17093858122825623,
-0.22212806344032288,
0.3496198356151581,
-0.15166832506656647,
-0.17455586791038513,
0.13002976775169373,
0.3755859136581421,
-0.27402517199516296,
0.29511284828186035,
0.14863519370555878,
1.060791015625,
0.3447883129119873,
0.07889744639396667,
-0.12363588064908981,
0.009216569364070892,
0.2861759662628174,
-0.15182116627693176,
0.11728695780038834,
-0.39294278621673584,
0.14852917194366455,
0.05497201532125473,
0.167144775390625,
-0.08045511692762375,
0.1859733909368515,
-0.019875455647706985,
0.02593916468322277,
-0.2554931640625,
0.2764769494533539,
-0.16210933029651642,
0.47079700231552124,
0.22574739158153534,
-0.07835930585861206,
0.08182252943515778,
0.051132045686244965,
-0.021282054483890533,
0.4880831837654114,
-0.37429413199424744,
0.1539589911699295,
-0.007319219410419464,
-0.06682518124580383,
-0.4324823021888733,
-0.14012697339057922,
0.12860122323036194,
0.29188692569732666,
0.01014891266822815,
-0.3536904454231262,
0.058182355016469955,
0.33719590306282043,
0.004206083714962006,
0.2881408929824829,
-0.20009922981262207,
0.22763080894947052,
-0.13062849640846252,
0.11454182118177414,
0.2848289906978607,
0.24747714400291443,
-0.15159136056900024,
-0.1420457363128662,
-0.28530967235565186,
0.06266994029283524,
-0.2895980477333069,
-0.14105287194252014,
-0.3069052994251251,
-0.25538235902786255,
-0.23063381016254425,
-0.21162982285022736,
0.3574073016643524,
0.0723322331905365,
0.030395913869142532,
-0.30961450934410095,
0.04634508490562439,
0.31270289421081543,
-0.06260599195957184,
0.00868726521730423,
-0.019082043319940567,
-0.258113831281662,
-0.05610352382063866,
0.2872314453125,
0.09078947454690933,
-0.023631619289517403,
0.497765451669693,
0.35143882036209106,
-0.22644950449466705,
-0.0814526379108429,
0.0067694783210754395,
-0.3021361231803894,
-0.3260260820388794,
-0.11222924292087555,
-0.16031447052955627,
0.30059969425201416,
-0.527233898639679,
0.022200696170330048,
0.20553332567214966,
-0.07069004327058792,
-0.17595995962619781,
-0.48525115847587585,
-0.27405399084091187,
0.21148300170898438,
0.10443846881389618,
-0.10649633407592773,
0.1058683916926384,
-0.3244023621082306,
0.13233132660388947,
0.152897909283638,
-0.21197190880775452,
-0.2077442854642868,
-0.15085731446743011,
0.29416871070861816,
-0.011811111122369766,
0.05046168714761734,
-0.20468072593212128,
-0.16774116456508636,
0.00859278254210949,
-0.40539151430130005,
0.22348886728286743,
-0.11432928591966629,
0.04497060552239418,
0.2320537269115448,
-0.050752632319927216,
-0.27136051654815674,
0.15066111087799072,
-0.18443511426448822,
-0.035268545150756836,
-0.2412576824426651,
-0.15945148468017578,
0.07486147433519363,
0.11083504557609558,
0.2966977655887604,
-0.06482528150081635,
0.22215348482131958,
-0.33171987533569336,
0.22202426195144653,
0.20991984009742737,
0.11521320790052414,
-0.0242193341255188,
0.24364802241325378,
0.4147496819496155,
-0.02416985109448433,
-0.05240154638886452,
0.027015890926122665,
-0.10874353349208832,
-0.07679565250873566,
0.05690455436706543,
-0.25349825620651245,
0.37840956449508667,
0.46858736872673035,
0.19532833993434906,
0.013525962829589844,
-0.10679299384355545,
0.17572665214538574,
0.08823306858539581,
0.1909664422273636,
-0.5340113639831543,
-0.06935936212539673,
0.38599804043769836,
0.1083144098520279,
-0.04038892686367035,
0.0816604271531105,
-0.03185288608074188,
-0.15376192331314087,
0.048242270946502686,
0.10646284371614456,
0.05403691902756691,
-0.0889347717165947,
0.04659685119986534,
0.2780447006225586,
-0.020541314035654068,
0.11601448804140091,
-0.3238048553466797,
0.255598783493042,
0.024991251528263092,
0.30175817012786865,
0.288700133562088,
-0.05451664328575134,
-0.052835866808891296,
0.023201078176498413,
0.02572193741798401,
-0.12218588590621948,
0.19852887094020844,
0.1686081737279892,
-0.07387425005435944,
0.18621224164962769,
0.16523444652557373,
-0.14270305633544922,
0.1433379352092743,
0.024707183241844177,
-0.3094666004180908,
0.16901108622550964,
-0.15093055367469788,
-0.025825561955571175,
-0.5115839242935181,
-0.15696203708648682,
0.13017171621322632,
-0.03231162577867508,
-0.00022047385573387146,
-0.3970227837562561,
0.04646895453333855,
0.15438112616539001,
-0.3306341767311096,
-0.44342145323753357,
0.04110556095838547,
0.18189731240272522,
0.28387489914894104,
-0.284994512796402,
-0.00356406532227993,
0.1924324482679367,
-0.14214862883090973,
-0.26729607582092285,
0.5577535033226013,
0.2276383340358734,
-0.0958469808101654,
-0.11662794649600983,
-0.05311104282736778,
-0.0016038976609706879,
-0.03559790179133415,
-0.2380160689353943,
0.12673714756965637,
0.03155340999364853,
-0.14476928114891052,
0.10870768129825592,
0.025853602215647697,
-0.096485435962677,
-0.10429289937019348,
0.27096134424209595,
0.17270247638225555,
0.06689821183681488,
-0.3142921030521393,
-0.102155402302742,
-0.2569536566734314,
-0.06567471474409103,
-0.11267805844545364,
0.05647513270378113,
-0.10305938869714737,
0.31242796778678894,
0.32620561122894287,
0.09185455739498138,
-0.1263725608587265,
0.019298281520605087,
-0.02426532655954361,
0.110447958111763,
0.20066416263580322,
0.05781494453549385,
-0.06270170956850052,
-0.49035412073135376,
-0.5188624858856201,
0.24147659540176392,
-0.44770336151123047,
-0.3777933716773987,
0.19428113102912903,
0.18930332362651825,
0.057531535625457764,
0.1087445467710495,
0.15621834993362427,
0.4024171531200409,
-0.20734737813472748,
0.5081562995910645,
-0.18278832733631134,
-0.06039796397089958,
0.053494643419981,
0.2580353021621704,
-0.08627455681562424,
-0.21084636449813843,
0.35704532265663147,
0.17987088859081268,
-0.1149011105298996,
-0.18221944570541382,
-0.0029858388006687164,
-0.008146978914737701,
0.2827712595462799,
0.2995387315750122,
0.20440208911895752,
0.1713009774684906,
-0.30874067544937134,
-0.21293747425079346,
-0.04854131117463112,
-0.2621200680732727,
-0.027040541172027588,
0.7471534013748169,
0.03979334980249405,
0.03388475999236107,
-0.1692427396774292,
-0.16321736574172974,
0.09096454083919525,
0.24564160406589508,
0.11317330598831177,
0.18816439807415009,
-0.5572510361671448,
-0.03962189704179764,
0.05529468506574631,
0.25114184617996216,
0.0060989102348685265,
-0.08725420385599136,
0.12384717911481857,
-0.21100173890590668,
-0.4428654909133911,
-0.2427506148815155,
0.014088690280914307,
-0.39844268560409546,
-0.26589763164520264,
-0.7156354784965515,
0.11142455041408539,
0.08526322990655899,
-0.3103720247745514,
-0.20072785019874573,
-0.1691344678401947,
0.4191296398639679,
0.17351198196411133,
-0.013966662809252739,
-0.379580557346344,
-0.16929084062576294,
0.025811340659856796,
-0.12684404850006104,
0.352008581161499,
0.10136000066995621,
-0.43743351101875305,
0.0498601533472538,
-0.27523112297058105
] |
https://github.com/huggingface/datasets/issues/1759 | wikipedia dataset incomplete | The wikipedia articles are processed using the `mwparserfromhell` library. Even if it works well in most cases, such issues can happen unfortunately. You can find the repo here: https://github.com/earwig/mwparserfromhell
There also exist other datasets based on wikipedia that were processed differently (and are often cleaner) such as `wiki40b`.
| Hey guys,
I am using the https://github.com/huggingface/datasets/tree/master/datasets/wikipedia dataset.
Unfortunately, I found out that there is an incompleteness for the German dataset.
For reasons unknown to me, the number of inhabitants has been removed from many pages:
Thorey-sur-Ouche has 128 inhabitants according to the webpage (https://de.wikipedia.org/wiki/Thorey-sur-Ouche).
The pickle file however shows: französische Gemeinde mit Einwohnern (Stand).
Is it possible to fix this?
Best regards
Chris
| 48 | wikipedia dataset incomplete
Hey guys,
I am using the https://github.com/huggingface/datasets/tree/master/datasets/wikipedia dataset.
Unfortunately, I found out that there is an incompleteness for the German dataset.
For reasons unknown to me, the number of inhabitants has been removed from many pages:
Thorey-sur-Ouche has 128 inhabitants according to the webpage (https://de.wikipedia.org/wiki/Thorey-sur-Ouche).
The pickle file however shows: französische Gemeinde mit Einwohnern (Stand).
Is it possible to fix this?
Best regards
Chris
The wikipedia articles are processed using the `mwparserfromhell` library. Even if it works well in most cases, such issues can happen unfortunately. You can find the repo here: https://github.com/earwig/mwparserfromhell
There also exist other datasets based on wikipedia that were processed differently (and are often cleaner) such as `wiki40b`.
| [
0.14578326046466827,
0.1651304066181183,
-0.060421571135520935,
0.45129579305648804,
-0.177963525056839,
0.14228907227516174,
0.13256829977035522,
-0.0599784217774868,
0.22113308310508728,
0.13739441335201263,
0.14837230741977692,
-0.06448647379875183,
0.4038364589214325,
-0.47075513005256653,
-0.02474101260304451,
-0.1964903324842453,
0.16876330971717834,
0.14412133395671844,
-0.33717161417007446,
-0.28330087661743164,
-0.1504707783460617,
0.41018444299697876,
-0.30185413360595703,
-0.3771214485168457,
0.0009893400128930807,
0.17306916415691376,
0.029400991275906563,
-0.10994947701692581,
0.03885422274470329,
-0.2551022171974182,
0.037092484533786774,
-0.12344762682914734,
0.017135150730609894,
0.26948297023773193,
-0.00012111628166167066,
-0.19795410335063934,
0.17091915011405945,
0.07847295701503754,
-0.4775888919830322,
-0.012932240962982178,
-0.285772442817688,
-0.32189491391181946,
-0.06401322036981583,
-0.34702807664871216,
0.36592766642570496,
0.14415471255779266,
0.20301592350006104,
0.05851941555738449,
-0.01700468361377716,
-0.13809679448604584,
0.12412101030349731,
-0.3913951516151428,
0.2005908340215683,
0.06550821661949158,
0.4258057177066803,
0.5858445763587952,
0.1269976645708084,
0.27198559045791626,
-0.004844635725021362,
-0.17620514333248138,
0.017658069729804993,
0.539158284664154,
0.005750404670834541,
-0.061608824878931046,
0.190323144197464,
-0.09775732457637787,
0.04172532632946968,
-0.3754290044307709,
0.5308151841163635,
0.4282437562942505,
0.6989919543266296,
0.0609152615070343,
-0.2956068515777588,
-0.21080389618873596,
-0.04467865452170372,
0.12717126309871674,
0.4841117560863495,
0.1465952843427658,
0.015894901007413864,
0.058162517845630646,
-0.017305364832282066,
-0.3101014196872711,
0.054886847734451294,
0.2982168197631836,
-0.24020513892173767,
0.7044150829315186,
-0.03012099117040634,
0.15862973034381866,
-0.18160071969032288,
0.04384486749768257,
-0.3793136477470398,
-0.28267166018486023,
-0.09487338364124298,
0.6344090104103088,
0.044310204684734344,
0.16432636976242065,
0.07513858377933502,
0.07724323868751526,
0.36111536622047424,
-0.2755672335624695,
-0.36788496375083923,
-0.1502041220664978,
-0.3200322389602661,
0.057498764246702194,
0.43697288632392883,
-0.02957392856478691,
0.36065199971199036,
-0.20094884932041168,
0.26038026809692383,
0.027402488514780998,
0.007645368576049805,
0.28087735176086426,
0.14643250405788422,
-0.18320874869823456,
0.004788998514413834,
-0.06156118959188461,
0.06897813081741333,
-0.21875284612178802,
0.043222568929195404,
0.5090516209602356,
-0.2550533413887024,
-0.235468789935112,
-0.23055832087993622,
-0.05719233304262161,
-0.17184825241565704,
0.35875847935676575,
0.015574179589748383,
0.04925164207816124,
-0.3456346392631531,
-0.32886701822280884,
0.05481765791773796,
0.06843423843383789,
-0.01495472714304924,
-0.0760120376944542,
-0.12180133163928986,
-0.19561611115932465,
0.303337424993515,
0.08756015449762344,
-0.16140004992485046,
-0.14394474029541016,
0.005945410579442978,
-0.3173176050186157,
0.05132303014397621,
0.11712507903575897,
0.22500351071357727,
0.2758551836013794,
-0.1570950597524643,
-0.6372517347335815,
0.04436679929494858,
0.10009746253490448,
-0.3013811409473419,
-0.03643385320901871,
-0.6779911518096924,
0.14296334981918335,
-0.21411027014255524,
-0.038094550371170044,
-0.2095002830028534,
0.1293664574623108,
0.2918626666069031,
-0.3391789495944977,
0.09006050229072571,
0.05389650911092758,
-0.1480180025100708,
-0.04530123248696327,
0.3423954248428345,
0.5277430415153503,
-0.07260697335004807,
-0.21315351128578186,
-0.24006247520446777,
0.18565602600574493,
0.3504776060581207,
0.4081871211528778,
0.03367310389876366,
0.37731772661209106,
-0.044500578194856644,
0.09234707057476044,
-0.0536394938826561,
0.12963606417179108,
-0.4094775915145874,
0.027595635503530502,
0.18637488782405853,
0.09085627645254135,
-0.35220134258270264,
0.03428301215171814,
0.008339987136423588,
0.289445161819458,
0.02800997719168663,
0.1449131816625595,
0.3542482554912567,
-0.030477100983262062,
-0.32127645611763,
-0.18693441152572632,
0.4860838055610657,
-0.05710151791572571,
0.24960213899612427,
0.01950187236070633,
0.19941741228103638,
0.14319148659706116,
0.56971675157547,
0.09645666182041168,
0.4354119896888733,
0.7665307521820068,
0.05108805000782013,
0.24897363781929016,
0.22171907126903534,
-0.04090993106365204,
-0.14059099555015564,
-0.04867437481880188,
0.021539468318223953,
0.36812204122543335,
0.15804588794708252,
-0.165651336312294,
-0.11937063187360764,
0.00431709922850132,
0.05458354204893112,
-0.16348448395729065,
0.06016220897436142,
0.12639220058918,
0.003624342381954193,
0.13426698744297028,
0.23685120046138763,
-0.4029845595359802,
-0.24505580961704254,
-0.10030058771371841,
-0.5714448690414429,
0.4301272928714752,
-0.15744033455848694,
0.08663004636764526,
-0.31124556064605713,
0.15443384647369385,
-0.04698370397090912,
-0.08627727627754211,
-0.1597282886505127,
-0.019247084856033325,
0.26887527108192444,
-0.0900057852268219,
0.5272329449653625,
0.05868808925151825,
0.13024720549583435,
-0.35224729776382446,
-0.06220843642950058,
0.1057252436876297,
0.02456914260983467,
0.1013292595744133,
-0.6246515512466431,
-0.22315527498722076,
0.19387027621269226,
0.28697192668914795,
-0.23904432356357574,
0.23742401599884033,
0.5918766260147095,
0.10116368532180786,
0.14326271414756775,
-0.40773406624794006,
0.33719611167907715,
0.18603995442390442,
-0.023266181349754333,
0.06648437678813934,
-0.19989201426506042,
0.07101650536060333,
-0.0652073472738266,
0.15243366360664368,
0.34099072217941284,
0.33386263251304626,
-0.29446446895599365,
-0.3108479082584381,
0.2318413257598877,
-0.2295023649930954,
-0.2038978785276413,
0.14749373495578766,
0.27844107151031494,
-0.21458889544010162,
0.39058825373649597,
0.015475135296583176,
0.18066120147705078,
0.28055840730667114,
0.11750107258558273,
0.11103649437427521,
0.15598689019680023,
0.24084408581256866,
-0.30749356746673584,
-0.071204274892807,
-0.09857050329446793,
0.3704070448875427,
-0.02368481643497944,
-0.07268257439136505,
-0.037720635533332825,
-0.032417211681604385,
0.03895686939358711,
0.07511957734823227,
-0.8128610849380493,
-0.2056320458650589,
0.03723389282822609,
-0.013047643005847931,
-0.18827973306179047,
0.19036899507045746,
-0.07591477036476135,
-0.19740606844425201,
-0.196481853723526,
0.20409831404685974,
-0.16885066032409668,
-0.22016805410385132,
-0.24262356758117676,
0.014934957027435303,
0.027709640562534332,
-0.039646994322538376,
0.08039101213216782,
-0.4445256292819977,
-0.5066558122634888,
-0.6288617849349976,
-0.44115859270095825,
0.20372521877288818,
0.012816553935408592,
0.05924716591835022,
0.0856287032365799,
0.378628134727478,
-0.44759541749954224,
0.04013648256659508,
0.13877756893634796,
-0.04541679099202156,
0.10660593211650848,
0.09988734126091003,
-0.2520989775657654,
-0.12217799574136734,
-0.051388442516326904,
-0.10389124602079391,
-0.15403538942337036,
0.11187919974327087,
0.09492622315883636,
0.33990606665611267,
0.23249982297420502,
0.24521057307720184,
0.07538511604070663,
-0.2840755879878998,
-0.08402770012617111,
-0.10733575373888016,
-0.32888057827949524,
-0.27408814430236816,
0.13635432720184326,
-0.23220959305763245,
-0.30546125769615173,
0.07129700481891632,
-0.08984239399433136,
-0.07070647180080414,
-0.05832049995660782,
-0.5821248292922974,
0.08865288645029068,
-0.1367853879928589,
0.11889611184597015,
-0.3265387713909149,
0.16833175718784332,
0.3140133321285248,
0.031309280544519424,
0.10924622416496277,
-0.023448564112186432,
-0.09731999039649963,
-0.023141086101531982,
0.29167208075523376,
0.5615310668945312,
-0.15699636936187744,
0.12712156772613525,
0.06140698865056038,
0.5506905913352966,
0.5221112370491028,
0.48045364022254944,
0.05660620331764221,
0.05433967709541321,
0.17983882129192352,
-0.15285569429397583,
0.009224437177181244,
0.199785515666008,
-0.13747131824493408,
-0.13884931802749634,
0.5862261652946472,
0.13490936160087585,
-0.0819983258843422,
-0.03992459550499916,
-0.1424100697040558,
-0.6010257005691528,
-0.18710918724536896,
0.08409542590379715,
0.24594856798648834,
0.5408473610877991,
0.11825975775718689,
0.025626055896282196,
-0.4206125736236572,
-0.38774004578590393,
-0.032578371465206146,
0.046978045254945755,
0.4023590385913849,
0.22332188487052917,
-0.2932400703430176,
-0.12869766354560852,
-0.35333895683288574,
0.28333812952041626,
0.18792271614074707,
-0.12007826566696167,
0.014286678284406662,
0.2271014153957367,
0.142109215259552,
0.05593722686171532,
0.14802949130535126,
-0.3797411024570465,
0.2764497399330139,
0.034630656242370605,
0.29371583461761475,
-0.2467794120311737,
0.14072711765766144,
-0.04801471531391144,
0.05273483693599701,
0.3260176479816437,
-0.15939436852931976,
-0.36184272170066833,
0.040628042072057724,
0.11571896821260452,
0.38781312108039856,
-0.361917644739151,
-0.18158596754074097,
-0.06941662728786469,
-0.082877978682518,
-0.09231609851121902,
-0.2579607367515564,
0.09764482825994492,
0.12785592675209045,
0.3521016836166382,
0.15466831624507904,
0.26659539341926575,
0.35628724098205566,
-0.0003054291009902954,
0.13492588698863983,
0.33006584644317627,
0.4820421040058136,
-0.16212522983551025,
0.01017731986939907,
0.14321404695510864,
0.21274934709072113,
0.5548604726791382,
-0.0642780214548111,
-0.17841678857803345,
0.14296182990074158,
-0.29568591713905334,
0.2526399493217468,
0.01686321198940277,
0.12045752257108688,
0.11716306954622269,
0.3544507920742035,
0.012252405285835266,
-0.17340169847011566,
-0.0570187084376812,
0.07921106368303299,
0.19543349742889404,
-0.0970921441912651,
-0.1670970320701599,
0.38003313541412354,
-0.13467536866664886,
-0.1745983064174652,
0.1131976991891861,
0.3719497323036194,
-0.29532766342163086,
0.28916168212890625,
0.2699330449104309,
1.0011177062988281,
0.37883853912353516,
0.012155532836914062,
-0.1793261170387268,
-0.05295918881893158,
0.2972719371318817,
-0.10714901983737946,
0.10844571143388748,
-0.38489052653312683,
0.1584666669368744,
0.06865435093641281,
0.19115236401557922,
-0.09177546948194504,
0.23768208920955658,
0.0016858913004398346,
0.03745419159531593,
-0.2867056727409363,
0.22562894225120544,
-0.17183619737625122,
0.5127314329147339,
0.2711779475212097,
-0.08953675627708435,
0.15353675186634064,
0.06530781835317612,
-0.05092083662748337,
0.4138067662715912,
-0.3755301833152771,
0.17474302649497986,
-0.041214168071746826,
0.008890613913536072,
-0.44544124603271484,
-0.14186865091323853,
0.1368914395570755,
0.28241395950317383,
0.054977282881736755,
-0.3239547610282898,
0.10390028357505798,
0.3498430550098419,
-0.04668859392404556,
0.2900591492652893,
-0.15691600739955902,
0.22963248193264008,
-0.16128280758857727,
0.08590378612279892,
0.32058820128440857,
0.23949968814849854,
-0.12808384001255035,
-0.13204562664031982,
-0.2758926451206207,
-0.0044748857617378235,
-0.2783295214176178,
-0.13232840597629547,
-0.24757516384124756,
-0.2759230136871338,
-0.15435029566287994,
-0.19187012314796448,
0.3122686743736267,
0.06561556458473206,
-0.03260241821408272,
-0.31623417139053345,
0.0795125812292099,
0.28674766421318054,
-0.04262822866439819,
0.10130944103002548,
-0.03851756826043129,
-0.24518868327140808,
-0.04341503605246544,
0.20087026059627533,
0.09430834650993347,
0.04407782852649689,
0.4918827414512634,
0.3106234073638916,
-0.3043177127838135,
-0.06753511726856232,
0.007315978407859802,
-0.3844091594219208,
-0.3108673095703125,
-0.1408267468214035,
-0.1906197965145111,
0.29426079988479614,
-0.5391883850097656,
0.043111033737659454,
0.20964489877223969,
-0.06226722151041031,
-0.16161371767520905,
-0.45570072531700134,
-0.23161792755126953,
0.1932724416255951,
0.15171638131141663,
-0.12421247363090515,
0.0442093089222908,
-0.3824693262577057,
0.1184571236371994,
0.23891913890838623,
-0.2095683217048645,
-0.24842716753482819,
-0.14066632091999054,
0.2769831717014313,
0.012534228153526783,
0.047385942190885544,
-0.30524399876594543,
-0.14837700128555298,
0.01975301094353199,
-0.39250314235687256,
0.3026607930660248,
-0.13688716292381287,
0.05549515411257744,
0.20287403464317322,
-0.03496299311518669,
-0.29613009095191956,
0.19078414142131805,
-0.18084482848644257,
-0.028047628700733185,
-0.2980053126811981,
-0.21925665438175201,
-0.03511841222643852,
0.09564568847417831,
0.3528507947921753,
-0.046889226883649826,
0.19061294198036194,
-0.30217045545578003,
0.22362415492534637,
0.14460991322994232,
0.09075358510017395,
-0.012355992570519447,
0.2586515545845032,
0.5201399922370911,
-0.005280613899230957,
-0.06173594668507576,
0.0004939883947372437,
-0.15915854275226593,
-0.0417904257774353,
0.10353370755910873,
-0.24291129410266876,
0.3560665249824524,
0.5593591928482056,
0.13135318458080292,
0.07266487926244736,
-0.11821925640106201,
0.10672964155673981,
0.08778879046440125,
0.2283998280763626,
-0.515593409538269,
-0.09810575097799301,
0.35832932591438293,
0.1445644050836563,
-0.06942570954561234,
0.1060205027461052,
-0.0033224783837795258,
-0.2009488344192505,
0.015254467725753784,
0.10815457254648209,
0.05748988687992096,
-0.089469313621521,
0.04169686511158943,
0.2708215117454529,
0.03549177572131157,
0.1084887683391571,
-0.34122610092163086,
0.1712484210729599,
0.02920497953891754,
0.29624029994010925,
0.35169756412506104,
-0.08770028501749039,
-0.00020502880215644836,
-0.015600096434354782,
0.07860930263996124,
0.021555516868829727,
0.22413159906864166,
0.13091738522052765,
-0.07513904571533203,
0.20601317286491394,
0.2162431925535202,
-0.13994905352592468,
0.18834976851940155,
0.006536763161420822,
-0.34098193049430847,
0.13407057523727417,
-0.13091710209846497,
-0.018452119082212448,
-0.5098682045936584,
-0.16932062804698944,
0.13876955211162567,
-0.07410689443349838,
-0.03828372433781624,
-0.38018798828125,
0.08561389148235321,
0.17625463008880615,
-0.3443518280982971,
-0.4727270305156708,
0.11520708352327347,
0.17712068557739258,
0.35418546199798584,
-0.3139341175556183,
-0.031939975917339325,
0.20080341398715973,
-0.15500381588935852,
-0.31277206540107727,
0.5225099921226501,
0.22650974988937378,
-0.07422414422035217,
-0.16093160212039948,
-0.08731703460216522,
-0.02641722932457924,
-0.03570222854614258,
-0.17785809934139252,
0.18595369160175323,
-0.016436457633972168,
-0.1689249575138092,
0.09979225695133209,
0.028041137382388115,
-0.10428221523761749,
-0.17336419224739075,
0.2708337903022766,
0.1868910938501358,
0.06210074946284294,
-0.36334484815597534,
-0.1073138564825058,
-0.2540304958820343,
-0.025505442172288895,
-0.14266154170036316,
0.15475574135780334,
-0.07092396169900894,
0.2788178622722626,
0.2775573432445526,
0.05547049641609192,
-0.1205732449889183,
0.027389660477638245,
-0.06354911625385284,
0.1031075268983841,
0.20896559953689575,
0.009867649525403976,
-0.06181398779153824,
-0.46424591541290283,
-0.4811484217643738,
0.21219788491725922,
-0.4761248230934143,
-0.41545259952545166,
0.22068040072917938,
0.18046033382415771,
-0.011634111404418945,
0.11071404814720154,
0.09777221083641052,
0.3260553181171417,
-0.23385463654994965,
0.5221576690673828,
-0.17626936733722687,
-0.06631234288215637,
0.02728409320116043,
0.17129139602184296,
-0.08827748894691467,
-0.18480855226516724,
0.37781208753585815,
0.19325290620326996,
-0.11623180657625198,
-0.16123954951763153,
-0.03583362698554993,
0.0842578262090683,
0.37104225158691406,
0.2509285807609558,
0.2829444706439972,
0.14939454197883606,
-0.31154921650886536,
-0.1744607388973236,
-0.04403390362858772,
-0.2770480811595917,
-0.05493631213903427,
0.7693367004394531,
-0.026697512716054916,
0.04484841227531433,
-0.1694970279932022,
-0.14296205341815948,
0.13330864906311035,
0.25831496715545654,
0.09214933216571808,
0.1760728359222412,
-0.5699794292449951,
-0.08606332540512085,
0.0051495954394340515,
0.24076242744922638,
0.05495013669133186,
-0.0580492839217186,
0.13911506533622742,
-0.21826033294200897,
-0.4384663701057434,
-0.30413901805877686,
-0.038278236985206604,
-0.39990153908729553,
-0.2851283550262451,
-0.6288000345230103,
0.06306838989257812,
0.10924387723207474,
-0.3254571259021759,
-0.1430911421775818,
-0.24900075793266296,
0.44757384061813354,
0.15686503052711487,
0.003193698823451996,
-0.40282586216926575,
-0.13814584910869598,
0.027407322078943253,
-0.09073661267757416,
0.2588890790939331,
0.07970821112394333,
-0.41242197155952454,
0.029403913766145706,
-0.28536921739578247
] |
https://github.com/huggingface/datasets/issues/1758 | dataset.search() (elastic) cannot reliably retrieve search results | Hi !
I tried your code on my side and I was able to workaround this issue by waiting a few seconds before querying the index.
Maybe this is because the index is not updated yet on the ElasticSearch side ? | I am trying to use elastic search to retrieve the indices of items in the dataset in their precise order, given shuffled training indices.
The problem I have is that I cannot retrieve reliable results with my data on my first search. I have to run the search **twice** to get the right answer.
I am indexing data that looks like the following from the HF SQuAD 2.0 data set:
```
['57318658e6313a140071d02b',
'56f7165e3d8e2e1400e3733a',
'570e2f6e0b85d914000d7d21',
'5727e58aff5b5019007d97d0',
'5a3b5a503ff257001ab8441f',
'57262fab271a42140099d725']
```
To reproduce the issue, try:
```
from datasets import load_dataset, load_metric
from transformers import BertTokenizerFast, BertForQuestionAnswering
from elasticsearch import Elasticsearch
import numpy as np
import collections
from tqdm.auto import tqdm
import torch
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
max_length = 384 # The maximum length of a feature (question and context)
doc_stride = 128 # The authorized overlap between two part of the context when splitting it is needed.
pad_on_right = tokenizer.padding_side == "right"
squad_v2 = True
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
def prepare_validation_features(examples):
# Tokenize our examples with truncation and maybe padding, but keep the overflows using a stride. This results
# in one example possible giving several features when a context is long, each of those features having a
# context that overlaps a bit the context of the previous feature.
tokenized_examples = tokenizer(
examples["question" if pad_on_right else "context"],
examples["context" if pad_on_right else "question"],
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
# Since one example might give us several features if it has a long context, we need a map from a feature to
# its corresponding example. This key gives us just that.
sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping")
# We keep the example_id that gave us this feature and we will store the offset mappings.
tokenized_examples["example_id"] = []
for i in range(len(tokenized_examples["input_ids"])):
# Grab the sequence corresponding to that example (to know what is the context and what is the question).
sequence_ids = tokenized_examples.sequence_ids(i)
context_index = 1 if pad_on_right else 0
# One example can give several spans, this is the index of the example containing this span of text.
sample_index = sample_mapping[i]
tokenized_examples["example_id"].append(examples["id"][sample_index])
# Set to None the offset_mapping that are not part of the context so it's easy to determine if a token
# position is part of the context or not.
tokenized_examples["offset_mapping"][i] = [
(list(o) if sequence_ids[k] == context_index else None)
for k, o in enumerate(tokenized_examples["offset_mapping"][i])
]
return tokenized_examples
# build base examples, features set of training data
shuffled_idx = pd.read_csv('https://raw.githubusercontent.com/afogarty85/temp/main/idx.csv')['idx'].to_list()
examples = load_dataset("squad_v2").shuffle(seed=1)['train']
features = load_dataset("squad_v2").shuffle(seed=1)['train'].map(
prepare_validation_features,
batched=True,
remove_columns=['answers', 'context', 'id', 'question', 'title'])
# reorder features by the training process
features = features.select(indices=shuffled_idx)
# get the example ids to match with the "example" data; get unique entries
id_list = list(dict.fromkeys(features['example_id']))
# now search for their index positions in the examples data set; load elastic search
es = Elasticsearch([{'host': 'localhost'}]).ping()
# add an index to the id column for the examples
examples.add_elasticsearch_index(column='id')
# retrieve the example index
example_idx_k1 = [examples.search(index_name='id', query=i, k=1).indices for i in id_list]
example_idx_k1 = [item for sublist in example_idx_k1 for item in sublist]
example_idx_k2 = [examples.search(index_name='id', query=i, k=3).indices for i in id_list]
example_idx_k2 = [item for sublist in example_idx_k2 for item in sublist]
len(example_idx_k1) # should be 130319
len(example_idx_k2) # should be 130319
#trial 1 lengths:
# k=1: 130314
# k=3: 130319
# trial 2:
# just run k=3 first: 130310
# try k=1 after k=3: 130319
```
| 41 | dataset.search() (elastic) cannot reliably retrieve search results
I am trying to use elastic search to retrieve the indices of items in the dataset in their precise order, given shuffled training indices.
The problem I have is that I cannot retrieve reliable results with my data on my first search. I have to run the search **twice** to get the right answer.
I am indexing data that looks like the following from the HF SQuAD 2.0 data set:
```
['57318658e6313a140071d02b',
'56f7165e3d8e2e1400e3733a',
'570e2f6e0b85d914000d7d21',
'5727e58aff5b5019007d97d0',
'5a3b5a503ff257001ab8441f',
'57262fab271a42140099d725']
```
To reproduce the issue, try:
```
from datasets import load_dataset, load_metric
from transformers import BertTokenizerFast, BertForQuestionAnswering
from elasticsearch import Elasticsearch
import numpy as np
import collections
from tqdm.auto import tqdm
import torch
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
max_length = 384 # The maximum length of a feature (question and context)
doc_stride = 128 # The authorized overlap between two part of the context when splitting it is needed.
pad_on_right = tokenizer.padding_side == "right"
squad_v2 = True
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
def prepare_validation_features(examples):
# Tokenize our examples with truncation and maybe padding, but keep the overflows using a stride. This results
# in one example possible giving several features when a context is long, each of those features having a
# context that overlaps a bit the context of the previous feature.
tokenized_examples = tokenizer(
examples["question" if pad_on_right else "context"],
examples["context" if pad_on_right else "question"],
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
# Since one example might give us several features if it has a long context, we need a map from a feature to
# its corresponding example. This key gives us just that.
sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping")
# We keep the example_id that gave us this feature and we will store the offset mappings.
tokenized_examples["example_id"] = []
for i in range(len(tokenized_examples["input_ids"])):
# Grab the sequence corresponding to that example (to know what is the context and what is the question).
sequence_ids = tokenized_examples.sequence_ids(i)
context_index = 1 if pad_on_right else 0
# One example can give several spans, this is the index of the example containing this span of text.
sample_index = sample_mapping[i]
tokenized_examples["example_id"].append(examples["id"][sample_index])
# Set to None the offset_mapping that are not part of the context so it's easy to determine if a token
# position is part of the context or not.
tokenized_examples["offset_mapping"][i] = [
(list(o) if sequence_ids[k] == context_index else None)
for k, o in enumerate(tokenized_examples["offset_mapping"][i])
]
return tokenized_examples
# build base examples, features set of training data
shuffled_idx = pd.read_csv('https://raw.githubusercontent.com/afogarty85/temp/main/idx.csv')['idx'].to_list()
examples = load_dataset("squad_v2").shuffle(seed=1)['train']
features = load_dataset("squad_v2").shuffle(seed=1)['train'].map(
prepare_validation_features,
batched=True,
remove_columns=['answers', 'context', 'id', 'question', 'title'])
# reorder features by the training process
features = features.select(indices=shuffled_idx)
# get the example ids to match with the "example" data; get unique entries
id_list = list(dict.fromkeys(features['example_id']))
# now search for their index positions in the examples data set; load elastic search
es = Elasticsearch([{'host': 'localhost'}]).ping()
# add an index to the id column for the examples
examples.add_elasticsearch_index(column='id')
# retrieve the example index
example_idx_k1 = [examples.search(index_name='id', query=i, k=1).indices for i in id_list]
example_idx_k1 = [item for sublist in example_idx_k1 for item in sublist]
example_idx_k2 = [examples.search(index_name='id', query=i, k=3).indices for i in id_list]
example_idx_k2 = [item for sublist in example_idx_k2 for item in sublist]
len(example_idx_k1) # should be 130319
len(example_idx_k2) # should be 130319
#trial 1 lengths:
# k=1: 130314
# k=3: 130319
# trial 2:
# just run k=3 first: 130310
# try k=1 after k=3: 130319
```
Hi !
I tried your code on my side and I was able to workaround this issue by waiting a few seconds before querying the index.
Maybe this is because the index is not updated yet on the ElasticSearch side ? | [
0.23191814124584198,
-0.01810893416404724,
-0.12120608985424042,
0.16620561480522156,
0.15398111939430237,
-0.327549546957016,
-0.12402708828449249,
0.11519457399845123,
-0.25622618198394775,
0.22354423999786377,
-0.09199908375740051,
-0.01856245845556259,
-0.06207640469074249,
-0.5503267645835876,
-0.21199050545692444,
0.04740409180521965,
-0.12460970133543015,
0.15369215607643127,
0.03214757889509201,
-0.32013726234436035,
-0.06274618208408356,
0.004378281533718109,
-0.22889398038387299,
0.021187089383602142,
-0.4899493455886841,
-0.032617077231407166,
-0.01067478395998478,
0.05976061522960663,
-0.26926854252815247,
-0.2286839783191681,
0.5223036408424377,
0.00616038590669632,
-0.044891923666000366,
0.3566161096096039,
-0.00012147359666414559,
0.04966430366039276,
0.1778373122215271,
-0.10519077628850937,
-0.19697996973991394,
-0.3112078905105591,
-0.1039009690284729,
0.020871860906481743,
0.25025036931037903,
-0.12072785943746567,
-0.2994047999382019,
-0.03137516230344772,
0.016232185065746307,
-0.4722246527671814,
0.49689173698425293,
0.140897735953331,
0.15393932163715363,
0.07946884632110596,
-0.24739602208137512,
-0.0978698804974556,
0.5316755175590515,
0.14919860661029816,
0.0635458379983902,
-0.5371038913726807,
0.3572325110435486,
0.04666636139154434,
-0.16733181476593018,
0.2593124806880951,
-0.01304329838603735,
0.127995103597641,
0.026933569461107254,
0.3127305209636688,
-0.4903326630592346,
-0.10857824981212616,
0.10123763233423233,
0.05669931322336197,
0.29486700892448425,
0.10656476020812988,
-0.5151875615119934,
-0.17371076345443726,
0.025847289711236954,
0.13467127084732056,
0.045390158891677856,
-0.032291337847709656,
0.038498654961586,
-0.04539434239268303,
-0.3651884198188782,
0.07452744245529175,
-0.11903513967990875,
0.2235468626022339,
-0.32819828391075134,
0.3586452007293701,
0.021706126630306244,
-0.08257230371236801,
0.1564616858959198,
-0.23322416841983795,
0.3354170322418213,
0.19290976226329803,
0.08280345797538757,
0.21118052303791046,
-0.3941693603992462,
0.014127559959888458,
0.13938143849372864,
-0.34257662296295166,
0.19618898630142212,
-0.17444287240505219,
0.13559763133525848,
0.2152329683303833,
-0.11078795045614243,
-0.13297167420387268,
0.14021030068397522,
0.35499030351638794,
0.07156109809875488,
0.6889233589172363,
0.05629391968250275,
-0.34816861152648926,
-0.48052164912223816,
-0.1533414125442505,
0.0640205666422844,
0.10876870900392532,
0.32824835181236267,
-0.13952043652534485,
-0.15129701793193817,
-0.2715941369533539,
-0.36335012316703796,
0.25548818707466125,
-0.7213663458824158,
-0.2695735692977905,
0.10873725265264511,
0.21016019582748413,
0.007520000450313091,
-0.22764688730239868,
0.2753216624259949,
0.1703205555677414,
-0.09375961124897003,
-0.016595590859651566,
-0.22731737792491913,
-0.275591105222702,
-0.17443493008613586,
0.126499205827713,
0.293063759803772,
-0.3172922432422638,
0.3059694766998291,
-0.017256692051887512,
0.3794790506362915,
-0.238490492105484,
0.22754855453968048,
-0.16424062848091125,
0.5017402768135071,
-0.04972004517912865,
-0.06224248558282852,
0.10196717083454132,
-0.23092074692249298,
-0.0008210055530071259,
0.08037001639604568,
-0.05311501771211624,
-0.3773985505104065,
-0.14012883603572845,
0.09508857876062393,
0.16302281618118286,
0.018906760960817337,
0.06353088468313217,
0.05705072358250618,
0.14381133019924164,
-0.032024823129177094,
0.2286977469921112,
0.03166712820529938,
-0.24216459691524506,
-0.028387311846017838,
0.12483527511358261,
0.2620410621166229,
0.0838136225938797,
0.07661104202270508,
0.04780571907758713,
-0.2097932994365692,
0.5392237305641174,
-0.19374877214431763,
0.5320901870727539,
-0.3519347012042999,
0.35887113213539124,
-0.1959838718175888,
0.4532098174095154,
0.3438783884048462,
-0.3066939413547516,
-0.4178409278392792,
-0.007061800453811884,
0.07014672458171844,
0.08185026049613953,
-0.1956542730331421,
-0.07720077037811279,
0.585079550743103,
0.05844542011618614,
0.1684945523738861,
-0.1058119535446167,
-0.014751257374882698,
-0.17984339594841003,
-0.20579925179481506,
0.07930862158536911,
-0.13240186870098114,
0.12253724038600922,
0.36505934596061707,
-0.31907525658607483,
0.20595508813858032,
0.20020097494125366,
0.10337912291288376,
0.138392835855484,
0.13096697628498077,
0.199398934841156,
0.12902675569057465,
0.24512435495853424,
0.10098143666982651,
-0.0176460649818182,
-0.10456938296556473,
0.35787466168403625,
-0.11392880231142044,
-0.17581883072853088,
-0.11872421205043793,
0.07894749194383621,
-0.03784547001123428,
-0.1796455681324005,
-0.3683207631111145,
0.11061857640743256,
0.07995761185884476,
-0.06675837934017181,
-0.1576201617717743,
0.12521834671497345,
0.03738659992814064,
0.0911082774400711,
-0.10360018163919449,
-0.023948360234498978,
-0.13463714718818665,
0.5873189568519592,
0.1401752531528473,
0.06184723973274231,
-0.12896186113357544,
0.0682050883769989,
0.33235862851142883,
0.14089448750019073,
-0.028824221342802048,
0.255471408367157,
-0.09504229575395584,
-0.09535868465900421,
0.24297010898590088,
0.062127456068992615,
0.006419121287763119,
-0.45695731043815613,
0.09028877317905426,
0.18203206360340118,
-0.045346491038799286,
-0.10434602200984955,
-0.18936190009117126,
0.2133299857378006,
-0.10961301624774933,
0.2979293465614319,
-0.10061240941286087,
-0.3357076942920685,
0.04860566556453705,
0.026324603706598282,
-0.3719770908355713,
-0.12234797328710556,
0.17104752361774445,
-0.23740257322788239,
0.09279550611972809,
-0.16224552690982819,
-0.2991945743560791,
-0.11542949825525284,
0.3506644666194916,
0.029858052730560303,
0.007000435143709183,
0.23595330119132996,
0.1895970106124878,
0.10179389268159866,
-0.22244113683700562,
-0.09805617481470108,
0.1962488293647766,
0.18834052979946136,
0.16117407381534576,
-0.13160440325737,
-0.1498197317123413,
0.08842399716377258,
-0.18830034136772156,
0.18649661540985107,
0.07519341260194778,
0.32474198937416077,
0.3557136654853821,
0.13535301387310028,
-0.15194383263587952,
-0.023998085409402847,
0.07586809247732162,
-0.10024433583021164,
-0.06024251878261566,
0.08862916380167007,
-0.5449984073638916,
0.18387186527252197,
-0.2592950463294983,
-0.06968976557254791,
-0.06945490837097168,
-0.06868795305490494,
0.0790017694234848,
0.04176929220557213,
0.19694669544696808,
-0.009487006813287735,
-0.19131377339363098,
-0.04042522609233856,
0.36009520292282104,
-0.17868706583976746,
0.02086731791496277,
0.09504133462905884,
-0.18613961338996887,
-0.005319446325302124,
-0.25317591428756714,
0.12268485128879547,
0.24299830198287964,
0.11913617700338364,
0.026354681700468063,
-0.3971423804759979,
-0.2332562506198883,
0.21915926039218903,
0.2508252263069153,
-0.0781756266951561,
-0.03177068382501602,
-0.34124433994293213,
-0.75464928150177,
-0.2112494707107544,
0.1506478637456894,
-0.0891418382525444,
-0.22728657722473145,
0.1767152100801468,
0.047802917659282684,
0.15998099744319916,
0.20626136660575867,
-0.27885010838508606,
-0.008380614221096039,
0.15967302024364471,
-0.19732294976711273,
-0.11820632219314575,
-0.19042281806468964,
0.23776061832904816,
-0.21373437345027924,
0.04600805789232254,
-0.3016383647918701,
-0.09457120299339294,
-0.3605506122112274,
-0.23014439642429352,
0.3662577271461487,
-0.07729419320821762,
-0.09254971146583557,
-0.3487812280654907,
-0.24288974702358246,
-0.3498479723930359,
0.6523901224136353,
-0.33803272247314453,
0.1325751394033432,
0.18873471021652222,
-0.08744634687900543,
-0.3462241590023041,
0.1892598271369934,
0.21276089549064636,
-0.2267204374074936,
-0.0007457435131072998,
-0.15763011574745178,
-0.0001614745706319809,
0.23929864168167114,
0.42295339703559875,
0.48743122816085815,
-0.1483020782470703,
0.16312995553016663,
0.3141477108001709,
0.9544939398765564,
0.11822907626628876,
-0.04695010557770729,
0.002596825361251831,
0.2337537258863449,
0.049734774976968765,
-0.16283345222473145,
-0.22316698729991913,
-0.05784571170806885,
-0.08236955106258392,
-0.0777805894613266,
0.1365775465965271,
0.01949024200439453,
-0.01445998065173626,
-0.0024008266627788544,
0.21494069695472717,
-0.4264388680458069,
-0.24907295405864716,
-0.019530566409230232,
-0.012617018073797226,
0.3440343141555786,
0.26696357131004333,
0.6866028904914856,
0.21552307903766632,
-0.271879643201828,
-0.4153941869735718,
-0.4057602882385254,
0.09810003638267517,
0.06870783120393753,
0.20067094266414642,
-0.22297406196594238,
-0.3778160810470581,
0.17561744153499603,
0.15010426938533783,
0.4039026200771332,
0.33439043164253235,
0.12570634484291077,
0.25737160444259644,
0.32250314950942993,
0.46691250801086426,
0.07206254452466965,
0.04381168261170387,
-0.13280509412288666,
-0.3340664207935333,
-0.025650231167674065,
-0.18076275289058685,
-0.3394303321838379,
0.2815590500831604,
-0.11005878448486328,
0.4821231961250305,
-0.25504013895988464,
-0.04811684042215347,
-0.20625415444374084,
-0.07974491268396378,
-0.1733805388212204,
-0.15707510709762573,
-0.12627944350242615,
-0.022432738915085793,
0.4037599563598633,
0.17922256886959076,
0.12378595024347305,
0.12464896589517593,
-0.07019392400979996,
-0.19759534299373627,
-0.2033245861530304,
0.015826702117919922,
0.11265445500612259,
-0.06867027282714844,
0.5717349052429199,
-0.06295248121023178,
0.30722615122795105,
0.7875509262084961,
-0.024190664291381836,
0.11520079523324966,
0.3683217167854309,
-0.21917477250099182,
0.4279134273529053,
-0.005038663744926453,
-0.1256173998117447,
-0.069735087454319,
0.34116899967193604,
-0.014883747324347496,
0.014201648533344269,
-0.00789366289973259,
0.030053414404392242,
0.039781760424375534,
-0.08776406198740005,
0.5422747135162354,
-0.30864834785461426,
-0.389270156621933,
-0.02210589498281479,
0.36512237787246704,
-0.35440441966056824,
-0.009998083114624023,
0.06898783147335052,
0.5028798580169678,
-0.3959294557571411,
0.2949844002723694,
0.2928871214389801,
0.5569574236869812,
-0.02550506591796875,
-0.11783282458782196,
-0.14321723580360413,
0.14552752673625946,
0.3744359016418457,
-0.2167765349149704,
0.4011748433113098,
-0.1790357381105423,
-0.4535490870475769,
-0.1155649721622467,
-0.06766723096370697,
-0.2743692994117737,
0.41458040475845337,
-0.13953383266925812,
0.30185481905937195,
0.218474879860878,
0.11984941363334656,
-0.11079999059438705,
0.3054755926132202,
0.3888861835002899,
-0.04840486869215965,
-0.07168350368738174,
0.09750176966190338,
0.04521063342690468,
0.3173326849937439,
0.004535088315606117,
0.03310982882976532,
0.16012854874134064,
-0.20460867881774902,
-0.21563121676445007,
0.07157851755619049,
-0.3322107493877411,
0.33977454900741577,
0.5011976957321167,
-0.4189101457595825,
0.15536633133888245,
-0.3061597943305969,
0.09585163742303848,
0.09763604402542114,
-0.13723810017108917,
0.13707992434501648,
0.302398145198822,
0.13338682055473328,
0.33474963903427124,
-0.11240031570196152,
0.10553791373968124,
0.1609683632850647,
-0.22866182029247284,
-0.11769913882017136,
0.21839337050914764,
-0.4788445234298706,
-0.2822567820549011,
0.1897849142551422,
-0.12041909992694855,
-0.15703335404396057,
0.07032814621925354,
0.2056448757648468,
-0.005477894097566605,
-0.02238505519926548,
0.05640241131186485,
0.30853521823883057,
-0.012983080931007862,
0.5014366507530212,
0.45941129326820374,
-0.20574459433555603,
-0.03841878101229668,
0.6241489052772522,
-0.03924838453531265,
0.08016061782836914,
0.1555701643228531,
-0.012202516198158264,
-0.28648436069488525,
-0.02840569242835045,
0.2435365915298462,
0.2989930510520935,
-0.13581296801567078,
-0.24897174537181854,
-0.5415059328079224,
0.3340103030204773,
0.44065001606941223,
0.13849018514156342,
0.19853845238685608,
-0.36806416511535645,
-0.3013116121292114,
-0.05766945704817772,
0.29070091247558594,
0.2671518921852112,
0.41643577814102173,
-0.042688172310590744,
-0.21285131573677063,
0.06979510188102722,
-0.06510410457849503,
0.10529818385839462,
-0.2458115518093109,
0.12887805700302124,
-0.06637519598007202,
0.18092277646064758,
-0.6103874444961548,
-0.1602732539176941,
0.31176719069480896,
-0.01906430721282959,
0.05310708284378052,
0.1648203432559967,
-0.13338690996170044,
-0.10447751730680466,
0.021922536194324493,
0.12739911675453186,
0.005721898749470711,
0.2300194948911667,
-0.23667150735855103,
-0.3809962868690491,
-0.019156750291585922,
-0.2873552739620209,
-0.17222703993320465,
0.5963322520256042,
0.33916807174682617,
0.12851502001285553,
0.1607295125722885,
-0.26845255494117737,
0.15956051647663116,
-0.0520426407456398,
0.04002867639064789,
-0.028034187853336334,
0.08019393682479858,
0.21924574673175812,
0.2671091854572296,
-0.04579366371035576,
-0.20764878392219543,
0.07152259349822998,
-0.008031189441680908,
0.007022300735116005,
0.33365780115127563,
-0.37418150901794434,
-0.05415190011262894,
0.2127549946308136,
0.5488238334655762,
0.43080824613571167,
-0.26402685046195984,
-0.5410852432250977,
0.12405537813901901,
0.17170090973377228,
-0.12713490426540375,
-0.39788806438446045,
0.031780801713466644,
0.3413989543914795,
-0.08805035054683685,
0.22197750210762024,
-0.1419968456029892,
-0.25041502714157104,
0.13843302428722382,
0.23444217443466187,
0.38538163900375366,
-0.2593212127685547,
0.019424747675657272,
-0.056981753557920456,
0.19521285593509674,
-0.2900904715061188,
0.20232321321964264,
-0.1742202788591385,
0.1853569746017456,
0.3222087025642395,
0.22210514545440674,
0.42815855145454407,
-0.1703193485736847,
0.19658897817134857,
0.14644870162010193,
-0.17155051231384277,
-0.09592443704605103,
0.3868349492549896,
-0.16530132293701172,
0.13052864372730255,
-0.22315484285354614,
0.37989336252212524,
-0.04637400805950165,
-0.08689440041780472,
-0.3670883774757385,
-0.17134767770767212,
-0.054860539734363556,
0.20070038735866547,
0.2769956886768341,
-0.35929471254348755,
-0.21135711669921875,
-0.2130507528781891,
-0.18687303364276886,
0.137960284948349,
-0.16875702142715454,
0.08832851052284241,
0.014661632478237152,
-0.1809159368276596,
-0.18281814455986023,
-0.12644025683403015,
0.20193272829055786,
-0.2738081216812134,
0.30664077401161194,
0.17076854407787323,
0.012430526316165924,
0.25884875655174255,
0.19475312530994415,
-0.15595422685146332,
0.28563880920410156,
-0.4338255822658539,
0.2635907232761383,
-0.09022587537765503,
-0.24581488966941833,
-0.011425407603383064,
0.08805131167173386,
-0.044007182121276855,
-0.7379398941993713,
0.2653435170650482,
0.021767230704426765,
-0.04547389596700668,
0.07602627575397491,
0.17092932760715485,
0.32331177592277527,
-0.24152925610542297,
-0.07464974373579025,
0.0779387354850769,
0.36147016286849976,
0.07547962665557861,
-0.13792160153388977,
-0.37650662660598755,
-0.024519015103578568,
-0.18230301141738892,
-0.03797336667776108,
0.18869486451148987,
0.08247341215610504,
0.059412211179733276,
-0.22056424617767334,
0.11726086586713791,
0.19972167909145355,
-0.08214814215898514,
-0.18092286586761475,
-0.15685799717903137,
-0.48604682087898254,
0.06633001565933228,
-0.34496670961380005,
0.20420104265213013,
0.4468429982662201,
0.5287171006202698,
-0.14007297158241272,
-0.10253454744815826,
0.3878423571586609,
-0.48699212074279785,
-0.1354863941669464,
0.22837382555007935,
-0.2258523404598236,
-0.16659723222255707,
-0.2700255513191223,
-0.000396212562918663,
-0.04445502161979675,
-0.06980973482131958,
0.04326671361923218,
-0.13074098527431488,
0.06774529814720154,
0.038058921694755554,
0.02044709026813507,
0.060312073677778244,
-0.03672706335783005,
0.2781248092651367,
0.1148318350315094,
-0.06582663953304291,
0.1099121943116188,
0.18814094364643097,
0.07094357162714005,
-0.2103189080953598,
-0.0628601536154747,
-0.005469918251037598,
0.07358813285827637,
0.292604923248291,
-0.06586621701717377,
-0.3773881494998932,
-0.14980600774288177,
0.005906411446630955,
-0.013913150876760483,
-0.06267006695270538,
-0.4696805775165558,
0.009010924026370049,
-0.1425817310810089,
0.08776020258665085,
-0.3129696249961853,
0.3146178722381592,
-0.0055831968784332275,
0.32842573523521423,
-0.13330717384815216,
-0.23916468024253845,
0.7692408561706543,
-0.36026015877723694,
-0.05665077269077301,
-0.36325621604919434,
0.290685772895813,
0.5245937705039978,
0.05645304173231125,
-0.3426837623119354,
-0.13648805022239685,
0.4094572067260742,
-0.050061918795108795,
0.0035279691219329834,
-0.2560933232307434,
0.16435439884662628,
0.05860317125916481,
-0.13324123620986938,
-0.03743086755275726,
0.2646919786930084,
-0.03712507337331772,
-0.04441233351826668,
-0.03410382568836212
] |
https://github.com/huggingface/datasets/issues/1758 | dataset.search() (elastic) cannot reliably retrieve search results | Thanks for the feedback! I added a 30 second "sleep" and that seemed to work well! | I am trying to use elastic search to retrieve the indices of items in the dataset in their precise order, given shuffled training indices.
The problem I have is that I cannot retrieve reliable results with my data on my first search. I have to run the search **twice** to get the right answer.
I am indexing data that looks like the following from the HF SQuAD 2.0 data set:
```
['57318658e6313a140071d02b',
'56f7165e3d8e2e1400e3733a',
'570e2f6e0b85d914000d7d21',
'5727e58aff5b5019007d97d0',
'5a3b5a503ff257001ab8441f',
'57262fab271a42140099d725']
```
To reproduce the issue, try:
```
from datasets import load_dataset, load_metric
from transformers import BertTokenizerFast, BertForQuestionAnswering
from elasticsearch import Elasticsearch
import numpy as np
import collections
from tqdm.auto import tqdm
import torch
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
max_length = 384 # The maximum length of a feature (question and context)
doc_stride = 128 # The authorized overlap between two part of the context when splitting it is needed.
pad_on_right = tokenizer.padding_side == "right"
squad_v2 = True
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
def prepare_validation_features(examples):
# Tokenize our examples with truncation and maybe padding, but keep the overflows using a stride. This results
# in one example possible giving several features when a context is long, each of those features having a
# context that overlaps a bit the context of the previous feature.
tokenized_examples = tokenizer(
examples["question" if pad_on_right else "context"],
examples["context" if pad_on_right else "question"],
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
# Since one example might give us several features if it has a long context, we need a map from a feature to
# its corresponding example. This key gives us just that.
sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping")
# We keep the example_id that gave us this feature and we will store the offset mappings.
tokenized_examples["example_id"] = []
for i in range(len(tokenized_examples["input_ids"])):
# Grab the sequence corresponding to that example (to know what is the context and what is the question).
sequence_ids = tokenized_examples.sequence_ids(i)
context_index = 1 if pad_on_right else 0
# One example can give several spans, this is the index of the example containing this span of text.
sample_index = sample_mapping[i]
tokenized_examples["example_id"].append(examples["id"][sample_index])
# Set to None the offset_mapping that are not part of the context so it's easy to determine if a token
# position is part of the context or not.
tokenized_examples["offset_mapping"][i] = [
(list(o) if sequence_ids[k] == context_index else None)
for k, o in enumerate(tokenized_examples["offset_mapping"][i])
]
return tokenized_examples
# build base examples, features set of training data
shuffled_idx = pd.read_csv('https://raw.githubusercontent.com/afogarty85/temp/main/idx.csv')['idx'].to_list()
examples = load_dataset("squad_v2").shuffle(seed=1)['train']
features = load_dataset("squad_v2").shuffle(seed=1)['train'].map(
prepare_validation_features,
batched=True,
remove_columns=['answers', 'context', 'id', 'question', 'title'])
# reorder features by the training process
features = features.select(indices=shuffled_idx)
# get the example ids to match with the "example" data; get unique entries
id_list = list(dict.fromkeys(features['example_id']))
# now search for their index positions in the examples data set; load elastic search
es = Elasticsearch([{'host': 'localhost'}]).ping()
# add an index to the id column for the examples
examples.add_elasticsearch_index(column='id')
# retrieve the example index
example_idx_k1 = [examples.search(index_name='id', query=i, k=1).indices for i in id_list]
example_idx_k1 = [item for sublist in example_idx_k1 for item in sublist]
example_idx_k2 = [examples.search(index_name='id', query=i, k=3).indices for i in id_list]
example_idx_k2 = [item for sublist in example_idx_k2 for item in sublist]
len(example_idx_k1) # should be 130319
len(example_idx_k2) # should be 130319
#trial 1 lengths:
# k=1: 130314
# k=3: 130319
# trial 2:
# just run k=3 first: 130310
# try k=1 after k=3: 130319
```
| 16 | dataset.search() (elastic) cannot reliably retrieve search results
I am trying to use elastic search to retrieve the indices of items in the dataset in their precise order, given shuffled training indices.
The problem I have is that I cannot retrieve reliable results with my data on my first search. I have to run the search **twice** to get the right answer.
I am indexing data that looks like the following from the HF SQuAD 2.0 data set:
```
['57318658e6313a140071d02b',
'56f7165e3d8e2e1400e3733a',
'570e2f6e0b85d914000d7d21',
'5727e58aff5b5019007d97d0',
'5a3b5a503ff257001ab8441f',
'57262fab271a42140099d725']
```
To reproduce the issue, try:
```
from datasets import load_dataset, load_metric
from transformers import BertTokenizerFast, BertForQuestionAnswering
from elasticsearch import Elasticsearch
import numpy as np
import collections
from tqdm.auto import tqdm
import torch
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
max_length = 384 # The maximum length of a feature (question and context)
doc_stride = 128 # The authorized overlap between two part of the context when splitting it is needed.
pad_on_right = tokenizer.padding_side == "right"
squad_v2 = True
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
def prepare_validation_features(examples):
# Tokenize our examples with truncation and maybe padding, but keep the overflows using a stride. This results
# in one example possible giving several features when a context is long, each of those features having a
# context that overlaps a bit the context of the previous feature.
tokenized_examples = tokenizer(
examples["question" if pad_on_right else "context"],
examples["context" if pad_on_right else "question"],
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
# Since one example might give us several features if it has a long context, we need a map from a feature to
# its corresponding example. This key gives us just that.
sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping")
# We keep the example_id that gave us this feature and we will store the offset mappings.
tokenized_examples["example_id"] = []
for i in range(len(tokenized_examples["input_ids"])):
# Grab the sequence corresponding to that example (to know what is the context and what is the question).
sequence_ids = tokenized_examples.sequence_ids(i)
context_index = 1 if pad_on_right else 0
# One example can give several spans, this is the index of the example containing this span of text.
sample_index = sample_mapping[i]
tokenized_examples["example_id"].append(examples["id"][sample_index])
# Set to None the offset_mapping that are not part of the context so it's easy to determine if a token
# position is part of the context or not.
tokenized_examples["offset_mapping"][i] = [
(list(o) if sequence_ids[k] == context_index else None)
for k, o in enumerate(tokenized_examples["offset_mapping"][i])
]
return tokenized_examples
# build base examples, features set of training data
shuffled_idx = pd.read_csv('https://raw.githubusercontent.com/afogarty85/temp/main/idx.csv')['idx'].to_list()
examples = load_dataset("squad_v2").shuffle(seed=1)['train']
features = load_dataset("squad_v2").shuffle(seed=1)['train'].map(
prepare_validation_features,
batched=True,
remove_columns=['answers', 'context', 'id', 'question', 'title'])
# reorder features by the training process
features = features.select(indices=shuffled_idx)
# get the example ids to match with the "example" data; get unique entries
id_list = list(dict.fromkeys(features['example_id']))
# now search for their index positions in the examples data set; load elastic search
es = Elasticsearch([{'host': 'localhost'}]).ping()
# add an index to the id column for the examples
examples.add_elasticsearch_index(column='id')
# retrieve the example index
example_idx_k1 = [examples.search(index_name='id', query=i, k=1).indices for i in id_list]
example_idx_k1 = [item for sublist in example_idx_k1 for item in sublist]
example_idx_k2 = [examples.search(index_name='id', query=i, k=3).indices for i in id_list]
example_idx_k2 = [item for sublist in example_idx_k2 for item in sublist]
len(example_idx_k1) # should be 130319
len(example_idx_k2) # should be 130319
#trial 1 lengths:
# k=1: 130314
# k=3: 130319
# trial 2:
# just run k=3 first: 130310
# try k=1 after k=3: 130319
```
Thanks for the feedback! I added a 30 second "sleep" and that seemed to work well! | [
0.23191814124584198,
-0.01810893416404724,
-0.12120608985424042,
0.16620561480522156,
0.15398111939430237,
-0.327549546957016,
-0.12402708828449249,
0.11519457399845123,
-0.25622618198394775,
0.22354423999786377,
-0.09199908375740051,
-0.01856245845556259,
-0.06207640469074249,
-0.5503267645835876,
-0.21199050545692444,
0.04740409180521965,
-0.12460970133543015,
0.15369215607643127,
0.03214757889509201,
-0.32013726234436035,
-0.06274618208408356,
0.004378281533718109,
-0.22889398038387299,
0.021187089383602142,
-0.4899493455886841,
-0.032617077231407166,
-0.01067478395998478,
0.05976061522960663,
-0.26926854252815247,
-0.2286839783191681,
0.5223036408424377,
0.00616038590669632,
-0.044891923666000366,
0.3566161096096039,
-0.00012147359666414559,
0.04966430366039276,
0.1778373122215271,
-0.10519077628850937,
-0.19697996973991394,
-0.3112078905105591,
-0.1039009690284729,
0.020871860906481743,
0.25025036931037903,
-0.12072785943746567,
-0.2994047999382019,
-0.03137516230344772,
0.016232185065746307,
-0.4722246527671814,
0.49689173698425293,
0.140897735953331,
0.15393932163715363,
0.07946884632110596,
-0.24739602208137512,
-0.0978698804974556,
0.5316755175590515,
0.14919860661029816,
0.0635458379983902,
-0.5371038913726807,
0.3572325110435486,
0.04666636139154434,
-0.16733181476593018,
0.2593124806880951,
-0.01304329838603735,
0.127995103597641,
0.026933569461107254,
0.3127305209636688,
-0.4903326630592346,
-0.10857824981212616,
0.10123763233423233,
0.05669931322336197,
0.29486700892448425,
0.10656476020812988,
-0.5151875615119934,
-0.17371076345443726,
0.025847289711236954,
0.13467127084732056,
0.045390158891677856,
-0.032291337847709656,
0.038498654961586,
-0.04539434239268303,
-0.3651884198188782,
0.07452744245529175,
-0.11903513967990875,
0.2235468626022339,
-0.32819828391075134,
0.3586452007293701,
0.021706126630306244,
-0.08257230371236801,
0.1564616858959198,
-0.23322416841983795,
0.3354170322418213,
0.19290976226329803,
0.08280345797538757,
0.21118052303791046,
-0.3941693603992462,
0.014127559959888458,
0.13938143849372864,
-0.34257662296295166,
0.19618898630142212,
-0.17444287240505219,
0.13559763133525848,
0.2152329683303833,
-0.11078795045614243,
-0.13297167420387268,
0.14021030068397522,
0.35499030351638794,
0.07156109809875488,
0.6889233589172363,
0.05629391968250275,
-0.34816861152648926,
-0.48052164912223816,
-0.1533414125442505,
0.0640205666422844,
0.10876870900392532,
0.32824835181236267,
-0.13952043652534485,
-0.15129701793193817,
-0.2715941369533539,
-0.36335012316703796,
0.25548818707466125,
-0.7213663458824158,
-0.2695735692977905,
0.10873725265264511,
0.21016019582748413,
0.007520000450313091,
-0.22764688730239868,
0.2753216624259949,
0.1703205555677414,
-0.09375961124897003,
-0.016595590859651566,
-0.22731737792491913,
-0.275591105222702,
-0.17443493008613586,
0.126499205827713,
0.293063759803772,
-0.3172922432422638,
0.3059694766998291,
-0.017256692051887512,
0.3794790506362915,
-0.238490492105484,
0.22754855453968048,
-0.16424062848091125,
0.5017402768135071,
-0.04972004517912865,
-0.06224248558282852,
0.10196717083454132,
-0.23092074692249298,
-0.0008210055530071259,
0.08037001639604568,
-0.05311501771211624,
-0.3773985505104065,
-0.14012883603572845,
0.09508857876062393,
0.16302281618118286,
0.018906760960817337,
0.06353088468313217,
0.05705072358250618,
0.14381133019924164,
-0.032024823129177094,
0.2286977469921112,
0.03166712820529938,
-0.24216459691524506,
-0.028387311846017838,
0.12483527511358261,
0.2620410621166229,
0.0838136225938797,
0.07661104202270508,
0.04780571907758713,
-0.2097932994365692,
0.5392237305641174,
-0.19374877214431763,
0.5320901870727539,
-0.3519347012042999,
0.35887113213539124,
-0.1959838718175888,
0.4532098174095154,
0.3438783884048462,
-0.3066939413547516,
-0.4178409278392792,
-0.007061800453811884,
0.07014672458171844,
0.08185026049613953,
-0.1956542730331421,
-0.07720077037811279,
0.585079550743103,
0.05844542011618614,
0.1684945523738861,
-0.1058119535446167,
-0.014751257374882698,
-0.17984339594841003,
-0.20579925179481506,
0.07930862158536911,
-0.13240186870098114,
0.12253724038600922,
0.36505934596061707,
-0.31907525658607483,
0.20595508813858032,
0.20020097494125366,
0.10337912291288376,
0.138392835855484,
0.13096697628498077,
0.199398934841156,
0.12902675569057465,
0.24512435495853424,
0.10098143666982651,
-0.0176460649818182,
-0.10456938296556473,
0.35787466168403625,
-0.11392880231142044,
-0.17581883072853088,
-0.11872421205043793,
0.07894749194383621,
-0.03784547001123428,
-0.1796455681324005,
-0.3683207631111145,
0.11061857640743256,
0.07995761185884476,
-0.06675837934017181,
-0.1576201617717743,
0.12521834671497345,
0.03738659992814064,
0.0911082774400711,
-0.10360018163919449,
-0.023948360234498978,
-0.13463714718818665,
0.5873189568519592,
0.1401752531528473,
0.06184723973274231,
-0.12896186113357544,
0.0682050883769989,
0.33235862851142883,
0.14089448750019073,
-0.028824221342802048,
0.255471408367157,
-0.09504229575395584,
-0.09535868465900421,
0.24297010898590088,
0.062127456068992615,
0.006419121287763119,
-0.45695731043815613,
0.09028877317905426,
0.18203206360340118,
-0.045346491038799286,
-0.10434602200984955,
-0.18936190009117126,
0.2133299857378006,
-0.10961301624774933,
0.2979293465614319,
-0.10061240941286087,
-0.3357076942920685,
0.04860566556453705,
0.026324603706598282,
-0.3719770908355713,
-0.12234797328710556,
0.17104752361774445,
-0.23740257322788239,
0.09279550611972809,
-0.16224552690982819,
-0.2991945743560791,
-0.11542949825525284,
0.3506644666194916,
0.029858052730560303,
0.007000435143709183,
0.23595330119132996,
0.1895970106124878,
0.10179389268159866,
-0.22244113683700562,
-0.09805617481470108,
0.1962488293647766,
0.18834052979946136,
0.16117407381534576,
-0.13160440325737,
-0.1498197317123413,
0.08842399716377258,
-0.18830034136772156,
0.18649661540985107,
0.07519341260194778,
0.32474198937416077,
0.3557136654853821,
0.13535301387310028,
-0.15194383263587952,
-0.023998085409402847,
0.07586809247732162,
-0.10024433583021164,
-0.06024251878261566,
0.08862916380167007,
-0.5449984073638916,
0.18387186527252197,
-0.2592950463294983,
-0.06968976557254791,
-0.06945490837097168,
-0.06868795305490494,
0.0790017694234848,
0.04176929220557213,
0.19694669544696808,
-0.009487006813287735,
-0.19131377339363098,
-0.04042522609233856,
0.36009520292282104,
-0.17868706583976746,
0.02086731791496277,
0.09504133462905884,
-0.18613961338996887,
-0.005319446325302124,
-0.25317591428756714,
0.12268485128879547,
0.24299830198287964,
0.11913617700338364,
0.026354681700468063,
-0.3971423804759979,
-0.2332562506198883,
0.21915926039218903,
0.2508252263069153,
-0.0781756266951561,
-0.03177068382501602,
-0.34124433994293213,
-0.75464928150177,
-0.2112494707107544,
0.1506478637456894,
-0.0891418382525444,
-0.22728657722473145,
0.1767152100801468,
0.047802917659282684,
0.15998099744319916,
0.20626136660575867,
-0.27885010838508606,
-0.008380614221096039,
0.15967302024364471,
-0.19732294976711273,
-0.11820632219314575,
-0.19042281806468964,
0.23776061832904816,
-0.21373437345027924,
0.04600805789232254,
-0.3016383647918701,
-0.09457120299339294,
-0.3605506122112274,
-0.23014439642429352,
0.3662577271461487,
-0.07729419320821762,
-0.09254971146583557,
-0.3487812280654907,
-0.24288974702358246,
-0.3498479723930359,
0.6523901224136353,
-0.33803272247314453,
0.1325751394033432,
0.18873471021652222,
-0.08744634687900543,
-0.3462241590023041,
0.1892598271369934,
0.21276089549064636,
-0.2267204374074936,
-0.0007457435131072998,
-0.15763011574745178,
-0.0001614745706319809,
0.23929864168167114,
0.42295339703559875,
0.48743122816085815,
-0.1483020782470703,
0.16312995553016663,
0.3141477108001709,
0.9544939398765564,
0.11822907626628876,
-0.04695010557770729,
0.002596825361251831,
0.2337537258863449,
0.049734774976968765,
-0.16283345222473145,
-0.22316698729991913,
-0.05784571170806885,
-0.08236955106258392,
-0.0777805894613266,
0.1365775465965271,
0.01949024200439453,
-0.01445998065173626,
-0.0024008266627788544,
0.21494069695472717,
-0.4264388680458069,
-0.24907295405864716,
-0.019530566409230232,
-0.012617018073797226,
0.3440343141555786,
0.26696357131004333,
0.6866028904914856,
0.21552307903766632,
-0.271879643201828,
-0.4153941869735718,
-0.4057602882385254,
0.09810003638267517,
0.06870783120393753,
0.20067094266414642,
-0.22297406196594238,
-0.3778160810470581,
0.17561744153499603,
0.15010426938533783,
0.4039026200771332,
0.33439043164253235,
0.12570634484291077,
0.25737160444259644,
0.32250314950942993,
0.46691250801086426,
0.07206254452466965,
0.04381168261170387,
-0.13280509412288666,
-0.3340664207935333,
-0.025650231167674065,
-0.18076275289058685,
-0.3394303321838379,
0.2815590500831604,
-0.11005878448486328,
0.4821231961250305,
-0.25504013895988464,
-0.04811684042215347,
-0.20625415444374084,
-0.07974491268396378,
-0.1733805388212204,
-0.15707510709762573,
-0.12627944350242615,
-0.022432738915085793,
0.4037599563598633,
0.17922256886959076,
0.12378595024347305,
0.12464896589517593,
-0.07019392400979996,
-0.19759534299373627,
-0.2033245861530304,
0.015826702117919922,
0.11265445500612259,
-0.06867027282714844,
0.5717349052429199,
-0.06295248121023178,
0.30722615122795105,
0.7875509262084961,
-0.024190664291381836,
0.11520079523324966,
0.3683217167854309,
-0.21917477250099182,
0.4279134273529053,
-0.005038663744926453,
-0.1256173998117447,
-0.069735087454319,
0.34116899967193604,
-0.014883747324347496,
0.014201648533344269,
-0.00789366289973259,
0.030053414404392242,
0.039781760424375534,
-0.08776406198740005,
0.5422747135162354,
-0.30864834785461426,
-0.389270156621933,
-0.02210589498281479,
0.36512237787246704,
-0.35440441966056824,
-0.009998083114624023,
0.06898783147335052,
0.5028798580169678,
-0.3959294557571411,
0.2949844002723694,
0.2928871214389801,
0.5569574236869812,
-0.02550506591796875,
-0.11783282458782196,
-0.14321723580360413,
0.14552752673625946,
0.3744359016418457,
-0.2167765349149704,
0.4011748433113098,
-0.1790357381105423,
-0.4535490870475769,
-0.1155649721622467,
-0.06766723096370697,
-0.2743692994117737,
0.41458040475845337,
-0.13953383266925812,
0.30185481905937195,
0.218474879860878,
0.11984941363334656,
-0.11079999059438705,
0.3054755926132202,
0.3888861835002899,
-0.04840486869215965,
-0.07168350368738174,
0.09750176966190338,
0.04521063342690468,
0.3173326849937439,
0.004535088315606117,
0.03310982882976532,
0.16012854874134064,
-0.20460867881774902,
-0.21563121676445007,
0.07157851755619049,
-0.3322107493877411,
0.33977454900741577,
0.5011976957321167,
-0.4189101457595825,
0.15536633133888245,
-0.3061597943305969,
0.09585163742303848,
0.09763604402542114,
-0.13723810017108917,
0.13707992434501648,
0.302398145198822,
0.13338682055473328,
0.33474963903427124,
-0.11240031570196152,
0.10553791373968124,
0.1609683632850647,
-0.22866182029247284,
-0.11769913882017136,
0.21839337050914764,
-0.4788445234298706,
-0.2822567820549011,
0.1897849142551422,
-0.12041909992694855,
-0.15703335404396057,
0.07032814621925354,
0.2056448757648468,
-0.005477894097566605,
-0.02238505519926548,
0.05640241131186485,
0.30853521823883057,
-0.012983080931007862,
0.5014366507530212,
0.45941129326820374,
-0.20574459433555603,
-0.03841878101229668,
0.6241489052772522,
-0.03924838453531265,
0.08016061782836914,
0.1555701643228531,
-0.012202516198158264,
-0.28648436069488525,
-0.02840569242835045,
0.2435365915298462,
0.2989930510520935,
-0.13581296801567078,
-0.24897174537181854,
-0.5415059328079224,
0.3340103030204773,
0.44065001606941223,
0.13849018514156342,
0.19853845238685608,
-0.36806416511535645,
-0.3013116121292114,
-0.05766945704817772,
0.29070091247558594,
0.2671518921852112,
0.41643577814102173,
-0.042688172310590744,
-0.21285131573677063,
0.06979510188102722,
-0.06510410457849503,
0.10529818385839462,
-0.2458115518093109,
0.12887805700302124,
-0.06637519598007202,
0.18092277646064758,
-0.6103874444961548,
-0.1602732539176941,
0.31176719069480896,
-0.01906430721282959,
0.05310708284378052,
0.1648203432559967,
-0.13338690996170044,
-0.10447751730680466,
0.021922536194324493,
0.12739911675453186,
0.005721898749470711,
0.2300194948911667,
-0.23667150735855103,
-0.3809962868690491,
-0.019156750291585922,
-0.2873552739620209,
-0.17222703993320465,
0.5963322520256042,
0.33916807174682617,
0.12851502001285553,
0.1607295125722885,
-0.26845255494117737,
0.15956051647663116,
-0.0520426407456398,
0.04002867639064789,
-0.028034187853336334,
0.08019393682479858,
0.21924574673175812,
0.2671091854572296,
-0.04579366371035576,
-0.20764878392219543,
0.07152259349822998,
-0.008031189441680908,
0.007022300735116005,
0.33365780115127563,
-0.37418150901794434,
-0.05415190011262894,
0.2127549946308136,
0.5488238334655762,
0.43080824613571167,
-0.26402685046195984,
-0.5410852432250977,
0.12405537813901901,
0.17170090973377228,
-0.12713490426540375,
-0.39788806438446045,
0.031780801713466644,
0.3413989543914795,
-0.08805035054683685,
0.22197750210762024,
-0.1419968456029892,
-0.25041502714157104,
0.13843302428722382,
0.23444217443466187,
0.38538163900375366,
-0.2593212127685547,
0.019424747675657272,
-0.056981753557920456,
0.19521285593509674,
-0.2900904715061188,
0.20232321321964264,
-0.1742202788591385,
0.1853569746017456,
0.3222087025642395,
0.22210514545440674,
0.42815855145454407,
-0.1703193485736847,
0.19658897817134857,
0.14644870162010193,
-0.17155051231384277,
-0.09592443704605103,
0.3868349492549896,
-0.16530132293701172,
0.13052864372730255,
-0.22315484285354614,
0.37989336252212524,
-0.04637400805950165,
-0.08689440041780472,
-0.3670883774757385,
-0.17134767770767212,
-0.054860539734363556,
0.20070038735866547,
0.2769956886768341,
-0.35929471254348755,
-0.21135711669921875,
-0.2130507528781891,
-0.18687303364276886,
0.137960284948349,
-0.16875702142715454,
0.08832851052284241,
0.014661632478237152,
-0.1809159368276596,
-0.18281814455986023,
-0.12644025683403015,
0.20193272829055786,
-0.2738081216812134,
0.30664077401161194,
0.17076854407787323,
0.012430526316165924,
0.25884875655174255,
0.19475312530994415,
-0.15595422685146332,
0.28563880920410156,
-0.4338255822658539,
0.2635907232761383,
-0.09022587537765503,
-0.24581488966941833,
-0.011425407603383064,
0.08805131167173386,
-0.044007182121276855,
-0.7379398941993713,
0.2653435170650482,
0.021767230704426765,
-0.04547389596700668,
0.07602627575397491,
0.17092932760715485,
0.32331177592277527,
-0.24152925610542297,
-0.07464974373579025,
0.0779387354850769,
0.36147016286849976,
0.07547962665557861,
-0.13792160153388977,
-0.37650662660598755,
-0.024519015103578568,
-0.18230301141738892,
-0.03797336667776108,
0.18869486451148987,
0.08247341215610504,
0.059412211179733276,
-0.22056424617767334,
0.11726086586713791,
0.19972167909145355,
-0.08214814215898514,
-0.18092286586761475,
-0.15685799717903137,
-0.48604682087898254,
0.06633001565933228,
-0.34496670961380005,
0.20420104265213013,
0.4468429982662201,
0.5287171006202698,
-0.14007297158241272,
-0.10253454744815826,
0.3878423571586609,
-0.48699212074279785,
-0.1354863941669464,
0.22837382555007935,
-0.2258523404598236,
-0.16659723222255707,
-0.2700255513191223,
-0.000396212562918663,
-0.04445502161979675,
-0.06980973482131958,
0.04326671361923218,
-0.13074098527431488,
0.06774529814720154,
0.038058921694755554,
0.02044709026813507,
0.060312073677778244,
-0.03672706335783005,
0.2781248092651367,
0.1148318350315094,
-0.06582663953304291,
0.1099121943116188,
0.18814094364643097,
0.07094357162714005,
-0.2103189080953598,
-0.0628601536154747,
-0.005469918251037598,
0.07358813285827637,
0.292604923248291,
-0.06586621701717377,
-0.3773881494998932,
-0.14980600774288177,
0.005906411446630955,
-0.013913150876760483,
-0.06267006695270538,
-0.4696805775165558,
0.009010924026370049,
-0.1425817310810089,
0.08776020258665085,
-0.3129696249961853,
0.3146178722381592,
-0.0055831968784332275,
0.32842573523521423,
-0.13330717384815216,
-0.23916468024253845,
0.7692408561706543,
-0.36026015877723694,
-0.05665077269077301,
-0.36325621604919434,
0.290685772895813,
0.5245937705039978,
0.05645304173231125,
-0.3426837623119354,
-0.13648805022239685,
0.4094572067260742,
-0.050061918795108795,
0.0035279691219329834,
-0.2560933232307434,
0.16435439884662628,
0.05860317125916481,
-0.13324123620986938,
-0.03743086755275726,
0.2646919786930084,
-0.03712507337331772,
-0.04441233351826668,
-0.03410382568836212
] |
https://github.com/huggingface/datasets/issues/1757 | FewRel | @dspoka Please check the following link : https://github.com/thunlp/FewRel
This link mentions two versions of the datasets. Also, this one seems to be the official link.
I am assuming this is the correct link and implementing based on the same. | ## Adding a Dataset
- **Name:** FewRel
- **Description:** Large-Scale Supervised Few-Shot Relation Classification Dataset
- **Paper:** @inproceedings{han2018fewrel,
title={FewRel:A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluation},
author={Han, Xu and Zhu, Hao and Yu, Pengfei and Wang, Ziyun and Yao, Yuan and Liu, Zhiyuan and Sun, Maosong},
booktitle={EMNLP},
year={2018}}
- **Data:** https://github.com/ProKil/FewRel
- **Motivation:** relationship extraction dataset that's been used by some state of the art systems that should be incorporated.
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 39 | FewRel
## Adding a Dataset
- **Name:** FewRel
- **Description:** Large-Scale Supervised Few-Shot Relation Classification Dataset
- **Paper:** @inproceedings{han2018fewrel,
title={FewRel:A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluation},
author={Han, Xu and Zhu, Hao and Yu, Pengfei and Wang, Ziyun and Yao, Yuan and Liu, Zhiyuan and Sun, Maosong},
booktitle={EMNLP},
year={2018}}
- **Data:** https://github.com/ProKil/FewRel
- **Motivation:** relationship extraction dataset that's been used by some state of the art systems that should be incorporated.
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
@dspoka Please check the following link : https://github.com/thunlp/FewRel
This link mentions two versions of the datasets. Also, this one seems to be the official link.
I am assuming this is the correct link and implementing based on the same. | [
-0.19483523070812225,
-0.03442300856113434,
-0.10161446034908295,
0.12685304880142212,
-0.05827759951353073,
-0.1250489205121994,
0.43154212832450867,
0.17082063853740692,
0.10607080161571503,
0.18738114833831787,
-0.4312254786491394,
0.07661600410938263,
-0.03057461604475975,
-0.3551296293735504,
0.2079172432422638,
-0.11944501101970673,
-0.013729773461818695,
0.22139763832092285,
0.014430060982704163,
-0.2777480483055115,
-0.20851625502109528,
0.24179522693157196,
0.06161728501319885,
-0.11089707911014557,
-0.2568882405757904,
-0.3504309058189392,
-0.27914056181907654,
0.21262964606285095,
-0.23462779819965363,
-0.3258257806301117,
0.3127010464668274,
0.34234845638275146,
0.23608583211898804,
0.4270276725292206,
-0.00010264103184454143,
-0.1168438270688057,
0.1504647433757782,
-0.022765256464481354,
0.23003393411636353,
0.0652286633849144,
0.2461840808391571,
-0.5815304517745972,
0.022001948207616806,
-0.2704452872276306,
-0.06932137906551361,
-0.3054864704608917,
-0.059307560324668884,
-0.06598545610904694,
0.3989919424057007,
0.26406535506248474,
0.30453726649284363,
-0.025696679949760437,
0.23297612369060516,
-0.41503220796585083,
0.025185544043779373,
0.057934701442718506,
-0.1375129371881485,
0.39703425765037537,
0.4069153368473053,
-0.04848343878984451,
-0.041206084191799164,
-0.05031801387667656,
0.1264362931251526,
-0.1019396036863327,
0.30685535073280334,
-0.009881504811346531,
-0.07304535061120987,
-0.587565541267395,
0.03554008901119232,
0.4702461063861847,
0.3035937547683716,
0.16988927125930786,
-0.2683258652687073,
0.10418891161680222,
-0.03091185912489891,
-0.1546923816204071,
-0.1621083915233612,
-0.09017737209796906,
-0.08144564926624298,
0.09009695053100586,
-0.009567768312990665,
-0.10536011308431625,
-0.35690560936927795,
0.25829005241394043,
-0.11994152516126633,
0.18730276823043823,
-0.11280094087123871,
-0.07551171630620956,
0.10008019208908081,
-0.029958970844745636,
-0.2914905548095703,
0.054714225232601166,
-0.024870965629816055,
0.22628599405288696,
-0.14936406910419464,
-0.29859137535095215,
0.04510999843478203,
0.2989332675933838,
0.580690860748291,
0.2920953035354614,
-0.13492636382579803,
-0.0020114444196224213,
-0.02443181350827217,
0.1738012135028839,
-0.005068270489573479,
0.06208100542426109,
0.10717971622943878,
-0.09761794656515121,
0.2153974324464798,
0.09765941649675369,
0.11535711586475372,
0.13604626059532166,
-0.3167721629142761,
0.03173469007015228,
-0.0946735292673111,
-0.26567941904067993,
-0.26861584186553955,
-0.1873127669095993,
0.014102542772889137,
0.30912715196609497,
-0.1353948712348938,
0.10398391634225845,
-0.10421301424503326,
0.37050944566726685,
-0.14152772724628448,
0.37395885586738586,
-0.1348135769367218,
0.04594914987683296,
0.12948688864707947,
0.037445198744535446,
-0.23653188347816467,
0.26920679211616516,
-0.09966745972633362,
-0.16876114904880524,
0.16252018511295319,
0.058583613485097885,
0.2478313148021698,
-0.2568926513195038,
0.0748605877161026,
0.06781530380249023,
-0.050478145480155945,
-0.16283519566059113,
0.30420953035354614,
0.1541777402162552,
-0.17405565083026886,
-0.0858011320233345,
0.07154835015535355,
-0.23082777857780457,
-0.3051958680152893,
-0.1649235486984253,
-0.058776311576366425,
0.025188568979501724,
-0.26545408368110657,
0.2546764016151428,
-0.09197895973920822,
-0.16816984117031097,
0.1078653559088707,
0.43294763565063477,
-0.11623059958219528,
0.031074751168489456,
-0.02158106118440628,
0.17584532499313354,
-0.23660527169704437,
-0.091267429292202,
0.2016695886850357,
0.27091753482818604,
-0.4070511758327484,
-0.08166149258613586,
-0.24957379698753357,
-0.0352465882897377,
0.16477933526039124,
0.1570712924003601,
-0.19579829275608063,
0.11448876559734344,
0.02005576156079769,
0.07572071254253387,
0.43571528792381287,
-0.13560983538627625,
-0.32923424243927,
0.5616946220397949,
-0.14286786317825317,
0.04396712779998779,
0.13814686238765717,
0.3059665262699127,
0.3618836998939514,
-0.07293733954429626,
0.07673494517803192,
0.2616870403289795,
-0.201449915766716,
-0.11641320586204529,
-0.13205592334270477,
-0.37849998474121094,
-0.38474714756011963,
-0.09448347985744476,
0.5402754545211792,
0.16102886199951172,
0.34053701162338257,
-0.1514066606760025,
0.30014485120773315,
0.12663458287715912,
0.2024376541376114,
0.13962215185165405,
0.530211329460144,
0.19008776545524597,
-0.03589669615030289,
-0.23183202743530273,
-0.11460205167531967,
0.058949925005435944,
-0.03957613185048103,
0.1955927461385727,
0.18032148480415344,
-0.15371936559677124,
-0.24107646942138672,
-0.13565804064273834,
-0.056295882910490036,
-0.3382446765899658,
0.1935911327600479,
0.23857104778289795,
0.1584199219942093,
-0.2077825665473938,
-0.10734877735376358,
0.2992669343948364,
0.17888139188289642,
-0.12131132930517197,
-0.036894187331199646,
0.27458199858665466,
-0.45154470205307007,
0.17721478641033173,
0.006860245019197464,
0.2530306875705719,
0.0016298182308673859,
-0.23034313321113586,
0.38060566782951355,
0.35636040568351746,
-0.10538345575332642,
-0.204508975148201,
0.42838460206985474,
-0.06217198073863983,
0.1458105444908142,
-0.22606924176216125,
0.1204100176692009,
-0.1315038949251175,
0.09092593193054199,
0.24489998817443848,
-0.00007311627268791199,
0.5810723304748535,
0.29314732551574707,
0.028552480041980743,
0.1140238344669342,
-0.007064523175358772,
0.11903664469718933,
0.009545434266328812,
0.14112575352191925,
-0.37368345260620117,
0.08731365203857422,
0.30772608518600464,
-0.020356886088848114,
-0.10981641709804535,
-0.4671916961669922,
0.1483648419380188,
-0.10707885026931763,
-0.030774470418691635,
0.011305693536996841,
0.16713425517082214,
0.10919346660375595,
-0.07877230644226074,
-0.14232216775417328,
0.3321634531021118,
0.2356976866722107,
0.4182398319244385,
-0.06498059630393982,
-0.09169014543294907,
-0.004393857903778553,
-0.028738517314195633,
0.06832478940486908,
0.2646045684814453,
0.30274200439453125,
0.06631100177764893,
0.2482178807258606,
0.2664310038089752,
-0.22295686602592468,
-0.20703262090682983,
-0.06581562757492065,
0.15526077151298523,
0.0077505819499492645,
0.1695457547903061,
0.14409077167510986,
0.2144913375377655,
-0.2617080807685852,
0.02286371961236,
-0.06598705053329468,
-0.25646257400512695,
0.2115868330001831,
-0.14288409054279327,
0.209087535738945,
0.32924070954322815,
-0.4815841317176819,
0.227349653840065,
-0.40663349628448486,
0.36808016896247864,
0.09833191335201263,
-0.07847627997398376,
-0.3023243546485901,
0.2722124755382538,
0.13020163774490356,
-0.22106300294399261,
0.5940274000167847,
0.04883795976638794,
-0.11436618864536285,
-0.4036473035812378,
-0.7340560555458069,
0.30769121646881104,
-0.23090632259845734,
0.46525177359580994,
0.12930600345134735,
-0.011328555643558502,
-0.03475510701537132,
-0.10148519277572632,
0.06130687892436981,
-0.5267004370689392,
-0.2977416217327118,
-0.2505539655685425,
-0.3947771489620209,
0.016321556642651558,
0.025612283498048782,
-0.4342481791973114,
-0.3470575511455536,
-0.24294185638427734,
0.24716190993785858,
0.11741216480731964,
0.16062641143798828,
0.25223562121391296,
-0.07671989500522614,
-0.013117710128426552,
0.011210956610739231,
0.09198267757892609,
-0.18835994601249695,
-0.16305793821811676,
0.2885792553424835,
-0.4790610074996948,
-0.5077255964279175,
0.10037533938884735,
-0.18167896568775177,
-0.04896603152155876,
-0.09484118968248367,
-0.16559778153896332,
-0.48076575994491577,
-0.07526891678571701,
0.3006835877895355,
0.21413737535476685,
-0.08995326608419418,
0.23380470275878906,
-0.30375343561172485,
-0.3084407150745392,
0.00851559266448021,
0.20257242023944855,
0.4028567671775818,
-0.42105725407600403,
0.16480310261249542,
-0.09595783054828644,
0.5690146684646606,
-0.10912030935287476,
0.356928288936615,
0.03501809388399124,
-0.3291347026824951,
-0.03785412758588791,
-0.11667580157518387,
0.42215296626091003,
0.02583637461066246,
-0.15197600424289703,
0.2515675723552704,
-0.16048496961593628,
0.09713759273290634,
0.3257712125778198,
-0.15277698636054993,
-0.4096333384513855,
-0.16080939769744873,
0.1710222363471985,
-0.25143352150917053,
0.10082210600376129,
-0.19815026223659515,
-0.14851371943950653,
0.1992211639881134,
-0.135660320520401,
-0.31927675008773804,
-0.027362121269106865,
-0.1692517101764679,
-0.009563023224473,
0.35840559005737305,
-0.0911245122551918,
0.01962132938206196,
-0.6412317156791687,
0.10024822503328323,
-0.3555561602115631,
0.3508536219596863,
0.3263654410839081,
0.08465602993965149,
-0.14040856063365936,
-0.30382704734802246,
-0.02809944748878479,
-0.14468513429164886,
0.3904828429222107,
-0.4032164514064789,
-0.24896560609340668,
-0.0755452811717987,
0.24108150601387024,
-0.2321612536907196,
0.1924751251935959,
-0.2888335585594177,
0.028145208954811096,
0.03788376227021217,
0.19593104720115662,
-0.17643675208091736,
-0.276734858751297,
0.5746402740478516,
-0.011868312954902649,
-0.06188126653432846,
0.006038724444806576,
-0.16431398689746857,
-0.11779728531837463,
-0.02287866920232773,
-0.006977804005146027,
-0.10408657789230347,
0.0514112189412117,
0.006076290272176266,
0.03819907829165459,
0.005098765715956688,
0.0457029715180397,
0.3633362650871277,
0.09008881449699402,
-0.08937527239322662,
0.2335480898618698,
0.20895755290985107,
0.04484441131353378,
0.16863662004470825,
0.5208558440208435,
0.07734211534261703,
-0.4342057406902313,
0.009228847920894623,
0.2245381772518158,
-0.18995210528373718,
0.4233030676841736,
0.1524067372083664,
0.08866729587316513,
-0.09193112701177597,
0.20434439182281494,
0.10738851875066757,
0.10878020524978638,
0.10678382962942123,
0.36496978998184204,
-0.17674517631530762,
-0.29149070382118225,
-0.19946762919425964,
0.2086266577243805,
0.11367219686508179,
-0.04475961998105049,
-0.23447445034980774,
0.23813720047473907,
0.06139504909515381,
-0.20160681009292603,
0.19589266180992126,
0.7938672304153442,
0.05353725701570511,
0.05644530802965164,
0.07176381349563599,
-0.5559242367744446,
0.46286892890930176,
-0.13702327013015747,
-0.015212669968605042,
-0.34940993785858154,
-0.1274491250514984,
-0.1913982629776001,
0.0301336832344532,
0.12316547334194183,
0.12100335210561752,
0.015966828912496567,
0.0021432058420032263,
-0.04956771060824394,
-0.08446796238422394,
0.02932116575539112,
0.20752862095832825,
0.3125414252281189,
-0.174414724111557,
-0.03454276919364929,
0.27065756916999817,
0.21491333842277527,
-0.04261099919676781,
-0.0016286224126815796,
-0.061666108667850494,
-0.5263206958770752,
-0.06783457845449448,
-0.08181452006101608,
-0.09195094555616379,
-0.11335926502943039,
0.25909051299095154,
0.37191149592399597,
-0.6455824971199036,
0.033482570201158524,
-0.027562502771615982,
0.2099265605211258,
-0.17693907022476196,
-0.06506776064634323,
0.08977729082107544,
-0.15602874755859375,
-0.3026634156703949,
0.224940225481987,
-0.14176234602928162,
0.25542548298835754,
-0.16795024275779724,
-0.07380244135856628,
0.3642202615737915,
-0.07283051311969757,
0.0657317116856575,
-0.26589900255203247,
0.06910332292318344,
-0.029681339859962463,
0.11947760730981827,
0.02317829616367817,
0.22265306115150452,
-0.05332476645708084,
-0.2640281021595001,
0.17949077486991882,
0.059604622423648834,
-0.19770196080207825,
-0.15845420956611633,
-0.043063562363386154,
-0.034480541944503784,
-0.08065098524093628,
0.414730429649353,
0.14293932914733887,
0.030521243810653687,
0.24012501537799835,
0.16840507090091705,
-0.23593412339687347,
-0.34527572989463806,
-0.10835376381874084,
0.5156995058059692,
-0.5914086103439331,
-0.2685302793979645,
-0.039096180349588394,
-0.2759582996368408,
0.3413712978363037,
0.5564897656440735,
0.17938809096813202,
-0.19128111004829407,
-0.15301184356212616,
-0.20319734513759613,
-0.5415031313896179,
0.14733922481536865,
-0.5056760311126709,
0.2357785403728485,
-0.07271687686443329,
0.37712761759757996,
-0.019701572135090828,
0.2641434669494629,
-0.44711369276046753,
0.007139117456972599,
-0.12965019047260284,
-0.004519253969192505,
-0.19922150671482086,
-0.2223644256591797,
0.1353750079870224,
0.039787884801626205,
0.13241416215896606,
-0.032029733061790466,
-0.34868982434272766,
-0.21732854843139648,
-0.1669682264328003,
0.062190741300582886,
-0.06844554841518402,
0.12507951259613037,
0.15265369415283203,
0.19059206545352936,
-0.4427497684955597,
0.204212486743927,
0.222960963845253,
-0.1053897812962532,
0.029223036020994186,
-0.15034712851047516,
-0.10816076397895813,
-0.23339489102363586,
-0.03131300210952759,
-0.15617512166500092,
0.2293698489665985,
0.0695948600769043,
0.24267809092998505,
0.02357640117406845,
-0.14779216051101685,
-0.2319272756576538,
-0.04949619993567467,
0.4965565800666809,
0.12772083282470703,
-0.1563829481601715,
0.33152708411216736,
-0.18267196416854858,
-0.10781340301036835,
0.6040500998497009,
0.46466726064682007,
0.08683668822050095,
0.11458228528499603,
0.12853921949863434,
-0.09047502279281616,
0.2801995277404785,
-0.407958060503006,
-0.1464686393737793,
-0.28416985273361206,
-0.31065627932548523,
0.19865751266479492,
0.3563964068889618,
0.3766656219959259,
0.07812049984931946,
0.11185043305158615,
0.16659212112426758,
0.4697534739971161,
-0.270646333694458,
-0.011369690299034119,
0.11318214982748032,
0.22229574620723724,
0.2097015529870987,
0.4822472333908081,
0.13309456408023834,
0.3767613172531128,
-0.02056017518043518,
0.02936496213078499,
0.21219301223754883,
0.005585795268416405,
0.40021848678588867,
0.4163549840450287,
-0.17655980587005615,
0.23933033645153046,
0.06998808681964874,
0.07050523161888123,
-0.22968819737434387,
-0.12675116956233978,
0.5943970680236816,
0.10865705460309982,
0.13319575786590576,
-0.13615788519382477,
0.20833632349967957,
0.018406501039862633,
-0.07114238291978836,
-0.061220407485961914,
-0.3688545525074005,
-0.2815541625022888,
-0.18774081766605377,
0.011433601379394531,
-0.04469391703605652,
0.3664058744907379,
-0.16550461947917938,
-0.10931707918643951,
-0.3379767835140228,
-0.09854064136743546,
0.09707881510257721,
0.3179980218410492,
-0.17440444231033325,
0.2670801877975464,
-0.1424383521080017,
-0.22000530362129211,
0.12987498939037323,
0.35073262453079224,
0.38331976532936096,
-0.03708653151988983,
0.26472240686416626,
-0.05804720148444176,
0.01027258113026619,
-0.31912198662757874,
-0.173574760556221,
0.08456605672836304,
0.2251163125038147,
-0.29411426186561584,
0.09965008497238159,
0.20317639410495758,
-0.27006757259368896,
0.17510956525802612,
0.1986066997051239,
0.1831948608160019,
0.07217705249786377,
0.24442186951637268,
0.04107780009508133,
-0.21692249178886414,
-0.04346807301044464,
0.18952243030071259,
-0.3223094046115875,
0.18358246982097626,
-0.021936506032943726,
-0.0963084027171135,
-0.05674440413713455,
-0.09555420279502869,
0.1596497893333435,
-0.10570085048675537,
0.2242288738489151,
0.18421746790409088,
-0.06982652097940445,
-0.13729113340377808,
-0.2968895435333252,
-0.4947134256362915,
0.1266511231660843,
0.05867437273263931,
-0.19294312596321106,
-0.09742724895477295,
0.2545589208602905,
0.14454317092895508,
-0.07402095943689346,
0.011314086616039276,
-0.19538338482379913,
0.06585799902677536,
-0.047768376767635345,
-0.29142242670059204,
0.06887371838092804,
0.04076901450753212,
0.22659876942634583,
0.129067525267601,
-0.10455045849084854,
-0.25517359375953674,
-0.1046208068728447,
0.08587590605020523,
-0.08532249927520752,
-0.2774786353111267,
-0.024386193603277206,
0.15114647150039673,
0.23024167120456696,
0.08737753331661224,
0.49352604150772095,
-0.13585150241851807,
-0.25040948390960693,
-0.27340301871299744,
-0.12176187336444855,
-0.3229371905326843,
0.36548489332199097,
0.23278868198394775,
0.2945089042186737,
-0.1016467735171318,
-0.007541511207818985,
0.12795479595661163,
-0.1188664510846138,
0.2819197177886963,
0.13794443011283875,
-0.3423041105270386,
0.04868297278881073,
-0.02892809361219406,
-0.19136157631874084,
0.38452357053756714,
0.33006003499031067,
0.23391574621200562,
-0.08888504654169083,
-0.21917229890823364,
-0.34651073813438416,
0.438618004322052,
0.13181497156620026,
0.06660373508930206,
-0.16357792913913727,
0.20132479071617126,
0.027790747582912445,
-0.17994819581508636,
-0.39099830389022827,
0.05892667919397354,
0.4154229462146759,
-0.009455062448978424,
-0.2802794277667999,
0.22627221047878265,
-0.04704321175813675,
-0.10454274713993073,
-0.08623645454645157,
-0.06812363862991333,
0.029842805117368698,
-0.18701662123203278,
-0.13494537770748138,
-0.015928784385323524
] |
https://github.com/huggingface/datasets/issues/1755 | Using select/reordering datasets slows operations down immensely | Thanks for the input! I gave that a try by adding this after my selection / reordering operations, but before the big computation task of `score_squad`
```
examples = examples.flatten_indices()
features = features.flatten_indices()
```
That helped quite a bit! | I am using portions of HF's helpful work in preparing / scoring the SQuAD 2.0 data. The problem I have is that after using `select` to re-ordering the dataset, computations slow down immensely where the total scoring process on 131k training examples would take maybe 3 minutes, now take over an hour.
The below example should be reproducible and I have ran myself down this path because I want to use HF's scoring functions and helpful data preparation, but use my own trainer. The training process uses shuffle and therefore the order I trained on no longer matches the original data set order. So, to score my results correctly, the original data set needs to match the order of the training. This requires that I: (1) collect the index for each row of data emitted during training, and (2) use this index information to re-order the datasets correctly so the orders match when I go to score.
The problem is, the dataset class starts performing very poorly as soon as you start manipulating its order by immense magnitudes.
```
from datasets import load_dataset, load_metric
from transformers import BertTokenizerFast, BertForQuestionAnswering
from elasticsearch import Elasticsearch
import numpy as np
import collections
from tqdm.auto import tqdm
import torch
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
max_length = 384 # The maximum length of a feature (question and context)
doc_stride = 128 # The authorized overlap between two part of the context when splitting it is needed.
pad_on_right = tokenizer.padding_side == "right"
squad_v2 = True
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
def prepare_validation_features(examples):
# Tokenize our examples with truncation and maybe padding, but keep the overflows using a stride. This results
# in one example possible giving several features when a context is long, each of those features having a
# context that overlaps a bit the context of the previous feature.
tokenized_examples = tokenizer(
examples["question" if pad_on_right else "context"],
examples["context" if pad_on_right else "question"],
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
# Since one example might give us several features if it has a long context, we need a map from a feature to
# its corresponding example. This key gives us just that.
sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping")
# We keep the example_id that gave us this feature and we will store the offset mappings.
tokenized_examples["example_id"] = []
for i in range(len(tokenized_examples["input_ids"])):
# Grab the sequence corresponding to that example (to know what is the context and what is the question).
sequence_ids = tokenized_examples.sequence_ids(i)
context_index = 1 if pad_on_right else 0
# One example can give several spans, this is the index of the example containing this span of text.
sample_index = sample_mapping[i]
tokenized_examples["example_id"].append(examples["id"][sample_index])
# Set to None the offset_mapping that are not part of the context so it's easy to determine if a token
# position is part of the context or not.
tokenized_examples["offset_mapping"][i] = [
(list(o) if sequence_ids[k] == context_index else None)
for k, o in enumerate(tokenized_examples["offset_mapping"][i])
]
return tokenized_examples
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
def postprocess_qa_predictions(examples, features, starting_logits, ending_logits, n_best_size = 20, max_answer_length = 30):
all_start_logits, all_end_logits = starting_logits, ending_logits
# Build a map example to its corresponding features.
example_id_to_index = {k: i for i, k in enumerate(examples["id"])}
features_per_example = collections.defaultdict(list)
for i, feature in enumerate(features):
features_per_example[example_id_to_index[feature["example_id"]]].append(i)
# The dictionaries we have to fill.
predictions = collections.OrderedDict()
# Logging.
print(f"Post-processing {len(examples)} example predictions split into {len(features)} features.")
# Let's loop over all the examples!
for example_index, example in enumerate(tqdm(examples)):
# Those are the indices of the features associated to the current example.
feature_indices = features_per_example[example_index]
min_null_score = None # Only used if squad_v2 is True.
valid_answers = []
context = example["context"]
# Looping through all the features associated to the current example.
for feature_index in feature_indices:
# We grab the predictions of the model for this feature.
start_logits = all_start_logits[feature_index]
end_logits = all_end_logits[feature_index]
# This is what will allow us to map some the positions in our logits to span of texts in the original
# context.
offset_mapping = features[feature_index]["offset_mapping"]
# Update minimum null prediction.
cls_index = features[feature_index]["input_ids"].index(tokenizer.cls_token_id)
feature_null_score = start_logits[cls_index] + end_logits[cls_index]
if min_null_score is None or min_null_score < feature_null_score:
min_null_score = feature_null_score
# Go through all possibilities for the `n_best_size` greater start and end logits.
start_indexes = np.argsort(start_logits)[-1 : -n_best_size - 1 : -1].tolist()
end_indexes = np.argsort(end_logits)[-1 : -n_best_size - 1 : -1].tolist()
for start_index in start_indexes:
for end_index in end_indexes:
# Don't consider out-of-scope answers, either because the indices are out of bounds or correspond
# to part of the input_ids that are not in the context.
if (
start_index >= len(offset_mapping)
or end_index >= len(offset_mapping)
or offset_mapping[start_index] is None
or offset_mapping[end_index] is None
):
continue
# Don't consider answers with a length that is either < 0 or > max_answer_length.
if end_index < start_index or end_index - start_index + 1 > max_answer_length:
continue
start_char = offset_mapping[start_index][0]
end_char = offset_mapping[end_index][1]
valid_answers.append(
{
"score": start_logits[start_index] + end_logits[end_index],
"text": context[start_char: end_char]
}
)
if len(valid_answers) > 0:
best_answer = sorted(valid_answers, key=lambda x: x["score"], reverse=True)[0]
else:
# In the very rare edge case we have not a single non-null prediction, we create a fake prediction to avoid
# failure.
best_answer = {"text": "", "score": 0.0}
# Let's pick our final answer: the best one or the null answer (only for squad_v2)
if not squad_v2:
predictions[example["id"]] = best_answer["text"]
else:
answer = best_answer["text"] if best_answer["score"] > min_null_score else ""
predictions[example["id"]] = answer
return predictions
# build base examples, features from training data
examples = load_dataset("squad_v2").shuffle(seed=5)['train']
features = load_dataset("squad_v2").shuffle(seed=5)['train'].map(
prepare_validation_features,
batched=True,
remove_columns=['answers', 'context', 'id', 'question', 'title'])
# sim some shuffled training indices that we want to use to re-order the data to compare how we did
shuffle_idx = np.arange(0, 131754)
np.random.shuffle(shuffle_idx)
# create a new dataset with rows selected following the training shuffle
features = features.select(indices=shuffle_idx)
# get unique example ids to match with the "example" data
id_list = list(dict.fromkeys(features['example_id']))
# now search for their index positions; load elastic search
es = Elasticsearch([{'host': 'localhost'}]).ping()
# add an index to the id column for the examples
examples.add_elasticsearch_index(column='id')
# search the examples for their index position
example_idx = [examples.search(index_name='id', query=i, k=1).indices for i in id_list]
# drop the elastic search
examples.drop_index(index_name='id')
# put examples in the right order
examples = examples.select(indices=example_idx)
# generate some fake data
logits = {'starting_logits': torch.randn(131754, 384), 'ending_logits': torch.randn(131754, 384)}
def score_squad(logits, n_best_size, max_answer):
# proceed with QA calculation
final_predictions = postprocess_qa_predictions(examples=examples,
features=features,
starting_logits=logits['starting_logits'],
ending_logits=logits['ending_logits'],
n_best_size=20,
max_answer_length=30)
metric = load_metric("squad_v2")
formatted_predictions = [{"id": k, "prediction_text": v, "no_answer_probability": 0.0} for k, v in final_predictions.items()]
references = [{"id": ex["id"], "answers": ex["answers"]} for ex in examples]
metrics = metric.compute(predictions=formatted_predictions, references=references)
return metrics
metrics = score_squad(logits, n_best_size=20, max_answer=30)
```
| 39 | Using select/reordering datasets slows operations down immensely
I am using portions of HF's helpful work in preparing / scoring the SQuAD 2.0 data. The problem I have is that after using `select` to re-ordering the dataset, computations slow down immensely where the total scoring process on 131k training examples would take maybe 3 minutes, now take over an hour.
The below example should be reproducible and I have ran myself down this path because I want to use HF's scoring functions and helpful data preparation, but use my own trainer. The training process uses shuffle and therefore the order I trained on no longer matches the original data set order. So, to score my results correctly, the original data set needs to match the order of the training. This requires that I: (1) collect the index for each row of data emitted during training, and (2) use this index information to re-order the datasets correctly so the orders match when I go to score.
The problem is, the dataset class starts performing very poorly as soon as you start manipulating its order by immense magnitudes.
```
from datasets import load_dataset, load_metric
from transformers import BertTokenizerFast, BertForQuestionAnswering
from elasticsearch import Elasticsearch
import numpy as np
import collections
from tqdm.auto import tqdm
import torch
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
max_length = 384 # The maximum length of a feature (question and context)
doc_stride = 128 # The authorized overlap between two part of the context when splitting it is needed.
pad_on_right = tokenizer.padding_side == "right"
squad_v2 = True
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
def prepare_validation_features(examples):
# Tokenize our examples with truncation and maybe padding, but keep the overflows using a stride. This results
# in one example possible giving several features when a context is long, each of those features having a
# context that overlaps a bit the context of the previous feature.
tokenized_examples = tokenizer(
examples["question" if pad_on_right else "context"],
examples["context" if pad_on_right else "question"],
truncation="only_second" if pad_on_right else "only_first",
max_length=max_length,
stride=doc_stride,
return_overflowing_tokens=True,
return_offsets_mapping=True,
padding="max_length",
)
# Since one example might give us several features if it has a long context, we need a map from a feature to
# its corresponding example. This key gives us just that.
sample_mapping = tokenized_examples.pop("overflow_to_sample_mapping")
# We keep the example_id that gave us this feature and we will store the offset mappings.
tokenized_examples["example_id"] = []
for i in range(len(tokenized_examples["input_ids"])):
# Grab the sequence corresponding to that example (to know what is the context and what is the question).
sequence_ids = tokenized_examples.sequence_ids(i)
context_index = 1 if pad_on_right else 0
# One example can give several spans, this is the index of the example containing this span of text.
sample_index = sample_mapping[i]
tokenized_examples["example_id"].append(examples["id"][sample_index])
# Set to None the offset_mapping that are not part of the context so it's easy to determine if a token
# position is part of the context or not.
tokenized_examples["offset_mapping"][i] = [
(list(o) if sequence_ids[k] == context_index else None)
for k, o in enumerate(tokenized_examples["offset_mapping"][i])
]
return tokenized_examples
# from https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/question_answering.ipynb#scrollTo=941LPhDWeYv-
def postprocess_qa_predictions(examples, features, starting_logits, ending_logits, n_best_size = 20, max_answer_length = 30):
all_start_logits, all_end_logits = starting_logits, ending_logits
# Build a map example to its corresponding features.
example_id_to_index = {k: i for i, k in enumerate(examples["id"])}
features_per_example = collections.defaultdict(list)
for i, feature in enumerate(features):
features_per_example[example_id_to_index[feature["example_id"]]].append(i)
# The dictionaries we have to fill.
predictions = collections.OrderedDict()
# Logging.
print(f"Post-processing {len(examples)} example predictions split into {len(features)} features.")
# Let's loop over all the examples!
for example_index, example in enumerate(tqdm(examples)):
# Those are the indices of the features associated to the current example.
feature_indices = features_per_example[example_index]
min_null_score = None # Only used if squad_v2 is True.
valid_answers = []
context = example["context"]
# Looping through all the features associated to the current example.
for feature_index in feature_indices:
# We grab the predictions of the model for this feature.
start_logits = all_start_logits[feature_index]
end_logits = all_end_logits[feature_index]
# This is what will allow us to map some the positions in our logits to span of texts in the original
# context.
offset_mapping = features[feature_index]["offset_mapping"]
# Update minimum null prediction.
cls_index = features[feature_index]["input_ids"].index(tokenizer.cls_token_id)
feature_null_score = start_logits[cls_index] + end_logits[cls_index]
if min_null_score is None or min_null_score < feature_null_score:
min_null_score = feature_null_score
# Go through all possibilities for the `n_best_size` greater start and end logits.
start_indexes = np.argsort(start_logits)[-1 : -n_best_size - 1 : -1].tolist()
end_indexes = np.argsort(end_logits)[-1 : -n_best_size - 1 : -1].tolist()
for start_index in start_indexes:
for end_index in end_indexes:
# Don't consider out-of-scope answers, either because the indices are out of bounds or correspond
# to part of the input_ids that are not in the context.
if (
start_index >= len(offset_mapping)
or end_index >= len(offset_mapping)
or offset_mapping[start_index] is None
or offset_mapping[end_index] is None
):
continue
# Don't consider answers with a length that is either < 0 or > max_answer_length.
if end_index < start_index or end_index - start_index + 1 > max_answer_length:
continue
start_char = offset_mapping[start_index][0]
end_char = offset_mapping[end_index][1]
valid_answers.append(
{
"score": start_logits[start_index] + end_logits[end_index],
"text": context[start_char: end_char]
}
)
if len(valid_answers) > 0:
best_answer = sorted(valid_answers, key=lambda x: x["score"], reverse=True)[0]
else:
# In the very rare edge case we have not a single non-null prediction, we create a fake prediction to avoid
# failure.
best_answer = {"text": "", "score": 0.0}
# Let's pick our final answer: the best one or the null answer (only for squad_v2)
if not squad_v2:
predictions[example["id"]] = best_answer["text"]
else:
answer = best_answer["text"] if best_answer["score"] > min_null_score else ""
predictions[example["id"]] = answer
return predictions
# build base examples, features from training data
examples = load_dataset("squad_v2").shuffle(seed=5)['train']
features = load_dataset("squad_v2").shuffle(seed=5)['train'].map(
prepare_validation_features,
batched=True,
remove_columns=['answers', 'context', 'id', 'question', 'title'])
# sim some shuffled training indices that we want to use to re-order the data to compare how we did
shuffle_idx = np.arange(0, 131754)
np.random.shuffle(shuffle_idx)
# create a new dataset with rows selected following the training shuffle
features = features.select(indices=shuffle_idx)
# get unique example ids to match with the "example" data
id_list = list(dict.fromkeys(features['example_id']))
# now search for their index positions; load elastic search
es = Elasticsearch([{'host': 'localhost'}]).ping()
# add an index to the id column for the examples
examples.add_elasticsearch_index(column='id')
# search the examples for their index position
example_idx = [examples.search(index_name='id', query=i, k=1).indices for i in id_list]
# drop the elastic search
examples.drop_index(index_name='id')
# put examples in the right order
examples = examples.select(indices=example_idx)
# generate some fake data
logits = {'starting_logits': torch.randn(131754, 384), 'ending_logits': torch.randn(131754, 384)}
def score_squad(logits, n_best_size, max_answer):
# proceed with QA calculation
final_predictions = postprocess_qa_predictions(examples=examples,
features=features,
starting_logits=logits['starting_logits'],
ending_logits=logits['ending_logits'],
n_best_size=20,
max_answer_length=30)
metric = load_metric("squad_v2")
formatted_predictions = [{"id": k, "prediction_text": v, "no_answer_probability": 0.0} for k, v in final_predictions.items()]
references = [{"id": ex["id"], "answers": ex["answers"]} for ex in examples]
metrics = metric.compute(predictions=formatted_predictions, references=references)
return metrics
metrics = score_squad(logits, n_best_size=20, max_answer=30)
```
Thanks for the input! I gave that a try by adding this after my selection / reordering operations, but before the big computation task of `score_squad`
```
examples = examples.flatten_indices()
features = features.flatten_indices()
```
That helped quite a bit! | [
-0.2229693979024887,
0.24770331382751465,
-0.013868408277630806,
-0.10007192194461823,
-0.0033286400139331818,
-0.14651033282279968,
-0.09160161018371582,
0.14607678353786469,
-0.34975895285606384,
0.10942208021879196,
-0.2728036046028137,
0.3873889744281769,
0.21265405416488647,
-0.1992180347442627,
-0.061309486627578735,
-0.052645519375801086,
-0.1135227307677269,
0.0000028833746910095215,
-0.0314248725771904,
-0.09378622472286224,
-0.10050836205482483,
-0.3484923541545868,
-0.34774017333984375,
-0.1455438733100891,
-0.2218249887228012,
-0.1603689193725586,
0.054974742233753204,
0.35124561190605164,
-0.12604600191116333,
-0.3404075801372528,
0.09777925163507462,
0.5284639000892639,
-0.060143403708934784,
0.3460886478424072,
-0.00012037388660246506,
-0.11406286060810089,
-0.3013564944267273,
-0.05909867584705353,
-0.49369028210639954,
0.0832117423415184,
-0.0697162002325058,
-0.04383961856365204,
-0.16161562502384186,
0.07797559350728989,
-0.12168576568365097,
-0.11298155039548874,
-0.05491091310977936,
-0.3639616072177887,
0.45607447624206543,
-0.0008519086986780167,
0.12085187435150146,
0.22048170864582062,
-0.5714429020881653,
-0.25567105412483215,
0.1670393943786621,
0.01624203473329544,
-0.09538320451974869,
-0.036580413579940796,
0.41832029819488525,
0.1212785392999649,
-0.11408678442239761,
0.34311726689338684,
-0.09504343569278717,
-0.15067946910858154,
0.24512335658073425,
0.12945066392421722,
-0.269910991191864,
0.12562793493270874,
0.005174841731786728,
0.02227972075343132,
0.2026706337928772,
-0.11320454627275467,
-0.5826926827430725,
-0.37192708253860474,
0.34175601601600647,
-0.012738296762108803,
0.2049165666103363,
-0.28103575110435486,
0.46077749133110046,
-0.041623976081609726,
-0.3063011169433594,
0.20168571174144745,
0.03589046001434326,
0.02143729105591774,
0.16131886839866638,
0.22619007527828217,
0.023647800087928772,
-0.010698504745960236,
-0.019231360405683517,
-0.12379802763462067,
0.1931631863117218,
-0.1877470463514328,
0.04583077132701874,
0.3385600745677948,
-0.48510581254959106,
-0.21021686494350433,
-0.11098980158567429,
-0.24804720282554626,
0.030924707651138306,
0.19534794986248016,
0.09914149343967438,
0.41936662793159485,
0.07935863733291626,
-0.310554563999176,
0.19269722700119019,
0.29439106583595276,
-0.093246690928936,
0.335405558347702,
0.06616530567407608,
-0.05582946538925171,
-0.06709401309490204,
-0.027262777090072632,
0.05751999467611313,
-0.3548845052719116,
-0.11530619859695435,
0.06213138625025749,
-0.4168905019760132,
-0.13966739177703857,
-0.4675753116607666,
0.010127234272658825,
-0.23678889870643616,
0.026424145326018333,
0.3597142696380615,
0.35693788528442383,
-0.13391174376010895,
-0.12309519201517105,
0.02047431841492653,
0.1510908007621765,
-0.3827771544456482,
0.11942792683839798,
-0.15493176877498627,
-0.1807514727115631,
-0.12826041877269745,
0.4981122612953186,
0.06820046901702881,
0.010568199679255486,
-0.04452776163816452,
0.1479116678237915,
0.650456964969635,
0.1346222311258316,
0.17897360026836395,
-0.06255999952554703,
0.3049418032169342,
0.13300205767154694,
-0.16442105174064636,
0.028439218178391457,
-0.06938439607620239,
-0.08286057412624359,
-0.2640686333179474,
0.2404959797859192,
-0.4224526286125183,
-0.17307819426059723,
0.2738596200942993,
0.14264988899230957,
0.05324164032936096,
-0.1324375718832016,
-0.026170305907726288,
0.11525769531726837,
0.07007217407226562,
-0.32718169689178467,
0.03344530612230301,
-0.26400887966156006,
0.05803864076733589,
0.041754405945539474,
0.10551827400922775,
0.26441025733947754,
-0.4662199318408966,
-0.08052144944667816,
0.09471972286701202,
0.5643753409385681,
0.223565936088562,
0.33449646830558777,
-0.2951169013977051,
0.0774916410446167,
0.062312811613082886,
0.21906189620494843,
0.44857603311538696,
-0.16820988059043884,
-0.40644773840904236,
0.07931684702634811,
-0.3333156108856201,
0.13018089532852173,
0.11000493913888931,
0.2987503409385681,
0.4087424874305725,
-0.14379124343395233,
-0.09174646437168121,
0.2847902774810791,
0.07831227779388428,
-0.0005594193935394287,
-0.24308373034000397,
-0.14943856000900269,
-0.146028071641922,
0.2493930608034134,
-0.08547340333461761,
0.0004538223147392273,
0.06587550789117813,
0.25444382429122925,
0.09367730468511581,
-0.21243754029273987,
-0.1569138616323471,
0.14409610629081726,
-0.048708681017160416,
0.23614762723445892,
0.009082593023777008,
-0.201750248670578,
-0.26242583990097046,
0.2542325556278229,
-0.14825354516506195,
-0.08744572103023529,
0.13528521358966827,
-0.2490599900484085,
-0.2674160301685333,
-0.2243238240480423,
-0.36136704683303833,
-0.08412760496139526,
-0.032693419605493546,
-0.000049591064453125,
0.2648526132106781,
-0.3743014335632324,
-0.13582345843315125,
0.25452062487602234,
-0.29800716042518616,
0.11255520582199097,
0.18673506379127502,
0.3353080749511719,
0.0942641869187355,
-0.08367180824279785,
-0.17538097500801086,
0.22317996621131897,
0.04137992486357689,
-0.01025985088199377,
-0.042531635612249374,
0.4816073179244995,
-0.030558573082089424,
-0.20105941593647003,
0.3003448247909546,
0.19190378487110138,
0.11892561614513397,
-0.004832558333873749,
0.18485353887081146,
-0.056765373796224594,
-0.10385892540216446,
-0.08572245389223099,
-0.4112776517868042,
0.7307938933372498,
-0.6390337347984314,
0.3906637132167816,
-0.008189324289560318,
-0.3914915919303894,
-0.13644522428512573,
0.23396989703178406,
-0.06718454509973526,
0.028089292347431183,
0.19466166198253632,
0.06922447681427002,
0.3068400025367737,
0.02192390337586403,
-0.17089498043060303,
0.11481805890798569,
0.3807359039783478,
0.11160986125469208,
-0.11619129031896591,
0.05933130532503128,
0.1933872252702713,
0.05811566114425659,
-0.15266260504722595,
-0.4381035566329956,
0.26741498708724976,
0.21447555720806122,
-0.009813215583562851,
-0.07380354404449463,
-0.08768580108880997,
-0.08992604911327362,
-0.06171960383653641,
-0.045100271701812744,
-0.025745250284671783,
0.39694350957870483,
0.31695759296417236,
0.25581467151641846,
-0.27155962586402893,
-0.04619137570261955,
0.04976491630077362,
-0.02695375494658947,
-0.31879422068595886,
0.3653789162635803,
-0.26554855704307556,
0.32622581720352173,
-0.09957164525985718,
0.09953299909830093,
-0.23394858837127686,
-0.18947629630565643,
0.2998906373977661,
-0.053245801478624344,
0.04203437641263008,
0.22804614901542664,
0.008248239755630493,
0.2510021924972534,
0.19362233579158783,
-0.40150243043899536,
0.04864624887704849,
0.1283147782087326,
-0.08533930778503418,
-0.03868479281663895,
0.17929981648921967,
0.23403887450695038,
0.29964062571525574,
0.16312675178050995,
-0.2064594179391861,
-0.070680633187294,
-0.34888550639152527,
-0.05851239711046219,
0.09015113115310669,
0.14988276362419128,
-0.09478668868541718,
-0.19868777692317963,
-0.5059822201728821,
-0.3361068367958069,
-0.09678882360458374,
0.10740771889686584,
-0.1892307549715042,
0.004753902554512024,
-0.21010015904903412,
0.06903674453496933,
0.1734791249036789,
-0.47811517119407654,
0.016837656497955322,
0.016255121678113937,
0.03444952517747879,
0.009837616235017776,
0.06695463508367538,
0.1476117968559265,
-0.16101498901844025,
-0.11166272312402725,
-0.1796433925628662,
0.08806811273097992,
-0.353863388299942,
-0.26867666840553284,
0.2319984883069992,
-0.1055767834186554,
-0.008286304771900177,
-0.41969072818756104,
-0.07657617330551147,
-0.5765690207481384,
0.25387805700302124,
0.01603781431913376,
-0.1266462504863739,
-0.09158042818307877,
-0.09845882654190063,
-0.36536216735839844,
0.2959350347518921,
0.3322468400001526,
-0.21093997359275818,
0.032138653099536896,
0.1102815791964531,
-0.07740248739719391,
0.06234307959675789,
0.5486829280853271,
0.046229038387537,
-0.4003954827785492,
0.12395244091749191,
0.11098597943782806,
1.133341670036316,
-0.01418110728263855,
0.11144603788852692,
-0.06534753739833832,
0.16985686123371124,
0.06900589913129807,
-0.3496221899986267,
-0.16719982028007507,
0.23969142138957977,
-0.00607985258102417,
0.0631314292550087,
0.3585752844810486,
0.0024386541917920113,
0.21972551941871643,
0.3613547086715698,
0.47137776017189026,
-0.12103790044784546,
-0.14536148309707642,
0.10492628812789917,
0.12416675686836243,
0.13142377138137817,
0.23449057340621948,
0.33052438497543335,
-0.2545455992221832,
-0.1899588704109192,
-0.02179233729839325,
-0.21384526789188385,
0.24153944849967957,
-0.1783575713634491,
-0.48205628991127014,
0.017617637291550636,
-0.08873418718576431,
0.10386692732572556,
0.12115883082151413,
0.03103611245751381,
0.30657148361206055,
-0.08949512243270874,
0.4382133483886719,
-0.15524443984031677,
0.6033060550689697,
0.010327647440135479,
-0.07484599202871323,
0.2094709426164627,
-0.3021302819252014,
0.03176366537809372,
-0.0028445497155189514,
-0.31031668186187744,
0.138114795088768,
0.028037235140800476,
0.299295037984848,
-0.39559710025787354,
-0.14685992896556854,
0.23749154806137085,
0.01368630863726139,
0.018270079046487808,
0.016800716519355774,
-0.15742450952529907,
0.0457494854927063,
0.07693404704332352,
0.4116089642047882,
-0.27685901522636414,
0.16891083121299744,
0.04998941719532013,
0.15340548753738403,
-0.20582661032676697,
0.07725991308689117,
0.10899026691913605,
0.09788359701633453,
0.23206305503845215,
0.3968159854412079,
0.29682108759880066,
0.575982928276062,
-0.08200153708457947,
0.2667076587677002,
0.36543503403663635,
-0.040562842041254044,
-0.03208041191101074,
0.17770719528198242,
0.021375559270381927,
0.12450820207595825,
0.7451144456863403,
0.1889926940202713,
0.18021917343139648,
-0.009155526757240295,
0.3382088541984558,
-0.2709100842475891,
-0.05702291429042816,
0.3755311071872711,
-0.19513744115829468,
-0.1541287750005722,
-0.24984894692897797,
0.328846275806427,
0.008933739736676216,
-0.0365891233086586,
-0.11355766654014587,
0.5571154356002808,
-0.11694800853729248,
0.36992281675338745,
0.6643725633621216,
1.1539638042449951,
-0.31585848331451416,
0.283917099237442,
0.08572450280189514,
-0.06275986135005951,
0.2783316671848297,
-0.4571998715400696,
0.3110564947128296,
-0.3608015775680542,
-0.5183975696563721,
0.12710203230381012,
-0.27685970067977905,
0.1780615746974945,
0.3513544201850891,
0.04872507229447365,
0.23529353737831116,
-0.3827722668647766,
0.07795920968055725,
-0.36643120646476746,
0.20860663056373596,
0.1052866280078888,
-0.5642207860946655,
-0.09958071261644363,
0.034208185970783234,
0.08514910191297531,
-0.1615060716867447,
-0.10265695303678513,
0.17781303822994232,
-0.07760103046894073,
0.23192967474460602,
-0.05661298334598541,
-0.14086861908435822,
-0.31188157200813293,
-0.02346024662256241,
-0.04957390949130058,
-0.34393036365509033,
0.6047796010971069,
-0.04151840880513191,
0.17745035886764526,
0.13721995055675507,
0.20339126884937286,
0.1746310591697693,
0.17084339261054993,
0.46510598063468933,
0.45656970143318176,
-0.1060810312628746,
0.050896406173706055,
0.16572022438049316,
0.17113405466079712,
-0.11482412368059158,
0.19439557194709778,
-0.4318305253982544,
-0.38545945286750793,
0.11506586521863937,
0.09803831577301025,
-0.19468292593955994,
-0.020351966843008995,
0.28046029806137085,
0.12536711990833282,
-0.20019084215164185,
0.050373390316963196,
0.03823712095618248,
-0.028356418013572693,
0.5486465096473694,
0.16353926062583923,
-0.2518386244773865,
-0.2608957886695862,
0.6345750689506531,
0.09655193984508514,
-0.08347368985414505,
0.4297216534614563,
-0.04877479001879692,
-0.3911808133125305,
-0.10197095572948456,
0.21287226676940918,
0.2624305486679077,
-0.3412106931209564,
-0.08727481961250305,
-0.18792933225631714,
-0.27944251894950867,
0.15877507627010345,
0.20182880759239197,
0.1933792531490326,
-0.07010986655950546,
-0.2999262809753418,
0.12440647184848785,
0.3185897469520569,
0.020122963935136795,
0.6046158671379089,
0.03986082971096039,
-0.3336849808692932,
0.22270332276821136,
-0.5289214253425598,
0.35636672377586365,
-0.2616191506385803,
-0.10699811577796936,
-0.2482590526342392,
0.28992292284965515,
-0.5045487880706787,
-0.14837855100631714,
0.2586856782436371,
-0.11637261509895325,
0.004872523248195648,
-0.06017681956291199,
-0.19830825924873352,
-0.14482514560222626,
-0.19700174033641815,
0.09802622348070145,
-0.19970640540122986,
0.12431862950325012,
-0.018803313374519348,
-0.25076407194137573,
-0.2704806923866272,
-0.4096265435218811,
0.20145563781261444,
0.33966299891471863,
0.2517516613006592,
-0.07944895327091217,
0.2015300989151001,
-0.2823913097381592,
0.12247337400913239,
-0.002423323690891266,
0.16811463236808777,
-0.16676361858844757,
0.041164156049489975,
0.24534325301647186,
-0.10373829305171967,
-0.1357135772705078,
-0.06975200027227402,
0.27891919016838074,
0.5007078051567078,
0.021199364215135574,
0.21533265709877014,
-0.2984631061553955,
-0.05454017221927643,
0.4007715880870819,
0.41864803433418274,
0.6963022947311401,
0.2969825267791748,
-0.6313236951828003,
0.0892220214009285,
0.04358822852373123,
-0.06285186111927032,
-0.3881572484970093,
0.021162858232855797,
-0.10073325783014297,
0.010001398622989655,
0.18118414282798767,
-0.1866115927696228,
0.33414074778556824,
0.11532804369926453,
0.14217349886894226,
-0.08103737235069275,
-0.06331584602594376,
0.10963112115859985,
0.22109664976596832,
0.21586985886096954,
-0.11357986927032471,
0.3845512270927429,
-0.1954144537448883,
0.10968000441789627,
0.07988915592432022,
0.1793094277381897,
0.4664361774921417,
-0.041130177676677704,
0.3082846403121948,
-0.3080219626426697,
-0.2969997227191925,
-0.2421712726354599,
0.44425836205482483,
0.1990969181060791,
-0.046932369470596313,
0.06939157843589783,
0.13856613636016846,
-0.06662051379680634,
-0.5457805395126343,
-0.0916193276643753,
0.10645729303359985,
-0.08491034805774689,
-0.11991889774799347,
-0.056628864258527756,
-0.19385987520217896,
-0.16505394876003265,
-0.10947796702384949,
-0.31080108880996704,
0.12947595119476318,
0.03926429525017738,
-0.12471264600753784,
0.45488375425338745,
-0.35485002398490906,
-0.07787702232599258,
-0.25236785411834717,
0.36073094606399536,
-0.1750517040491104,
-0.01987537182867527,
-0.0690101832151413,
0.30457860231399536,
0.30673736333847046,
0.05529747158288956,
-0.17409947514533997,
0.10504903644323349,
-0.3952312767505646,
-0.07668091356754303,
-0.0727439671754837,
0.06887272000312805,
0.2560725212097168,
-0.045582592487335205,
-0.2837684154510498,
-0.3933626711368561,
0.42062294483184814,
-0.018373368307948112,
-0.16518865525722504,
-0.6061076521873474,
0.22668568789958954,
0.05559428781270981,
-0.2718515992164612,
0.031660519540309906,
0.28606104850769043,
0.04706515371799469,
0.40659037232398987,
-0.032308630645275116,
0.061348289251327515,
-0.00036165397614240646,
-0.2930682301521301,
-0.15416665375232697,
0.05008528381586075,
0.23896168172359467,
0.06267507374286652,
0.14897306263446808,
0.5292364358901978,
0.18475967645645142,
-0.07450776547193527,
-0.3575534522533417,
0.005656920373439789,
-0.5157694220542908,
-0.07460122555494308,
-0.0146511010825634,
0.05197455734014511,
0.43813517689704895,
0.47547492384910583,
0.13728106021881104,
0.05492577701807022,
0.1292782872915268,
-0.5943351984024048,
0.05651788413524628,
0.08937239646911621,
-0.1599137932062149,
-0.0063521116971969604,
-0.27958059310913086,
-0.09287721663713455,
-0.2524857521057129,
-0.27287665009498596,
0.11006438732147217,
0.3300590217113495,
-0.05368778482079506,
0.12985387444496155,
0.028091132640838623,
0.05613717809319496,
0.21141114830970764,
0.04523010551929474,
-0.09331412613391876,
-0.021088100969791412,
0.048402704298496246,
0.10927385836839676,
0.11353415250778198,
-0.21382004022598267,
-0.2178075760602951,
0.09989120066165924,
-0.26423248648643494,
0.3201901912689209,
-0.1137271448969841,
-0.17144981026649475,
-0.14608703553676605,
0.11755365133285522,
-0.02235645055770874,
0.19536791741847992,
-0.506677508354187,
0.12623806297779083,
0.12939360737800598,
0.5172361731529236,
-0.23423562943935394,
0.44830504059791565,
0.002068396657705307,
0.43483471870422363,
-0.2447373867034912,
-0.053066469728946686,
0.46614158153533936,
0.05716153234243393,
-0.15673772990703583,
-0.0178665891289711,
0.3398124575614929,
0.2781735062599182,
0.07953730970621109,
0.19540053606033325,
-0.10078608244657516,
0.3035784661769867,
-0.09313610941171646,
-0.01846269704401493,
0.13311776518821716,
-0.05431802198290825,
-0.1423795521259308,
-0.26937583088874817,
-0.027490057051181793,
-0.06851574033498764,
-0.14671586453914642,
-0.20962879061698914,
-0.2694699168205261
] |
https://github.com/huggingface/datasets/issues/1747 | datasets slicing with seed | Hi :)
The slicing API from https://huggingface.co/docs/datasets/splits.html doesn't shuffle the data.
You can shuffle and then take a subset of your dataset with
```python
# shuffle and take the first 100 examples
dataset = dataset.shuffle(seed=42).select(range(100))
```
You can find more information about shuffling and selecting rows in the documentation: https://huggingface.co/docs/datasets/processing.html#selecting-sorting-shuffling-splitting-rows | Hi
I need to slice a dataset with random seed, I looked into documentation here https://huggingface.co/docs/datasets/splits.html
I could not find a seed option, could you assist me please how I can get a slice for different seeds?
thank you.
@lhoestq | 50 | datasets slicing with seed
Hi
I need to slice a dataset with random seed, I looked into documentation here https://huggingface.co/docs/datasets/splits.html
I could not find a seed option, could you assist me please how I can get a slice for different seeds?
thank you.
@lhoestq
Hi :)
The slicing API from https://huggingface.co/docs/datasets/splits.html doesn't shuffle the data.
You can shuffle and then take a subset of your dataset with
```python
# shuffle and take the first 100 examples
dataset = dataset.shuffle(seed=42).select(range(100))
```
You can find more information about shuffling and selecting rows in the documentation: https://huggingface.co/docs/datasets/processing.html#selecting-sorting-shuffling-splitting-rows | [
0.009547267109155655,
-0.6955252289772034,
-0.10169775784015656,
0.10608348250389099,
0.2887982726097107,
-0.05544641613960266,
0.08338580280542374,
0.06347405910491943,
-0.13928164541721344,
0.6284063458442688,
-0.04679018259048462,
0.09934723377227783,
-0.18307392299175262,
0.7351148128509521,
0.15613554418087006,
-0.3828534185886383,
0.1237092912197113,
-0.21804273128509521,
0.34682023525238037,
-0.1670895516872406,
-0.14873942732810974,
-0.04308302700519562,
-0.2222317010164261,
-0.14831599593162537,
-0.24107690155506134,
-0.21858267486095428,
-0.17684803903102875,
0.18849337100982666,
-0.11707516759634018,
-0.06758909672498703,
-0.000769028440117836,
0.019095182418823242,
0.21828332543373108,
0.26537054777145386,
-0.00012244126992300153,
-0.17007507383823395,
0.021827861666679382,
0.020341789349913597,
0.05277847871184349,
-0.04956229031085968,
-0.2632194757461548,
0.29186421632766724,
-0.11742597818374634,
-0.12123292684555054,
-0.4069701135158539,
-0.006835222244262695,
0.06588324159383774,
-0.1543092578649521,
0.03972609341144562,
-0.19730503857135773,
0.054465945810079575,
0.04211578518152237,
-0.01920318603515625,
-0.10661476105451584,
0.32570818066596985,
0.6462306976318359,
-0.0514415018260479,
-0.17939238250255585,
0.09448610991239548,
0.45456093549728394,
0.3125537931919098,
-0.005021488294005394,
0.10667778551578522,
0.1581708788871765,
0.05301453918218613,
0.08908721804618835,
-0.39179062843322754,
-0.4616833031177521,
0.031012456864118576,
0.42726680636405945,
0.43520668148994446,
0.0732969269156456,
-0.32729649543762207,
-0.24010655283927917,
-0.013762007467448711,
-0.3003649115562439,
-0.2683163583278656,
0.5809764266014099,
-0.1436816155910492,
-0.08454445004463196,
-0.04318059980869293,
-0.05145270749926567,
-0.13034969568252563,
0.11597543954849243,
0.2786242365837097,
0.6345117092132568,
-0.1247463971376419,
0.164383202791214,
0.4493524432182312,
-0.06226670742034912,
-0.07862982153892517,
-0.0007801558822393417,
-0.04121602699160576,
0.23739026486873627,
0.02426791936159134,
-0.2484133541584015,
-0.4149942994117737,
0.7269179224967957,
0.4642121493816376,
0.1487492322921753,
-0.19184422492980957,
0.08501872420310974,
-0.07670411467552185,
-0.08691849559545517,
0.33976924419403076,
-0.3440186083316803,
0.15064245462417603,
0.3478379547595978,
0.030342379584908485,
-0.07131074368953705,
0.15798594057559967,
0.024999594315886497,
0.15585505962371826,
0.12135177105665207,
-0.29653510451316833,
-0.20087242126464844,
-0.07057376205921173,
0.010082270950078964,
0.019276725128293037,
-0.5418998599052429,
-0.13418203592300415,
-0.3639208972454071,
-0.03330311179161072,
0.20461943745613098,
-0.01930765062570572,
-0.3753100335597992,
-0.25215426087379456,
0.05299178510904312,
-0.1427578628063202,
-0.3852556347846985,
-0.275934636592865,
0.10756368935108185,
0.061752673238515854,
0.0967913493514061,
-0.1246311217546463,
-0.27756792306900024,
0.18231503665447235,
0.127839133143425,
0.11883535981178284,
-0.02214977517724037,
-0.39888468384742737,
0.2535950541496277,
-0.14874982833862305,
0.11611396074295044,
0.14565207064151764,
-0.13536471128463745,
0.15682722628116608,
0.14402328431606293,
-0.16394609212875366,
-0.02762298285961151,
-0.10597636550664902,
-0.1007239893078804,
0.10961035639047623,
-0.022893838584423065,
0.103431835770607,
0.02062845230102539,
-0.5214859843254089,
0.2818063199520111,
-0.1603294014930725,
0.08189210295677185,
-0.03454471379518509,
0.24683138728141785,
-0.3699514865875244,
-0.21610374748706818,
0.35086533427238464,
0.012297458946704865,
-0.13785530626773834,
-0.3832705020904541,
0.09406314045190811,
0.014769275672733784,
0.34168705344200134,
0.3521432876586914,
-0.14846128225326538,
-0.18123361468315125,
-0.13292373716831207,
0.28176093101501465,
0.0835433304309845,
0.3524162173271179,
-0.12196308374404907,
0.14417143166065216,
-0.031112466007471085,
-0.11351129412651062,
0.1805296242237091,
0.18576470017433167,
0.12821108102798462,
0.018274446949362755,
-0.09823550283908844,
0.1557999849319458,
-0.4006555378437042,
0.10393784195184708,
-0.15215475857257843,
-0.23103037476539612,
0.16099022328853607,
0.2237417846918106,
0.04793868958950043,
-0.08441760390996933,
0.2544506788253784,
-0.28220853209495544,
0.49495768547058105,
0.06420208513736725,
0.10980623215436935,
-0.020526014268398285,
0.11607776582241058,
0.32392507791519165,
0.056765396147966385,
-0.3433825373649597,
-0.10448748618364334,
0.05085716396570206,
0.021489668637514114,
-0.03721193969249725,
0.17314840853214264,
-0.2949850559234619,
-0.07905492186546326,
-0.06708823889493942,
-0.007347766309976578,
-0.04155264422297478,
-0.1158398985862732,
-0.034408554434776306,
0.5063343048095703,
0.11775417625904083,
-0.18358109891414642,
-0.048893608152866364,
-0.10261113941669464,
0.13796237111091614,
-0.7429713606834412,
0.3961385488510132,
0.059883181005716324,
-0.22514669597148895,
0.012345593422651291,
-0.04424310475587845,
0.0640270784497261,
-0.10306302458047867,
0.046968795359134674,
0.3983740508556366,
0.29647767543792725,
-0.08602111041545868,
0.1261243224143982,
0.1368531584739685,
0.2491818368434906,
-0.20317722856998444,
0.07650547474622726,
-0.20569436252117157,
0.11388411372900009,
-0.08489196002483368,
-0.15474581718444824,
0.35231274366378784,
-0.49091705679893494,
0.063866525888443,
-0.12608560919761658,
-0.1007656380534172,
-0.03474602475762367,
0.11851026117801666,
-0.15441913902759552,
-0.01787879690527916,
0.12842218577861786,
-0.22241327166557312,
0.07876747846603394,
-0.07382217794656754,
-0.5414636731147766,
0.11569856107234955,
0.06328689306974411,
-0.37317827343940735,
0.050369732081890106,
0.09075026214122772,
0.07632037997245789,
0.26554253697395325,
0.04729007929563522,
0.13054193556308746,
0.14474955201148987,
0.33528876304626465,
0.10103017091751099,
-0.1944219022989273,
0.3914378583431244,
-0.12874284386634827,
0.054144542664289474,
0.19078947603702545,
-0.03120020590722561,
-0.15423697233200073,
-0.27911487221717834,
-0.17434293031692505,
-0.039801377803087234,
0.29938632249832153,
-0.17209720611572266,
0.11420612037181854,
-0.11024664342403412,
-0.213290736079216,
-0.3585132360458374,
-0.0358969047665596,
-0.17691440880298615,
-0.5306732654571533,
-0.29089027643203735,
-0.1259763091802597,
0.10573415458202362,
0.3068056106567383,
0.10822618007659912,
0.15519222617149353,
0.09262287616729736,
0.09656458348035812,
-0.1541961133480072,
0.4554952085018158,
-0.2244456261396408,
0.06990271806716919,
0.0342402420938015,
0.050551947206258774,
-0.04911613464355469,
0.6051303148269653,
0.2825828194618225,
-0.19610367715358734,
-0.21002736687660217,
-0.13353821635246277,
0.04475175589323044,
0.028057675808668137,
-0.27643948793411255,
0.6539113521575928,
0.31258368492126465,
0.21148928999900818,
-0.3241719603538513,
-0.12671291828155518,
0.3424208164215088,
-0.1622316688299179,
0.019505420699715614,
-0.08339052647352219,
0.21678607165813446,
-0.1330219954252243,
0.2517118752002716,
-0.01212291419506073,
-0.4640725553035736,
-0.0953938215970993,
0.23033709824085236,
-0.03901267424225807,
-0.12469738721847534,
-0.09435519576072693,
0.03838310390710831,
-0.363467276096344,
-0.00907989777624607,
-0.3386930823326111,
-0.05428094416856766,
-0.5055660009384155,
0.05048265680670738,
-0.1902124583721161,
-0.16624927520751953,
0.09197565913200378,
-0.010683110915124416,
-0.29682236909866333,
0.0837208479642868,
0.06976243853569031,
0.5544331669807434,
-0.09501057863235474,
0.09565131366252899,
-0.16175326704978943,
0.16159899532794952,
0.5859107375144958,
-0.25688260793685913,
0.22664771974086761,
-0.0340309739112854,
-0.0718514621257782,
-0.09216754883527756,
-0.3189782202243805,
0.2888513505458832,
0.3687146008014679,
0.34786176681518555,
-0.07041565328836441,
0.7969764471054077,
0.0661664754152298,
0.21587055921554565,
-0.0724334567785263,
-0.026446959003806114,
-0.00028397515416145325,
0.05414998531341553,
-0.3065507709980011,
0.30968520045280457,
0.41772881150245667,
-0.33272695541381836,
0.3756401538848877,
0.17265290021896362,
0.24352730810642242,
-0.005420416593551636,
-0.39246666431427,
-0.1362069845199585,
-0.1476922631263733,
-0.0267192255705595,
0.1089382916688919,
-0.0608602836728096,
-0.2926632761955261,
-0.1087171882390976,
-0.09691266715526581,
-0.0877782478928566,
-0.34297212958335876,
0.3228102922439575,
0.6068434715270996,
0.046549055725336075,
-0.5338963866233826,
-0.32146018743515015,
-0.3645898699760437,
0.11008774489164352,
0.370456725358963,
-0.18802927434444427,
-0.05318702384829521,
-0.1404213011264801,
0.49585407972335815,
0.28463634848594666,
0.8806200623512268,
-0.08341725915670395,
-0.1512143760919571,
-0.26130440831184387,
-0.36855489015579224,
-0.13620615005493164,
0.24583445489406586,
-0.16907398402690887,
-0.12737299501895905,
-0.08754579722881317,
0.02949141338467598,
-0.5456351041793823,
-0.3812645375728607,
0.23681282997131348,
0.016288917511701584,
-0.040197230875492096,
-0.16856148838996887,
-0.08155980706214905,
0.17583227157592773,
-0.05460135638713837,
0.12318827211856842,
0.06440135091543198,
0.04456660524010658,
-0.1355678290128708,
0.021829459816217422,
-0.012006403878331184,
-0.2656211853027344,
0.061826128512620926,
-0.12802347540855408,
0.182946115732193,
0.12339743226766586,
0.07731296122074127,
0.32610195875167847,
0.09461403638124466,
0.24686872959136963,
0.04240897670388222,
-0.09067612886428833,
-0.06036677956581116,
-0.17204740643501282,
0.010589349083602428,
0.44195905327796936,
0.09123551845550537,
0.008301832713186741,
0.0795518085360527,
-0.013876453042030334,
0.20055192708969116,
-0.3427184820175171,
-0.3676573634147644,
0.22332671284675598,
-0.168814018368721,
-0.3760848045349121,
-0.32936742901802063,
0.352081298828125,
0.07321937382221222,
-0.19386142492294312,
0.560825765132904,
0.40995097160339355,
-0.05697222054004669,
0.10359499603509903,
0.04062012583017349,
0.7752840518951416,
-0.010373227298259735,
-0.09199588000774384,
0.11276676505804062,
0.22190697491168976,
0.21271416544914246,
0.5584772825241089,
0.21371832489967346,
-0.3080764710903168,
-0.49929842352867126,
-0.2018873542547226,
0.15801094472408295,
0.06382741034030914,
0.19131648540496826,
-0.05726880952715874,
0.18500742316246033,
-0.05476493388414383,
-0.10056047141551971,
-0.38854020833969116,
-0.1939568966627121,
-0.22488009929656982,
-0.003221072256565094,
-0.1430080235004425,
-0.033668067306280136,
-0.22748832404613495,
0.2590164840221405,
0.058929458260536194,
0.18901628255844116,
-0.060945428907871246,
-0.227799192070961,
-0.23390795290470123,
-0.07599477469921112,
-0.3006742596626282,
-0.14162103831768036,
0.04319207742810249,
-0.13641339540481567,
0.0026106517761945724,
0.3202064335346222,
0.27568647265434265,
0.08584544062614441,
0.013740275986492634,
0.2838687300682068,
-0.09237831085920334,
-0.22399179637432098,
-0.289700984954834,
0.2096964716911316,
0.019978849217295647,
0.14564481377601624,
-0.416299045085907,
-0.13926076889038086,
0.06845910847187042,
-0.44749319553375244,
-0.840338408946991,
0.003389798104763031,
0.18235614895820618,
-0.5605272054672241,
-0.1671973466873169,
-0.1617652177810669,
0.2584700286388397,
-0.022580796852707863,
-0.011090870946645737,
0.13779382407665253,
0.05473550781607628,
0.25623512268066406,
0.1947604864835739,
0.08497300744056702,
-0.2678752541542053,
0.20987562835216522,
0.08784814178943634,
0.4105137884616852,
0.1986331194639206,
0.11491017043590546,
-0.16425371170043945,
-0.19732120633125305,
0.5678085684776306,
0.17556622624397278,
0.09835418313741684,
0.07725439220666885,
0.07832816243171692,
0.3218281865119934,
0.1400385946035385,
0.34591227769851685,
0.09773623198270798,
-0.05918029695749283,
0.10468748211860657,
-0.3396746814250946,
0.09341021627187729,
0.3857952356338501,
0.12441639602184296,
0.30202776193618774,
0.17528784275054932,
0.23732827603816986,
-0.2597450315952301,
0.26163893938064575,
-0.1473516970872879,
0.2337990403175354,
0.2653440237045288,
0.04662008583545685,
0.17077742516994476,
0.31702783703804016,
0.3241879940032959,
0.10057561099529266,
0.016659392043948174,
0.0941781997680664,
0.1193484514951706,
0.006749778985977173,
-0.1122628003358841,
0.14227420091629028,
-0.09047102928161621,
-0.027986405417323112,
-0.04735015332698822,
-0.05878898873925209,
-0.1873568445444107,
-0.09229817241430283,
0.14190688729286194,
0.3153979480266571,
0.27076542377471924,
0.08614132553339005,
1.2160903215408325,
0.09394477307796478,
-0.17458708584308624,
0.3296565115451813,
-0.15305562317371368,
0.2653254568576813,
-0.11190838366746902,
-0.05094323307275772,
-0.029736779630184174,
-0.11179446429014206,
-0.18851664662361145,
0.03228277713060379,
0.5101652145385742,
0.015417153015732765,
0.13806283473968506,
0.07369105517864227,
-0.015725720673799515,
0.08045637607574463,
0.24900701642036438,
0.005805794149637222,
0.2402932494878769,
0.2699509859085083,
0.1849491000175476,
0.06728516519069672,
0.009255293756723404,
-0.2049558460712433,
0.09014609456062317,
0.2932852804660797,
0.08051401376724243,
0.5057781934738159,
-0.45187315344810486,
0.28901228308677673,
0.05916965752840042,
-0.07990522682666779,
0.42913806438446045,
-0.1815352737903595,
0.26246511936187744,
0.2134265899658203,
-0.1114845871925354,
-0.31461337208747864,
0.04641071707010269,
0.09685316681861877,
0.1788673996925354,
-0.04788675159215927,
-0.3192083537578583,
0.4151833951473236,
-0.40280571579933167,
-0.06992186605930328,
0.19299018383026123,
-0.19151221215724945,
-0.27405989170074463,
0.4229435324668884,
-0.13458135724067688,
0.10367363691329956,
0.05985846370458603,
0.5918383002281189,
-0.4613357484340668,
0.03730180114507675,
-0.13542643189430237,
0.42744672298431396,
0.2274968922138214,
-0.07888007164001465,
-0.42011523246765137,
-0.2546606659889221,
-0.054623160511255264,
-0.07654106616973877,
0.07222312688827515,
-0.18211108446121216,
0.4113156795501709,
0.08497528731822968,
-0.004828780889511108,
-0.2381506711244583,
-0.09827321022748947,
0.11705181747674942,
0.18219594657421112,
-0.0969475656747818,
0.02939533442258835,
-0.3142322301864624,
-0.08252228796482086,
0.41903817653656006,
-0.019556360319256783,
-0.04951414093375206,
-0.2980828881263733,
0.08160082995891571,
-0.19108006358146667,
-0.31405889987945557,
-0.17019817233085632,
0.15345866978168488,
0.24650999903678894,
-0.16682586073875427,
0.11213234066963196,
0.14336560666561127,
0.06453403830528259,
-0.027092307806015015,
-0.08337721228599548,
0.13514676690101624,
0.4787387251853943,
-0.4653784930706024,
0.237795889377594,
-0.4024116098880768,
0.06491180509328842,
-0.19065538048744202,
-0.08352722972631454,
-0.282807856798172,
0.43375417590141296,
-0.7622525691986084,
-0.3180727958679199,
-0.1321806013584137,
0.17538383603096008,
0.017974067479372025,
-0.09868091344833374,
0.22096185386180878,
0.14979271590709686,
-0.4015921354293823,
-0.11540549248456955,
-0.34282273054122925,
0.18600144982337952,
-0.2979782223701477,
-0.1306392252445221,
-0.03826509043574333,
-0.02055077813565731,
-0.06264062970876694,
0.09335815161466599,
-0.020548388361930847,
-0.03714333474636078,
0.11727665364742279,
-0.049041446298360825,
0.5686759948730469,
0.08012492954730988,
-0.2503063380718231,
-0.32371288537979126,
0.2560370862483978,
0.06510979682207108,
0.02790803462266922,
0.0750872939825058,
0.2733129858970642,
-0.20289543271064758,
-0.10348811745643616,
0.2581922113895416,
-0.03247402608394623,
-0.5140295028686523,
-0.1780579686164856,
0.2874123156070709,
0.061124421656131744,
-0.10795977711677551,
-0.009132051840424538,
0.07125572115182877,
-0.11192835122346878,
-0.3790042996406555,
0.27717894315719604,
0.06659071147441864,
0.6011492013931274,
-0.0342453271150589,
-0.44518885016441345,
-0.24683061242103577,
0.07837997376918793,
-0.10159565508365631,
0.1680881232023239,
0.030093302950263023,
0.22694407403469086,
-0.153111070394516,
0.02793135866522789,
0.28498995304107666,
0.2729872465133667,
-0.2187119722366333,
0.03700776398181915,
0.31460076570510864,
-0.02390342950820923,
0.4214169383049011,
-0.3195384442806244,
0.05108774080872536,
-0.23416225612163544,
-0.10592097043991089,
0.16150076687335968,
-0.4090164601802826,
0.009146265685558319,
-0.05982101708650589,
0.16225145757198334,
0.15628007054328918,
0.4829617738723755,
0.06942439824342728,
0.33232825994491577,
-0.2731132209300995,
0.10714709758758545,
0.5657520294189453,
0.312507688999176,
-0.043189890682697296,
0.37012115120887756,
-0.15036611258983612
] |
https://github.com/huggingface/datasets/issues/1747 | datasets slicing with seed | thank you so much
On Mon, Jan 18, 2021 at 3:17 PM Quentin Lhoest <notifications@github.com>
wrote:
> Hi :)
> The slicing API doesn't shuffle the data.
> You can shuffle and then take a subset of your dataset with
>
> # shuffle and take the first 100 examplesdataset = dataset.shuffle(seed=42).select(range(100))
>
> You can find more information about shuffling and selecting rows in the
> documentation:
> https://huggingface.co/docs/datasets/processing.html#selecting-sorting-shuffling-splitting-rows
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/datasets/issues/1747#issuecomment-762278134>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AM3GZM5D5MDPLJGI4IG3UADS2Q7GPANCNFSM4WHLOZJQ>
> .
>
| Hi
I need to slice a dataset with random seed, I looked into documentation here https://huggingface.co/docs/datasets/splits.html
I could not find a seed option, could you assist me please how I can get a slice for different seeds?
thank you.
@lhoestq | 103 | datasets slicing with seed
Hi
I need to slice a dataset with random seed, I looked into documentation here https://huggingface.co/docs/datasets/splits.html
I could not find a seed option, could you assist me please how I can get a slice for different seeds?
thank you.
@lhoestq
thank you so much
On Mon, Jan 18, 2021 at 3:17 PM Quentin Lhoest <notifications@github.com>
wrote:
> Hi :)
> The slicing API doesn't shuffle the data.
> You can shuffle and then take a subset of your dataset with
>
> # shuffle and take the first 100 examplesdataset = dataset.shuffle(seed=42).select(range(100))
>
> You can find more information about shuffling and selecting rows in the
> documentation:
> https://huggingface.co/docs/datasets/processing.html#selecting-sorting-shuffling-splitting-rows
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/huggingface/datasets/issues/1747#issuecomment-762278134>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AM3GZM5D5MDPLJGI4IG3UADS2Q7GPANCNFSM4WHLOZJQ>
> .
>
| [
-0.0242706760764122,
-0.5800482034683228,
-0.10250279307365417,
0.09017622470855713,
0.3337332606315613,
-0.031354472041130066,
0.08624257892370224,
0.0778433233499527,
-0.15559086203575134,
0.6615404486656189,
-0.0357804000377655,
0.11593442410230637,
-0.14227567613124847,
0.6808804273605347,
0.133257657289505,
-0.32284781336784363,
0.08891671895980835,
-0.1975938081741333,
0.25407156348228455,
-0.14923512935638428,
-0.08098877966403961,
-0.004985818639397621,
-0.18722254037857056,
-0.13874906301498413,
-0.2912374436855316,
-0.255999892950058,
-0.17107021808624268,
0.22264868021011353,
-0.14194777607917786,
-0.009559717029333115,
0.07384082674980164,
0.05761834233999252,
0.20524148643016815,
0.15881703794002533,
-0.00011813898163381964,
-0.13910475373268127,
0.025798246264457703,
0.03769417852163315,
0.01795320026576519,
-0.052934303879737854,
-0.280100554227829,
0.3696417510509491,
-0.1711483597755432,
-0.10281484574079514,
-0.4033961892127991,
0.03928414359688759,
0.11335580796003342,
-0.2076663374900818,
0.014693982899188995,
-0.1915641874074936,
0.09851786494255066,
0.05063082277774811,
0.028484050184488297,
-0.1905965954065323,
0.28137579560279846,
0.6558918356895447,
-0.08947066217660904,
-0.1163899153470993,
0.06313157826662064,
0.5073186755180359,
0.2269357442855835,
0.00023867003619670868,
0.1760694682598114,
0.17143206298351288,
0.033467601984739304,
0.0956164225935936,
-0.37262478470802307,
-0.436031311750412,
0.05088350921869278,
0.4526304304599762,
0.4963749051094055,
0.1073245108127594,
-0.318222314119339,
-0.19370323419570923,
-0.001561588142067194,
-0.2984306812286377,
-0.23448246717453003,
0.5080897808074951,
-0.11298142373561859,
-0.0207737497985363,
-0.03424890711903572,
0.023994989693164825,
-0.10833142697811127,
0.09608685225248337,
0.32985469698905945,
0.4552757143974304,
-0.12644997239112854,
0.14009496569633484,
0.4577615559101105,
-0.08610662817955017,
-0.09095169603824615,
0.05995222181081772,
-0.14163048565387726,
0.21373802423477173,
-0.038823533803224564,
-0.2371634989976883,
-0.3499302268028259,
0.7325921058654785,
0.5226100087165833,
0.13432717323303223,
-0.11521558463573456,
0.13859854638576508,
-0.07510825991630554,
-0.12471499294042587,
0.3147116005420685,
-0.3212527334690094,
0.1867847740650177,
0.2914985716342926,
-0.027767054736614227,
-0.07674625515937805,
0.15103766322135925,
0.035016756504774094,
0.16555725038051605,
0.18508732318878174,
-0.3834688365459442,
-0.19948062300682068,
-0.08577072620391846,
-0.01480347290635109,
-0.001844046637415886,
-0.5842652916908264,
-0.14034730195999146,
-0.3088262975215912,
-0.019821811467409134,
0.19108349084854126,
0.04170024022459984,
-0.40407270193099976,
-0.29728925228118896,
-0.0018222033977508545,
-0.10559313744306564,
-0.4199669659137726,
-0.329048752784729,
0.10518191754817963,
0.015804577618837357,
0.11100407689809799,
-0.07129846513271332,
-0.30143973231315613,
0.17241601645946503,
0.11046728491783142,
0.15354403853416443,
0.0028017722070217133,
-0.4736950397491455,
0.23480354249477386,
-0.13547411561012268,
0.13308832049369812,
0.11706721782684326,
-0.12575557827949524,
0.1066308468580246,
0.13077877461910248,
-0.10339188575744629,
-0.03940083831548691,
-0.1314311921596527,
-0.06521625071763992,
0.12417767196893692,
0.012737613171339035,
0.0695367157459259,
0.0033156685531139374,
-0.4873550236225128,
0.3118918836116791,
-0.20892742276191711,
0.04770483449101448,
-0.07737647742033005,
0.31507402658462524,
-0.3417727053165436,
-0.214697927236557,
0.36133909225463867,
0.013794220983982086,
-0.24277964234352112,
-0.3567778468132019,
0.02907167747616768,
0.029607528820633888,
0.35832375288009644,
0.3538286089897156,
-0.13593170046806335,
-0.2312389612197876,
-0.16698554158210754,
0.3993639349937439,
0.008051469922065735,
0.38120561838150024,
-0.14863239228725433,
0.13419640064239502,
-0.10414287447929382,
-0.1667921394109726,
0.19735431671142578,
0.11767411977052689,
0.1574714034795761,
-0.009930114261806011,
-0.07796075940132141,
0.05083340406417847,
-0.396809846162796,
0.04896295815706253,
-0.16580195724964142,
-0.2540096044540405,
0.05541139096021652,
0.20266889035701752,
0.034366220235824585,
-0.09205038100481033,
0.29640743136405945,
-0.2191879153251648,
0.4803551733493805,
0.04002966359257698,
0.10400170087814331,
0.04237056523561478,
0.15169677138328552,
0.24548913538455963,
0.03787075728178024,
-0.2893221378326416,
-0.15093573927879333,
0.07310117781162262,
0.002893257886171341,
-0.01566135883331299,
0.20783767104148865,
-0.2937502861022949,
-0.0610111728310585,
-0.029858648777008057,
0.057158440351486206,
-0.0456082783639431,
-0.051397524774074554,
0.000022061169147491455,
0.4871118664741516,
0.10235849022865295,
-0.12338824570178986,
-0.037518180906772614,
-0.16147425770759583,
0.0974079892039299,
-0.7664036750793457,
0.39144086837768555,
0.03887530416250229,
-0.22324711084365845,
0.0756952092051506,
-0.03448835760354996,
0.06207237020134926,
-0.11025144904851913,
0.059232909232378006,
0.3625948429107666,
0.22477789223194122,
-0.017806649208068848,
0.14296336472034454,
0.13820096850395203,
0.25444966554641724,
-0.15797913074493408,
0.007788499817252159,
-0.2979329824447632,
0.10911524295806885,
-0.05851588398218155,
-0.22370761632919312,
0.3307850658893585,
-0.42196422815322876,
0.015234120190143585,
-0.12382451444864273,
-0.10870648920536041,
-0.014564115554094315,
0.08680389821529388,
-0.12737877666950226,
-0.06578061729669571,
0.16468898952007294,
-0.21678289771080017,
0.05683217570185661,
-0.04962527006864548,
-0.5082005262374878,
0.2045130729675293,
0.11525797843933105,
-0.31405898928642273,
-0.027163498103618622,
0.05992300063371658,
0.08683177828788757,
0.23231244087219238,
0.057823218405246735,
0.1366959810256958,
0.13894814252853394,
0.3809368312358856,
0.13067074120044708,
-0.27102428674697876,
0.3954213261604309,
-0.16042736172676086,
0.06312545388936996,
0.1573936939239502,
0.046362392604351044,
-0.151277095079422,
-0.2365279346704483,
-0.1928137093782425,
-0.12253163009881973,
0.2646406888961792,
-0.0871589407324791,
0.12770721316337585,
-0.09905750304460526,
-0.26762843132019043,
-0.42114701867103577,
-0.012832537293434143,
-0.1435069888830185,
-0.46766236424446106,
-0.25519001483917236,
-0.12882442772388458,
0.11967141181230545,
0.35708555579185486,
0.05848376825451851,
0.15400539338588715,
0.11720490455627441,
0.10353130847215652,
-0.19245749711990356,
0.4856258034706116,
-0.306083619594574,
0.09565234184265137,
0.015923695638775826,
0.10823327302932739,
0.005215959623456001,
0.5828412175178528,
0.2883780300617218,
-0.16319143772125244,
-0.2167946994304657,
-0.15148934721946716,
-0.03171936050057411,
0.07424473017454147,
-0.26483553647994995,
0.6869400143623352,
0.26748862862586975,
0.17403681576251984,
-0.36781108379364014,
-0.12607568502426147,
0.2882693409919739,
-0.1811949908733368,
-0.025333218276500702,
-0.11454122513532639,
0.19080840051174164,
-0.12816256284713745,
0.20033857226371765,
-0.08379683643579483,
-0.3759826421737671,
-0.1047152727842331,
0.25603485107421875,
-0.09707798808813095,
-0.14021211862564087,
-0.021853137761354446,
0.03142786771059036,
-0.31857869029045105,
-0.04465213790535927,
-0.3788221478462219,
-0.138982355594635,
-0.5120392441749573,
0.031775377690792084,
-0.24713510274887085,
-0.21914999186992645,
0.09380649030208588,
-0.009917031973600388,
-0.24531367421150208,
0.07941362261772156,
0.07800886034965515,
0.5433709025382996,
-0.03631352633237839,
0.12346924841403961,
-0.11149998009204865,
0.013857558369636536,
0.6331716775894165,
-0.301063597202301,
0.1640506386756897,
-0.03991371765732765,
-0.12218742072582245,
-0.05170419067144394,
-0.2836707830429077,
0.3046174645423889,
0.32748714089393616,
0.3123350441455841,
-0.04515659436583519,
0.7688196897506714,
0.03233520686626434,
0.22760318219661713,
-0.0585770457983017,
-0.052645035088062286,
0.018153924494981766,
0.04969349876046181,
-0.26604849100112915,
0.39465615153312683,
0.35976260900497437,
-0.3642849326133728,
0.39044564962387085,
0.17378294467926025,
0.18335619568824768,
0.052908994257450104,
-0.32584360241889954,
-0.1548326164484024,
-0.1775917112827301,
0.0076405564323067665,
0.12336527556180954,
-0.11382541805505753,
-0.19100244343280792,
-0.10768087208271027,
-0.08728910982608795,
-0.06863338500261307,
-0.3474597632884979,
0.27675509452819824,
0.608689546585083,
0.035308752208948135,
-0.5521411895751953,
-0.27758002281188965,
-0.41090065240859985,
0.09258300811052322,
0.3612717092037201,
-0.14485278725624084,
-0.1316085010766983,
-0.08996953070163727,
0.45756280422210693,
0.29283952713012695,
0.9118686318397522,
-0.04804057627916336,
-0.07646256685256958,
-0.2678029537200928,
-0.3367665410041809,
-0.06988071650266647,
0.2615611255168915,
-0.16753868758678436,
-0.16044093668460846,
-0.09778270125389099,
0.008009865880012512,
-0.5629237294197083,
-0.36883345246315,
0.2234753519296646,
-0.04239475727081299,
-0.011939957737922668,
-0.16463416814804077,
-0.037597376853227615,
0.1303614377975464,
-0.08185520768165588,
0.11484143137931824,
0.09972721338272095,
0.1194920614361763,
-0.1351349949836731,
-0.00929667055606842,
0.016099918633699417,
-0.3069128096103668,
0.05470716953277588,
-0.16157300770282745,
0.19884780049324036,
0.17034803330898285,
0.0921555757522583,
0.3174722194671631,
0.08637827634811401,
0.3073709309101105,
0.03503310680389404,
0.010565832257270813,
-0.03558126091957092,
-0.10317631810903549,
-0.08274777978658676,
0.4001295268535614,
0.11283411085605621,
-0.02066367119550705,
0.057655323296785355,
0.031364958733320236,
0.17609161138534546,
-0.30592089891433716,
-0.3526526689529419,
0.22568489611148834,
-0.20405282080173492,
-0.3664289712905884,
-0.23558735847473145,
0.3317005932331085,
0.11746369302272797,
-0.16952988505363464,
0.5695177316665649,
0.38595521450042725,
-0.049918994307518005,
0.03824309632182121,
0.09243150055408478,
0.729091465473175,
0.029432471841573715,
-0.13819323480129242,
0.14641591906547546,
0.25817614793777466,
0.2535155415534973,
0.565834641456604,
0.2663368582725525,
-0.32131871581077576,
-0.560905933380127,
-0.180181622505188,
0.194543719291687,
0.07013757526874542,
0.288349449634552,
-0.02996569685637951,
0.10478469729423523,
0.08623537421226501,
-0.03199107572436333,
-0.309224009513855,
-0.21463020145893097,
-0.24653440713882446,
-0.07684268057346344,
-0.15477381646633148,
0.020552024245262146,
-0.2051934152841568,
0.19904719293117523,
0.04733904451131821,
0.12711986899375916,
-0.0826355591416359,
-0.24825890362262726,
-0.22052447497844696,
-0.03954225033521652,
-0.3270930051803589,
-0.19977328181266785,
0.04936021566390991,
-0.09381833672523499,
-0.01733475551009178,
0.28395694494247437,
0.2538844347000122,
0.1005018800497055,
-0.04612568020820618,
0.2969193160533905,
-0.18704718351364136,
-0.22147038578987122,
-0.30227410793304443,
0.14340907335281372,
0.023875683546066284,
0.09391724318265915,
-0.38860857486724854,
-0.22848153114318848,
0.05192901939153671,
-0.4402869939804077,
-0.7552897930145264,
-0.034323468804359436,
0.15602229535579681,
-0.49874839186668396,
-0.15972845256328583,
-0.175429105758667,
0.20331630110740662,
-0.05858754366636276,
0.0171046182513237,
0.10490892827510834,
0.0587451346218586,
0.1825893521308899,
0.268427312374115,
0.14313477277755737,
-0.2712363004684448,
0.27035847306251526,
0.08826711028814316,
0.445844829082489,
0.16895507276058197,
0.1485595703125,
-0.147171288728714,
-0.21888884902000427,
0.5108019113540649,
0.18869057297706604,
0.01215142011642456,
0.05190489813685417,
0.11680732667446136,
0.2932378053665161,
0.15330106019973755,
0.3414401710033417,
0.07364927977323532,
-0.06610975414514542,
0.09010137617588043,
-0.38650476932525635,
0.07077914476394653,
0.4137656092643738,
0.0008950568735599518,
0.3082982897758484,
0.1829463541507721,
0.2645623981952667,
-0.246103435754776,
0.2580793797969818,
-0.1961766630411148,
0.2095331996679306,
0.20557086169719696,
0.010488025844097137,
0.1557113081216812,
0.26580867171287537,
0.36917853355407715,
0.053416378796100616,
0.0538715198636055,
0.20290914177894592,
0.08688584715127945,
-0.04156949743628502,
-0.08165634423494339,
0.10966355353593826,
-0.09309469163417816,
0.08008314669132233,
-0.014889653772115707,
-0.01180256623774767,
-0.23030036687850952,
-0.07525146007537842,
0.18976908922195435,
0.280862033367157,
0.25094693899154663,
0.029843110591173172,
1.1711050271987915,
0.17386959493160248,
-0.1717865914106369,
0.34096625447273254,
-0.1159718930721283,
0.23639921844005585,
-0.1439259946346283,
-0.052729979157447815,
-0.10908399522304535,
-0.10645823180675507,
-0.16608595848083496,
0.004481129348278046,
0.4357905983924866,
0.05570513755083084,
0.13035047054290771,
0.05453919991850853,
-0.08734145760536194,
0.10374381393194199,
0.21036602556705475,
-0.05728410929441452,
0.27559226751327515,
0.2576654851436615,
0.11252795159816742,
0.115922711789608,
0.001491280272603035,
-0.16738376021385193,
0.09194569289684296,
0.2776228189468384,
0.0923943966627121,
0.46435117721557617,
-0.4044194221496582,
0.24890831112861633,
0.12182113528251648,
-0.04403631016612053,
0.41205480694770813,
-0.16482938826084137,
0.2424534261226654,
0.19357077777385712,
-0.1634543389081955,
-0.2682673931121826,
0.11224328726530075,
0.04828023165464401,
0.17989224195480347,
-0.01631389558315277,
-0.3425213694572449,
0.41682788729667664,
-0.41916435956954956,
0.003834374248981476,
0.20484235882759094,
-0.25091543793678284,
-0.2212837189435959,
0.48510289192199707,
-0.10650888085365295,
0.10068961977958679,
0.03953580930829048,
0.5624905824661255,
-0.40883129835128784,
0.05379318818449974,
-0.16283002495765686,
0.38419628143310547,
0.17373469471931458,
-0.0578383132815361,
-0.47031712532043457,
-0.26018837094306946,
-0.03560552000999451,
-0.08077065646648407,
0.044790223240852356,
-0.15121982991695404,
0.4077136218547821,
0.02278810366988182,
-0.0748029351234436,
-0.2502102255821228,
-0.15704140067100525,
0.12762662768363953,
0.12964409589767456,
-0.07334037870168686,
0.06844643503427505,
-0.33976781368255615,
-0.09033720195293427,
0.4200608432292938,
-0.00904812105000019,
-0.04511922225356102,
-0.3887082636356354,
0.2030234932899475,
-0.24169352650642395,
-0.2977425456047058,
-0.1950835883617401,
0.142915278673172,
0.29871779680252075,
-0.1367260068655014,
0.0560593418776989,
0.16783559322357178,
0.11766317486763,
-0.05045805498957634,
-0.0840737372636795,
0.15558791160583496,
0.501921534538269,
-0.47016456723213196,
0.17065399885177612,
-0.3687228560447693,
0.09718949347734451,
-0.18856434524059296,
-0.08681025356054306,
-0.21281525492668152,
0.40477240085601807,
-0.7692500948905945,
-0.3894665837287903,
-0.11744297295808792,
0.16123582422733307,
0.04905101656913757,
-0.1257902830839157,
0.24927042424678802,
0.11202102154493332,
-0.48366329073905945,
-0.1140960082411766,
-0.33215078711509705,
0.18945375084877014,
-0.2385612428188324,
-0.1081533282995224,
0.051778435707092285,
-0.0050429292023181915,
-0.04952330142259598,
0.15523196756839752,
-0.04730956256389618,
-0.057628750801086426,
0.07684417068958282,
-0.05368288606405258,
0.5405691266059875,
0.016732193529605865,
-0.23783348500728607,
-0.29222846031188965,
0.20264124870300293,
0.08324798196554184,
0.029258139431476593,
0.14036040008068085,
0.3057793080806732,
-0.16531214118003845,
-0.1385948359966278,
0.2969430685043335,
-0.0595102496445179,
-0.5467327833175659,
-0.16434411704540253,
0.33741694688796997,
0.013829365372657776,
-0.14121180772781372,
-0.047777265310287476,
-0.005281973630189896,
-0.11055870354175568,
-0.35986053943634033,
0.25654274225234985,
0.0893586203455925,
0.6455031633377075,
-0.013388756662607193,
-0.4323684871196747,
-0.22703804075717926,
0.055531349033117294,
-0.06812655180692673,
0.27740955352783203,
-0.038979172706604004,
0.3033761978149414,
-0.1828286498785019,
0.03226282447576523,
0.2802874743938446,
0.2584700882434845,
-0.1828204095363617,
0.0236727986484766,
0.31405043601989746,
-0.09186865389347076,
0.4399705231189728,
-0.29994240403175354,
0.11694562435150146,
-0.20758558809757233,
-0.11335216462612152,
0.17664296925067902,
-0.4431576728820801,
0.003301851451396942,
-0.03139469027519226,
0.14496968686580658,
0.13140130043029785,
0.5045569539070129,
0.0795726478099823,
0.28058457374572754,
-0.2539171576499939,
0.10616603493690491,
0.580764651298523,
0.34826791286468506,
-0.09091734141111374,
0.3747267723083496,
-0.1533651053905487
] |
https://github.com/huggingface/datasets/issues/1745 | difference between wsc and wsc.fixed for superglue | From the description given in the dataset script for `wsc.fixed`:
```
This version fixes issues where the spans are not actually substrings of the text.
``` | Hi
I see two versions of wsc in superglue, and I am not sure what is the differences and which one is the original one. could you help to discuss the differences? thanks @lhoestq | 26 | difference between wsc and wsc.fixed for superglue
Hi
I see two versions of wsc in superglue, and I am not sure what is the differences and which one is the original one. could you help to discuss the differences? thanks @lhoestq
From the description given in the dataset script for `wsc.fixed`:
```
This version fixes issues where the spans are not actually substrings of the text.
``` | [
-0.11650478839874268,
-0.4438866972923279,
0.04261389747262001,
-0.3368445634841919,
-0.06028522551059723,
-0.3824757933616638,
0.4176900386810303,
-0.2519405484199524,
-0.10315001010894775,
0.054485976696014404,
0.19692443311214447,
-0.14669695496559143,
0.10971872508525848,
0.19315853714942932,
0.09836110472679138,
-0.24503734707832336,
0.33701831102371216,
-0.029705092310905457,
0.2183912843465805,
-0.09730148315429688,
-0.2882764935493469,
-0.06607934087514877,
-0.4690127372741699,
-0.012936241924762726,
-0.6201682090759277,
-0.04052514582872391,
-0.04617541655898094,
-0.020975284278392792,
-0.20244714617729187,
-0.2518569529056549,
0.5749292969703674,
0.3391040861606598,
0.37385067343711853,
-0.03979454189538956,
-0.00011580877617234364,
-0.1998220831155777,
0.5318864583969116,
0.07987724244594574,
0.3641517758369446,
0.40482276678085327,
-0.44085758924484253,
-0.4927158057689667,
-0.09752795100212097,
-0.08588600158691406,
0.16817986965179443,
0.24931246042251587,
-0.16763976216316223,
-0.34789803624153137,
0.1804482638835907,
-0.19443221390247345,
0.131280779838562,
-0.022810157388448715,
0.013767924159765244,
-0.15479616820812225,
-0.008353427052497864,
-0.22383545339107513,
-0.13931921124458313,
0.2698025405406952,
0.3193907141685486,
0.04272179305553436,
0.19246575236320496,
0.45805779099464417,
-0.2261027842760086,
-0.08962097764015198,
0.15914061665534973,
0.011836632154881954,
-0.5829803347587585,
-0.027051642537117004,
0.061317477375268936,
0.40815654397010803,
0.4068085253238678,
0.025167031213641167,
-0.44807690382003784,
-0.05242868512868881,
-0.03329363837838173,
0.11668707430362701,
0.1952301263809204,
0.3218771517276764,
0.32271862030029297,
0.16193415224552155,
-0.4081542193889618,
-0.024021785706281662,
0.1407889574766159,
-0.4149758219718933,
-0.38531097769737244,
0.30583029985427856,
-0.1230526715517044,
0.28910163044929504,
-0.12233579158782959,
0.07708099484443665,
0.24885107576847076,
-0.0006773695349693298,
-0.1661953181028366,
-0.030021023005247116,
-0.49516505002975464,
-0.21107971668243408,
-0.21712321043014526,
0.20300811529159546,
-0.1595701277256012,
0.26857990026474,
0.14536155760288239,
0.05403807759284973,
0.17270837724208832,
-0.07467814534902573,
-0.08765575289726257,
0.18904663622379303,
0.08041553199291229,
-0.07152272760868073,
0.1665007472038269,
-0.12435489147901535,
-0.24513179063796997,
0.061713606119155884,
0.4321223199367523,
-0.34419065713882446,
-0.23330575227737427,
-0.0550081729888916,
0.3404219150543213,
-0.11668774485588074,
-0.28762826323509216,
0.1818109005689621,
-0.0015120059251785278,
-0.4694727957248688,
-0.03720206767320633,
0.21170181035995483,
0.07837136089801788,
0.27360519766807556,
-0.01585805043578148,
0.25282061100006104,
-0.04674633964896202,
-0.2208693027496338,
-0.16820693016052246,
0.027532042935490608,
0.0647711455821991,
0.2110198587179184,
-0.12169729173183441,
-0.45394235849380493,
-0.033943355083465576,
0.4554688632488251,
-0.5253093838691711,
-0.13984528183937073,
-0.4471268653869629,
-0.17492251098155975,
0.02384094148874283,
-0.1458440124988556,
-0.23428001999855042,
0.16478276252746582,
-0.06497465074062347,
0.09672911465167999,
0.0823722556233406,
0.08464633673429489,
-0.05997065454721451,
-0.08259333670139313,
-0.1808076649904251,
0.08687181770801544,
-0.09789426624774933,
-0.2788568437099457,
0.48344117403030396,
0.2546781301498413,
-0.15378627181053162,
0.08867323398590088,
0.21532727777957916,
-0.09722639620304108,
-0.10825517773628235,
-0.21270842850208282,
0.047902606427669525,
0.12309437990188599,
-0.6595562100410461,
-0.01800340786576271,
0.17971451580524445,
-0.07619604468345642,
0.318920373916626,
0.09765590727329254,
0.13469840586185455,
-0.24060165882110596,
-0.05222751200199127,
0.24276547133922577,
-0.007021181285381317,
0.07709938287734985,
-0.5214037895202637,
0.2309279888868332,
0.46723395586013794,
0.06275682896375656,
0.07588953524827957,
0.02685137838125229,
0.20876803994178772,
-0.00161460239905864,
-0.3322046995162964,
-0.270694375038147,
-0.07216612994670868,
-0.22265425324440002,
-0.28672492504119873,
0.009101895615458488,
0.281887412071228,
-0.1519310027360916,
0.013628974556922913,
0.016074493527412415,
0.06333738565444946,
-0.002710978500545025,
0.23296797275543213,
0.1287258416414261,
0.015028203837573528,
-0.12698784470558167,
-0.06846350431442261,
0.1541464924812317,
-0.04695351421833038,
-0.3896998465061188,
-0.35816890001296997,
-0.10798103362321854,
-0.29213303327560425,
-0.046626798808574677,
0.27707669138908386,
-0.06087133288383484,
-0.059548716992139816,
0.11479359120130539,
0.25044354796409607,
-0.19759520888328552,
-0.014917712658643723,
0.11250361055135727,
-0.026201419532299042,
-0.4090222418308258,
-0.41729384660720825,
0.037124067544937134,
-0.20610225200653076,
0.10918205231428146,
0.23017172515392303,
0.27167171239852905,
-0.0824756771326065,
-0.33036792278289795,
0.15881983935832977,
0.32815930247306824,
0.1995609998703003,
0.13265594840049744,
-0.2715258300304413,
0.6245144605636597,
-0.3346575200557709,
0.20807498693466187,
-0.19885870814323425,
-0.14127136766910553,
0.17923347651958466,
-0.547856330871582,
0.32553839683532715,
0.11015337705612183,
0.17265954613685608,
-0.03533567488193512,
-0.28059306740760803,
0.2657682001590729,
0.15343357622623444,
-0.048033706843853,
-0.0009917616844177246,
-0.05496760457754135,
-0.04925459623336792,
-0.2937423288822174,
-0.05472971498966217,
-0.06953239440917969,
-0.05774633213877678,
-0.014912452548742294,
0.2772340476512909,
0.06309409439563751,
-0.5504786968231201,
0.14911025762557983,
0.7143080234527588,
-0.2740679383277893,
0.043511852622032166,
0.16542911529541016,
-0.3776523172855377,
-0.24860432744026184,
-0.13946393132209778,
0.2809598743915558,
0.3068525493144989,
0.013718784786760807,
0.05690869688987732,
0.027671586722135544,
-0.018871616572141647,
-0.0925227478146553,
0.44887956976890564,
-0.17776267230510712,
-0.46825844049453735,
-0.0699944719672203,
-0.15013502538204193,
0.0450519323348999,
0.025217287242412567,
0.3341430425643921,
-0.5453563332557678,
-0.20401446521282196,
0.08251959085464478,
-0.4482711851596832,
-0.3298109173774719,
-0.10523410886526108,
-0.4454058110713959,
-0.06354999542236328,
-0.2789918780326843,
-0.08947902917861938,
-0.131238654255867,
-0.4173164367675781,
-0.13895565271377563,
0.26626652479171753,
-0.06603237986564636,
0.570205569267273,
-0.2510119378566742,
0.7024795413017273,
-0.24716626107692719,
0.03242500498890877,
-0.2356300950050354,
0.041777338832616806,
-0.043781884014606476,
-0.1581278145313263,
-0.07230745255947113,
0.1260565221309662,
0.3512503504753113,
-0.16403928399085999,
-0.30564653873443604,
0.026242399588227272,
-0.017733585089445114,
0.12306271493434906,
0.34807875752449036,
0.14503850042819977,
0.11193233728408813,
-0.12250356376171112,
0.10850260406732559,
-0.5787025094032288,
0.34482651948928833,
-0.22227239608764648,
0.26466062664985657,
0.07965020090341568,
-0.019484281539916992,
-0.2624855935573578,
-0.256807804107666,
-0.124554842710495,
-0.11764335632324219,
-0.32664236426353455,
-0.10796637833118439,
-0.16182957589626312,
-0.1626628190279007,
0.021960187703371048,
0.40687358379364014,
0.12685759365558624,
-0.11895336955785751,
-0.36314094066619873,
0.2663448452949524,
0.20022189617156982,
-0.3214402496814728,
0.032453250139951706,
-0.23886772990226746,
-0.21393558382987976,
-0.2120584100484848,
-0.05019722878932953,
0.3093804717063904,
-0.3111266493797302,
-0.4103977382183075,
0.3222426772117615,
0.2700645625591278,
0.26283639669418335,
-0.11621112376451492,
-0.07049131393432617,
-0.3537478744983673,
-0.378571480512619,
-0.2535001039505005,
-0.09694559127092361,
0.2145974189043045,
0.34553757309913635,
-0.09148447960615158,
-0.04527963325381279,
0.1181725561618805,
0.20312263071537018,
0.05223974213004112,
0.2694360017776489,
0.3256172835826874,
-0.141149640083313,
0.09115900099277496,
-0.10266001522541046,
0.324030339717865,
-0.06135329604148865,
0.34146833419799805,
0.33434319496154785,
0.25046244263648987,
0.2113296389579773,
0.3287374973297119,
0.07305637001991272,
-0.23650485277175903,
-0.041286271065473557,
-0.200849249958992,
0.18370580673217773,
0.11386844515800476,
0.11859236657619476,
0.1139979138970375,
0.19170939922332764,
0.03203324228525162,
0.08973674476146698,
0.3430525064468384,
0.372032105922699,
-0.1509696990251541,
-0.5998117327690125,
-0.0014663655310869217,
-0.05102212727069855,
0.5443955659866333,
0.16764724254608154,
0.15147532522678375,
0.1254289299249649,
-0.2022349238395691,
-0.0010728240013122559,
0.07421493530273438,
0.2895820736885071,
-0.2946634590625763,
-0.2194705754518509,
-0.28213682770729065,
0.149633526802063,
-0.1376446634531021,
-0.3736901581287384,
0.07859797775745392,
-0.011649617925286293,
0.3005961775779724,
0.01990097016096115,
0.16654467582702637,
-0.09052035212516785,
0.37129566073417664,
0.09892001003026962,
-0.22283349931240082,
-0.1065157949924469,
0.12002010643482208,
-0.1837930977344513,
0.23338165879249573,
-0.16394317150115967,
-0.33740660548210144,
0.10498984158039093,
-0.14252878725528717,
-0.019629552960395813,
-0.485422283411026,
-0.1621074080467224,
0.14482930302619934,
-0.07154390215873718,
0.4643677771091461,
-0.07476495951414108,
-0.13231968879699707,
-0.041754886507987976,
0.3151390850543976,
-0.19647203385829926,
0.33285418152809143,
-0.041520778089761734,
0.1277204155921936,
0.05660131201148033,
-0.14745105803012848,
0.3766089975833893,
0.07272490113973618,
-0.05168083310127258,
0.0949762761592865,
0.2785259187221527,
0.0665103942155838,
-0.7334272861480713,
-0.11425613611936569,
0.015277035534381866,
0.3676268458366394,
-0.4343625009059906,
-0.4931996464729309,
0.4126247763633728,
0.26661932468414307,
-0.1380538046360016,
0.07345450669527054,
0.22093284130096436,
-0.0491461306810379,
0.20814023911952972,
0.05057280883193016,
0.9365349411964417,
0.19806894659996033,
-0.24693384766578674,
-0.10196233540773392,
-0.2741834223270416,
0.36973029375076294,
0.04059500992298126,
0.04322054237127304,
-0.30024439096450806,
-0.44807904958724976,
-0.08526970446109772,
-0.14265155792236328,
0.1508597582578659,
-0.00206901878118515,
-0.38916462659835815,
0.29418182373046875,
0.22018449008464813,
0.14182713627815247,
0.08523112535476685,
0.03255312889814377,
-0.06982633471488953,
0.21768413484096527,
0.3613608777523041,
0.04496942460536957,
-0.03701445460319519,
-0.05523919686675072,
-0.1562982201576233,
0.18876871466636658,
0.24732130765914917,
-0.3652154207229614,
-0.5746685266494751,
0.025322258472442627,
-0.023266414180397987,
-0.258708655834198,
0.30164679884910583,
-0.3251594305038452,
0.32173508405685425,
0.3093058466911316,
0.1426474153995514,
-0.037071507424116135,
0.09894514083862305,
0.20273993909358978,
0.07560956478118896,
0.48271963000297546,
0.13813970983028412,
0.228545680642128,
0.14223529398441315,
0.040242768824100494,
-0.17787566781044006,
-0.14074140787124634,
-0.11741513013839722,
-0.11117660254240036,
-0.37834957242012024,
0.1505163162946701,
0.02744465507566929,
-0.38265523314476013,
0.09169521927833557,
0.06963715702295303,
0.4628223478794098,
-0.3492793142795563,
0.08518114686012268,
-0.17075221240520477,
0.1437138319015503,
0.3847942352294922,
-0.03246797248721123,
-0.18171502649784088,
-0.1388540118932724,
0.01278398185968399,
0.27968326210975647,
0.006538707762956619,
-0.011084295809268951,
0.13399507105350494,
-0.2759568691253662,
-0.1533312201499939,
-0.08543384075164795,
-0.15199990570545197,
-0.21813133358955383,
0.17884811758995056,
-0.30363306403160095,
-0.13109178841114044,
0.14935654401779175,
0.24211668968200684,
0.013480156660079956,
0.4598398506641388,
-0.2012215107679367,
-0.0795496255159378,
-0.2525124251842499,
-0.12916533648967743,
0.04688858985900879,
0.3807407021522522,
-0.1464851200580597,
0.07731275260448456,
0.14584645628929138,
0.41784942150115967,
-0.2300199419260025,
0.10930700600147247,
0.0891270637512207,
-0.038193173706531525,
-0.23046401143074036,
0.14138132333755493,
-0.06141965836286545,
-0.016003429889678955,
0.046312227845191956,
0.15187162160873413,
0.16522514820098877,
-0.11437918990850449,
-0.060227807611227036,
0.1549897938966751,
-0.04312359541654587,
-0.4361816644668579,
-0.0579768568277359,
0.3159971833229065,
0.5292280912399292,
-0.01795741729438305,
0.18523816764354706,
0.1282750964164734,
0.0576699934899807,
0.41693350672721863,
-0.048206549137830734,
0.0880252793431282,
-0.26388007402420044,
0.052268266677856445,
-0.043540939688682556,
0.7487368583679199,
-0.0017942246049642563,
0.19360880553722382,
0.22789877653121948,
-0.03166612982749939,
0.10522714257240295,
0.07799918204545975,
0.27658477425575256,
0.30184295773506165,
-0.01595725119113922,
0.03179525211453438,
-0.0017217285931110382,
-0.012168277986347675,
0.3045693337917328,
0.05129729583859444,
-0.026431646198034286,
-0.1751219481229782,
-0.05879782885313034,
0.19524069130420685,
-0.11606957763433456,
0.11368241906166077,
0.06599801778793335,
-0.0015759412199258804,
-0.03876806050539017,
0.1221807450056076,
0.22164121270179749,
-0.04622139781713486,
-0.258759081363678,
-0.07789673656225204,
0.8659677505493164,
-0.06548551470041275,
0.4197641909122467,
0.280484139919281,
0.2366853803396225,
0.005081389099359512,
0.31508657336235046,
-0.17646530270576477,
-0.14081314206123352,
-0.0079360231757164,
0.3237071931362152,
0.16732022166252136,
0.2659124433994293,
0.19550859928131104,
0.15135541558265686,
0.016841690987348557,
-0.006015125662088394,
0.3988683819770813,
-0.43640071153640747,
0.04410350322723389,
-0.04718729853630066,
0.04666825756430626,
-0.08007939159870148,
-0.33241531252861023,
0.08831902593374252,
0.11278262734413147,
-0.00034337118268013,
-0.6063631772994995,
-0.2023247927427292,
-0.08307535946369171,
0.08239036798477173,
0.14363446831703186,
0.019230831414461136,
0.2930012345314026,
0.39537513256073,
-0.1128225326538086,
0.060916513204574585,
0.06182786077260971,
0.12190678715705872,
-0.03338237851858139,
0.18901245296001434,
-0.1018294170498848,
0.0895104631781578,
0.4069795608520508,
0.5108791589736938,
0.6194601655006409,
0.6993116736412048,
0.3044997453689575,
0.14657238125801086,
-0.15288397669792175,
0.10244704782962799,
0.06402486562728882,
0.10511289536952972,
0.0857800841331482,
0.015171028673648834,
-0.22311696410179138,
-0.04104078933596611,
0.21515220403671265,
0.148485466837883,
-0.054031867533922195,
0.4727926552295685,
-0.2869017720222473,
0.021714286878705025,
-0.35673069953918457,
0.14257773756980896,
-0.09460900723934174,
-0.024534478783607483,
0.15757544338703156,
0.12107633799314499,
-0.2551407217979431,
-0.161734938621521,
0.2509949207305908,
-0.20551307499408722,
0.030044369399547577,
-0.05692293122410774,
0.05759666860103607,
0.1609441041946411,
0.4223002791404724,
0.37170523405075073,
0.33085349202156067,
0.1262885332107544,
-0.3960304856300354,
0.16806131601333618,
-0.20947566628456116,
0.4219663143157959,
0.10945245623588562,
-0.1022147685289383,
0.010941080749034882,
-0.2573257088661194,
-0.46510666608810425,
0.32916387915611267,
0.372850239276886,
-0.018174756318330765,
0.31117933988571167,
-0.0353107750415802,
0.21681495010852814,
0.4290093779563904,
0.11496344208717346,
-0.136786550283432,
-0.0433993935585022,
-0.025573279708623886,
-0.1515856832265854,
-0.020764118060469627,
-0.003623649477958679,
0.014714770019054413,
0.2758737802505493,
-0.29119905829429626,
0.5122102499008179,
0.38269710540771484,
0.03514903783798218,
-0.2888607382774353,
0.05216962844133377,
-0.22412803769111633,
-0.10433318465948105,
-0.2918565273284912,
0.14599816501140594,
-0.15135984122753143,
0.2586989402770996,
0.07150109857320786,
0.07580122351646423,
-0.05268150940537453,
-0.091157466173172,
-0.17677398025989532,
0.5641889572143555,
-0.35113346576690674,
-0.09152809530496597,
-0.09210959076881409,
-0.35704684257507324,
0.23900817334651947,
0.20441129803657532,
-0.0453023687005043,
0.4551427662372589,
-0.1789669394493103,
-0.23615801334381104,
0.09216633439064026,
0.10198428481817245,
-0.04918454587459564,
-0.1732163280248642,
0.036849215626716614,
0.03465733677148819,
0.40550488233566284,
-0.6999356746673584,
-0.3297371566295624,
0.17212465405464172,
0.19713178277015686,
-0.023020626977086067,
0.012447990477085114,
0.4854848384857178,
-0.20804286003112793,
0.08449460566043854,
-0.23908057808876038,
0.3287644684314728,
-0.08392518013715744,
0.011059712618589401,
-0.19547131657600403
] |
https://github.com/huggingface/datasets/issues/1743 | Issue while Creating Custom Metric | Currently it's only possible to define the features for the two columns `references` and `predictions`.
The data for these columns can then be passed to `metric.add_batch` and `metric.compute`.
Instead of defining more columns `text`, `offset_mapping` and `ground` you must include them in either references and predictions.
For example
```python
features = datasets.Features({
'predictions':datasets.Sequence(datasets.Value("int32")),
"references": datasets.Sequence({
"references_ids": datasets.Value("int32"),
"offset_mapping": datasets.Value("int32"),
'text': datasets.Value('string'),
"ground": datasets.Value("int32")
}),
})
```
Another option would be to simply have the two features like
```python
features = datasets.Features({
'predictions':datasets.Sequence(datasets.Value("int32")),
"references": datasets.Sequence(datasets.Value("int32")),
})
```
and keep `offset_mapping`, `text` and `ground` as as parameters for the computation (i.e. kwargs when calling `metric.compute`).
What is the metric you would like to implement ?
I'm asking since we consider allowing additional fields as requested in the `Comet` metric (see PR and discussion [here](https://github.com/huggingface/datasets/pull/1577)) and I'd like to know if it's something that can be interesting for users.
What do you think ? | Hi Team,
I am trying to create a custom metric for my training as follows, where f1 is my own metric:
```python
def _info(self):
# TODO: Specifies the datasets.MetricInfo object
return datasets.MetricInfo(
# This is the description that will appear on the metrics page.
description=_DESCRIPTION,
citation=_CITATION,
inputs_description=_KWARGS_DESCRIPTION,
# This defines the format of each prediction and reference
features = datasets.Features({'predictions':datasets.Sequence(datasets.Value("int32")), "references": datasets.Sequence(datasets.Value("int32")),"offset_mapping":datasets.Sequence(datasets.Value("int32")),'text':datasets.Sequence(datasets.Value('string')),"ground":datasets.Sequence(datasets.Value("int32")),}),
# Homepage of the metric for documentation
homepage="http://metric.homepage",
# Additional links to the codebase or references
codebase_urls=["http://github.com/path/to/codebase/of/new_metric"],
reference_urls=["http://path.to.reference.url/new_metric"]
)
def _compute(self,predictions,references,text,offset_mapping,spans):
pred_spans = []
for i,preds in enumerate(predictions):
current_preds = []
for j,token_preds in enumerate(preds):
if (preds>0.5):
current_preds+=list(range(offset_mapping[i][j][0],offset_mapping[i][j][1]))
pred_spans.append(current_spans)
return {
"Token Wise F1": f1_score(references,predictions,labels=[0,1]),
"Offset Wise F1": np.mean([f1(preds,gold) for preds,fold in zip(pred_spans,ground)])
}
```
I believe this is not correct. But that's not the issue I am facing right now. I get this error :
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-144-ed7349b50821> in <module>()
----> 1 new_metric.compute(predictions=inputs["labels"],references=inputs["labels"], text=inputs["text"], offset_mapping=inputs["offset_mapping"],ground=inputs["ground"] )
2 frames
/usr/local/lib/python3.6/dist-packages/datasets/features.py in encode_batch(self, batch)
802 encoded_batch = {}
803 if set(batch) != set(self):
--> 804 print(batch)
805 print(self)
806 raise ValueError("Column mismatch between batch {} and features {}".format(set(batch), set(self)))
ValueError: Column mismatch between batch {'references', 'predictions'} and features {'ground', 'predictions', 'offset_mapping', 'text', 'references'}
```
On checking the features.py file, I see the call is made from add_batch() in metrics.py which only takes in predictions and references.
How do I make my custom metric work? Will it work with a trainer even if I am able to make this metric work?
Thanks,
Gunjan | 151 | Issue while Creating Custom Metric
Hi Team,
I am trying to create a custom metric for my training as follows, where f1 is my own metric:
```python
def _info(self):
# TODO: Specifies the datasets.MetricInfo object
return datasets.MetricInfo(
# This is the description that will appear on the metrics page.
description=_DESCRIPTION,
citation=_CITATION,
inputs_description=_KWARGS_DESCRIPTION,
# This defines the format of each prediction and reference
features = datasets.Features({'predictions':datasets.Sequence(datasets.Value("int32")), "references": datasets.Sequence(datasets.Value("int32")),"offset_mapping":datasets.Sequence(datasets.Value("int32")),'text':datasets.Sequence(datasets.Value('string')),"ground":datasets.Sequence(datasets.Value("int32")),}),
# Homepage of the metric for documentation
homepage="http://metric.homepage",
# Additional links to the codebase or references
codebase_urls=["http://github.com/path/to/codebase/of/new_metric"],
reference_urls=["http://path.to.reference.url/new_metric"]
)
def _compute(self,predictions,references,text,offset_mapping,spans):
pred_spans = []
for i,preds in enumerate(predictions):
current_preds = []
for j,token_preds in enumerate(preds):
if (preds>0.5):
current_preds+=list(range(offset_mapping[i][j][0],offset_mapping[i][j][1]))
pred_spans.append(current_spans)
return {
"Token Wise F1": f1_score(references,predictions,labels=[0,1]),
"Offset Wise F1": np.mean([f1(preds,gold) for preds,fold in zip(pred_spans,ground)])
}
```
I believe this is not correct. But that's not the issue I am facing right now. I get this error :
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-144-ed7349b50821> in <module>()
----> 1 new_metric.compute(predictions=inputs["labels"],references=inputs["labels"], text=inputs["text"], offset_mapping=inputs["offset_mapping"],ground=inputs["ground"] )
2 frames
/usr/local/lib/python3.6/dist-packages/datasets/features.py in encode_batch(self, batch)
802 encoded_batch = {}
803 if set(batch) != set(self):
--> 804 print(batch)
805 print(self)
806 raise ValueError("Column mismatch between batch {} and features {}".format(set(batch), set(self)))
ValueError: Column mismatch between batch {'references', 'predictions'} and features {'ground', 'predictions', 'offset_mapping', 'text', 'references'}
```
On checking the features.py file, I see the call is made from add_batch() in metrics.py which only takes in predictions and references.
How do I make my custom metric work? Will it work with a trainer even if I am able to make this metric work?
Thanks,
Gunjan
Currently it's only possible to define the features for the two columns `references` and `predictions`.
The data for these columns can then be passed to `metric.add_batch` and `metric.compute`.
Instead of defining more columns `text`, `offset_mapping` and `ground` you must include them in either references and predictions.
For example
```python
features = datasets.Features({
'predictions':datasets.Sequence(datasets.Value("int32")),
"references": datasets.Sequence({
"references_ids": datasets.Value("int32"),
"offset_mapping": datasets.Value("int32"),
'text': datasets.Value('string'),
"ground": datasets.Value("int32")
}),
})
```
Another option would be to simply have the two features like
```python
features = datasets.Features({
'predictions':datasets.Sequence(datasets.Value("int32")),
"references": datasets.Sequence(datasets.Value("int32")),
})
```
and keep `offset_mapping`, `text` and `ground` as as parameters for the computation (i.e. kwargs when calling `metric.compute`).
What is the metric you would like to implement ?
I'm asking since we consider allowing additional fields as requested in the `Comet` metric (see PR and discussion [here](https://github.com/huggingface/datasets/pull/1577)) and I'd like to know if it's something that can be interesting for users.
What do you think ? | [
-0.23883530497550964,
-0.30202001333236694,
-0.14578364789485931,
0.18646091222763062,
0.4193512797355652,
-0.038418907672166824,
0.10693033039569855,
0.19828636944293976,
0.05182931199669838,
0.2997826337814331,
-0.05573989450931549,
0.23833177983760834,
-0.17814357578754425,
0.14064040780067444,
-0.014340103603899479,
-0.14151468873023987,
-0.33507123589515686,
0.1471365988254547,
0.3345438539981842,
-0.034563422203063965,
-0.3107738196849823,
0.16063249111175537,
-0.06958767771720886,
0.12169629335403442,
-0.23558495938777924,
-0.09332245588302612,
0.23668864369392395,
-0.015912704169750214,
-0.4124857187271118,
-0.30415281653404236,
0.09906448423862457,
0.05134208872914314,
-0.14960026741027832,
0.5381696224212646,
-0.00009855693497229367,
0.06951448321342468,
0.29945385456085205,
-0.046610523015260696,
-0.03413138538599014,
-0.16483516991138458,
0.08993495255708694,
-0.09305861592292786,
-0.019485604017972946,
-0.36612775921821594,
-0.365615576505661,
-0.25277966260910034,
-0.3794958293437958,
-0.2056536078453064,
0.14169834554195404,
0.5694255828857422,
0.3465052545070648,
0.2177310734987259,
-0.05145149305462837,
-0.41457247734069824,
-0.0320219025015831,
-0.28024810552597046,
-0.2366340011358261,
0.1862058788537979,
-0.33020803332328796,
-0.14220237731933594,
-0.029014550149440765,
0.23736748099327087,
0.09773935377597809,
0.22808068990707397,
0.4603567123413086,
0.07473278045654297,
0.46409934759140015,
-0.028844885528087616,
-0.06390612572431564,
0.09932808578014374,
-0.034830912947654724,
-0.22912940382957458,
-0.1389288753271103,
-0.08650607615709305,
-0.04356839880347252,
-0.6063225865364075,
0.0008668228983879089,
0.04129753261804581,
-0.14012892544269562,
0.070857934653759,
-0.21372400224208832,
0.24481116235256195,
-0.24251611530780792,
0.16928574442863464,
-0.206861212849617,
0.27596908807754517,
-0.13334567844867706,
-0.01293201744556427,
0.22901925444602966,
0.013792375102639198,
0.08815732598304749,
-0.12530535459518433,
0.13439804315567017,
-0.030086740851402283,
-0.08645974099636078,
-0.10286518931388855,
0.03229725733399391,
-0.2499299943447113,
0.07128927111625671,
-0.060859084129333496,
0.15716636180877686,
-0.013550616800785065,
0.09318087249994278,
-0.025477655231952667,
-0.23976626992225647,
0.410728394985199,
-0.15839636325836182,
0.16407494246959686,
0.07188549637794495,
0.28344619274139404,
-0.10016845166683197,
-0.0766565203666687,
0.24614037573337555,
-0.2452429234981537,
0.09418411552906036,
0.168317973613739,
0.08268305659294128,
0.05493651703000069,
-0.4134446978569031,
0.1224454939365387,
0.017110861837863922,
0.062244415283203125,
0.36320462822914124,
0.17920953035354614,
-0.04754563048481941,
-0.05780138820409775,
-0.07457675039768219,
0.1806987226009369,
-0.30360689759254456,
0.13232487440109253,
-0.35769063234329224,
0.18681184947490692,
-0.2822222411632538,
0.20945020020008087,
0.10230953991413116,
0.3251957893371582,
0.416253924369812,
-0.0829678550362587,
0.28640425205230713,
-0.43593311309814453,
0.014810895547270775,
-0.11648483574390411,
0.014678232371807098,
-0.037698667496442795,
-0.11694672703742981,
-0.09069258719682693,
0.2322409451007843,
-0.3248184323310852,
-0.03255593404173851,
-0.012776315212249756,
-0.077203668653965,
-0.2612806260585785,
-0.046458497643470764,
0.36552077531814575,
-0.10332178324460983,
0.08837945759296417,
0.1066243052482605,
0.27831631898880005,
0.125326007604599,
0.18914353847503662,
0.06390118598937988,
0.08773434162139893,
-0.6182095408439636,
-0.1497565507888794,
0.20723603665828705,
-0.040612876415252686,
-0.07074867933988571,
0.015972167253494263,
0.03745448961853981,
0.052967801690101624,
0.0853646844625473,
0.12579719722270966,
0.0015911253867670894,
0.5011465549468994,
-0.12312333285808563,
0.07151789963245392,
0.4473963975906372,
-0.39015689492225647,
-0.2748813331127167,
-0.06951484829187393,
-0.2604045867919922,
-0.1826818585395813,
-0.04020283371210098,
0.11342525482177734,
0.26397454738616943,
-0.0010219768155366182,
0.33511894941329956,
-0.03324883058667183,
0.06727680563926697,
-0.08196376264095306,
-0.3366432785987854,
-0.05507807433605194,
-0.11013755202293396,
0.012899883091449738,
0.29269081354141235,
0.11667442321777344,
0.11568049341440201,
0.059045590460300446,
-0.07904841750860214,
-0.06979250907897949,
-0.04620333015918732,
0.2923012971878052,
0.17049406468868256,
-0.13821148872375488,
-0.13732334971427917,
-0.34394949674606323,
0.07734573632478714,
0.10636553913354874,
-0.14827695488929749,
0.10295400023460388,
0.15864349901676178,
-0.16416272521018982,
-0.7732865214347839,
-0.033980775624513626,
-0.13525156676769257,
-0.13568121194839478,
0.33239227533340454,
-0.06626945734024048,
0.051231469959020615,
-0.023343168199062347,
-0.1196998655796051,
-0.08651312440633774,
-0.4374273419380188,
-0.038774263113737106,
0.04091164469718933,
0.14444497227668762,
-0.07766775041818619,
-0.15234969556331635,
0.232080340385437,
0.6334592700004578,
0.3142646551132202,
0.24310921132564545,
-0.15362179279327393,
0.41819626092910767,
0.19287465512752533,
-0.09666059911251068,
0.07094952464103699,
0.2647995352745056,
0.1443881094455719,
-0.41763633489608765,
0.08230463415384293,
0.08358405530452728,
0.0380929559469223,
-0.10411739349365234,
-0.17188552021980286,
0.4496612548828125,
-0.05952710285782814,
-0.018856443464756012,
-0.08731958270072937,
-0.03776262700557709,
0.03562275320291519,
-0.013333581387996674,
-0.22622016072273254,
-0.3605841398239136,
0.10408154129981995,
-0.2649138271808624,
-0.07441823184490204,
-0.15127821266651154,
0.014022544026374817,
-0.04694586247205734,
0.5437555313110352,
0.08594372868537903,
0.02099776640534401,
-0.0018738284707069397,
0.0927262157201767,
-0.0672307088971138,
-0.40878891944885254,
-0.1390049308538437,
0.35378485918045044,
0.23741629719734192,
0.0789090096950531,
0.3056023120880127,
-0.18165309727191925,
-0.2899184823036194,
0.12074266374111176,
0.16821154952049255,
-0.20013420283794403,
0.16401830315589905,
0.11742307990789413,
-0.120103619992733,
-0.08369088172912598,
0.08532936871051788,
-0.13676907122135162,
0.18603016436100006,
-0.3435233533382416,
-0.06316870450973511,
-0.1156025230884552,
0.1328383982181549,
-0.07782386988401413,
-0.3552175760269165,
0.04780644178390503,
-0.3057578206062317,
0.07570779323577881,
0.1828732192516327,
0.16416338086128235,
0.2744424343109131,
0.15962697565555573,
0.1497505009174347,
0.25171926617622375,
-0.010264160111546516,
0.08257614076137543,
-0.22203905880451202,
0.013127977028489113,
0.20608651638031006,
-0.16673336923122406,
0.0321330688893795,
0.37871474027633667,
0.06302131712436676,
0.21295523643493652,
-0.1641375720500946,
-0.3228057622909546,
0.01673891767859459,
-0.08555874973535538,
0.3682919144630432,
0.2106134295463562,
-0.08688834309577942,
-0.12012152373790741,
0.020216234028339386,
0.41726136207580566,
-0.07206882536411285,
-0.05969986319541931,
0.05723011493682861,
-0.14892253279685974,
-0.03934987634420395,
-0.15123876929283142,
-0.0986141487956047,
0.10861311852931976,
-0.3211774528026581,
-0.18536294996738434,
0.21164900064468384,
-0.016288645565509796,
0.24039289355278015,
0.177232027053833,
0.2700445353984833,
0.3833009600639343,
-0.11966951191425323,
-0.41492193937301636,
-0.2728314995765686,
0.3139648139476776,
-0.4965395927429199,
-0.16064831614494324,
0.010552313178777695,
-0.20406058430671692,
0.353161096572876,
-0.06595099717378616,
-0.4769182801246643,
-0.4896349310874939,
0.020047597587108612,
0.20115552842617035,
-0.06795750558376312,
-0.13745854794979095,
0.12579411268234253,
-0.13896776735782623,
-0.22485442459583282,
-0.28286266326904297,
-0.37253686785697937,
0.0969550609588623,
-0.15599071979522705,
0.0767359659075737,
-0.16799834370613098,
0.29638561606407166,
0.07961943745613098,
0.5379868745803833,
0.30914974212646484,
-0.09590107202529907,
0.15376120805740356,
-0.16650408506393433,
0.17022740840911865,
-0.21961334347724915,
-0.29377084970474243,
0.040027450770139694,
0.2761952877044678,
-0.009206658229231834,
0.3007904291152954,
0.012520299293100834,
0.06558732688426971,
-0.08216775953769684,
-0.016345076262950897,
-0.17265668511390686,
-0.09032824635505676,
-0.27205055952072144,
0.02684648521244526,
0.2756064832210541,
-0.016656484454870224,
0.29432082176208496,
-0.30797794461250305,
-0.017305783927440643,
0.17362619936466217,
0.12400349229574203,
-0.26544901728630066,
-0.21612907946109772,
-0.20268656313419342,
0.09797816723585129,
-0.14695480465888977,
0.1126970425248146,
-0.004346158821135759,
0.03198373690247536,
0.025314804166555405,
0.2781984508037567,
0.026055894792079926,
0.058392222970724106,
0.30260083079338074,
-0.28471070528030396,
-0.07212604582309723,
0.18797071278095245,
0.02991274744272232,
-0.2612210810184479,
0.020733486860990524,
0.060777027159929276,
0.2170863002538681,
-0.07661937177181244,
0.70682692527771,
-0.31403839588165283,
-0.20157459378242493,
0.3677607476711273,
-0.0866842120885849,
-0.11567817628383636,
-0.24555200338363647,
-0.2079695612192154,
-0.4916190803050995,
0.08666004985570908,
0.11188282072544098,
0.03454015403985977,
0.406220406293869,
0.20882326364517212,
-0.11823207139968872,
0.002123795449733734,
-0.22551044821739197,
0.14327622950077057,
-0.050958018749952316,
0.2105502188205719,
0.11230316758155823,
0.09160120785236359,
0.04280110076069832,
-0.1372727006673813,
-0.11029411852359772,
0.0896131619811058,
-0.062272023409605026,
-0.25469446182250977,
-0.009431567043066025,
-0.17433929443359375,
0.13789398968219757,
0.14319026470184326,
-0.12405209988355637,
-0.008678488433361053,
-0.008559336885809898,
0.3078177571296692,
-0.18366551399230957,
0.23942402005195618,
0.24163693189620972,
-0.09307917952537537,
-0.045648254454135895,
-0.3316988945007324,
0.4245662987232208,
0.07376553118228912,
0.02029000222682953,
0.315813809633255,
-0.029164552688598633,
-0.22234417498111725,
-0.02265077270567417,
0.1994321644306183,
0.6062890291213989,
0.1603306382894516,
-0.31758353114128113,
0.5252522230148315,
-0.1469673216342926,
0.0887879803776741,
-0.27536267042160034,
0.0864625871181488,
-0.21389926970005035,
-0.10809530317783356,
0.010371467098593712,
-0.020605474710464478,
-0.0015152767300605774,
-0.08704975247383118,
-0.04052609205245972,
0.15822194516658783,
0.006419271230697632,
0.12797872722148895,
0.01238067727535963,
0.13092754781246185,
0.256630003452301,
-0.22431017458438873,
-0.2564954161643982,
0.3084743022918701,
-0.15857885777950287,
-0.05297623202204704,
-0.03285309672355652,
-0.07897666841745377,
-0.1387616991996765,
-0.10881722718477249,
0.06636166572570801,
-0.25996819138526917,
-0.33530935645103455,
-0.0554853156208992,
0.00483328104019165,
-0.2521205544471741,
0.0037994030863046646,
0.0339757464826107,
0.6332513689994812,
0.1763828992843628,
-0.19337616860866547,
0.14618046581745148,
-0.21488162875175476,
0.0211611557751894,
-0.15438507497310638,
0.03542077913880348,
-0.028258131816983223,
-0.16563469171524048,
-0.11362703144550323,
0.08321079611778259,
0.14651909470558167,
-0.10401314496994019,
-0.05239124596118927,
-0.20391054451465607,
0.05922889709472656,
-0.2386750429868698,
0.03886422887444496,
-0.14549274742603302,
-0.03327959403395653,
-0.2638087570667267,
0.2938852906227112,
-0.13834251463413239,
-0.15215037763118744,
0.1905476152896881,
0.1626865714788437,
-0.3084412217140198,
-0.026202570647001266,
0.06292298436164856,
0.05598270893096924,
0.07396124303340912,
0.16477371752262115,
-0.15615986287593842,
-0.15341706573963165,
-0.32111212611198425,
-0.05126142501831055,
-0.15141421556472778,
0.014503233134746552,
0.36075371503829956,
0.00045274593867361546,
-0.01662924885749817,
0.23184464871883392,
0.4143938720226288,
0.19991755485534668,
0.22557911276817322,
0.13163591921329498,
-0.13004744052886963,
-0.3161057233810425,
-0.14671510457992554,
-0.08926692605018616,
0.2483053356409073,
-0.2668384611606598,
0.653588056564331,
-0.11025961488485336,
-0.025817139074206352,
-0.5168288350105286,
0.021098526194691658,
-0.3219112455844879,
0.0016517862677574158,
-0.08778048306703568,
-0.23574155569076538,
-0.025790056213736534,
0.21999116241931915,
0.2234494984149933,
0.20002563297748566,
-0.41370710730552673,
-0.3525780141353607,
-0.22975394129753113,
0.0474802702665329,
0.05192181468009949,
-0.05441412329673767,
0.020512878894805908,
0.113249272108078,
-0.41506069898605347,
-0.08948802947998047,
-0.10216902196407318,
0.32011085748672485,
0.15483275055885315,
0.15409967303276062,
-0.20306216180324554,
0.3304715156555176,
0.19447824358940125,
-0.22780466079711914,
0.13550901412963867,
0.39451080560684204,
0.05600984767079353,
-0.059425972402095795,
-0.05356479436159134,
-0.0257706381380558,
-0.06788839399814606,
-0.025060974061489105,
0.1176462173461914,
0.0966675654053688,
0.23620349168777466,
-0.0858822762966156,
-0.10942438244819641,
0.3337863087654114,
0.23334988951683044,
-0.017450854182243347,
-0.2696908116340637,
-0.18541523814201355,
-0.09128934144973755,
0.38085147738456726,
-0.1617775410413742,
0.11387015879154205,
0.11466702818870544,
0.08229196071624756,
0.45968949794769287,
0.37100541591644287,
0.16962559521198273,
-0.03288200870156288,
-0.12560294568538666,
0.06068664789199829,
0.3149348199367523,
-0.2551381587982178,
-0.03105577453970909,
0.030993787571787834,
0.08489270508289337,
0.011315152049064636,
0.4787460267543793,
0.11046533286571503,
0.18770931661128998,
0.4650905728340149,
-0.02484649419784546,
0.2866053879261017,
0.11355970799922943,
0.025637172162532806,
-0.16885218024253845,
0.24639786779880524,
-0.10974667966365814,
0.14166370034217834,
-0.0437036007642746,
-0.16014117002487183,
-0.21726956963539124,
-0.05534016340970993,
-0.1343214362859726,
0.14747770130634308,
-0.1634099781513214,
-0.00355621799826622,
-0.03003164380788803,
-0.0843847244977951,
-0.4169691503047943,
-0.1988135576248169,
-0.08742310851812363,
-0.1785978227853775,
0.13602928817272186,
0.2287364900112152,
0.003901474177837372,
-0.29965323209762573,
0.0245341956615448,
0.10270345211029053,
0.05215994268655777,
0.24227160215377808,
0.28364241123199463,
-0.25552991032600403,
0.20373879373073578,
0.2507944703102112,
0.3229711055755615,
-0.08332705497741699,
0.3195422887802124,
0.10420829802751541,
0.17333777248859406,
-0.3330545425415039,
-0.2613292336463928,
0.029952865093946457,
-0.2656729519367218,
0.021959926933050156,
0.14417752623558044,
0.3015913665294647,
-0.15412329137325287,
0.4029776453971863,
0.2882746160030365,
-0.40482068061828613,
0.298438161611557,
0.19741953909397125,
-0.0133802630007267,
-0.4324817955493927,
0.37229251861572266,
-0.00426236167550087,
-0.033342428505420685,
-0.018428746610879898,
-0.05647445470094681,
-0.1463489830493927,
-0.09184509515762329,
0.18876852095127106,
0.024733852595090866,
0.3445623517036438,
-0.11978954821825027,
0.1697074919939041,
-0.08211852610111237,
0.3426368236541748,
-0.03985508158802986,
0.07637865841388702,
-0.41617676615715027,
-0.1355721652507782,
-0.40276816487312317,
0.16092483699321747,
-0.009899582713842392,
0.11584590375423431,
0.03411363437771797,
0.24736560881137848,
-0.24587148427963257,
0.2662315368652344,
0.1309257298707962,
0.043719422072172165,
-0.035960856825113297,
0.08300529420375824,
-0.3444508910179138,
0.045663271099328995,
-0.2424391359090805,
-0.11395737528800964,
0.24534907937049866,
-0.13676075637340546,
-0.17526845633983612,
-0.12875433266162872,
0.2528267502784729,
-0.1321377158164978,
0.16158908605575562,
0.12474910914897919,
0.4439777731895447,
0.29619377851486206,
0.06820603460073471,
0.17735642194747925,
-0.10893501341342926,
0.10173264890909195,
-0.09917822480201721,
0.03170471638441086,
-0.0573243647813797,
0.2549757659435272,
0.11167550086975098,
0.35846832394599915,
-0.019524212926626205,
-0.1864132583141327,
-0.2227337658405304,
0.24487124383449554,
0.3298006057739258,
-0.23939085006713867,
-0.03452664241194725,
0.27428457140922546,
-0.14624646306037903,
-0.10390766710042953,
0.04260497912764549,
0.27577081322669983,
0.04537903890013695,
0.4797602891921997,
-0.10387074947357178,
-0.4449887275695801,
0.5055990815162659,
0.0036407336592674255,
-0.37418580055236816,
0.2025415301322937,
0.3159139156341553,
0.3365122675895691,
-0.12872757017612457,
-0.47254952788352966,
0.1250617504119873,
0.4936552047729492,
-0.11353234201669693,
-0.09477439522743225,
0.2826545238494873,
-0.252147912979126,
0.028076354414224625,
0.1982811689376831,
-0.15385296940803528,
0.02790154702961445,
-0.07740575075149536,
0.09540346264839172,
-0.06942808628082275
] |
https://github.com/huggingface/datasets/issues/1743 | Issue while Creating Custom Metric | Hi @lhoestq,
I am doing text segmentation and the metric is effectively dice score on character offsets. So I need to pass the actual spans and I want to be able to get the spans based on predictions using offset_mapping.
Including them in references seems like a good idea. I'll try it out and get back to you. If there's a better way to write a metric function for the same, please let me know. | Hi Team,
I am trying to create a custom metric for my training as follows, where f1 is my own metric:
```python
def _info(self):
# TODO: Specifies the datasets.MetricInfo object
return datasets.MetricInfo(
# This is the description that will appear on the metrics page.
description=_DESCRIPTION,
citation=_CITATION,
inputs_description=_KWARGS_DESCRIPTION,
# This defines the format of each prediction and reference
features = datasets.Features({'predictions':datasets.Sequence(datasets.Value("int32")), "references": datasets.Sequence(datasets.Value("int32")),"offset_mapping":datasets.Sequence(datasets.Value("int32")),'text':datasets.Sequence(datasets.Value('string')),"ground":datasets.Sequence(datasets.Value("int32")),}),
# Homepage of the metric for documentation
homepage="http://metric.homepage",
# Additional links to the codebase or references
codebase_urls=["http://github.com/path/to/codebase/of/new_metric"],
reference_urls=["http://path.to.reference.url/new_metric"]
)
def _compute(self,predictions,references,text,offset_mapping,spans):
pred_spans = []
for i,preds in enumerate(predictions):
current_preds = []
for j,token_preds in enumerate(preds):
if (preds>0.5):
current_preds+=list(range(offset_mapping[i][j][0],offset_mapping[i][j][1]))
pred_spans.append(current_spans)
return {
"Token Wise F1": f1_score(references,predictions,labels=[0,1]),
"Offset Wise F1": np.mean([f1(preds,gold) for preds,fold in zip(pred_spans,ground)])
}
```
I believe this is not correct. But that's not the issue I am facing right now. I get this error :
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-144-ed7349b50821> in <module>()
----> 1 new_metric.compute(predictions=inputs["labels"],references=inputs["labels"], text=inputs["text"], offset_mapping=inputs["offset_mapping"],ground=inputs["ground"] )
2 frames
/usr/local/lib/python3.6/dist-packages/datasets/features.py in encode_batch(self, batch)
802 encoded_batch = {}
803 if set(batch) != set(self):
--> 804 print(batch)
805 print(self)
806 raise ValueError("Column mismatch between batch {} and features {}".format(set(batch), set(self)))
ValueError: Column mismatch between batch {'references', 'predictions'} and features {'ground', 'predictions', 'offset_mapping', 'text', 'references'}
```
On checking the features.py file, I see the call is made from add_batch() in metrics.py which only takes in predictions and references.
How do I make my custom metric work? Will it work with a trainer even if I am able to make this metric work?
Thanks,
Gunjan | 75 | Issue while Creating Custom Metric
Hi Team,
I am trying to create a custom metric for my training as follows, where f1 is my own metric:
```python
def _info(self):
# TODO: Specifies the datasets.MetricInfo object
return datasets.MetricInfo(
# This is the description that will appear on the metrics page.
description=_DESCRIPTION,
citation=_CITATION,
inputs_description=_KWARGS_DESCRIPTION,
# This defines the format of each prediction and reference
features = datasets.Features({'predictions':datasets.Sequence(datasets.Value("int32")), "references": datasets.Sequence(datasets.Value("int32")),"offset_mapping":datasets.Sequence(datasets.Value("int32")),'text':datasets.Sequence(datasets.Value('string')),"ground":datasets.Sequence(datasets.Value("int32")),}),
# Homepage of the metric for documentation
homepage="http://metric.homepage",
# Additional links to the codebase or references
codebase_urls=["http://github.com/path/to/codebase/of/new_metric"],
reference_urls=["http://path.to.reference.url/new_metric"]
)
def _compute(self,predictions,references,text,offset_mapping,spans):
pred_spans = []
for i,preds in enumerate(predictions):
current_preds = []
for j,token_preds in enumerate(preds):
if (preds>0.5):
current_preds+=list(range(offset_mapping[i][j][0],offset_mapping[i][j][1]))
pred_spans.append(current_spans)
return {
"Token Wise F1": f1_score(references,predictions,labels=[0,1]),
"Offset Wise F1": np.mean([f1(preds,gold) for preds,fold in zip(pred_spans,ground)])
}
```
I believe this is not correct. But that's not the issue I am facing right now. I get this error :
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-144-ed7349b50821> in <module>()
----> 1 new_metric.compute(predictions=inputs["labels"],references=inputs["labels"], text=inputs["text"], offset_mapping=inputs["offset_mapping"],ground=inputs["ground"] )
2 frames
/usr/local/lib/python3.6/dist-packages/datasets/features.py in encode_batch(self, batch)
802 encoded_batch = {}
803 if set(batch) != set(self):
--> 804 print(batch)
805 print(self)
806 raise ValueError("Column mismatch between batch {} and features {}".format(set(batch), set(self)))
ValueError: Column mismatch between batch {'references', 'predictions'} and features {'ground', 'predictions', 'offset_mapping', 'text', 'references'}
```
On checking the features.py file, I see the call is made from add_batch() in metrics.py which only takes in predictions and references.
How do I make my custom metric work? Will it work with a trainer even if I am able to make this metric work?
Thanks,
Gunjan
Hi @lhoestq,
I am doing text segmentation and the metric is effectively dice score on character offsets. So I need to pass the actual spans and I want to be able to get the spans based on predictions using offset_mapping.
Including them in references seems like a good idea. I'll try it out and get back to you. If there's a better way to write a metric function for the same, please let me know. | [
-0.23883530497550964,
-0.30202001333236694,
-0.14578364789485931,
0.18646091222763062,
0.4193512797355652,
-0.038418907672166824,
0.10693033039569855,
0.19828636944293976,
0.05182931199669838,
0.2997826337814331,
-0.05573989450931549,
0.23833177983760834,
-0.17814357578754425,
0.14064040780067444,
-0.014340103603899479,
-0.14151468873023987,
-0.33507123589515686,
0.1471365988254547,
0.3345438539981842,
-0.034563422203063965,
-0.3107738196849823,
0.16063249111175537,
-0.06958767771720886,
0.12169629335403442,
-0.23558495938777924,
-0.09332245588302612,
0.23668864369392395,
-0.015912704169750214,
-0.4124857187271118,
-0.30415281653404236,
0.09906448423862457,
0.05134208872914314,
-0.14960026741027832,
0.5381696224212646,
-0.00009855693497229367,
0.06951448321342468,
0.29945385456085205,
-0.046610523015260696,
-0.03413138538599014,
-0.16483516991138458,
0.08993495255708694,
-0.09305861592292786,
-0.019485604017972946,
-0.36612775921821594,
-0.365615576505661,
-0.25277966260910034,
-0.3794958293437958,
-0.2056536078453064,
0.14169834554195404,
0.5694255828857422,
0.3465052545070648,
0.2177310734987259,
-0.05145149305462837,
-0.41457247734069824,
-0.0320219025015831,
-0.28024810552597046,
-0.2366340011358261,
0.1862058788537979,
-0.33020803332328796,
-0.14220237731933594,
-0.029014550149440765,
0.23736748099327087,
0.09773935377597809,
0.22808068990707397,
0.4603567123413086,
0.07473278045654297,
0.46409934759140015,
-0.028844885528087616,
-0.06390612572431564,
0.09932808578014374,
-0.034830912947654724,
-0.22912940382957458,
-0.1389288753271103,
-0.08650607615709305,
-0.04356839880347252,
-0.6063225865364075,
0.0008668228983879089,
0.04129753261804581,
-0.14012892544269562,
0.070857934653759,
-0.21372400224208832,
0.24481116235256195,
-0.24251611530780792,
0.16928574442863464,
-0.206861212849617,
0.27596908807754517,
-0.13334567844867706,
-0.01293201744556427,
0.22901925444602966,
0.013792375102639198,
0.08815732598304749,
-0.12530535459518433,
0.13439804315567017,
-0.030086740851402283,
-0.08645974099636078,
-0.10286518931388855,
0.03229725733399391,
-0.2499299943447113,
0.07128927111625671,
-0.060859084129333496,
0.15716636180877686,
-0.013550616800785065,
0.09318087249994278,
-0.025477655231952667,
-0.23976626992225647,
0.410728394985199,
-0.15839636325836182,
0.16407494246959686,
0.07188549637794495,
0.28344619274139404,
-0.10016845166683197,
-0.0766565203666687,
0.24614037573337555,
-0.2452429234981537,
0.09418411552906036,
0.168317973613739,
0.08268305659294128,
0.05493651703000069,
-0.4134446978569031,
0.1224454939365387,
0.017110861837863922,
0.062244415283203125,
0.36320462822914124,
0.17920953035354614,
-0.04754563048481941,
-0.05780138820409775,
-0.07457675039768219,
0.1806987226009369,
-0.30360689759254456,
0.13232487440109253,
-0.35769063234329224,
0.18681184947490692,
-0.2822222411632538,
0.20945020020008087,
0.10230953991413116,
0.3251957893371582,
0.416253924369812,
-0.0829678550362587,
0.28640425205230713,
-0.43593311309814453,
0.014810895547270775,
-0.11648483574390411,
0.014678232371807098,
-0.037698667496442795,
-0.11694672703742981,
-0.09069258719682693,
0.2322409451007843,
-0.3248184323310852,
-0.03255593404173851,
-0.012776315212249756,
-0.077203668653965,
-0.2612806260585785,
-0.046458497643470764,
0.36552077531814575,
-0.10332178324460983,
0.08837945759296417,
0.1066243052482605,
0.27831631898880005,
0.125326007604599,
0.18914353847503662,
0.06390118598937988,
0.08773434162139893,
-0.6182095408439636,
-0.1497565507888794,
0.20723603665828705,
-0.040612876415252686,
-0.07074867933988571,
0.015972167253494263,
0.03745448961853981,
0.052967801690101624,
0.0853646844625473,
0.12579719722270966,
0.0015911253867670894,
0.5011465549468994,
-0.12312333285808563,
0.07151789963245392,
0.4473963975906372,
-0.39015689492225647,
-0.2748813331127167,
-0.06951484829187393,
-0.2604045867919922,
-0.1826818585395813,
-0.04020283371210098,
0.11342525482177734,
0.26397454738616943,
-0.0010219768155366182,
0.33511894941329956,
-0.03324883058667183,
0.06727680563926697,
-0.08196376264095306,
-0.3366432785987854,
-0.05507807433605194,
-0.11013755202293396,
0.012899883091449738,
0.29269081354141235,
0.11667442321777344,
0.11568049341440201,
0.059045590460300446,
-0.07904841750860214,
-0.06979250907897949,
-0.04620333015918732,
0.2923012971878052,
0.17049406468868256,
-0.13821148872375488,
-0.13732334971427917,
-0.34394949674606323,
0.07734573632478714,
0.10636553913354874,
-0.14827695488929749,
0.10295400023460388,
0.15864349901676178,
-0.16416272521018982,
-0.7732865214347839,
-0.033980775624513626,
-0.13525156676769257,
-0.13568121194839478,
0.33239227533340454,
-0.06626945734024048,
0.051231469959020615,
-0.023343168199062347,
-0.1196998655796051,
-0.08651312440633774,
-0.4374273419380188,
-0.038774263113737106,
0.04091164469718933,
0.14444497227668762,
-0.07766775041818619,
-0.15234969556331635,
0.232080340385437,
0.6334592700004578,
0.3142646551132202,
0.24310921132564545,
-0.15362179279327393,
0.41819626092910767,
0.19287465512752533,
-0.09666059911251068,
0.07094952464103699,
0.2647995352745056,
0.1443881094455719,
-0.41763633489608765,
0.08230463415384293,
0.08358405530452728,
0.0380929559469223,
-0.10411739349365234,
-0.17188552021980286,
0.4496612548828125,
-0.05952710285782814,
-0.018856443464756012,
-0.08731958270072937,
-0.03776262700557709,
0.03562275320291519,
-0.013333581387996674,
-0.22622016072273254,
-0.3605841398239136,
0.10408154129981995,
-0.2649138271808624,
-0.07441823184490204,
-0.15127821266651154,
0.014022544026374817,
-0.04694586247205734,
0.5437555313110352,
0.08594372868537903,
0.02099776640534401,
-0.0018738284707069397,
0.0927262157201767,
-0.0672307088971138,
-0.40878891944885254,
-0.1390049308538437,
0.35378485918045044,
0.23741629719734192,
0.0789090096950531,
0.3056023120880127,
-0.18165309727191925,
-0.2899184823036194,
0.12074266374111176,
0.16821154952049255,
-0.20013420283794403,
0.16401830315589905,
0.11742307990789413,
-0.120103619992733,
-0.08369088172912598,
0.08532936871051788,
-0.13676907122135162,
0.18603016436100006,
-0.3435233533382416,
-0.06316870450973511,
-0.1156025230884552,
0.1328383982181549,
-0.07782386988401413,
-0.3552175760269165,
0.04780644178390503,
-0.3057578206062317,
0.07570779323577881,
0.1828732192516327,
0.16416338086128235,
0.2744424343109131,
0.15962697565555573,
0.1497505009174347,
0.25171926617622375,
-0.010264160111546516,
0.08257614076137543,
-0.22203905880451202,
0.013127977028489113,
0.20608651638031006,
-0.16673336923122406,
0.0321330688893795,
0.37871474027633667,
0.06302131712436676,
0.21295523643493652,
-0.1641375720500946,
-0.3228057622909546,
0.01673891767859459,
-0.08555874973535538,
0.3682919144630432,
0.2106134295463562,
-0.08688834309577942,
-0.12012152373790741,
0.020216234028339386,
0.41726136207580566,
-0.07206882536411285,
-0.05969986319541931,
0.05723011493682861,
-0.14892253279685974,
-0.03934987634420395,
-0.15123876929283142,
-0.0986141487956047,
0.10861311852931976,
-0.3211774528026581,
-0.18536294996738434,
0.21164900064468384,
-0.016288645565509796,
0.24039289355278015,
0.177232027053833,
0.2700445353984833,
0.3833009600639343,
-0.11966951191425323,
-0.41492193937301636,
-0.2728314995765686,
0.3139648139476776,
-0.4965395927429199,
-0.16064831614494324,
0.010552313178777695,
-0.20406058430671692,
0.353161096572876,
-0.06595099717378616,
-0.4769182801246643,
-0.4896349310874939,
0.020047597587108612,
0.20115552842617035,
-0.06795750558376312,
-0.13745854794979095,
0.12579411268234253,
-0.13896776735782623,
-0.22485442459583282,
-0.28286266326904297,
-0.37253686785697937,
0.0969550609588623,
-0.15599071979522705,
0.0767359659075737,
-0.16799834370613098,
0.29638561606407166,
0.07961943745613098,
0.5379868745803833,
0.30914974212646484,
-0.09590107202529907,
0.15376120805740356,
-0.16650408506393433,
0.17022740840911865,
-0.21961334347724915,
-0.29377084970474243,
0.040027450770139694,
0.2761952877044678,
-0.009206658229231834,
0.3007904291152954,
0.012520299293100834,
0.06558732688426971,
-0.08216775953769684,
-0.016345076262950897,
-0.17265668511390686,
-0.09032824635505676,
-0.27205055952072144,
0.02684648521244526,
0.2756064832210541,
-0.016656484454870224,
0.29432082176208496,
-0.30797794461250305,
-0.017305783927440643,
0.17362619936466217,
0.12400349229574203,
-0.26544901728630066,
-0.21612907946109772,
-0.20268656313419342,
0.09797816723585129,
-0.14695480465888977,
0.1126970425248146,
-0.004346158821135759,
0.03198373690247536,
0.025314804166555405,
0.2781984508037567,
0.026055894792079926,
0.058392222970724106,
0.30260083079338074,
-0.28471070528030396,
-0.07212604582309723,
0.18797071278095245,
0.02991274744272232,
-0.2612210810184479,
0.020733486860990524,
0.060777027159929276,
0.2170863002538681,
-0.07661937177181244,
0.70682692527771,
-0.31403839588165283,
-0.20157459378242493,
0.3677607476711273,
-0.0866842120885849,
-0.11567817628383636,
-0.24555200338363647,
-0.2079695612192154,
-0.4916190803050995,
0.08666004985570908,
0.11188282072544098,
0.03454015403985977,
0.406220406293869,
0.20882326364517212,
-0.11823207139968872,
0.002123795449733734,
-0.22551044821739197,
0.14327622950077057,
-0.050958018749952316,
0.2105502188205719,
0.11230316758155823,
0.09160120785236359,
0.04280110076069832,
-0.1372727006673813,
-0.11029411852359772,
0.0896131619811058,
-0.062272023409605026,
-0.25469446182250977,
-0.009431567043066025,
-0.17433929443359375,
0.13789398968219757,
0.14319026470184326,
-0.12405209988355637,
-0.008678488433361053,
-0.008559336885809898,
0.3078177571296692,
-0.18366551399230957,
0.23942402005195618,
0.24163693189620972,
-0.09307917952537537,
-0.045648254454135895,
-0.3316988945007324,
0.4245662987232208,
0.07376553118228912,
0.02029000222682953,
0.315813809633255,
-0.029164552688598633,
-0.22234417498111725,
-0.02265077270567417,
0.1994321644306183,
0.6062890291213989,
0.1603306382894516,
-0.31758353114128113,
0.5252522230148315,
-0.1469673216342926,
0.0887879803776741,
-0.27536267042160034,
0.0864625871181488,
-0.21389926970005035,
-0.10809530317783356,
0.010371467098593712,
-0.020605474710464478,
-0.0015152767300605774,
-0.08704975247383118,
-0.04052609205245972,
0.15822194516658783,
0.006419271230697632,
0.12797872722148895,
0.01238067727535963,
0.13092754781246185,
0.256630003452301,
-0.22431017458438873,
-0.2564954161643982,
0.3084743022918701,
-0.15857885777950287,
-0.05297623202204704,
-0.03285309672355652,
-0.07897666841745377,
-0.1387616991996765,
-0.10881722718477249,
0.06636166572570801,
-0.25996819138526917,
-0.33530935645103455,
-0.0554853156208992,
0.00483328104019165,
-0.2521205544471741,
0.0037994030863046646,
0.0339757464826107,
0.6332513689994812,
0.1763828992843628,
-0.19337616860866547,
0.14618046581745148,
-0.21488162875175476,
0.0211611557751894,
-0.15438507497310638,
0.03542077913880348,
-0.028258131816983223,
-0.16563469171524048,
-0.11362703144550323,
0.08321079611778259,
0.14651909470558167,
-0.10401314496994019,
-0.05239124596118927,
-0.20391054451465607,
0.05922889709472656,
-0.2386750429868698,
0.03886422887444496,
-0.14549274742603302,
-0.03327959403395653,
-0.2638087570667267,
0.2938852906227112,
-0.13834251463413239,
-0.15215037763118744,
0.1905476152896881,
0.1626865714788437,
-0.3084412217140198,
-0.026202570647001266,
0.06292298436164856,
0.05598270893096924,
0.07396124303340912,
0.16477371752262115,
-0.15615986287593842,
-0.15341706573963165,
-0.32111212611198425,
-0.05126142501831055,
-0.15141421556472778,
0.014503233134746552,
0.36075371503829956,
0.00045274593867361546,
-0.01662924885749817,
0.23184464871883392,
0.4143938720226288,
0.19991755485534668,
0.22557911276817322,
0.13163591921329498,
-0.13004744052886963,
-0.3161057233810425,
-0.14671510457992554,
-0.08926692605018616,
0.2483053356409073,
-0.2668384611606598,
0.653588056564331,
-0.11025961488485336,
-0.025817139074206352,
-0.5168288350105286,
0.021098526194691658,
-0.3219112455844879,
0.0016517862677574158,
-0.08778048306703568,
-0.23574155569076538,
-0.025790056213736534,
0.21999116241931915,
0.2234494984149933,
0.20002563297748566,
-0.41370710730552673,
-0.3525780141353607,
-0.22975394129753113,
0.0474802702665329,
0.05192181468009949,
-0.05441412329673767,
0.020512878894805908,
0.113249272108078,
-0.41506069898605347,
-0.08948802947998047,
-0.10216902196407318,
0.32011085748672485,
0.15483275055885315,
0.15409967303276062,
-0.20306216180324554,
0.3304715156555176,
0.19447824358940125,
-0.22780466079711914,
0.13550901412963867,
0.39451080560684204,
0.05600984767079353,
-0.059425972402095795,
-0.05356479436159134,
-0.0257706381380558,
-0.06788839399814606,
-0.025060974061489105,
0.1176462173461914,
0.0966675654053688,
0.23620349168777466,
-0.0858822762966156,
-0.10942438244819641,
0.3337863087654114,
0.23334988951683044,
-0.017450854182243347,
-0.2696908116340637,
-0.18541523814201355,
-0.09128934144973755,
0.38085147738456726,
-0.1617775410413742,
0.11387015879154205,
0.11466702818870544,
0.08229196071624756,
0.45968949794769287,
0.37100541591644287,
0.16962559521198273,
-0.03288200870156288,
-0.12560294568538666,
0.06068664789199829,
0.3149348199367523,
-0.2551381587982178,
-0.03105577453970909,
0.030993787571787834,
0.08489270508289337,
0.011315152049064636,
0.4787460267543793,
0.11046533286571503,
0.18770931661128998,
0.4650905728340149,
-0.02484649419784546,
0.2866053879261017,
0.11355970799922943,
0.025637172162532806,
-0.16885218024253845,
0.24639786779880524,
-0.10974667966365814,
0.14166370034217834,
-0.0437036007642746,
-0.16014117002487183,
-0.21726956963539124,
-0.05534016340970993,
-0.1343214362859726,
0.14747770130634308,
-0.1634099781513214,
-0.00355621799826622,
-0.03003164380788803,
-0.0843847244977951,
-0.4169691503047943,
-0.1988135576248169,
-0.08742310851812363,
-0.1785978227853775,
0.13602928817272186,
0.2287364900112152,
0.003901474177837372,
-0.29965323209762573,
0.0245341956615448,
0.10270345211029053,
0.05215994268655777,
0.24227160215377808,
0.28364241123199463,
-0.25552991032600403,
0.20373879373073578,
0.2507944703102112,
0.3229711055755615,
-0.08332705497741699,
0.3195422887802124,
0.10420829802751541,
0.17333777248859406,
-0.3330545425415039,
-0.2613292336463928,
0.029952865093946457,
-0.2656729519367218,
0.021959926933050156,
0.14417752623558044,
0.3015913665294647,
-0.15412329137325287,
0.4029776453971863,
0.2882746160030365,
-0.40482068061828613,
0.298438161611557,
0.19741953909397125,
-0.0133802630007267,
-0.4324817955493927,
0.37229251861572266,
-0.00426236167550087,
-0.033342428505420685,
-0.018428746610879898,
-0.05647445470094681,
-0.1463489830493927,
-0.09184509515762329,
0.18876852095127106,
0.024733852595090866,
0.3445623517036438,
-0.11978954821825027,
0.1697074919939041,
-0.08211852610111237,
0.3426368236541748,
-0.03985508158802986,
0.07637865841388702,
-0.41617676615715027,
-0.1355721652507782,
-0.40276816487312317,
0.16092483699321747,
-0.009899582713842392,
0.11584590375423431,
0.03411363437771797,
0.24736560881137848,
-0.24587148427963257,
0.2662315368652344,
0.1309257298707962,
0.043719422072172165,
-0.035960856825113297,
0.08300529420375824,
-0.3444508910179138,
0.045663271099328995,
-0.2424391359090805,
-0.11395737528800964,
0.24534907937049866,
-0.13676075637340546,
-0.17526845633983612,
-0.12875433266162872,
0.2528267502784729,
-0.1321377158164978,
0.16158908605575562,
0.12474910914897919,
0.4439777731895447,
0.29619377851486206,
0.06820603460073471,
0.17735642194747925,
-0.10893501341342926,
0.10173264890909195,
-0.09917822480201721,
0.03170471638441086,
-0.0573243647813797,
0.2549757659435272,
0.11167550086975098,
0.35846832394599915,
-0.019524212926626205,
-0.1864132583141327,
-0.2227337658405304,
0.24487124383449554,
0.3298006057739258,
-0.23939085006713867,
-0.03452664241194725,
0.27428457140922546,
-0.14624646306037903,
-0.10390766710042953,
0.04260497912764549,
0.27577081322669983,
0.04537903890013695,
0.4797602891921997,
-0.10387074947357178,
-0.4449887275695801,
0.5055990815162659,
0.0036407336592674255,
-0.37418580055236816,
0.2025415301322937,
0.3159139156341553,
0.3365122675895691,
-0.12872757017612457,
-0.47254952788352966,
0.1250617504119873,
0.4936552047729492,
-0.11353234201669693,
-0.09477439522743225,
0.2826545238494873,
-0.252147912979126,
0.028076354414224625,
0.1982811689376831,
-0.15385296940803528,
0.02790154702961445,
-0.07740575075149536,
0.09540346264839172,
-0.06942808628082275
] |
https://github.com/huggingface/datasets/issues/1733 | connection issue with glue, what is the data url for glue? | Hello @juliahane, which config of GLUE causes you trouble?
The URLs are defined in the dataset script source code: https://github.com/huggingface/datasets/blob/master/datasets/glue/glue.py | Hi
my codes sometimes fails due to connection issue with glue, could you tell me how I can have the URL datasets library is trying to read GLUE from to test the machines I am working on if there is an issue on my side or not
thanks | 20 | connection issue with glue, what is the data url for glue?
Hi
my codes sometimes fails due to connection issue with glue, could you tell me how I can have the URL datasets library is trying to read GLUE from to test the machines I am working on if there is an issue on my side or not
thanks
Hello @juliahane, which config of GLUE causes you trouble?
The URLs are defined in the dataset script source code: https://github.com/huggingface/datasets/blob/master/datasets/glue/glue.py | [
-0.05529148504137993,
0.011869147419929504,
-0.04277392476797104,
0.2993854284286499,
0.3010600209236145,
-0.26848068833351135,
0.20354077219963074,
0.08158139884471893,
0.11229035258293152,
0.1263362318277359,
0.06428924202919006,
-0.06481561064720154,
0.2632439434528351,
0.19455556571483612,
0.20058439671993256,
-0.012913227081298828,
-0.11071065813302994,
-0.08579522371292114,
-0.379092812538147,
0.06953786313533783,
-0.22741752862930298,
0.13393481075763702,
-0.25695645809173584,
0.15409274399280548,
-0.23317646980285645,
-0.01822768710553646,
-0.24089361727237701,
0.14167563617229462,
-0.11691979318857193,
-0.3114696443080902,
0.24588601291179657,
0.27225372195243835,
0.01576915755867958,
0.24517977237701416,
-0.00010945380199700594,
-0.08543256670236588,
0.4476233720779419,
0.05186542123556137,
-0.08572442829608917,
-0.09633289277553558,
-0.4144296646118164,
-0.15834850072860718,
0.1298844963312149,
-0.20394544303417206,
-0.17282035946846008,
0.43336451053619385,
0.1408490091562271,
-0.32253098487854004,
0.1861436814069748,
0.14745792746543884,
0.22558225691318512,
0.3084510564804077,
0.2373654991388321,
0.03790994733572006,
0.3510041832923889,
-0.24360276758670807,
0.15218470990657806,
0.4593855142593384,
0.32645827531814575,
-0.17348329722881317,
0.11336042732000351,
0.10722203552722931,
0.13780254125595093,
-0.0038308296352624893,
-0.07072717696428299,
0.09610029309988022,
-0.22171971201896667,
-0.3329150080680847,
0.07002490758895874,
0.30060315132141113,
0.3522762656211853,
-0.14569497108459473,
-0.2870572805404663,
0.0623578205704689,
-0.16343042254447937,
0.361400306224823,
0.3465098440647125,
0.23728466033935547,
0.08614429831504822,
0.28204190731048584,
-0.17816074192523956,
-0.23609225451946259,
-0.25361311435699463,
0.29707565903663635,
0.05053798109292984,
-0.047200724482536316,
-0.2656106650829315,
0.2072944939136505,
-0.006123602390289307,
-0.21434013545513153,
-0.07645977288484573,
-0.14810729026794434,
-0.037475842982530594,
0.10164286941289902,
-0.18903227150440216,
-0.12317005544900894,
-0.1298273205757141,
0.5392322540283203,
0.3787510395050049,
0.04420445114374161,
0.027443187311291695,
0.036321625113487244,
-0.135193333029747,
0.22676599025726318,
0.4534764289855957,
-0.12656289339065552,
0.12746495008468628,
-0.07498504221439362,
0.5586507320404053,
0.13273029029369354,
-0.16170527040958405,
-0.23156321048736572,
0.07218168675899506,
-0.23838397860527039,
-0.19696044921875,
-0.1852639615535736,
0.4247690439224243,
-0.31795620918273926,
-0.018046796321868896,
-0.0207219235599041,
-0.23009490966796875,
0.021608857437968254,
0.08703695237636566,
0.3594590127468109,
-0.32937368750572205,
0.03288346529006958,
-0.007937019690871239,
-0.1125488132238388,
-0.16148534417152405,
-0.1475440412759781,
-0.17004260420799255,
0.038751378655433655,
-0.23266401886940002,
0.0795595645904541,
0.029200594872236252,
-0.21728086471557617,
0.0885176807641983,
0.07191981375217438,
-0.16321489214897156,
-0.08566157519817352,
0.0172568466514349,
-0.12950117886066437,
0.13281205296516418,
0.17236191034317017,
0.1386316865682602,
0.2162533551454544,
-0.11344477534294128,
-0.30983585119247437,
-0.03901712968945503,
-0.10241756588220596,
-0.3364965319633484,
-0.07334914058446884,
-0.014145134016871452,
0.16981856524944305,
-0.44614315032958984,
0.061476193368434906,
-0.05049072951078415,
-0.18320178985595703,
-0.3620140254497528,
0.05069981887936592,
0.06762629747390747,
0.03619746118783951,
0.07717114686965942,
-0.4720364511013031,
0.3285968005657196,
0.4581781029701233,
-0.20453640818595886,
0.02998824417591095,
0.2047373205423355,
-0.2899804711341858,
-0.16105324029922485,
0.2446180284023285,
-0.02754209190607071,
-0.23172152042388916,
-0.31049710512161255,
0.30716490745544434,
0.20974740386009216,
-0.45379945635795593,
-0.5420529842376709,
0.5876682996749878,
-0.17910192906856537,
-0.20679913461208344,
-0.012593843042850494,
0.1852537989616394,
0.1498965322971344,
0.0511212982237339,
0.008908435702323914,
0.5321075916290283,
-0.06032399833202362,
-0.12971459329128265,
-0.26707643270492554,
-0.28088289499282837,
0.011255079880356789,
0.07508546113967896,
-0.1924649477005005,
-0.1969626247882843,
0.301268607378006,
-0.3112698197364807,
0.2584022879600525,
0.23155005276203156,
-0.00032254657708108425,
0.2314704805612564,
0.47091299295425415,
0.11369409412145615,
0.19109807908535004,
0.01461561769247055,
-0.3011436462402344,
0.06701556593179703,
0.08953775465488434,
0.016155391931533813,
-0.13451489806175232,
-0.12804853916168213,
-0.04052582383155823,
0.031653307378292084,
-0.051964085549116135,
-0.03668766841292381,
0.1640716940164566,
-0.09813964366912842,
0.14278416335582733,
0.2040523886680603,
-0.09565377235412598,
0.5069953203201294,
0.04491075873374939,
0.20549149811267853,
-0.3476518392562866,
0.7957619428634644,
-0.06284482032060623,
-0.08313646912574768,
0.16797497868537903,
0.15813042223453522,
0.35773029923439026,
-0.24062159657478333,
-0.07933614403009415,
0.5479310154914856,
0.003046526340767741,
0.20871996879577637,
0.4648136496543884,
0.36195623874664307,
0.2616004943847656,
-0.26795560121536255,
0.17669138312339783,
0.12348334491252899,
0.1318587064743042,
0.052885301411151886,
0.269748330116272,
0.056530825793743134,
-0.09290991723537445,
0.3933548927307129,
0.2558865547180176,
0.2535201907157898,
-0.08854930102825165,
-0.23069921135902405,
-0.337517112493515,
0.02578917145729065,
0.1821230798959732,
-0.010282233357429504,
0.3197615146636963,
0.06655595451593399,
-0.19680878520011902,
0.0343671515583992,
0.22830504179000854,
-0.21394042670726776,
0.14770430326461792,
-0.12188639491796494,
-0.242770254611969,
-0.053395483642816544,
0.09494362771511078,
0.42479100823402405,
0.397308349609375,
0.155691459774971,
-0.1571701169013977,
0.12785601615905762,
-0.1030101403594017,
-0.17159675061702728,
0.15714505314826965,
0.012075357139110565,
-0.19706329703330994,
-0.21061718463897705,
-0.1756362020969391,
-0.17590638995170593,
-0.06282021850347519,
-0.040106311440467834,
-0.2609092891216278,
0.004922438412904739,
-0.4890078604221344,
-0.11620761454105377,
-0.4256090223789215,
-0.4683546721935272,
-0.22943872213363647,
-0.24131552875041962,
-0.45934388041496277,
-0.4235488772392273,
-0.21111935377120972,
-0.1315099447965622,
0.040493812412023544,
0.04194715619087219,
-0.04517623037099838,
0.22961272299289703,
-0.16447170078754425,
0.016780493780970573,
-0.044277749955654144,
-0.15988647937774658,
-0.3016819357872009,
0.09086911380290985,
0.038463350385427475,
0.3077383041381836,
0.35649535059928894,
-0.1310586929321289,
0.20437821745872498,
-0.3110779821872711,
-0.18254095315933228,
0.0033890046179294586,
0.11272955685853958,
0.5722731351852417,
0.4303123354911804,
0.38334983587265015,
0.38120007514953613,
0.010215776972472668,
0.3864462375640869,
-0.08843212574720383,
0.13468113541603088,
-0.1440850794315338,
0.1837702840566635,
-0.13049861788749695,
0.1290675401687622,
-0.14684179425239563,
-0.3778318166732788,
-0.09452828764915466,
0.22019921243190765,
-0.30476582050323486,
0.08804046362638474,
-0.1556999236345291,
-0.04841254651546478,
0.23648710548877716,
-0.38314130902290344,
-0.10400235652923584,
-0.23108281195163727,
-0.5189388990402222,
0.16454674303531647,
-0.09067254513502121,
-0.4740213453769684,
-0.007621295750141144,
0.05136518180370331,
0.1766803115606308,
0.05590859800577164,
-0.39932578802108765,
-0.5216788649559021,
-0.09293683618307114,
0.02214432880282402,
0.3070884048938751,
0.32703304290771484,
0.14750270545482635,
-0.2089838832616806,
0.030443431809544563,
-0.16958943009376526,
-0.24739722907543182,
0.16640761494636536,
0.0020563043653964996,
0.27405568957328796,
0.5102767944335938,
0.2605573832988739,
0.04841258004307747,
0.19508661329746246,
0.1677778959274292,
-0.13307732343673706,
0.2533981502056122,
-0.1815492808818817,
0.47701653838157654,
0.31293097138404846,
-0.3273971974849701,
-0.0628940686583519,
-0.015464812517166138,
-0.048629049211740494,
0.03278758376836777,
0.2938317060470581,
0.15858179330825806,
-0.3641500473022461,
-0.11144819855690002,
-0.38029730319976807,
-0.37380415201187134,
-0.15084663033485413,
0.03506343066692352,
0.13273116946220398,
0.09210620820522308,
-0.0486220046877861,
0.14150455594062805,
-0.14455431699752808,
0.0976969450712204,
0.409224271774292,
0.0653713122010231,
-0.1441711038351059,
-0.3791985511779785,
-0.4537929892539978,
-0.34304824471473694,
0.4417436718940735,
-0.040318191051483154,
0.5260634422302246,
-0.23941157758235931,
0.24214112758636475,
0.19496190547943115,
0.02288452908396721,
0.6257153749465942,
-0.8164909482002258,
-0.007050622254610062,
0.09283457696437836,
0.032890789210796356,
-0.3561480641365051,
0.12840434908866882,
-0.11575467884540558,
-0.027278704568743706,
0.3937646150588989,
0.24050994217395782,
-0.24474456906318665,
-0.1883087307214737,
0.13865792751312256,
0.005434384103864431,
-0.11283718049526215,
-0.2477959543466568,
0.0030023157596588135,
-0.24375510215759277,
-0.05499499291181564,
-0.19954174757003784,
-0.1693074107170105,
-0.08941303193569183,
0.24246104061603546,
-0.09165484458208084,
-0.021637843921780586,
-0.04645862802863121,
0.06214331462979317,
-0.1363263726234436,
0.11052481830120087,
-0.15540622174739838,
0.22566410899162292,
0.4375859797000885,
0.29172593355178833,
-0.19477622210979462,
0.22322353720664978,
-0.2668702006340027,
0.12804144620895386,
-0.04547329246997833,
-0.022896531969308853,
0.5653001070022583,
0.30472248792648315,
-0.12750479578971863,
0.22420024871826172,
0.012050420045852661,
0.09398970007896423,
-0.2646263837814331,
0.05655639246106148,
0.36867812275886536,
0.1756887137889862,
-0.2953339219093323,
-0.37896019220352173,
0.29471370577812195,
0.08369499444961548,
-0.24959073960781097,
0.19245031476020813,
0.3177807331085205,
-0.1595831662416458,
0.20432192087173462,
-0.14478066563606262,
1.0169458389282227,
0.03493879735469818,
-0.08453820645809174,
-0.06150234490633011,
-0.49951380491256714,
0.39727723598480225,
0.05363190174102783,
-0.09969578683376312,
-0.49454265832901,
-0.22772108018398285,
-0.2082972228527069,
-0.2642941474914551,
0.2048654854297638,
-0.03832373768091202,
-0.194350466132164,
0.5626403093338013,
-0.15560433268547058,
0.25487393140792847,
-0.05579706281423569,
0.3983097970485687,
-0.04340163618326187,
0.1283487230539322,
-0.2900545597076416,
0.20980051159858704,
-0.1040622740983963,
0.36549264192581177,
-0.050055962055921555,
-0.1420089602470398,
0.1566396802663803,
-0.2494007647037506,
-0.36689794063568115,
0.02662499248981476,
-0.7568397521972656,
-0.049173884093761444,
0.2383583039045334,
0.04572272300720215,
-0.13461779057979584,
0.05372374504804611,
0.14963863790035248,
0.46057143807411194,
-0.2692960798740387,
0.11164341866970062,
-0.024832896888256073,
-0.18194134533405304,
0.28582796454429626,
0.24632537364959717,
0.026792630553245544,
-0.10778089612722397,
-0.32964998483657837,
0.009688418358564377,
0.15517817437648773,
-0.19514065980911255,
-0.04317329823970795,
-0.06180320680141449,
-0.013953790068626404,
-0.3604130446910858,
-0.15865269303321838,
-0.12690339982509613,
0.2136034071445465,
0.07613345980644226,
0.14275553822517395,
0.21272844076156616,
0.042380377650260925,
0.29803988337516785,
0.2540823817253113,
-0.1287962794303894,
-0.0947677344083786,
0.43553850054740906,
-0.30867525935173035,
0.006369587033987045,
0.0378933921456337,
-0.033966053277254105,
-0.2220364660024643,
-0.14526788890361786,
0.2257867455482483,
0.28039851784706116,
-0.18415963649749756,
-0.1570626199245453,
-0.13352826237678528,
0.21812348067760468,
-0.22233453392982483,
-0.23380351066589355,
0.21388649940490723,
0.15192356705665588,
-0.07021395117044449,
-0.519008994102478,
0.050763972103595734,
0.35756516456604004,
0.19582508504390717,
0.13841643929481506,
-0.06748481094837189,
-0.24286116659641266,
0.19875191152095795,
-0.1309937983751297,
-0.322883278131485,
0.20709215104579926,
-0.2509308159351349,
0.0342993400990963,
0.5042778253555298,
-0.1279543936252594,
0.38724884390830994,
-0.1507943719625473,
0.15160460770130157,
-0.23296920955181122,
-0.18978898227214813,
-0.13673941791057587,
-0.09134331345558167,
0.12420603632926941,
-0.05183614045381546,
-0.19873963296413422,
-0.13999010622501373,
-0.5320915579795837,
0.08676020801067352,
0.06536038219928741,
-0.04127145931124687,
0.1310141682624817,
-0.07362008094787598,
-0.1985262930393219,
-0.111186683177948,
-0.19884613156318665,
-0.2343991994857788,
0.5295160412788391,
-0.05173930525779724,
0.4288688898086548,
0.022048037499189377,
-0.007559698075056076,
-0.129171684384346,
-0.29686856269836426,
-0.015787720680236816,
0.14752446115016937,
-0.15459558367729187,
-0.049559637904167175,
0.23620960116386414,
-0.06820537149906158,
-0.10052730143070221,
0.24182692170143127,
0.4660554826259613,
0.08941905200481415,
-0.26416048407554626,
0.11115121841430664,
0.15867844223976135,
0.19030863046646118,
0.09852012991905212,
0.08053658902645111,
0.24813102185726166,
0.050982315093278885,
0.06279915571212769,
0.0710274875164032,
0.11048968136310577,
0.1608978658914566,
0.07997801154851913,
-0.027999598532915115,
0.6018795967102051,
-0.012474887073040009,
-0.15342023968696594,
-0.04284672811627388,
-0.11308609694242477,
-0.024518992751836777,
0.13924933969974518,
0.15996484458446503,
-0.02976759523153305,
-0.1557420939207077,
0.02459535375237465,
0.05813930928707123,
0.36669906973838806,
0.15289974212646484,
0.2531638443470001,
0.00342705100774765,
-0.16081301867961884,
0.15761417150497437,
-0.25789105892181396,
-0.10133960098028183,
-0.18507269024848938,
0.7514370679855347,
-0.3354582190513611,
-0.019787276163697243,
0.04220421612262726,
0.21924300491809845,
0.10111789405345917,
-0.18908488750457764,
0.035526469349861145,
-0.021101344376802444,
-0.43609723448753357,
-0.2370217889547348,
0.023532988503575325,
-0.23582564294338226,
0.28950560092926025,
0.04767932742834091,
0.2070527970790863,
-0.30420640110969543,
0.07687892019748688,
0.06709355115890503,
0.13679556548595428,
-0.16746123135089874,
0.2207106649875641,
-0.2710694670677185,
0.5232745409011841,
0.24782221019268036,
0.43615639209747314,
0.4109048843383789,
0.24752448499202728,
-0.08985410630702972,
0.08241714537143707,
0.013576650060713291,
-0.08780495077371597,
0.0734698697924614,
0.1821485012769699,
-0.012920670211315155,
0.05447828024625778,
0.42465493083000183,
0.208585724234581,
-0.07417760789394379,
0.005021717399358749,
-0.26702699065208435,
0.26475808024406433,
-0.17590540647506714,
0.43767526745796204,
-0.3028051257133484,
-0.04409632086753845,
-0.479928582906723,
-0.1268560290336609,
-0.5758998990058899,
-0.1265254020690918,
0.30755162239074707,
-0.3345971703529358,
0.11557040363550186,
-0.24021607637405396,
0.08436520397663116,
-0.07558408379554749,
0.46132051944732666,
0.49234452843666077,
0.6064276695251465,
-0.3703455924987793,
-0.3879165053367615,
-0.5264346599578857,
-0.11737080663442612,
-0.11295086145401001,
-0.10752435773611069,
-0.09769973903894424,
0.05654110759496689,
-0.23802664875984192,
0.24431481957435608,
0.1563059687614441,
0.3593224883079529,
-0.1874040961265564,
-0.07644133269786835,
-0.17413072288036346,
-0.03363404795527458,
-0.1541624218225479,
0.014357639476656914,
0.030783697962760925,
-0.2010679543018341,
0.259647011756897,
-0.050095636397600174,
0.028705574572086334,
0.06354067474603653,
0.07633145153522491,
-0.0695217102766037,
-0.357785701751709,
0.26023656129837036,
0.17729529738426208,
0.4283640682697296,
0.1720942258834839,
0.07872350513935089,
-0.3032391369342804,
-0.3302260935306549,
0.04901828616857529,
-0.057802192866802216,
-0.13502910733222961,
-0.17041698098182678,
0.1871255487203598,
-0.1900780349969864,
-0.2916153371334076,
0.09897049516439438,
-0.160682812333107,
0.5082820057868958,
0.20393678545951843,
-0.2726269066333771,
0.1324838399887085,
0.032269299030303955,
0.14106310904026031,
-0.0009929873049259186,
-0.17010344564914703,
0.1290653645992279,
0.15952198207378387,
-0.24602176249027252,
0.3463923931121826,
-0.2644116282463074,
0.07832221686840057,
-0.15266834199428558,
0.4158906042575836,
-0.021639585494995117,
-0.03340151906013489,
-0.3338148891925812,
-0.19115927815437317,
0.4394242465496063,
0.04184024780988693,
-0.1830795854330063,
0.3604085445404053,
0.042894572019577026,
0.2880256772041321,
0.15442226827144623,
0.11374406516551971,
0.1443602442741394,
-0.1935795694589615,
0.06948593258857727,
-0.06323076784610748
] |
https://github.com/huggingface/datasets/issues/1731 | Couldn't reach swda.py | Hi @yangp725,
The SWDA has been added very recently and has not been released yet, thus it is not available in the `1.2.0` version of 🤗`datasets`.
You can still access it by installing the latest version of the library (master branch), by following instructions in [this issue](https://github.com/huggingface/datasets/issues/1641#issuecomment-751571471).
Let me know if this helps ! | ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.2.0/datasets/swda/swda.py
| 54 | Couldn't reach swda.py
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.2.0/datasets/swda/swda.py
Hi @yangp725,
The SWDA has been added very recently and has not been released yet, thus it is not available in the `1.2.0` version of 🤗`datasets`.
You can still access it by installing the latest version of the library (master branch), by following instructions in [this issue](https://github.com/huggingface/datasets/issues/1641#issuecomment-751571471).
Let me know if this helps ! | [
-0.2362145483493805,
-0.3874823749065399,
-0.1583181619644165,
-0.004699744284152985,
0.3615039587020874,
-0.02269965410232544,
-0.0685167908668518,
0.22510327398777008,
0.0263327918946743,
0.2184050977230072,
-0.12052074074745178,
-0.007295948453247547,
0.009890405461192131,
0.3339482545852661,
-0.014038040302693844,
-0.22543305158615112,
0.050914470106363297,
0.031312838196754456,
-0.2564319372177124,
0.07755975425243378,
0.020203083753585815,
0.3259117603302002,
-0.15540632605552673,
0.22974488139152527,
-0.11346875876188278,
-0.06858344376087189,
-0.020157847553491592,
-0.07753268629312515,
-0.17578965425491333,
-0.43627235293388367,
0.5638245940208435,
0.19272157549858093,
0.12568317353725433,
0.3472209870815277,
-0.00010076379112433642,
-0.07712502777576447,
0.4186195731163025,
-0.050370823591947556,
-0.17551589012145996,
-0.30987411737442017,
0.049758411943912506,
-0.18408355116844177,
0.21234914660453796,
0.11466474086046219,
-0.2763560116291046,
-0.3036900758743286,
0.12725207209587097,
-0.09631584584712982,
0.42074501514434814,
0.04467131569981575,
0.368947297334671,
0.2689455449581146,
0.4838208556175232,
-0.4246515929698944,
-0.09245433658361435,
0.12341861426830292,
-0.08215484023094177,
0.24427606165409088,
0.06057436019182205,
-0.07621875405311584,
0.13969731330871582,
0.35298413038253784,
0.13052688539028168,
-0.04509143903851509,
0.30117174983024597,
-0.04528006538748741,
-0.19614416360855103,
-0.23429599404335022,
0.23906013369560242,
0.15280210971832275,
0.5129567384719849,
-0.26086875796318054,
-0.4449077546596527,
-0.011774953454732895,
0.06313254684209824,
0.023145081475377083,
0.16061310470104218,
-0.01628410629928112,
-0.1544131487607956,
0.12184900045394897,
-0.09560540318489075,
-0.08663350343704224,
-0.1289825737476349,
0.14620231091976166,
0.11540186405181885,
0.030599888414144516,
-0.2691115140914917,
0.07199055701494217,
0.20661917328834534,
-0.3192818760871887,
0.05281105265021324,
0.19596554338932037,
-0.10888184607028961,
0.24424786865711212,
-0.17897291481494904,
0.06871715933084488,
0.06100991740822792,
-0.015078075230121613,
0.39501699805259705,
0.08057622611522675,
-0.13448260724544525,
0.011904541403055191,
0.05855821445584297,
0.05153423920273781,
0.12976238131523132,
0.04346846416592598,
0.01653311774134636,
-0.32371601462364197,
0.26773834228515625,
0.2697731554508209,
0.18764185905456543,
-0.239590585231781,
-0.010430548340082169,
-0.2571243345737457,
-0.31821081042289734,
-0.3037605583667755,
0.2617523670196533,
-0.2514617145061493,
-0.1170673817396164,
0.05198094993829727,
-0.06325770914554596,
-0.009885275736451149,
0.084820955991745,
0.4707407057285309,
0.025867048650979996,
0.029521873220801353,
0.18081307411193848,
0.2489561140537262,
0.04189661890268326,
0.25369882583618164,
-0.3355824947357178,
-0.022867854684591293,
-0.09630634635686874,
-0.04007512331008911,
0.14654256403446198,
-0.27717921137809753,
0.3220081329345703,
-0.08527209609746933,
0.03941487520933151,
-0.006283082067966461,
-0.2069949507713318,
0.17217732965946198,
-0.06381828337907791,
0.3616154193878174,
0.13843391835689545,
0.10343179851770401,
0.11529688537120819,
0.06059318780899048,
-0.09697802364826202,
-0.23770710825920105,
-0.1938384771347046,
-0.26428210735321045,
-0.24582277238368988,
0.26621755957603455,
-0.06626684963703156,
0.08334091305732727,
-0.10183288902044296,
0.07107707858085632,
-0.18630364537239075,
-0.10656276345252991,
-0.081584133207798,
0.03340566158294678,
0.026402045041322708,
-0.14126816391944885,
0.3396385610103607,
0.31641578674316406,
-0.2243426889181137,
-0.13302898406982422,
0.21903829276561737,
-0.3956376016139984,
-0.07674255222082138,
0.20203813910484314,
-0.23443558812141418,
-0.03629568964242935,
-0.27451378107070923,
0.07625448703765869,
0.23868682980537415,
-0.29359516501426697,
-0.43453484773635864,
0.018081258982419968,
-0.06822039932012558,
-0.14563380181789398,
0.05901679769158363,
-0.012017359025776386,
-0.17742908000946045,
0.16054292023181915,
0.03085193783044815,
0.04776079207658768,
-0.030540792271494865,
-0.08099747449159622,
0.01248975470662117,
-0.29057690501213074,
-0.10291090607643127,
0.04548778757452965,
-0.008517008274793625,
0.12895295023918152,
0.17678527534008026,
-0.044749174267053604,
0.2707516849040985,
0.00934530794620514,
0.04468590021133423,
0.21540668606758118,
0.2782875597476959,
0.33029818534851074,
-0.0016548852436244488,
-0.2491442859172821,
-0.22282564640045166,
0.05630629509687424,
0.10598118603229523,
0.1817086786031723,
-0.24027301371097565,
-0.1508600413799286,
-0.23148289322853088,
0.07767043262720108,
0.02724187821149826,
-0.20849668979644775,
0.27492231130599976,
0.0467882975935936,
0.4856116771697998,
0.29131558537483215,
-0.216117724776268,
0.28940942883491516,
-0.07068140059709549,
0.20305804908275604,
-0.31418776512145996,
0.3132789134979248,
-0.170461043715477,
-0.08103109896183014,
0.24890771508216858,
0.3151203989982605,
-0.006789535284042358,
-0.1510172188282013,
-0.028570879250764847,
0.23794370889663696,
-0.3230617344379425,
0.06750370562076569,
0.27600041031837463,
0.060895465314388275,
0.006859231740236282,
-0.3545847535133362,
0.06617166101932526,
-0.034722715616226196,
0.10702943801879883,
0.07501842826604843,
-0.006090320646762848,
0.2346143126487732,
-0.04053634777665138,
0.11805563420057297,
0.086408331990242,
0.2939910292625427,
0.5806789398193359,
0.1721525490283966,
-0.14514973759651184,
-0.08391384035348892,
0.07111229002475739,
-0.34252041578292847,
0.2790350019931793,
-0.21934394538402557,
-0.19182787835597992,
0.029560066759586334,
0.2969754934310913,
-0.010613599792122841,
-0.06165727227926254,
0.23798829317092896,
-0.2565305233001709,
0.0416484996676445,
0.03658020496368408,
0.2131396383047104,
0.280184805393219,
0.3061869144439697,
-0.014422673732042313,
0.15214502811431885,
-0.0207858607172966,
-0.17865924537181854,
0.126822829246521,
0.03319722041487694,
0.0013123921817168593,
-0.046808525919914246,
0.00022171856835484505,
-0.02613942325115204,
-0.40861719846725464,
-0.1547628939151764,
-0.4498315751552582,
0.17960771918296814,
-0.012143116444349289,
-0.057635582983493805,
-0.2008187472820282,
-0.42852962017059326,
-0.06395527720451355,
-0.3473837971687317,
-0.43214547634124756,
-0.3055025339126587,
-0.08692985028028488,
0.12303997576236725,
0.05128889158368111,
0.2503718435764313,
-0.03449669107794762,
0.22766046226024628,
0.05683603882789612,
0.12651024758815765,
-0.2285926192998886,
-0.0626283586025238,
-0.09758060425519943,
0.15788769721984863,
0.07499712705612183,
0.148607075214386,
0.46976596117019653,
-0.17266440391540527,
0.24277345836162567,
-0.3078087568283081,
-0.3838958442211151,
-0.0681610107421875,
-0.11700256168842316,
0.13506919145584106,
0.4359370768070221,
0.2606772482395172,
0.10730944573879242,
-0.30654487013816833,
0.37730488181114197,
-0.3965025842189789,
-0.22219358384609222,
-0.17472030222415924,
-0.1398114562034607,
-0.19042855501174927,
-0.1356688290834427,
-0.07158707827329636,
-0.32900160551071167,
-0.32163262367248535,
0.4432862401008606,
0.003281485289335251,
0.01386987790465355,
-0.11503123492002487,
0.14915670454502106,
0.3548088073730469,
-0.31912219524383545,
0.09547704458236694,
-0.24157559871673584,
-0.5166893005371094,
0.1373102366924286,
-0.24563626945018768,
-0.5283467769622803,
0.2935692071914673,
0.06827308237552643,
0.3508424460887909,
-0.3473392724990845,
-0.3184230327606201,
-0.2784532308578491,
-0.2883041203022003,
0.06398621201515198,
0.05375988408923149,
0.13042671978473663,
0.3673381507396698,
-0.055444709956645966,
-0.15850098431110382,
-0.04018542915582657,
-0.3671456277370453,
0.02358897030353546,
-0.2736009657382965,
0.21289551258087158,
-0.011549253016710281,
0.5309566259384155,
0.003998078405857086,
0.3552601933479309,
0.25606676936149597,
-0.017917994409799576,
0.22434599697589874,
-0.08521231263875961,
0.36942532658576965,
-0.1641629934310913,
-0.44510191679000854,
0.14526277780532837,
-0.016322165727615356,
0.3346743583679199,
0.1585913747549057,
0.21558427810668945,
0.2309572398662567,
-0.2864501178264618,
-0.22611571848392487,
-0.23001420497894287,
-0.15614308416843414,
-0.26805856823921204,
0.09966021776199341,
-0.10239755362272263,
-0.010520178824663162,
-0.001237776130437851,
-0.15582731366157532,
-0.08005008101463318,
0.05618793144822121,
0.4081966280937195,
-0.01666439324617386,
0.20635314285755157,
-0.4561302065849304,
0.016485191881656647,
-0.6440912485122681,
0.2902688980102539,
-0.10891913622617722,
0.11691442877054214,
-0.19101761281490326,
-0.06484142690896988,
0.10818642377853394,
-0.11425068229436874,
0.7474419474601746,
0.21497778594493866,
-0.04583332687616348,
-0.03717298060655594,
-0.2370031774044037,
-0.21696655452251434,
0.017553240060806274,
0.10226479172706604,
0.0018341313116252422,
0.191014364361763,
0.2641952633857727,
-0.16336143016815186,
-0.27797916531562805,
0.2271229326725006,
-0.06334856152534485,
-0.08076830953359604,
-0.11961600929498672,
-0.1826629638671875,
-0.3779200613498688,
-0.22931139171123505,
-0.010689355432987213,
-0.08028172701597214,
0.3667837083339691,
0.0375741645693779,
-0.11852546036243439,
-0.0972493439912796,
-0.2570384740829468,
0.09077699482440948,
0.20769423246383667,
0.06610175967216492,
0.024723494425415993,
0.12022368609905243,
0.3205240070819855,
0.2657812237739563,
0.28666558861732483,
0.39436861872673035,
0.1303093582391739,
-0.3760017156600952,
-0.02770240232348442,
0.0071178218349814415,
0.2320280373096466,
0.1390186846256256,
-0.2231500744819641,
0.27718430757522583,
0.0751577764749527,
0.3167055547237396,
-0.3357447385787964,
-0.024805964902043343,
0.36931249499320984,
0.2216693013906479,
-0.11890892684459686,
-0.11890161037445068,
0.21033048629760742,
0.01075572520494461,
0.09943339228630066,
0.19749362766742706,
0.5864680409431458,
-0.050374701619148254,
0.14079366624355316,
-0.12893208861351013,
0.8587400913238525,
-0.17299222946166992,
0.059692978858947754,
0.10392343997955322,
-0.18045276403427124,
0.7909549474716187,
0.07505959272384644,
-0.010505098849534988,
-0.1966327726840973,
-0.1860005408525467,
0.03896736353635788,
-0.08275309205055237,
0.3374517858028412,
-0.2728671431541443,
-0.006035219877958298,
0.14844360947608948,
0.07439656555652618,
0.24659864604473114,
-0.09035326540470123,
0.12256348133087158,
-0.11507014185190201,
-0.13506220281124115,
-0.4238070547580719,
0.29557856917381287,
0.05254600569605827,
0.5171594023704529,
-0.04675403609871864,
-0.23806419968605042,
-0.14744003117084503,
-0.31924527883529663,
-0.23778687417507172,
0.06776916235685349,
0.027591228485107422,
-0.011949915438890457,
0.2533758282661438,
-0.11834987252950668,
0.041780684143304825,
0.32518020272254944,
0.37420397996902466,
0.1307637244462967,
-0.3935612738132477,
0.07356752455234528,
-0.2684691548347473,
-0.2233150601387024,
-0.15342256426811218,
0.26870211958885193,
0.0900087058544159,
-0.21402135491371155,
-0.13471440970897675,
0.1969277560710907,
0.1610652059316635,
-0.16611023247241974,
-0.12854644656181335,
-0.11348666250705719,
-0.32863569259643555,
-0.18341480195522308,
-0.1063455194234848,
-0.1068623811006546,
0.060945238918066025,
-0.23376548290252686,
0.21678949892520905,
0.1759258210659027,
-0.19009730219841003,
-0.15611258149147034,
0.2755555808544159,
-0.05214532092213631,
-0.03953265771269798,
0.5391178727149963,
-0.16661474108695984,
-0.19350691139698029,
0.36953026056289673,
0.1841917335987091,
-0.19761909544467926,
-0.20241239666938782,
-0.23599132895469666,
0.36322563886642456,
-0.4715959131717682,
-0.032978788018226624,
0.18500743806362152,
-0.018784761428833008,
0.003776681376621127,
0.12303273379802704,
0.21246977150440216,
-0.20785066485404968,
0.11336423456668854,
-0.3853943943977356,
-0.5158318877220154,
0.2861068844795227,
-0.04985925182700157,
0.21165584027767181,
-0.042658232152462006,
0.43337053060531616,
0.06293587386608124,
0.08440932631492615,
-0.41753166913986206,
0.03812612593173981,
-0.2708224654197693,
-0.16022801399230957,
-0.02431720495223999,
-0.2146626114845276,
0.3230576813220978,
0.043704137206077576,
0.2889896035194397,
-0.008658122271299362,
-0.4189889132976532,
-0.2767115533351898,
-0.042488597333431244,
0.02545258402824402,
-0.05070510506629944,
-0.13357973098754883,
0.1350361406803131,
-0.16418816149234772,
-0.16903118789196014,
-0.020244117826223373,
0.1385888159275055,
0.2416801154613495,
0.026136577129364014,
-0.08398526161909103,
0.13958008587360382,
-0.05284688621759415,
-0.0023196078836917877,
0.048275917768478394,
0.14499980211257935,
0.14125967025756836,
-0.0748838484287262,
-0.07461610436439514,
-0.3047424554824829,
-0.087373286485672,
0.024252966046333313,
0.10728172957897186,
0.02478538453578949,
-0.03895244747400284,
0.2696344256401062,
-0.08751830458641052,
-0.11884576082229614,
0.17329339683055878,
0.6467877626419067,
0.09918567538261414,
-0.10121610760688782,
0.3181516230106354,
0.2585597038269043,
0.2481141835451126,
-0.46966177225112915,
-0.051695726811885834,
0.04335303604602814,
0.06584542244672775,
-0.07240969687700272,
0.0034569427371025085,
0.01574479416012764,
-0.0013172626495361328,
0.08479417115449905,
0.03945515304803848,
0.3680611252784729,
-0.152516707777977,
0.21276161074638367,
0.2981661558151245,
0.061551306396722794,
-0.021719645708799362,
0.2573702335357666,
0.20607170462608337,
0.15578565001487732,
0.4488229751586914,
-0.33392253518104553,
0.2098376601934433,
-0.370053231716156,
0.218611478805542,
0.004590258002281189,
-0.2674552798271179,
-0.18446259200572968,
0.04442954063415527,
-0.03078320622444153,
-0.23940876126289368,
-0.24904131889343262,
0.44036126136779785,
-0.236471027135849,
-0.1967809647321701,
-0.3007943630218506,
0.27219924330711365,
-0.09363161772489548,
-0.3123004734516144,
0.08338288962841034,
-0.211421936750412,
0.16324900090694427,
-0.13420362770557404,
0.09230109304189682,
-0.21549002826213837,
0.2986692786216736,
-0.19105322659015656,
0.030688807368278503,
-0.37901848554611206,
-0.34175294637680054,
0.10061726719141006,
0.0817704051733017,
0.10279887914657593,
0.13981521129608154,
0.10216478258371353,
-0.0774204283952713,
0.14952290058135986,
0.44956544041633606,
0.4510248303413391,
0.1356549710035324,
0.2426743507385254,
0.16984708607196808,
-0.2272648960351944,
-0.12598790228366852,
-0.010740724392235279,
0.31426939368247986,
0.27913206815719604,
0.045325178653001785,
0.2673901319503784,
0.25463590025901794,
-0.21563024818897247,
0.07089313119649887,
-0.15342877805233002,
0.3682321012020111,
-0.17059488594532013,
0.19544082880020142,
-0.44654858112335205,
-0.008283481001853943,
-0.3041037321090698,
0.20655880868434906,
-0.39229387044906616,
0.03034793958067894,
0.01159324124455452,
-0.13884468376636505,
0.032486312091350555,
-0.34602704644203186,
0.15928111970424652,
-0.04558700695633888,
0.5311891436576843,
0.24245566129684448,
0.3454272747039795,
0.07570675015449524,
-0.3340870141983032,
-0.4518873989582062,
0.023364819586277008,
-0.03879302367568016,
0.18904821574687958,
-0.20422714948654175,
-0.04236837476491928,
-0.028079383075237274,
-0.044406548142433167,
0.1455201357603073,
-0.05603693798184395,
0.02071094885468483,
-0.22696322202682495,
-0.16576038300991058,
-0.07350270450115204,
-0.2578939199447632,
-0.0830431655049324,
0.11162717640399933,
0.03629802167415619,
0.15153516829013824,
-0.26379865407943726,
0.10115336626768112,
0.07036690413951874,
0.5182720422744751,
-0.19159384071826935,
-0.12131674587726593,
0.19178809225559235,
0.10847974568605423,
0.22774897515773773,
0.028431154787540436,
0.01283302716910839,
-0.302417129278183,
-0.40640801191329956,
-0.17538970708847046,
0.2050897777080536,
0.051795843988657,
0.32519519329071045,
-0.1819048970937729,
-0.25654470920562744,
-0.15854395925998688,
0.19496947526931763,
0.010983195155858994,
0.24202454090118408,
-0.22205723822116852,
0.3535386621952057,
-0.03861388564109802,
0.0018599622417241335,
0.38704851269721985,
0.12967589497566223,
-0.09725528955459595,
0.10255446285009384,
-0.12590497732162476,
-0.21236653625965118,
0.6435744762420654,
-0.24124988913536072,
0.051718819886446,
-0.0005431901663541794,
0.09380798041820526,
0.2518317997455597,
-0.410326212644577,
-0.4838002622127533,
0.2961052656173706,
0.14209307730197906,
0.17741715908050537,
-0.09353025257587433,
0.3457144796848297,
-0.2220902144908905,
-0.11391180753707886,
0.0008393153548240662,
0.38056549429893494,
0.03730970248579979,
-0.020749304443597794,
0.22429567575454712,
-0.05143895000219345
] |
https://github.com/huggingface/datasets/issues/1729 | Is there support for Deep learning datasets? | Hi @ZurMaD!
Thanks for your interest in 🤗 `datasets`. Support for image datasets is at an early stage, with CIFAR-10 added in #1617
MNIST is also on the way: #1730
If you feel like adding another image dataset, I would advise starting by reading the [ADD_NEW_DATASET.md](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md) guide. New datasets are always very much appreciated 🚀
| I looked around this repository and looking the datasets I think that there's no support for images-datasets. Or am I missing something? For example to add a repo like this https://github.com/DZPeru/fish-datasets | 55 | Is there support for Deep learning datasets?
I looked around this repository and looking the datasets I think that there's no support for images-datasets. Or am I missing something? For example to add a repo like this https://github.com/DZPeru/fish-datasets
Hi @ZurMaD!
Thanks for your interest in 🤗 `datasets`. Support for image datasets is at an early stage, with CIFAR-10 added in #1617
MNIST is also on the way: #1730
If you feel like adding another image dataset, I would advise starting by reading the [ADD_NEW_DATASET.md](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md) guide. New datasets are always very much appreciated 🚀
| [
-0.24644486606121063,
-0.07323756814002991,
-0.2349894642829895,
-0.09773345291614532,
0.28045952320098877,
0.03026381880044937,
0.22501900792121887,
0.08640463650226593,
0.08424615859985352,
0.2471516728401184,
-0.017077002674341202,
0.02811894565820694,
-0.3046902120113373,
0.3419502079486847,
0.2932601273059845,
-0.166852667927742,
0.3030382990837097,
0.029771588742733,
0.11244630813598633,
-0.1883489340543747,
-0.10116700828075409,
-0.06209821254014969,
-0.17911723256111145,
-0.32009416818618774,
-0.19097431004047394,
-0.0778026208281517,
-0.2675435245037079,
-0.29248955845832825,
-0.23476053774356842,
-0.23871183395385742,
0.32721006870269775,
0.03727896139025688,
0.25753703713417053,
0.6088257431983948,
-0.0001094965627999045,
0.0936008095741272,
0.18885187804698944,
0.03450006991624832,
0.19021914899349213,
-0.24890519678592682,
-0.4143953323364258,
-0.3501294255256653,
-0.09920086711645126,
-0.16305114328861237,
-0.14173752069473267,
-0.16599592566490173,
0.3405526280403137,
-0.09209112077951431,
0.21361757814884186,
0.10949971526861191,
0.19093774259090424,
0.028652798384428024,
0.1526859998703003,
-0.012451277114450932,
0.1259145587682724,
0.4637607932090759,
-0.4192468523979187,
0.07872693985700607,
0.3635123372077942,
-0.08408757299184799,
0.306164026260376,
0.39106062054634094,
-0.04155556485056877,
-0.0781775563955307,
0.0574287474155426,
0.1204647496342659,
0.00957179069519043,
-0.6005344390869141,
-0.06937110424041748,
0.3455684185028076,
0.4273533523082733,
0.16948924958705902,
-0.4737812876701355,
-0.27420562505722046,
0.1135307103395462,
-0.30567309260368347,
-0.36391115188598633,
0.3375839591026306,
0.08543722331523895,
-0.027484063059091568,
-0.5430439114570618,
-0.5504978895187378,
-0.17162270843982697,
0.35259509086608887,
0.0071943774819374084,
0.16531482338905334,
0.03432906046509743,
0.05962268263101578,
0.027578558772802353,
-0.04640187323093414,
-0.03501180559396744,
-0.12185057997703552,
-0.03548574075102806,
0.18907111883163452,
-0.3749035894870758,
-0.3790487051010132,
-0.3840421438217163,
-0.048944711685180664,
0.37863993644714355,
0.1953842043876648,
0.026818931102752686,
0.07276053726673126,
-0.5005359053611755,
0.19832178950309753,
0.2776097059249878,
-0.048788316547870636,
-0.5262481570243835,
0.2384261190891266,
0.49929141998291016,
-0.10259632021188736,
0.26863136887550354,
0.018273597583174706,
-0.2126101553440094,
0.0345904715359211,
-0.09597834199666977,
-0.3556537330150604,
0.08203338086605072,
0.055513735860586166,
0.2450484037399292,
-0.3079967796802521,
-0.20412766933441162,
-0.16344916820526123,
-0.002869316376745701,
-0.0029014423489570618,
-0.029965482652187347,
-0.054921478033065796,
-0.0771602988243103,
0.3101505637168884,
0.0049462951719760895,
-0.20315849781036377,
-0.007723280228674412,
0.14468544721603394,
-0.3078579306602478,
0.15878191590309143,
0.15611632168293,
-0.03483935445547104,
0.16974645853042603,
-0.3572034239768982,
0.27491703629493713,
0.12190563976764679,
0.1673985719680786,
-0.18886932730674744,
0.018428266048431396,
0.4009961485862732,
-0.1780541092157364,
-0.39729931950569153,
-0.09998153150081635,
0.1693810671567917,
-0.10833854228258133,
0.06791478395462036,
-0.4045158326625824,
0.07208220660686493,
-0.22084568440914154,
0.11230117082595825,
-0.026545705273747444,
-0.31007906794548035,
-0.5300797820091248,
0.4608229398727417,
-0.1473255753517151,
-0.10776184499263763,
0.14823895692825317,
-0.051006413996219635,
-0.3330502510070801,
-0.16780774295330048,
0.3007890582084656,
-0.0945538878440857,
-0.16571007668972015,
-0.11411572992801666,
-0.36241796612739563,
0.2976296544075012,
-0.009521745145320892,
0.18031752109527588,
-0.10277638584375381,
-0.147050678730011,
-0.015649305656552315,
0.1419147253036499,
0.4793447256088257,
-0.11607538163661957,
-0.1822013258934021,
-0.09772595018148422,
0.39836639165878296,
-0.34024208784103394,
-0.21297812461853027,
0.48648449778556824,
0.2005528211593628,
0.07317156344652176,
-0.27010151743888855,
0.3275514841079712,
-0.14038507640361786,
-0.18258602917194366,
0.16475404798984528,
-0.2831169664859772,
-0.23802514374256134,
0.4602389633655548,
0.4331452250480652,
-0.012694738805294037,
0.34756651520729065,
-0.21914424002170563,
-0.16257479786872864,
-0.006864290684461594,
0.0831417441368103,
-0.01991090178489685,
0.6625739932060242,
0.12918885052204132,
0.10370448231697083,
-0.3360138237476349,
-0.09761574119329453,
0.27039834856987,
0.2004431039094925,
0.41440948843955994,
0.09118688851594925,
0.01190664991736412,
0.2750263214111328,
0.20267291367053986,
-0.08726923167705536,
-0.15728680789470673,
0.007864117622375488,
-0.1088455319404602,
0.10644115507602692,
0.030888225883245468,
-0.3539697527885437,
0.037210188806056976,
-0.09234070032835007,
0.2923874258995056,
-0.21964572370052338,
0.6330333352088928,
-0.1056520864367485,
-0.01547050941735506,
0.07860275357961655,
0.19630597531795502,
-0.18792343139648438,
-0.10498315095901489,
0.2716381251811981,
0.05107812210917473,
-0.01525474525988102,
-0.06815218925476074,
0.33800429105758667,
0.4709872603416443,
0.5233405232429504,
-0.6096272468566895,
0.14757069945335388,
0.012997902929782867,
0.02296449989080429,
0.018382109701633453,
-0.22319936752319336,
0.26364725828170776,
-0.06077823415398598,
0.26345229148864746,
-0.08059832453727722,
0.05522578954696655,
0.24242976307868958,
-0.01765020191669464,
-0.18630245327949524,
0.03401785343885422,
-0.13547207415103912,
-0.23175476491451263,
0.07779937982559204,
-0.31334978342056274,
-0.3291059136390686,
-0.42148566246032715,
-0.03250080719590187,
-0.0755663737654686,
0.13211338222026825,
0.26522380113601685,
-0.14665159583091736,
0.13609516620635986,
0.28101208806037903,
0.45808151364326477,
0.2789265513420105,
0.2799293100833893,
-0.12671296298503876,
-0.20050019025802612,
-0.08994049578905106,
0.011150846257805824,
-0.006855502724647522,
0.2319171279668808,
0.4414566457271576,
-0.0922074094414711,
0.2556329071521759,
0.08631914854049683,
-0.2216322422027588,
-0.17619603872299194,
-0.09464158862829208,
-0.0566558912396431,
0.23196229338645935,
-0.06031566858291626,
-0.09358725696802139,
-0.48711448907852173,
0.1330735683441162,
0.1424446403980255,
-0.3022163212299347,
-0.0720267966389656,
0.038921043276786804,
-0.28114572167396545,
0.31091031432151794,
0.2504757344722748,
-0.1876748651266098,
0.5262498259544373,
-0.11410578340291977,
0.1686607152223587,
-0.30026233196258545,
0.021966062486171722,
0.0994815081357956,
0.16732420027256012,
0.10265422612428665,
-0.3192419111728668,
0.39416396617889404,
0.4315933287143707,
-0.002545746974647045,
-0.25961607694625854,
-0.6218692660331726,
0.344294935464859,
-0.19615599513053894,
0.18737031519412994,
-0.003836110234260559,
0.038285646587610245,
0.11278358101844788,
0.31848275661468506,
0.1826593577861786,
-0.2116437405347824,
-0.15642628073692322,
-0.33935606479644775,
0.034830491989851,
-0.12658308446407318,
-0.12625832855701447,
0.2830403745174408,
-0.4299687445163727,
-0.01982041820883751,
0.17550033330917358,
0.2003929764032364,
-0.07571697235107422,
0.36030301451683044,
0.44191840291023254,
-0.196856290102005,
0.01535441167652607,
-0.13859979808330536,
-0.014558108523488045,
-0.284270316362381,
0.44481587409973145,
-0.1399223655462265,
-0.25317052006721497,
0.36713939905166626,
-0.07292616367340088,
0.08277297019958496,
0.25627654790878296,
-0.6753509044647217,
-0.11125405132770538,
-0.2079390585422516,
0.03386719152331352,
0.21405160427093506,
0.06287938356399536,
-0.009219825267791748,
-0.21107932925224304,
-0.05797528475522995,
-0.07090175151824951,
-0.2626715302467346,
-0.11915048211812973,
0.23778694868087769,
0.33084237575531006,
0.33374741673469543,
0.3474176526069641,
-0.05082631856203079,
0.29551559686660767,
0.041845884174108505,
-0.30430901050567627,
0.5080927610397339,
0.17084567248821259,
0.3578542470932007,
-0.08226766437292099,
-0.07307669520378113,
0.15497314929962158,
-0.013997673988342285,
-0.1258409321308136,
-0.16600511968135834,
0.3011249601840973,
-0.2082643210887909,
-0.38100606203079224,
0.19943058490753174,
-0.23395147919654846,
0.20778308808803558,
-0.2149604856967926,
-0.3136374056339264,
0.3180966377258301,
-0.2900024652481079,
-0.2464132010936737,
-0.013235483318567276,
-0.05523531883955002,
-0.25240057706832886,
0.330202579498291,
0.3994358479976654,
-0.08752571791410446,
-0.4125703275203705,
-0.06416604667901993,
-0.33557918667793274,
0.13413365185260773,
-0.14401572942733765,
0.12938988208770752,
-0.24952319264411926,
0.5356863737106323,
0.048614371567964554,
0.10782630741596222,
0.43286287784576416,
-0.4323403835296631,
-0.45858126878738403,
-0.24890656769275665,
-0.28406572341918945,
0.24904711544513702,
0.013783160597085953,
0.032250795513391495,
-0.08042872697114944,
-0.12851426005363464,
0.4602338969707489,
0.11613079160451889,
-0.05634431540966034,
0.5523476600646973,
-0.24045565724372864,
-0.22365878522396088,
-0.22069185972213745,
0.07541036605834961,
-0.05892540141940117,
-0.1352546513080597,
-0.21695777773857117,
-0.01271850150078535,
-0.21579885482788086,
0.19387510418891907,
-0.32508137822151184,
-0.21726663410663605,
-0.2820441722869873,
0.08357778936624527,
-0.1445716917514801,
-0.08605526387691498,
0.20582692325115204,
0.07759717106819153,
-0.04323764890432358,
0.24649612605571747,
0.4906103312969208,
0.3285127878189087,
-0.2036205530166626,
-0.35078874230384827,
0.10243076086044312,
0.05131028592586517,
0.32661405205726624,
-0.001698508858680725,
0.11388444900512695,
-0.02884923666715622,
0.06645376980304718,
0.08316448330879211,
-0.29916325211524963,
0.007961900904774666,
0.5065003037452698,
0.20991316437721252,
-0.34406739473342896,
-0.411104291677475,
0.3037989139556885,
-0.080354243516922,
0.14578771591186523,
0.060341980308294296,
0.2356184720993042,
-0.09858258813619614,
0.19969722628593445,
0.21827024221420288,
0.7865884900093079,
-0.36613041162490845,
0.021722925826907158,
-0.16995549201965332,
-0.027644798159599304,
0.6699267029762268,
-0.10178999602794647,
0.10049106925725937,
0.1861000508069992,
-0.06974884122610092,
-0.1985664963722229,
-0.028191693127155304,
0.0019199363887310028,
0.07110454142093658,
0.1636199802160263,
0.22250954806804657,
0.5093087553977966,
0.061502061784267426,
-0.0986594557762146,
0.13907863199710846,
0.22852779924869537,
-0.15872907638549805,
-0.11399118602275848,
0.2322119176387787,
-0.11731727421283722,
-0.01472184807062149,
-0.16918694972991943,
-0.1279061734676361,
-0.16675284504890442,
0.3324783444404602,
-0.46153509616851807,
-0.17303654551506042,
0.08758315443992615,
0.12779897451400757,
0.1244049221277237,
-0.47753506898880005,
0.33798256516456604,
0.3541284501552582,
0.35768240690231323,
-0.005958829075098038,
-0.2773001194000244,
0.25427526235580444,
-0.18211504817008972,
-0.2067137360572815,
-0.2546041011810303,
-0.17137178778648376,
0.12316756695508957,
-0.028339561074972153,
-0.26739633083343506,
-0.003028556704521179,
0.15654639899730682,
-0.5180784463882446,
-0.4821404814720154,
0.06988257169723511,
0.2820664346218109,
0.3480665683746338,
0.03509872406721115,
0.195447638630867,
-0.09000813961029053,
-0.0028619691729545593,
0.17463284730911255,
0.27467936277389526,
0.212520569562912,
0.19042792916297913,
0.2809979319572449,
0.006461210548877716,
-0.2811053693294525,
0.14418400824069977,
0.1661396026611328,
-0.04005694389343262,
0.20799441635608673,
0.09245733916759491,
-0.06520172953605652,
-0.1144261434674263,
0.2407439649105072,
0.3130515515804291,
-0.06806544214487076,
-0.12127525359392166,
-0.18047958612442017,
0.1700887233018875,
0.03685175999999046,
-0.025045115500688553,
0.1844710409641266,
-0.32682040333747864,
-0.13324511051177979,
-0.31801074743270874,
0.1126064583659172,
0.2135601043701172,
-0.47561654448509216,
0.4511297047138214,
-0.12478626519441605,
-0.07264848053455353,
0.14553917944431305,
0.07090985774993896,
-0.2572883367538452,
-0.0732545554637909,
-0.135803684592247,
-0.12266625463962555,
0.18987640738487244,
0.17702165246009827,
-0.07779152691364288,
-0.28032854199409485,
0.0019590798765420914,
-0.13295859098434448,
-0.18066900968551636,
-0.1255866289138794,
0.30361685156822205,
0.1159868836402893,
0.24534013867378235,
-0.15406428277492523,
-0.11418068408966064,
-0.09836189448833466,
-0.37988120317459106,
-0.02916843816637993,
-0.08696463704109192,
-0.031811609864234924,
-0.0399777814745903,
0.14036940038204193,
0.2658536732196808,
-0.07295007258653641,
0.13833443820476532,
0.21483232080936432,
0.014339767396450043,
0.4625810384750366,
0.3712095320224762,
-0.06501792371273041,
0.4889167249202728,
-0.07548820972442627,
-0.17432808876037598,
0.09029000252485275,
-0.13493309915065765,
-0.2563120126724243,
0.7665200233459473,
-0.10004618763923645,
0.25603416562080383,
0.09462495148181915,
0.37291038036346436,
-0.031929127871990204,
-0.2949266731739044,
0.3698740005493164,
0.2496504783630371,
0.1652740240097046,
-0.17048348486423492,
-0.18488270044326782,
0.04368317872285843,
0.22500216960906982,
-0.0009230673313140869,
0.17805328965187073,
0.20210278034210205,
0.38231855630874634,
-0.1252901256084442,
0.12187685817480087,
0.4000949561595917,
-0.1958666890859604,
0.3291005492210388,
-0.1569533348083496,
0.16400891542434692,
0.19832591712474823,
0.012740619480609894,
0.2278692126274109,
0.06348001956939697,
0.27660632133483887,
-0.032578326761722565,
0.5885306596755981,
0.1290861964225769,
0.056767940521240234,
0.5713598728179932,
-0.13182483613491058,
0.06873846054077148,
0.11271633207798004,
-0.027413904666900635,
0.021077964454889297,
-0.14109569787979126,
0.11856000870466232,
-0.09486443549394608,
-0.10927724838256836,
-0.15502771735191345,
0.07047367095947266,
0.10490839928388596,
0.12729157507419586,
-0.5323835015296936,
-0.016764648258686066,
-0.165636345744133,
0.12194018065929413,
-0.0024041086435317993,
-0.23314867913722992,
0.013463437557220459,
0.09717133641242981,
-0.18145982921123505,
0.08354779332876205,
0.02969893254339695,
0.21491491794586182,
0.07937980443239212,
-0.0034220628440380096,
0.22481893002986908,
0.04902361333370209,
-0.2759847044944763,
0.0976133644580841,
0.4896700084209442,
0.12539111077785492,
0.051601581275463104,
0.037133146077394485,
0.022630318999290466,
0.014387953095138073,
-0.18557168543338776,
0.1290099322795868,
0.0461355522274971,
-0.016813308000564575,
-0.13573575019836426,
-0.05820363387465477,
0.1124752014875412,
0.060541100800037384,
0.25606656074523926,
-0.17245252430438995,
0.12309823930263519,
-0.34395796060562134,
-0.1288018524646759,
-0.1697559505701065,
-0.07529402524232864,
-0.10728877782821655,
0.1784670352935791,
-0.3433595895767212,
0.04913802444934845,
0.3856395483016968,
-0.4856765866279602,
-0.18871858716011047,
0.13205952942371368,
0.05755455046892166,
-0.4405556917190552,
0.26369214057922363,
0.4373851418495178,
0.07806995511054993,
-0.0032713497057557106,
-0.36522722244262695,
-0.10106460750102997,
-0.16277560591697693,
-0.28627726435661316,
0.03840813785791397,
-0.05835037678480148,
0.07664508372545242,
0.24143260717391968,
0.1381833255290985,
0.12782686948776245,
-0.3685333728790283,
0.15562650561332703,
0.046025246381759644,
-0.2545471787452698,
-0.16933953762054443,
-0.06193739175796509,
0.2793898582458496,
0.003531787544488907,
0.20721301436424255,
0.250681608915329,
-0.27907148003578186,
-0.09127096831798553,
0.026761651039123535,
0.11747817695140839,
-0.24658888578414917,
0.06167103722691536,
0.3384704887866974,
0.05654512345790863,
0.19378885626792908,
-0.14571088552474976,
0.03912553936243057,
0.014570925384759903,
-0.2286938726902008,
-0.09868815541267395,
0.105705127120018,
-0.1536148637533188,
0.2978627383708954,
-0.251507043838501,
-0.17781366407871246,
0.04292486980557442,
-0.17012013494968414,
-0.15728628635406494,
-0.27633967995643616,
-0.03532835841178894,
-0.12039533257484436,
-0.04963455721735954,
-0.09830007702112198,
0.29217904806137085,
-0.10227832943201065,
-0.038511745631694794,
-0.3568788766860962,
-0.04759218543767929,
0.038505010306835175,
0.14550234377384186,
-0.21581341326236725,
0.16055339574813843,
-0.17482002079486847,
-0.3451704978942871,
-0.01888994872570038,
0.2482507973909378,
-0.4402967095375061,
-0.1968698352575302,
0.2989645004272461,
0.21308079361915588,
-0.15647770464420319,
0.4072245657444,
0.5054078698158264,
-0.10118843615055084,
0.018134575337171555,
0.14272353053092957,
-0.11180741339921951,
0.010719725862145424,
-0.20218738913536072,
-0.1147717833518982
] |
https://github.com/huggingface/datasets/issues/1728 | Add an entry to an arrow dataset | Hi @ameet-1997,
I think what you are looking for is the `concatenate_datasets` function: https://huggingface.co/docs/datasets/processing.html?highlight=concatenate#concatenate-several-datasets
For your use case, I would use the [`map` method](https://huggingface.co/docs/datasets/processing.html?highlight=concatenate#processing-data-with-map) to transform the SQuAD sentences and the `concatenate` the original and mapped dataset.
Let me know If this helps! | Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training set
squad_dataset = load_dataset('squad')
print(squad_dataset['train'][0])
```
Is it possible to add an entry to `squad_dataset`? Something like the following?
``` python
squad_dataset.append({'text': "This is a new sentence"})
```
The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset.
If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
| 43 | Add an entry to an arrow dataset
Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training set
squad_dataset = load_dataset('squad')
print(squad_dataset['train'][0])
```
Is it possible to add an entry to `squad_dataset`? Something like the following?
``` python
squad_dataset.append({'text': "This is a new sentence"})
```
The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset.
If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
Hi @ameet-1997,
I think what you are looking for is the `concatenate_datasets` function: https://huggingface.co/docs/datasets/processing.html?highlight=concatenate#concatenate-several-datasets
For your use case, I would use the [`map` method](https://huggingface.co/docs/datasets/processing.html?highlight=concatenate#processing-data-with-map) to transform the SQuAD sentences and the `concatenate` the original and mapped dataset.
Let me know If this helps! | [
0.11835022270679474,
0.12276826798915863,
-0.05486112833023071,
-0.021854199469089508,
0.19739386439323425,
0.30988261103630066,
0.17081813514232635,
-0.16403761506080627,
-0.083701491355896,
-0.0505271852016449,
0.2646124064922333,
0.560971736907959,
-0.20104475319385529,
0.09169738739728928,
0.33518579602241516,
-0.29628774523735046,
0.11421364545822144,
0.04371064156293869,
-0.2922753095626831,
-0.027992911636829376,
0.002118755131959915,
-0.13729090988636017,
0.20075638592243195,
-0.031732216477394104,
-0.2767152488231659,
-0.11822151392698288,
-0.13797062635421753,
-0.2123790681362152,
-0.13848857581615448,
-0.5027136206626892,
0.00878225825726986,
-0.0272245891392231,
0.059072345495224,
0.3376500904560089,
-0.00011704195640049875,
0.09203380346298218,
0.27275359630584717,
0.16274766623973846,
-0.5811192393302917,
-0.3001922369003296,
-0.3158354163169861,
-0.5750213861465454,
0.1763753443956375,
-0.12965127825737,
0.18101224303245544,
-0.3405701220035553,
0.16821978986263275,
-0.5160608887672424,
0.36169636249542236,
0.14408229291439056,
0.1551564633846283,
0.0048570893704891205,
0.3422510325908661,
-0.1587885469198227,
0.13165751099586487,
0.2934282422065735,
-0.16516192257404327,
0.06600488722324371,
0.07759274542331696,
0.1870574802160263,
0.2107713222503662,
0.14330628514289856,
0.23212727904319763,
-0.18394723534584045,
0.5127682685852051,
0.2322121560573578,
-0.09621740132570267,
-0.17912039160728455,
-0.1925230622291565,
0.1984657645225525,
0.6475898623466492,
-0.4157197177410126,
-0.7800765633583069,
-0.3988771140575409,
0.5506303310394287,
-0.16825249791145325,
-0.2445787489414215,
0.23281195759773254,
0.02390211820602417,
0.11698518693447113,
0.06965982168912888,
-0.47165751457214355,
-0.19214975833892822,
0.20137564837932587,
0.044576793909072876,
0.2364698052406311,
0.02339455857872963,
0.09984591603279114,
0.03557175025343895,
-0.11985811591148376,
0.2599286735057831,
0.07915367186069489,
-0.12345878779888153,
0.23875798285007477,
-0.30969056487083435,
0.03517060726881027,
-0.25275662541389465,
-0.12681761384010315,
0.0663556158542633,
-0.029791951179504395,
0.4854212999343872,
-0.10988127440214157,
-0.3336729407310486,
0.07906806468963623,
0.200062096118927,
-0.03427373245358467,
0.14300978183746338,
0.06871835887432098,
-0.3912692666053772,
-0.37917613983154297,
-0.10968063771724701,
-0.21700221300125122,
-0.15509474277496338,
-0.17133449018001556,
0.24242372810840607,
-0.16731005907058716,
0.1473713219165802,
0.31368348002433777,
0.06299638748168945,
-0.09354779124259949,
-0.30201610922813416,
0.05912528187036514,
-0.27255815267562866,
0.06127481907606125,
0.4182109534740448,
0.10915368795394897,
0.17320866882801056,
0.44082456827163696,
0.3726043701171875,
-0.1566443145275116,
0.025316692888736725,
0.05133206397294998,
-0.05437752604484558,
0.3669012188911438,
-0.24234968423843384,
-0.04771796241402626,
0.037112705409526825,
-0.12068117409944534,
0.14560545980930328,
-0.19199955463409424,
0.0828310176730156,
-0.04045116901397705,
0.20583921670913696,
0.007622614502906799,
-0.04460584372282028,
0.1492537409067154,
0.11501511931419373,
-0.1696118712425232,
-0.04309585317969322,
0.20460176467895508,
-0.08266662806272507,
-0.06495263427495956,
-0.4545919597148895,
0.08804531395435333,
-0.02759094163775444,
-0.3335457742214203,
-0.03334783762693405,
0.4336048662662506,
-0.015135705471038818,
0.0004986599087715149,
0.1414937525987625,
0.009133689105510712,
-0.27031901478767395,
-0.16199077665805817,
-0.020643722265958786,
0.15514393150806427,
-0.512889564037323,
-0.4108774662017822,
-0.2430015504360199,
0.09050434827804565,
-0.5492096543312073,
-0.08543157577514648,
-0.1658569574356079,
0.46774718165397644,
0.005220822989940643,
0.04771937429904938,
0.5233310461044312,
-0.11151044070720673,
-0.1672394722700119,
-0.12993651628494263,
-0.3428255319595337,
0.08339715749025345,
-0.0064477697014808655,
0.44393083453178406,
0.16471998393535614,
0.23401093482971191,
0.02834239974617958,
0.22014454007148743,
0.08269696682691574,
-0.3359242081642151,
0.2786368727684021,
0.001566259190440178,
0.20651009678840637,
-0.10582111775875092,
-0.3012520670890808,
-0.02542569488286972,
0.1261385977268219,
-0.1821460723876953,
0.12163832783699036,
-0.21946746110916138,
0.23752428591251373,
0.30601537227630615,
0.16865834593772888,
0.20523658394813538,
-0.12916415929794312,
-0.12267220765352249,
-0.252481609582901,
-0.018562328070402145,
0.18102611601352692,
0.052947547286748886,
-0.05523841083049774,
-0.24196816980838776,
-0.03225363418459892,
0.3225969970226288,
-0.06104472652077675,
0.014852313324809074,
0.031809002161026,
0.07586316019296646,
-0.08194557577371597,
-0.2782069742679596,
-0.39028507471084595,
0.4074021279811859,
-0.008764903992414474,
0.2047671377658844,
-0.22962194681167603,
0.16605417430400848,
0.23639826476573944,
0.003682537004351616,
-0.3240823447704315,
0.21221408247947693,
-0.16403192281723022,
0.08950155973434448,
0.07894540578126907,
0.11347120255231857,
-0.11950568854808807,
0.2341032177209854,
0.14873869717121124,
0.0327497273683548,
0.10801733285188675,
-0.36625897884368896,
0.07632820308208466,
-0.03757293522357941,
0.09542765468358994,
-0.09139949083328247,
-0.3540549874305725,
0.241716206073761,
0.18022705614566803,
0.35804006457328796,
-0.14957857131958008,
0.2765902280807495,
0.10721112787723541,
-0.030082203447818756,
-0.42797720432281494,
-0.2050343006849289,
-0.16185320913791656,
0.01594342663884163,
0.2799842357635498,
-0.17489074170589447,
-0.13895821571350098,
0.0067605674266815186,
-0.025943826884031296,
-0.11930443346500397,
0.10130497813224792,
0.1819252371788025,
-0.568472146987915,
0.2896316647529602,
-0.07359172403812408,
0.30364274978637695,
0.3615443706512451,
0.2742065191268921,
-0.037600886076688766,
0.13564114272594452,
0.14205490052700043,
0.051757097244262695,
0.0522802509367466,
0.11454157531261444,
0.4417298436164856,
0.007774636149406433,
0.48003703355789185,
0.1265680491924286,
-0.0580538734793663,
-0.009665131568908691,
-0.03277578949928284,
-0.030246661975979805,
-0.3340161144733429,
-0.016845539212226868,
-0.051850151270627975,
-0.14167657494544983,
-0.5122770071029663,
-0.1967363953590393,
-0.031198862940073013,
-0.3337022364139557,
-0.05323897302150726,
-0.22858983278274536,
-0.071763776242733,
0.1076776385307312,
0.10494962334632874,
0.24978262186050415,
-0.07660017907619476,
-0.0839085504412651,
0.1579049974679947,
-0.16967712342739105,
0.25820812582969666,
-0.012192996218800545,
-0.04313066974282265,
0.04141177237033844,
0.3619519770145416,
0.09937945753335953,
0.10871068388223648,
-0.3433414697647095,
-0.17978990077972412,
0.034874849021434784,
-0.04590531438589096,
0.1033417135477066,
0.013180635869503021,
0.07263759523630142,
-0.14977937936782837,
-0.2909355163574219,
0.08168679475784302,
0.023718351498246193,
-0.17799681425094604,
-0.192649245262146,
-0.05325218662619591,
-0.054006703197956085,
0.045899782329797745,
-0.044083647429943085,
-0.5674845576286316,
-0.19447025656700134,
0.4599406123161316,
0.1678507775068283,
-0.0582459419965744,
0.1613589972257614,
0.20734679698944092,
0.24436476826667786,
-0.026928337290883064,
-0.054094746708869934,
0.04409991204738617,
-0.10644528269767761,
0.4240250885486603,
-0.19461163878440857,
-0.19155405461788177,
-0.030255846679210663,
-0.3298680782318115,
0.03444833308458328,
0.0987451896071434,
-0.21502447128295898,
0.0016387002542614937,
-0.14541321992874146,
0.21080809831619263,
-0.15218861401081085,
0.10879102349281311,
0.3900871276855469,
0.04943164438009262,
-0.07479743659496307,
-0.138080894947052,
-0.4104959964752197,
0.18764115869998932,
0.26971718668937683,
0.13815951347351074,
-0.039737045764923096,
0.26335129141807556,
0.012613639235496521,
0.38055628538131714,
0.1919936239719391,
-0.30435848236083984,
0.0460214726626873,
-0.3049997091293335,
0.25733456015586853,
-0.06797816604375839,
-0.3093287944793701,
-0.2927863895893097,
-0.3105883002281189,
-0.19266445934772491,
-0.21485371887683868,
0.1429578959941864,
0.031456753611564636,
0.11489389836788177,
0.059979889541864395,
-0.2940513491630554,
-0.1667507439851761,
0.2652807831764221,
-0.581513524055481,
0.2634645700454712,
-0.15130645036697388,
-0.213721364736557,
-0.45624247193336487,
0.057024359703063965,
0.017246296629309654,
0.011930190026760101,
0.2096431702375412,
-0.13022324442863464,
-0.5189206004142761,
-0.10526914149522781,
-0.182560533285141,
0.18704481422901154,
0.2848891317844391,
0.0409298799932003,
0.21111737191677094,
-0.1281002163887024,
-0.054487451910972595,
0.12863288819789886,
0.4015108346939087,
-0.21011729538440704,
-0.502183735370636,
0.31088656187057495,
0.13007986545562744,
-0.5276559591293335,
0.1357315331697464,
0.00011508539319038391,
0.3417447507381439,
0.027972152456641197,
0.10776770114898682,
-0.20611640810966492,
0.33044108748435974,
0.21485492587089539,
0.2868594229221344,
-0.2674979865550995,
-0.17860448360443115,
0.09590567648410797,
0.008099935948848724,
-0.3620215654373169,
-0.21942511200904846,
0.033234886825084686,
0.07828641682863235,
0.40126416087150574,
-0.16483619809150696,
-0.3028607964515686,
0.07894092798233032,
0.1901784986257553,
-0.10190941393375397,
0.1642751693725586,
0.36303961277008057,
0.0984763652086258,
0.22405019402503967,
0.1412561535835266,
0.08414947241544724,
0.5798236727714539,
-0.005579538643360138,
-0.5680827498435974,
-0.3137507438659668,
-0.23845350742340088,
0.6173958778381348,
0.101192906498909,
0.3702191412448883,
0.5125341415405273,
0.07211125642061234,
-0.16071805357933044,
-0.08681271970272064,
0.031626973301172256,
0.16694030165672302,
0.12390678375959396,
-0.4113563001155853,
-0.4321611225605011,
0.5005096197128296,
0.03626016527414322,
-0.01686493307352066,
0.2640678286552429,
0.29282146692276,
-0.4001210331916809,
0.4860455393791199,
0.12194978445768356,
0.9126856923103333,
-0.11458800733089447,
0.3797577917575836,
0.023258604109287262,
-0.3634343147277832,
0.6220877766609192,
0.10609488189220428,
-0.10807362198829651,
-0.10139524936676025,
-0.12340621650218964,
-0.05260127782821655,
-0.2997170090675354,
0.07549485564231873,
0.12754598259925842,
-0.4212496876716614,
-0.15734705328941345,
-0.38438940048217773,
0.06473003327846527,
0.0013179248198866844,
0.28703927993774414,
0.02076541818678379,
-0.3447221517562866,
-0.21620382368564606,
0.12354929745197296,
0.22556033730506897,
-0.174902081489563,
-0.15647128224372864,
-0.20462676882743835,
-0.31682559847831726,
0.05993443727493286,
-0.6070039868354797,
-0.28961381316185,
-0.170637845993042,
-0.15012192726135254,
0.2276557832956314,
-0.5194821953773499,
0.29855379462242126,
0.48069220781326294,
0.2422143667936325,
-0.15057703852653503,
0.010035984218120575,
0.2047695815563202,
-0.0675513818860054,
0.21477212011814117,
0.11308680474758148,
-0.34052813053131104,
0.2628999650478363,
0.220429927110672,
-0.2200184464454651,
0.3842211365699768,
0.10541616380214691,
-0.5912263989448547,
0.2402300238609314,
0.04446921497583389,
0.02964402548968792,
-0.28970614075660706,
-0.27574512362480164,
0.42038029432296753,
0.022381410002708435,
-0.1884148120880127,
0.08962857723236084,
0.14984539151191711,
-0.1582796424627304,
-0.08486809581518173,
0.3082500398159027,
-0.21288065612316132,
0.13401196897029877,
0.06684456765651703,
-0.016156021505594254,
0.08984383940696716,
0.6236748695373535,
0.14867441356182098,
0.0013380497694015503,
-0.06695237755775452,
0.18510222434997559,
0.3109864592552185,
-0.3935835659503937,
-0.003308713436126709,
0.11223069578409195,
0.019517093896865845,
-0.3946283459663391,
-0.10750631988048553,
0.17110931873321533,
0.23161447048187256,
-0.37699010968208313,
-0.25382769107818604,
-0.3830399811267853,
0.32056427001953125,
-0.057648565620183945,
0.20320148766040802,
-0.20920905470848083,
0.22757291793823242,
-0.05032557621598244,
0.42062413692474365,
-0.23816247284412384,
-0.03825979679822922,
0.134492889046669,
0.012355530634522438,
0.23491230607032776,
0.17588117718696594,
-0.1389647275209427,
-0.2987447679042816,
0.09553654491901398,
0.1382969468832016,
0.3021368980407715,
-0.16507601737976074,
-0.21459674835205078,
0.14360885322093964,
0.10847464203834534,
-0.05491998791694641,
-0.07088082283735275,
-0.14403727650642395,
0.3611433506011963,
-0.30572885274887085,
-0.2458445131778717,
0.20380371809005737,
-0.07542470097541809,
0.10357977449893951,
0.40345725417137146,
0.24245792627334595,
-0.14240875840187073,
0.024977628141641617,
0.24372445046901703,
0.1948859691619873,
0.09258377552032471,
0.20050884783267975,
0.1676694005727768,
0.12462034821510315,
-0.11072554439306259,
0.3039933741092682,
0.4095855951309204,
0.0034358948469161987,
0.03075476735830307,
-0.21485202014446259,
0.10172379016876221,
-0.010051202960312366,
0.20326310396194458,
0.14874598383903503,
-0.32353758811950684,
0.46018433570861816,
0.08890445530414581,
0.18340978026390076,
-0.22152239084243774,
0.04920550435781479,
0.28628095984458923,
-0.1571291983127594,
-0.018496494740247726,
0.1438935250043869,
-0.09524744749069214,
0.3241395950317383,
-0.30166810750961304,
-0.03365471214056015,
-0.28221166133880615,
0.06781434267759323,
0.20132608711719513,
0.18109919130802155,
0.2624463737010956,
-0.08671863377094269,
0.10899452865123749,
0.16613951325416565,
0.2174193561077118,
0.1549300253391266,
-0.17978441715240479,
0.23214483261108398,
0.43008795380592346,
-0.03747731074690819,
0.2956375181674957,
0.21659022569656372,
0.20320279896259308,
0.06609224528074265,
0.35156193375587463,
0.002934914082288742,
0.33703479170799255,
0.4048219621181488,
0.30641481280326843,
-0.2324180155992508,
0.08841471374034882,
0.25142666697502136,
0.12402680516242981,
-0.24809394776821136,
-0.09324301779270172,
0.03659990429878235,
-0.028484594076871872,
-0.11214615404605865,
0.0026528537273406982,
-0.5771659016609192,
0.15579918026924133,
-0.045703060925006866,
0.13068996369838715,
-0.3807973563671112,
0.3548988103866577,
0.26985451579093933,
0.08290062844753265,
-0.15741470456123352,
-0.06421055644750595,
-0.13299909234046936,
0.20971238613128662,
0.28740406036376953,
0.46052315831184387,
0.1455058753490448,
0.09012973308563232,
-0.09371630847454071,
0.6465039849281311,
-0.29297351837158203,
-0.1388494223356247,
0.014124494045972824,
-0.11155533790588379,
-0.06822729110717773,
-0.1355384737253189,
0.24333210289478302,
0.16713425517082214,
-0.07678598165512085,
0.1482754796743393,
0.08291032910346985,
0.2942550480365753,
-0.5951108336448669,
0.19253972172737122,
-0.05413281172513962,
-0.18109911680221558,
-0.15055519342422485,
0.2217443287372589,
-0.1482461541891098,
0.03359237313270569,
0.5801295638084412,
-0.22209207713603973,
-0.02911601960659027,
0.1627810150384903,
0.03062187135219574,
0.037020567804574966,
0.31561678647994995,
0.4071691930294037,
0.5021682381629944,
-0.08574491739273071,
-0.14386071264743805,
-0.57343590259552,
-0.06594089418649673,
-0.07921293377876282,
-0.1524409055709839,
-0.03745703399181366,
0.009376943111419678,
0.3101041615009308,
0.336824893951416,
0.30971166491508484,
-0.14137521386146545,
-0.35362228751182556,
0.17103546857833862,
-0.19504772126674652,
-0.3425101339817047,
0.333760142326355,
0.34188660979270935,
0.08029016852378845,
0.11116994172334671,
-0.22852875292301178,
0.16027989983558655,
0.004395883530378342,
-0.03516823425889015,
-0.08192168176174164,
-0.15063312649726868,
-0.07124446332454681,
0.527661919593811,
-0.11534000933170319,
0.36956730484962463,
-0.0902271419763565,
0.08221199363470078,
-0.19225043058395386,
-0.4513826072216034,
-0.44873425364494324,
0.444875031709671,
-0.07231521606445312,
0.34714949131011963,
-0.3197868764400482,
0.01149340532720089,
0.16203573346138,
-0.2662712633609772,
-0.07950073480606079,
-0.14207494258880615,
-0.4082280099391937,
0.3657563328742981,
-0.11456406116485596,
-0.025044720619916916,
-0.14239217340946198,
0.1617487072944641,
0.017603110522031784,
0.2556730806827545,
0.07242591679096222,
-0.15030965209007263,
0.2750244736671448,
-0.30982691049575806,
-0.13333846628665924,
0.22922717034816742,
-0.030589252710342407,
0.14413487911224365,
-0.16572628915309906,
-0.7632927298545837,
-0.17663949728012085,
0.39283138513565063,
-0.07945036888122559,
0.07216599583625793,
0.17347989976406097,
0.06610794365406036,
0.09232991933822632,
-0.1821916103363037,
0.5891464948654175,
-0.17892974615097046,
0.054221369326114655,
-0.46374672651290894,
-0.26025235652923584
] |
https://github.com/huggingface/datasets/issues/1728 | Add an entry to an arrow dataset | That's a great idea! Thank you so much!
When I try that solution, I get the following error when I try to concatenate `datasets` and `modified_dataset`. I have also attached the output I get when I print out those two variables. Am I missing something?
Code:
``` python
combined_dataset = concatenate_datasets([datasets, modified_dataset])
```
Error:
```
AttributeError: 'DatasetDict' object has no attribute 'features'
```
Output:
```
(Pdb) datasets
DatasetDict({
train: Dataset({
features: ['attention_mask', 'input_ids', 'special_tokens_mask'],
num_rows: 493
})
})
(Pdb) modified_dataset
DatasetDict({
train: Dataset({
features: ['attention_mask', 'input_ids', 'special_tokens_mask'],
num_rows: 493
})
})
```
The error is stemming from the fact that the attribute `datasets.features` does not exist. Would it not be possible to use `concatenate_datasets` in such a case? Is there an alternate solution? | Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training set
squad_dataset = load_dataset('squad')
print(squad_dataset['train'][0])
```
Is it possible to add an entry to `squad_dataset`? Something like the following?
``` python
squad_dataset.append({'text': "This is a new sentence"})
```
The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset.
If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
| 123 | Add an entry to an arrow dataset
Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training set
squad_dataset = load_dataset('squad')
print(squad_dataset['train'][0])
```
Is it possible to add an entry to `squad_dataset`? Something like the following?
``` python
squad_dataset.append({'text': "This is a new sentence"})
```
The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset.
If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
That's a great idea! Thank you so much!
When I try that solution, I get the following error when I try to concatenate `datasets` and `modified_dataset`. I have also attached the output I get when I print out those two variables. Am I missing something?
Code:
``` python
combined_dataset = concatenate_datasets([datasets, modified_dataset])
```
Error:
```
AttributeError: 'DatasetDict' object has no attribute 'features'
```
Output:
```
(Pdb) datasets
DatasetDict({
train: Dataset({
features: ['attention_mask', 'input_ids', 'special_tokens_mask'],
num_rows: 493
})
})
(Pdb) modified_dataset
DatasetDict({
train: Dataset({
features: ['attention_mask', 'input_ids', 'special_tokens_mask'],
num_rows: 493
})
})
```
The error is stemming from the fact that the attribute `datasets.features` does not exist. Would it not be possible to use `concatenate_datasets` in such a case? Is there an alternate solution? | [
0.09494005143642426,
0.27810633182525635,
-0.03920431435108185,
0.023057155311107635,
0.24360959231853485,
0.3778872787952423,
0.280398428440094,
-0.15852849185466766,
-0.2577434182167053,
-0.07451759278774261,
0.31329625844955444,
0.5345351696014404,
-0.15967918932437897,
0.0007424019277095795,
0.21608330309391022,
-0.2442813217639923,
0.13670650124549866,
0.10007946938276291,
-0.1950361132621765,
0.01968533545732498,
-0.04713178426027298,
-0.1477898359298706,
0.0882384181022644,
-0.03745618462562561,
-0.3350248336791992,
-0.03344350308179855,
-0.1999397724866867,
-0.1500091254711151,
-0.1133730337023735,
-0.43489089608192444,
-0.001986321061849594,
-0.0370977558195591,
0.0035894233733415604,
0.3410022258758545,
-0.00012016265100101009,
0.10599362850189209,
0.2928902208805084,
0.12394353747367859,
-0.5508273243904114,
-0.1971501260995865,
-0.34577038884162903,
-0.5728434920310974,
0.11229128390550613,
-0.16527606546878815,
0.25427165627479553,
-0.5107662081718445,
0.05927617847919464,
-0.5218862295150757,
0.16291658580303192,
0.23372915387153625,
0.139142706990242,
0.041146524250507355,
0.4349207878112793,
-0.16880474984645844,
0.1174912378191948,
0.23635824024677277,
-0.18145857751369476,
0.014710549265146255,
-0.017161257565021515,
0.1729206144809723,
0.391679584980011,
0.04699770361185074,
0.2433086633682251,
-0.2264605015516281,
0.47403696179389954,
0.2806395888328552,
-0.06069125980138779,
-0.19785569608211517,
-0.04758208245038986,
0.10385124385356903,
0.656567394733429,
-0.4195331931114197,
-0.7511703372001648,
-0.3529869318008423,
0.6070220470428467,
-0.17421124875545502,
-0.18564391136169434,
0.12613514065742493,
0.06255362927913666,
0.09051739424467087,
0.09799904376268387,
-0.5244414210319519,
-0.19201961159706116,
0.17561617493629456,
0.048716336488723755,
0.20535029470920563,
0.08919010311365128,
0.13118228316307068,
-0.08589006960391998,
-0.11794713139533997,
0.3495787978172302,
-0.049235984683036804,
-0.10293684899806976,
0.1775585114955902,
-0.24102474749088287,
0.09385010600090027,
-0.26556289196014404,
-0.37774914503097534,
-0.04268047213554382,
-0.00456218421459198,
0.4142285883426666,
-0.15843841433525085,
-0.1647910326719284,
0.12984953820705414,
0.23617178201675415,
0.00606895424425602,
0.03514509275555611,
0.2194170355796814,
-0.42754560708999634,
-0.44416487216949463,
-0.051833976060152054,
-0.12919363379478455,
-0.20860543847084045,
-0.25352394580841064,
0.29921019077301025,
-0.1239161565899849,
0.2640659213066101,
0.3124903738498688,
0.01770351268351078,
-0.06373444199562073,
-0.33150771260261536,
0.09472557157278061,
-0.17982441186904907,
0.006158411502838135,
0.3212433159351349,
0.09173911809921265,
0.17466598749160767,
0.3785211443901062,
0.4458308815956116,
-0.08895308524370193,
0.002002121414989233,
0.09829404950141907,
-0.0852295309305191,
0.1905239075422287,
-0.22271789610385895,
-0.020064834505319595,
-0.016752678900957108,
-0.14746829867362976,
0.1622806340456009,
-0.13752293586730957,
0.06159938871860504,
-0.04303799197077751,
0.16725659370422363,
0.013929840177297592,
0.023175638169050217,
0.10484936088323593,
0.09476053714752197,
-0.23942314088344574,
-0.06345757097005844,
0.2614063620567322,
-0.09714885801076889,
-0.1494695097208023,
-0.5945220589637756,
0.09583806246519089,
-0.027996622025966644,
-0.21578213572502136,
-0.04640025645494461,
0.3512550890445709,
0.1539958119392395,
-0.027174171060323715,
0.055784448981285095,
-0.0656978040933609,
-0.18242111802101135,
-0.15912756323814392,
0.0550408810377121,
0.11933682858943939,
-0.48665720224380493,
-0.33389946818351746,
-0.1635729968547821,
0.14802880585193634,
-0.43049895763397217,
-0.11392436921596527,
-0.15929847955703735,
0.4569550156593323,
-0.037204645574092865,
-0.08564327657222748,
0.6153520345687866,
-0.08492612838745117,
-0.15003763139247894,
-0.14382648468017578,
-0.2687276005744934,
0.05428851395845413,
0.056582119315862656,
0.3473593592643738,
0.0686083436012268,
0.18727043271064758,
0.1601714789867401,
0.1712304800748825,
0.04135977849364281,
-0.4098125100135803,
0.24479494988918304,
-0.07351291924715042,
0.3654524087905884,
-0.14919212460517883,
-0.17088031768798828,
0.07408484816551208,
0.10035456717014313,
-0.1355796605348587,
0.02076771855354309,
-0.24710041284561157,
0.23222027719020844,
0.3281669020652771,
0.203803151845932,
0.12480632960796356,
-0.14731305837631226,
-0.06092952936887741,
-0.252594530582428,
0.02104610949754715,
0.29679545760154724,
0.006021138280630112,
-0.007876493036746979,
-0.21950484812259674,
-0.0810932070016861,
0.30166396498680115,
-0.05022851750254631,
0.053866252303123474,
0.040015049278736115,
0.16480937600135803,
-0.12117414176464081,
-0.3005165457725525,
-0.4174990952014923,
0.4620870351791382,
-0.0052938312292099,
0.13807687163352966,
-0.20559991896152496,
0.1791534572839737,
0.10181539505720139,
-0.04546884447336197,
-0.25378090143203735,
0.25625112652778625,
-0.07626809924840927,
0.1740572601556778,
0.012955958023667336,
0.09005788713693619,
-0.22050736844539642,
0.12777794897556305,
0.164912149310112,
-0.010080724954605103,
0.07919257879257202,
-0.27400368452072144,
0.012812983244657516,
-0.011099331080913544,
0.14490863680839539,
-0.11383764445781708,
-0.29444611072540283,
0.1484536975622177,
0.1360001564025879,
0.41294625401496887,
-0.02698732353746891,
0.23854070901870728,
0.1496559977531433,
-0.007858619093894958,
-0.41934728622436523,
-0.22932937741279602,
-0.21277131140232086,
0.01288872491568327,
0.30952146649360657,
-0.15522703528404236,
-0.13882312178611755,
0.0976167842745781,
-0.009185824543237686,
-0.009540555998682976,
0.0620601661503315,
0.17180877923965454,
-0.5074895024299622,
0.23286908864974976,
-0.08098071813583374,
0.2883296310901642,
0.4779844284057617,
0.26277604699134827,
-0.04195806011557579,
0.20539063215255737,
0.04210560396313667,
0.08936327695846558,
0.08409996330738068,
0.18712115287780762,
0.3860478699207306,
0.14317716658115387,
0.43351349234580994,
0.11573400348424911,
0.05733107030391693,
-0.16723895072937012,
0.06266401708126068,
0.057660944759845734,
-0.3890412747859955,
-0.01081045251339674,
-0.05274225026369095,
-0.009630538523197174,
-0.38867369294166565,
-0.29513421654701233,
0.02300645411014557,
-0.39665523171424866,
-0.07378634810447693,
-0.13562075793743134,
-0.06715521961450577,
0.07338143140077591,
-0.0873032808303833,
0.19718337059020996,
0.04498326778411865,
-0.12644045054912567,
0.18112951517105103,
-0.08129113912582397,
0.16928282380104065,
-0.02780013717710972,
-0.0546722412109375,
-0.020607339218258858,
0.2912628650665283,
0.17871904373168945,
0.19991984963417053,
-0.2610251009464264,
-0.16687756776809692,
0.013386845588684082,
0.0031252577900886536,
0.12125468254089355,
0.011452503502368927,
-0.04694893956184387,
-0.10821331292390823,
-0.422555536031723,
0.05467446148395538,
0.19603756070137024,
-0.10948124527931213,
-0.09962307661771774,
0.02421429008245468,
-0.22066977620124817,
0.05930130556225777,
-0.12589380145072937,
-0.5891416668891907,
-0.21578189730644226,
0.28737351298332214,
0.17454513907432556,
-0.08030185103416443,
0.21166570484638214,
0.30831652879714966,
0.31072118878364563,
0.19657185673713684,
-0.04754415154457092,
-0.009916332550346851,
-0.030318668112158775,
0.5247278213500977,
-0.1951567828655243,
-0.22515542805194855,
0.04676425829529762,
-0.4135628938674927,
0.11016866564750671,
0.1235310286283493,
-0.1574348509311676,
0.13875514268875122,
-0.058001622557640076,
0.17637543380260468,
-0.20047233998775482,
0.08115824311971664,
0.30560386180877686,
0.15059758722782135,
-0.0841449424624443,
-0.08475278317928314,
-0.4099741280078888,
0.1357344090938568,
0.30043184757232666,
0.22788949310779572,
-0.10914229601621628,
0.13621532917022705,
-0.06730636954307556,
0.45046794414520264,
0.10689415037631989,
-0.2593742907047272,
0.04322081059217453,
-0.27512314915657043,
0.38260483741760254,
-0.040234409272670746,
-0.44485002756118774,
-0.3242737948894501,
-0.3273375630378723,
-0.24523892998695374,
-0.2040434032678604,
0.07929307967424393,
0.023793848231434822,
0.041927896440029144,
0.13915830850601196,
-0.15694591403007507,
-0.17526254057884216,
0.21278302371501923,
-0.6013402342796326,
0.29567253589630127,
-0.13070060312747955,
-0.22971111536026,
-0.481882780790329,
0.09930639714002609,
-0.04490124061703682,
0.07699614763259888,
0.04795578122138977,
-0.131123349070549,
-0.5606611967086792,
-0.15558694303035736,
-0.18801891803741455,
0.1097496971487999,
0.2204018384218216,
0.2659277021884918,
0.21456561982631683,
-0.0978005975484848,
-0.14704449474811554,
0.10063384473323822,
0.3842470645904541,
-0.21254697442054749,
-0.5697064399719238,
0.424826055765152,
0.23412352800369263,
-0.4442065358161926,
0.01424400880932808,
0.00999629870057106,
0.38043951988220215,
-0.011408362537622452,
0.10199122130870819,
-0.13365010917186737,
0.3616286516189575,
0.20967112481594086,
0.24136033654212952,
-0.3181266486644745,
-0.11248550564050674,
0.03074713423848152,
-0.05671495571732521,
-0.3592164218425751,
-0.3129603862762451,
0.02050466649234295,
0.14320893585681915,
0.3045031428337097,
-0.16186518967151642,
-0.4555439352989197,
-0.02191155217587948,
0.23879165947437286,
-0.11754857003688812,
0.1498010754585266,
0.3454281985759735,
0.17176920175552368,
0.03341449052095413,
0.12799608707427979,
0.18134988844394684,
0.5413868427276611,
0.1100350022315979,
-0.5896152853965759,
-0.21152198314666748,
-0.3717564642429352,
0.6812917590141296,
0.02526087313890457,
0.17498141527175903,
0.4369097054004669,
-0.045726463198661804,
-0.11101837456226349,
0.008486982434988022,
0.05018171668052673,
0.2271532416343689,
0.04829596355557442,
-0.47184404730796814,
-0.4662942886352539,
0.38438886404037476,
0.006795499473810196,
0.054086700081825256,
0.28951120376586914,
0.20820023119449615,
-0.4573582410812378,
0.4454076886177063,
0.0764073058962822,
0.931135356426239,
0.0458279512822628,
0.30570825934410095,
0.07189762592315674,
-0.39164668321609497,
0.5683712363243103,
0.11818698048591614,
-0.07615895569324493,
-0.10813279449939728,
-0.25943252444267273,
-0.041350554674863815,
-0.28496915102005005,
0.14933213591575623,
0.11071909964084625,
-0.4717065393924713,
-0.12157593667507172,
-0.42971736192703247,
0.08615703880786896,
0.039716511964797974,
0.30614906549453735,
0.15863655507564545,
-0.28751689195632935,
-0.20917505025863647,
0.08495006710290909,
0.22061386704444885,
-0.23847344517707825,
-0.08679775893688202,
-0.1707088202238083,
-0.48188820481300354,
0.05096586048603058,
-0.5248125791549683,
-0.18666201829910278,
-0.15441854298114777,
-0.02190248668193817,
0.17813193798065186,
-0.5238456130027771,
0.3283814489841461,
0.38980525732040405,
0.2787604331970215,
-0.12452870607376099,
-0.0041833799332380295,
0.1162559986114502,
-0.035959675908088684,
0.15504412353038788,
0.05139148607850075,
-0.34948572516441345,
0.2678332030773163,
0.1964035928249359,
-0.20331217348575592,
0.47843825817108154,
0.06785689294338226,
-0.5774131417274475,
0.2164764702320099,
0.06504527479410172,
0.13055776059627533,
-0.33404844999313354,
-0.35304689407348633,
0.43318241834640503,
0.011124469339847565,
-0.20804104208946228,
0.06322193890810013,
0.03321129083633423,
-0.2652062773704529,
-0.04055424779653549,
0.2443288266658783,
-0.181982159614563,
0.155050128698349,
0.05029850825667381,
0.08926123380661011,
0.153314471244812,
0.6899824142456055,
0.016998831182718277,
0.038629353046417236,
0.028053179383277893,
0.13919448852539062,
0.27704355120658875,
-0.3112419843673706,
-0.08528953045606613,
0.06534717977046967,
-0.0030740052461624146,
-0.38088974356651306,
-0.13268563151359558,
0.16940873861312866,
0.3222755193710327,
-0.34168756008148193,
-0.2842262089252472,
-0.4303427040576935,
0.2670712471008301,
0.06784898042678833,
0.23155038058757782,
-0.2564610242843628,
0.19637194275856018,
-0.08291634172201157,
0.3826931416988373,
-0.20586632192134857,
-0.14670957624912262,
0.07241127640008926,
0.060188598930835724,
0.22613093256950378,
0.13469818234443665,
-0.17330484092235565,
-0.27688509225845337,
0.0939946398139,
0.04038507863879204,
0.32144612073898315,
-0.1358165591955185,
-0.16242234408855438,
0.14889870584011078,
0.22498854994773865,
-0.046423546969890594,
-0.10005632787942886,
-0.16432853043079376,
0.29096361994743347,
-0.25279632210731506,
-0.31242820620536804,
0.24802139401435852,
-0.07477155327796936,
0.1095944344997406,
0.22409863770008087,
0.2588259279727936,
-0.19336406886577606,
0.036357682198286057,
0.25981128215789795,
0.2524394989013672,
0.13452096283435822,
0.25130695104599,
0.14657635986804962,
0.1558566391468048,
-0.2523502707481384,
0.27444544434547424,
0.17754444479942322,
0.04167177528142929,
0.05493257939815521,
-0.2907535433769226,
0.17834103107452393,
-0.09740426391363144,
0.09515302628278732,
0.27164506912231445,
-0.3596316874027252,
0.40812379121780396,
0.0837373435497284,
0.11620893329381943,
-0.2869890332221985,
0.04726620391011238,
0.24098774790763855,
-0.1543048471212387,
-0.03449185937643051,
0.1801661252975464,
-0.09356045722961426,
0.22191986441612244,
-0.42233431339263916,
0.028025027364492416,
-0.29771512746810913,
0.11743555963039398,
0.24663858115673065,
0.2686142325401306,
0.20326556265354156,
0.06596612185239792,
0.05499570816755295,
0.23477958142757416,
0.1374092400074005,
0.26984792947769165,
-0.09229835122823715,
0.21265418827533722,
0.6340627074241638,
-0.08870883285999298,
0.32244545221328735,
0.23169295489788055,
0.2331194430589676,
-0.016709625720977783,
0.40930110216140747,
-0.03344607353210449,
0.3525489866733551,
0.2604316174983978,
0.2266252189874649,
-0.18089412152767181,
0.11434406787157059,
0.17102517187595367,
0.09695614874362946,
-0.19436411559581757,
0.06993421167135239,
0.02385825663805008,
-0.10638795793056488,
-0.1568581908941269,
0.09023627638816833,
-0.5656858086585999,
0.06349337100982666,
-0.14662502706050873,
0.05560547858476639,
-0.2716342508792877,
0.5452596545219421,
0.3046427369117737,
-0.045847319066524506,
-0.1410914957523346,
-0.06803132593631744,
-0.07625861465930939,
0.19922634959220886,
0.30871090292930603,
0.4064919352531433,
0.23436389863491058,
0.23405948281288147,
-0.089415043592453,
0.4733196198940277,
-0.11988340318202972,
-0.269618958234787,
0.04618989676237106,
-0.08207659423351288,
-0.08339667320251465,
-0.16512751579284668,
0.2309201955795288,
0.13667252659797668,
-0.06813167035579681,
0.19529326260089874,
0.14879995584487915,
0.2619003355503082,
-0.5672978162765503,
0.36572742462158203,
-0.026823237538337708,
-0.2480602264404297,
-0.018157806247472763,
0.2150847315788269,
-0.1077648401260376,
-0.20429760217666626,
0.6744137406349182,
-0.14078283309936523,
0.0337296798825264,
0.16029559075832367,
0.02528875693678856,
0.03533376753330231,
0.34536582231521606,
0.37735170125961304,
0.4509752690792084,
-0.08885147422552109,
-0.0016572549939155579,
-0.5564732551574707,
-0.03925659507513046,
-0.03738399222493172,
-0.21617858111858368,
-0.013936607167124748,
0.07440987974405289,
0.2073664665222168,
0.281411349773407,
0.35187792778015137,
-0.04979761317372322,
-0.2626153826713562,
0.1464737504720688,
-0.21917513012886047,
-0.4201032221317291,
0.29659003019332886,
0.34621715545654297,
0.10360589623451233,
-0.0007777996361255646,
-0.14395099878311157,
0.19841168820858002,
0.0009393058717250824,
-0.033829789608716965,
-0.1928085833787918,
-0.06118105724453926,
0.07509594410657883,
0.4989222288131714,
-0.154378280043602,
0.46888330578804016,
-0.07693718373775482,
0.058354467153549194,
-0.17218318581581116,
-0.4284750819206238,
-0.4607105553150177,
0.544680118560791,
0.04581497609615326,
0.21894125640392303,
-0.34395480155944824,
0.050886668264865875,
0.10712442547082901,
-0.22858752310276031,
-0.011119730770587921,
-0.12291136384010315,
-0.40915974974632263,
0.4311252236366272,
-0.06313303858041763,
0.09715732932090759,
-0.1325099915266037,
0.0272271279245615,
-0.03144434094429016,
0.34393829107284546,
0.062412723898887634,
-0.16124719381332397,
0.36245548725128174,
-0.18641352653503418,
-0.21183380484580994,
0.20204438269138336,
-0.06474234163761139,
0.29630130529403687,
-0.06873428076505661,
-0.7376132607460022,
-0.2276841402053833,
0.4214465022087097,
-0.17648693919181824,
0.046130578964948654,
0.14300784468650818,
-0.12736999988555908,
0.1318131983280182,
-0.12002149224281311,
0.5443984270095825,
-0.3239014446735382,
-0.020789718255400658,
-0.4493512511253357,
-0.19880463182926178
] |
https://github.com/huggingface/datasets/issues/1728 | Add an entry to an arrow dataset | You should do `combined_dataset = concatenate_datasets([datasets['train'], modified_dataset['train']])`
Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases. | Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training set
squad_dataset = load_dataset('squad')
print(squad_dataset['train'][0])
```
Is it possible to add an entry to `squad_dataset`? Something like the following?
``` python
squad_dataset.append({'text': "This is a new sentence"})
```
The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset.
If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
| 42 | Add an entry to an arrow dataset
Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training set
squad_dataset = load_dataset('squad')
print(squad_dataset['train'][0])
```
Is it possible to add an entry to `squad_dataset`? Something like the following?
``` python
squad_dataset.append({'text': "This is a new sentence"})
```
The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset.
If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
You should do `combined_dataset = concatenate_datasets([datasets['train'], modified_dataset['train']])`
Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases. | [
0.1145721971988678,
0.22762265801429749,
-0.06840567290782928,
-0.025123797357082367,
0.15373201668262482,
0.27101120352745056,
0.22679933905601501,
-0.10380692780017853,
0.0163867250084877,
-0.052759215235710144,
0.3032633066177368,
0.5584477782249451,
-0.2891288995742798,
0.047076448798179626,
0.3657118082046509,
-0.2805238664150238,
0.08732879906892776,
0.039618171751499176,
-0.2587967813014984,
-0.07906888425350189,
-0.018086805939674377,
-0.20193888247013092,
0.22858645021915436,
-0.03260163962841034,
-0.2286471128463745,
-0.12322398275136948,
-0.09939365833997726,
-0.26295769214630127,
-0.1477603167295456,
-0.4609305262565613,
0.061836548149585724,
-0.09373196959495544,
0.0361965149641037,
0.25167611241340637,
-0.00011855689081130549,
0.11188270151615143,
0.27360719442367554,
0.14261096715927124,
-0.5661519169807434,
-0.2433638721704483,
-0.25924694538116455,
-0.5845739841461182,
0.2074291855096817,
-0.18653640151023865,
0.220754474401474,
-0.34954842925071716,
0.14050935208797455,
-0.5783144235610962,
0.2560049295425415,
0.22113077342510223,
0.15158087015151978,
-0.009261180646717548,
0.24897737801074982,
-0.12238875031471252,
0.26973259449005127,
0.2970866560935974,
-0.1688392460346222,
0.016113288700580597,
0.09526388347148895,
0.20360583066940308,
0.1866353452205658,
0.043386634439229965,
0.1943322867155075,
-0.19954419136047363,
0.4199506938457489,
0.22165696322917938,
-0.1102437749505043,
-0.11974218487739563,
-0.12061474472284317,
0.15855419635772705,
0.7166867852210999,
-0.3376505970954895,
-0.7637715339660645,
-0.38330674171447754,
0.4716686010360718,
-0.20022103190422058,
-0.2719372808933258,
0.22917690873146057,
0.032228127121925354,
0.10015963017940521,
0.0578414686024189,
-0.5695360898971558,
-0.16894298791885376,
0.1344405859708786,
-0.07132083177566528,
0.26621013879776,
0.12829335033893585,
0.14290574193000793,
-0.02944408729672432,
0.049605678766965866,
0.44494694471359253,
0.07186412811279297,
-0.0850042998790741,
0.2023862898349762,
-0.27542170882225037,
-0.011199306696653366,
-0.20096933841705322,
-0.15550172328948975,
0.022890321910381317,
-0.026448890566825867,
0.4322584569454193,
-0.0977272018790245,
-0.34915003180503845,
0.006251737475395203,
0.23159080743789673,
-0.09026744961738586,
0.06251602619886398,
0.16395887732505798,
-0.3666476011276245,
-0.5172894597053528,
-0.09594355523586273,
-0.21363982558250427,
-0.13336928188800812,
-0.1083611249923706,
0.2743019759654999,
-0.13534098863601685,
0.1114090085029602,
0.2889271080493927,
0.00967901386320591,
-0.10184856504201889,
-0.3424532115459442,
0.010887758806347847,
-0.25896134972572327,
-0.017644934356212616,
0.42888596653938293,
0.12404371798038483,
0.10307621955871582,
0.4695476293563843,
0.3152874708175659,
-0.21985770761966705,
0.004845749121159315,
0.09217272698879242,
-0.06951647251844406,
0.2748762369155884,
-0.18772853910923004,
0.06366723775863647,
-0.05308850109577179,
-0.23653100430965424,
0.04882737249135971,
-0.16730469465255737,
0.14735828340053558,
-0.08122812211513519,
0.18974679708480835,
0.04589088633656502,
-0.027626734226942062,
0.17269445955753326,
0.17452044785022736,
-0.16220581531524658,
-0.10533923655748367,
0.26714444160461426,
-0.07654274255037308,
-0.21060246229171753,
-0.3816099762916565,
0.09471002221107483,
-0.03196033462882042,
-0.3137812912464142,
-0.06760961562395096,
0.38535821437835693,
0.028177984058856964,
0.0744016170501709,
0.1419113278388977,
-0.15033073723316193,
-0.2972719967365265,
-0.14960050582885742,
-0.025414543226361275,
0.0646299421787262,
-0.6223896741867065,
-0.33020931482315063,
-0.36232221126556396,
0.047131456434726715,
-0.47136056423187256,
-0.04288690909743309,
-0.1817539483308792,
0.662074625492096,
-0.013825574889779091,
-0.09142673015594482,
0.5936506986618042,
-0.09851910173892975,
-0.28182652592658997,
-0.19232690334320068,
-0.29875004291534424,
0.0530213862657547,
0.003041297197341919,
0.5245484113693237,
0.2708130478858948,
0.22210106253623962,
0.013339407742023468,
0.1885727345943451,
0.0027441252022981644,
-0.2894115447998047,
0.25835350155830383,
-0.039345815777778625,
0.2654998302459717,
-0.01905536651611328,
-0.12005218863487244,
0.02763458713889122,
0.21072806417942047,
-0.06631845235824585,
0.1436343491077423,
-0.20566090941429138,
0.22516094148159027,
0.08479425311088562,
0.20022891461849213,
0.15622635185718536,
-0.17841608822345734,
-0.11164045333862305,
-0.2688983678817749,
0.0021332092583179474,
0.22223329544067383,
0.00032811984419822693,
0.06356215476989746,
-0.2276720404624939,
-0.028290819376707077,
0.3634389042854309,
0.001158691942691803,
0.04367643594741821,
0.03392963856458664,
-0.019352473318576813,
-0.09790930151939392,
-0.2692066431045532,
-0.39940759539604187,
0.4055216908454895,
-0.06630395352840424,
0.15457911789417267,
-0.21014060080051422,
0.23638446629047394,
0.25819897651672363,
0.0021448046900331974,
-0.3161675035953522,
0.2485579252243042,
-0.21507370471954346,
0.072397880256176,
0.09163323789834976,
0.003637164831161499,
-0.04205714166164398,
0.20557832717895508,
0.11468838155269623,
0.006628066301345825,
0.06574109941720963,
-0.3981015086174011,
0.20176686346530914,
0.008633339777588844,
0.0744549110531807,
-0.16846460103988647,
-0.3035774230957031,
0.20374692976474762,
0.08761356770992279,
0.3461204171180725,
-0.13057318329811096,
0.2628032863140106,
0.029507765546441078,
0.006605859845876694,
-0.44811949133872986,
-0.16948778927326202,
-0.1674041748046875,
-0.012895379215478897,
0.31512194871902466,
-0.2133636623620987,
-0.039449043571949005,
-0.021271735429763794,
0.06905478984117508,
-0.12291869521141052,
0.16443274915218353,
0.13883212208747864,
-0.49025726318359375,
0.2081880271434784,
-0.07127518951892853,
0.3739587664604187,
0.39992350339889526,
0.25875160098075867,
0.03062642179429531,
0.09536990523338318,
0.1411890834569931,
0.017081469297409058,
0.11530313640832901,
0.17241409420967102,
0.378264456987381,
0.0006362795829772949,
0.39763113856315613,
0.10099504142999649,
-0.03653135150671005,
-0.03233862295746803,
-0.05551452934741974,
0.015507595613598824,
-0.3034597337245941,
-0.07774801552295685,
-0.03510330617427826,
-0.04241291433572769,
-0.46222513914108276,
-0.21902793645858765,
0.07560576498508453,
-0.4277580678462982,
-0.02408214658498764,
-0.22057482600212097,
-0.07495395839214325,
0.044957682490348816,
-0.04075120761990547,
0.2646932303905487,
-0.11343162506818771,
-0.07501574605703354,
0.1873975247144699,
-0.21554727852344513,
0.25057655572891235,
0.01125989481806755,
-0.07217864692211151,
0.007607581559568644,
0.47275733947753906,
0.16811516880989075,
0.10579030960798264,
-0.3163022994995117,
-0.12120424211025238,
0.009463191032409668,
-0.0259411484003067,
0.10208451002836227,
0.06647546589374542,
0.02123101055622101,
-0.08827999234199524,
-0.22010281682014465,
0.0009321309626102448,
-0.008592331781983376,
-0.12769347429275513,
-0.21658918261528015,
-0.030045773833990097,
0.039777591824531555,
0.06768332421779633,
-0.11831945925951004,
-0.6376330256462097,
-0.18098436295986176,
0.3180420994758606,
0.17663145065307617,
-0.05481118708848953,
0.09399949759244919,
0.15494169294834137,
0.30437904596328735,
0.07760095596313477,
-0.19579872488975525,
0.034654971212148666,
-0.030267633497714996,
0.4247760474681854,
-0.16884998977184296,
-0.13420341908931732,
-0.029714517295360565,
-0.3406839370727539,
0.0908479243516922,
0.12222079932689667,
-0.28389614820480347,
0.16039475798606873,
-0.15056832134723663,
0.21986794471740723,
-0.12774580717086792,
0.02736641652882099,
0.35735854506492615,
0.06029866635799408,
-0.02977968379855156,
-0.10337737947702408,
-0.34014692902565,
0.11372887343168259,
0.251210480928421,
0.07336568087339401,
-0.09790133684873581,
0.2904834747314453,
0.00949590653181076,
0.4994262456893921,
0.08531928062438965,
-0.23911024630069733,
0.014282692223787308,
-0.2247811257839203,
0.2057151198387146,
-0.14491796493530273,
-0.31795287132263184,
-0.3026529550552368,
-0.31834062933921814,
-0.33108997344970703,
-0.1800663322210312,
0.11340170353651047,
-0.02857220359146595,
0.13750839233398438,
0.09039519727230072,
-0.19871953129768372,
-0.20269249379634857,
0.2708096504211426,
-0.6740223169326782,
0.1813393533229828,
-0.08914950489997864,
-0.12582841515541077,
-0.4045388400554657,
0.09849585592746735,
-0.0701916441321373,
-0.03845961391925812,
0.26551294326782227,
-0.12658534944057465,
-0.5840798020362854,
-0.11191952973604202,
-0.22784650325775146,
0.11935165524482727,
0.20903342962265015,
-0.02728741243481636,
0.26538631319999695,
-0.12205485254526138,
-0.004600033164024353,
0.20678338408470154,
0.3725510239601135,
-0.20809823274612427,
-0.4580446481704712,
0.285202294588089,
0.14734283089637756,
-0.46165376901626587,
0.11518895626068115,
-0.07962417602539062,
0.44449836015701294,
-0.061380427330732346,
0.005146682262420654,
-0.13973134756088257,
0.4023549556732178,
0.23057876527309418,
0.2341136336326599,
-0.31042367219924927,
-0.1449580043554306,
0.13115476071834564,
0.0012797527015209198,
-0.24865375459194183,
-0.1349315345287323,
-0.009868906810879707,
0.02133948728442192,
0.24524438381195068,
-0.2326613962650299,
-0.36763790249824524,
0.029967501759529114,
0.20069029927253723,
-0.13986268639564514,
0.12534070014953613,
0.28702375292778015,
0.1219746470451355,
0.1349610686302185,
0.13992398977279663,
0.11214511096477509,
0.5952422618865967,
-0.02024756371974945,
-0.47991204261779785,
-0.23915040493011475,
-0.2915227711200714,
0.6086897850036621,
0.10367205739021301,
0.33611252903938293,
0.45948514342308044,
0.0016220957040786743,
-0.2352101057767868,
-0.012035190127789974,
-0.017795927822589874,
0.09192520380020142,
0.012324844487011433,
-0.43336430191993713,
-0.5076606273651123,
0.47291332483291626,
-0.07693549990653992,
-0.03079596534371376,
0.22085054218769073,
0.2614874243736267,
-0.46579113602638245,
0.6054710745811462,
0.19985422492027283,
0.8932750225067139,
-0.14690537750720978,
0.3738088309764862,
0.03481202945113182,
-0.3326680064201355,
0.681410551071167,
0.07786796987056732,
-0.1354803591966629,
-0.1288096010684967,
-0.13335520029067993,
-0.037016548216342926,
-0.2810210585594177,
0.022582393139600754,
0.24654261767864227,
-0.35674357414245605,
-0.10296032577753067,
-0.25158628821372986,
0.06485935300588608,
0.002284725196659565,
0.3220762312412262,
0.05125559866428375,
-0.26043054461479187,
-0.17493076622486115,
0.11279566586017609,
0.19399604201316833,
-0.2546725273132324,
-0.1819503903388977,
-0.06885263323783875,
-0.3532896339893341,
0.026528671383857727,
-0.5213057398796082,
-0.36501696705818176,
-0.07013853639364243,
-0.11391162872314453,
0.1487182229757309,
-0.6611781716346741,
0.34678396582603455,
0.4616463780403137,
0.18794050812721252,
-0.12859533727169037,
-0.0037235766649246216,
0.17696458101272583,
-0.00680098682641983,
0.30896061658859253,
0.18857677280902863,
-0.3346208930015564,
0.2705010771751404,
0.2735408544540405,
-0.2388724982738495,
0.3515390455722809,
0.04389879107475281,
-0.6558928489685059,
0.19675889611244202,
0.06417712569236755,
0.2177382856607437,
-0.30886226892471313,
-0.25966715812683105,
0.42555567622184753,
0.0035270527005195618,
-0.1987575739622116,
0.0807659924030304,
0.13879844546318054,
-0.07539843022823334,
-0.03208453953266144,
0.2848678529262543,
-0.23187877237796783,
0.06083279103040695,
-0.014726310968399048,
0.06935282051563263,
0.1450016051530838,
0.6772648096084595,
0.12835237383842468,
0.026138857007026672,
-0.06613251566886902,
0.26251840591430664,
0.35118383169174194,
-0.4061366319656372,
-0.08217768371105194,
0.04085376858711243,
0.07795579731464386,
-0.3869830369949341,
-0.22242462635040283,
0.16107121109962463,
0.22943753004074097,
-0.44936713576316833,
-0.21685127913951874,
-0.3177274763584137,
0.3808581829071045,
-0.05040695145726204,
0.23924905061721802,
-0.18727809190750122,
0.15892815589904785,
-0.13430970907211304,
0.40104612708091736,
-0.21589969098567963,
-0.08590982854366302,
0.21087035536766052,
0.07594029605388641,
0.16406722366809845,
0.1852778196334839,
-0.2107565701007843,
-0.2444542944431305,
0.08367634564638138,
0.04231547564268112,
0.32848069071769714,
-0.16887158155441284,
-0.12979848682880402,
0.15420447289943695,
0.13820455968379974,
-0.017347829416394234,
-0.07159814983606339,
-0.14145369827747345,
0.3030015230178833,
-0.25386595726013184,
-0.21277502179145813,
0.26203808188438416,
-0.03312794864177704,
0.1737252026796341,
0.5312661528587341,
0.3376060426235199,
-0.2378072589635849,
0.11646198481321335,
0.22202953696250916,
0.2771139442920685,
0.07608043402433395,
0.2996048331260681,
0.27795112133026123,
0.12261912226676941,
-0.1188044548034668,
0.28854870796203613,
0.36345285177230835,
0.13762226700782776,
0.09040386974811554,
-0.17531649768352509,
0.19301599264144897,
-0.06090790033340454,
0.15421569347381592,
0.13338935375213623,
-0.29169267416000366,
0.3697536587715149,
0.10691031813621521,
0.1792091280221939,
-0.18148671090602875,
0.12085405737161636,
0.2839511036872864,
-0.11115889996290207,
-0.04741888865828514,
0.2033614218235016,
-0.12619566917419434,
0.34261906147003174,
-0.2981075048446655,
-0.09938213229179382,
-0.13716447353363037,
0.094620481133461,
0.16419540345668793,
0.3173692226409912,
0.18732327222824097,
-0.08663816750049591,
0.06265271455049515,
0.06388522684574127,
0.14505787193775177,
0.331967830657959,
-0.14064866304397583,
0.3146110475063324,
0.4648486077785492,
-0.020833734422922134,
0.35086122155189514,
0.24957503378391266,
0.14095892012119293,
0.030789077281951904,
0.317615807056427,
-0.02332121878862381,
0.3664502501487732,
0.22102099657058716,
0.2842615246772766,
-0.10868535935878754,
-0.009105049073696136,
0.10752563178539276,
0.10836200416088104,
-0.21185684204101562,
-0.12247411906719208,
0.03649875521659851,
-0.020546510815620422,
-0.0741010457277298,
-0.14251808822155,
-0.512305736541748,
-0.03415839374065399,
-0.08537103235721588,
0.14042387902736664,
-0.2805651128292084,
0.49282336235046387,
0.17217811942100525,
-0.009498268365859985,
-0.1633635014295578,
-0.07689611613750458,
-0.20771820843219757,
0.28285205364227295,
0.33632394671440125,
0.3815354108810425,
-0.0006949082016944885,
0.13330236077308655,
-0.12265300750732422,
0.5888957977294922,
-0.23672990500926971,
-0.17628848552703857,
-0.06598838418722153,
-0.045476771891117096,
-0.15976794064044952,
-0.06158377602696419,
0.27443328499794006,
0.16911914944648743,
-0.04492508992552757,
0.1868475377559662,
0.11611221730709076,
0.20912925899028778,
-0.6766964793205261,
0.26860010623931885,
0.03236204758286476,
-0.2752905786037445,
-0.0638597309589386,
0.27903711795806885,
-0.06058869883418083,
-0.03823675960302353,
0.5366313457489014,
-0.2183661311864853,
-0.012868105433881283,
0.15256547927856445,
0.021435674279928207,
-0.06379686295986176,
0.31114593148231506,
0.34497296810150146,
0.5670549273490906,
-0.07855112850666046,
-0.03292257338762283,
-0.5537805557250977,
0.012705996632575989,
-0.12544994056224823,
-0.07874038815498352,
-0.10237181186676025,
0.02039177529513836,
0.354288250207901,
0.3510192632675171,
0.3150635361671448,
-0.13622447848320007,
-0.37408342957496643,
0.176536425948143,
-0.03436193987727165,
-0.4440453350543976,
0.282579243183136,
0.336189329624176,
-0.013196541927754879,
0.04228898137807846,
-0.16691969335079193,
0.2616894841194153,
-0.025923194363713264,
-0.08732053637504578,
-0.17722661793231964,
-0.006424080580472946,
0.05342326685786247,
0.5239663124084473,
-0.015132347121834755,
0.39188528060913086,
-0.006439706310629845,
0.12702883780002594,
-0.26961252093315125,
-0.45262065529823303,
-0.4414314329624176,
0.4491157829761505,
-0.11818769574165344,
0.3053469955921173,
-0.22898240387439728,
-0.007304050028324127,
0.1779317706823349,
-0.23732858896255493,
-0.1189953163266182,
-0.07340026646852493,
-0.4311751425266266,
0.34424668550491333,
-0.22554129362106323,
-0.0031987044494599104,
-0.13255266845226288,
0.11859951913356781,
0.03939460963010788,
0.23141568899154663,
0.0691802054643631,
-0.061322808265686035,
0.12860357761383057,
-0.2695282995700836,
-0.04825485497713089,
0.2009219527244568,
0.03189904987812042,
0.16560715436935425,
-0.16829903423786163,
-0.7034364342689514,
-0.24809208512306213,
0.4426993429660797,
-0.17340219020843506,
0.1599380075931549,
0.09338589012622833,
0.154804065823555,
0.10761851072311401,
-0.20355777442455292,
0.5826997756958008,
-0.2855380177497864,
0.06553851068019867,
-0.40069252252578735,
-0.28689485788345337
] |
https://github.com/huggingface/datasets/issues/1728 | Add an entry to an arrow dataset | > Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases.
My opinion is that users should always know in advance what type of objects they're going to get. Otherwise the development workflow on their side is going to be pretty chaotic with sometimes unexpected behaviors.
For instance is `split=` is not specified it's currently always returning a DatasetDict. And if `split="train"` is given for example it's always returning a Dataset. | Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training set
squad_dataset = load_dataset('squad')
print(squad_dataset['train'][0])
```
Is it possible to add an entry to `squad_dataset`? Something like the following?
``` python
squad_dataset.append({'text': "This is a new sentence"})
```
The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset.
If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
| 96 | Add an entry to an arrow dataset
Is it possible to add an entry to a dataset object?
**Motivation: I want to transform the sentences in the dataset and add them to the original dataset**
For example, say we have the following code:
``` python
from datasets import load_dataset
# Load a dataset and print the first examples in the training set
squad_dataset = load_dataset('squad')
print(squad_dataset['train'][0])
```
Is it possible to add an entry to `squad_dataset`? Something like the following?
``` python
squad_dataset.append({'text': "This is a new sentence"})
```
The motivation for doing this is that I want to transform the sentences in the squad dataset and add them to the original dataset.
If the above doesn't work, is there any other way of achieving the motivation mentioned above? Perhaps by creating a new arrow dataset by using the older one and the transformer sentences?
> Didn't we talk about returning a Dataset instead of a DatasetDict with load_dataset and no split provided @lhoestq? Not sure it's the way to go but I'm wondering if it's not simpler for some use-cases.
My opinion is that users should always know in advance what type of objects they're going to get. Otherwise the development workflow on their side is going to be pretty chaotic with sometimes unexpected behaviors.
For instance is `split=` is not specified it's currently always returning a DatasetDict. And if `split="train"` is given for example it's always returning a Dataset. | [
0.1489231139421463,
0.20325011014938354,
-0.05366972088813782,
0.005124244838953018,
0.11116024106740952,
0.07312659174203873,
0.273730993270874,
-0.0879940539598465,
0.08767969906330109,
0.021720752120018005,
0.3423004746437073,
0.4724988341331482,
-0.3235457241535187,
0.07456550002098083,
0.3323620855808258,
-0.2733578383922577,
0.0625656396150589,
0.05647432431578636,
-0.26278820633888245,
-0.1407848298549652,
-0.16241276264190674,
-0.1628735512495041,
0.25306057929992676,
0.0563628189265728,
-0.21902021765708923,
-0.15723544359207153,
-0.0339650921523571,
-0.2609066963195801,
-0.16848760843276978,
-0.4851486384868622,
0.10645042359828949,
-0.07251547276973724,
0.1209617555141449,
0.18166238069534302,
-0.00012080305168638006,
0.13512776792049408,
0.2979469895362854,
0.10878606140613556,
-0.6495184898376465,
-0.3481770157814026,
-0.21266698837280273,
-0.5955251455307007,
0.32078462839126587,
-0.23336943984031677,
0.1756073534488678,
-0.3336723744869232,
0.29610946774482727,
-0.5603635311126709,
0.18425720930099487,
0.1638452559709549,
0.12358087301254272,
0.06447069346904755,
0.18118146061897278,
-0.05149078369140625,
0.3474471867084503,
0.2932671904563904,
-0.2006346881389618,
-0.05637392774224281,
0.11062007397413254,
0.29128751158714294,
0.20857417583465576,
0.037134941667318344,
0.20392368733882904,
-0.17556045949459076,
0.4447503983974457,
0.25227585434913635,
-0.10143504291772842,
-0.2049788385629654,
-0.20783674716949463,
0.29398325085639954,
0.647325336933136,
-0.21769967675209045,
-0.7484704256057739,
-0.4845075309276581,
0.4366747736930847,
-0.1822224259376526,
-0.19718191027641296,
0.23274026811122894,
-0.04996194690465927,
0.1590684950351715,
-0.021407516673207283,
-0.5370776057243347,
-0.12129548192024231,
0.19978787004947662,
-0.07814144343137741,
0.2104482203722,
0.0671582892537117,
0.18751108646392822,
-0.07435490190982819,
0.09809853881597519,
0.4603865444660187,
-0.12180101871490479,
0.0015314780175685883,
0.09527406096458435,
-0.24151737987995148,
-0.03592868894338608,
-0.1678701937198639,
-0.08991038054227829,
-0.0488910973072052,
-0.011518407613039017,
0.42087745666503906,
-0.06476839631795883,
-0.32136955857276917,
-0.04471106827259064,
0.3120791018009186,
-0.13627386093139648,
0.015599101781845093,
0.12336670607328415,
-0.3104016184806824,
-0.5604976415634155,
-0.03761933743953705,
-0.1776011884212494,
-0.07526790350675583,
-0.032726842910051346,
0.24707038700580597,
-0.048837512731552124,
0.25223612785339355,
0.26274436712265015,
0.01406094990670681,
-0.10794038325548172,
-0.387533575296402,
-0.017984233796596527,
-0.26596590876579285,
-0.041433580219745636,
0.31942564249038696,
0.22282171249389648,
0.12183129787445068,
0.5000295042991638,
0.2188778966665268,
-0.2792985439300537,
0.060798656195402145,
0.0001288279891014099,
-0.03176122531294823,
0.20368918776512146,
-0.1720123291015625,
0.14257091283798218,
-0.12387777864933014,
-0.261393278837204,
-0.056512802839279175,
-0.1344756782054901,
0.19106554985046387,
-0.10476554930210114,
0.25067338347435,
0.06353215873241425,
-0.12675829231739044,
0.20281662046909332,
0.09354128688573837,
-0.15171578526496887,
-0.17091752588748932,
0.2163982391357422,
-0.1591833233833313,
-0.30006685853004456,
-0.26532280445098877,
0.05987921357154846,
-0.01811094582080841,
-0.19142818450927734,
-0.05410843342542648,
0.39328762888908386,
-0.05276154726743698,
0.12179546058177948,
0.06359938532114029,
-0.22714410722255707,
-0.3002087473869324,
-0.205961674451828,
-0.18106725811958313,
0.06524718552827835,
-0.5810017585754395,
-0.32308799028396606,
-0.3965206742286682,
-0.0007037036120891571,
-0.44865548610687256,
-0.030775438994169235,
-0.22604085505008698,
0.7877770662307739,
0.038224928081035614,
-0.20322993397712708,
0.6214303970336914,
-0.05110061913728714,
-0.28255659341812134,
-0.17583313584327698,
-0.27150505781173706,
0.17073042690753937,
0.10534960776567459,
0.5825029611587524,
0.3470584452152252,
0.17949096858501434,
-0.049370765686035156,
0.17781861126422882,
-0.10281850397586823,
-0.25262200832366943,
0.21193604171276093,
-0.20135819911956787,
0.28675577044487,
-0.04415806382894516,
-0.007679741829633713,
0.10506907105445862,
0.168931782245636,
-0.03999974578619003,
0.11172768473625183,
-0.14996397495269775,
0.12676912546157837,
-0.02332448959350586,
0.28417399525642395,
0.1198529601097107,
-0.15779748558998108,
-0.11195989698171616,
-0.4319233000278473,
-0.016691509634256363,
0.15392644703388214,
-0.0038996264338493347,
0.07901285588741302,
-0.25086548924446106,
0.005550650879740715,
0.35835978388786316,
-0.026921730488538742,
0.16218285262584686,
-0.006096998229622841,
0.02004014328122139,
-0.04974661022424698,
-0.2303818315267563,
-0.34204360842704773,
0.355274498462677,
-0.1019706279039383,
0.2033834606409073,
-0.2506042718887329,
0.25220152735710144,
0.2995467782020569,
0.10081889480352402,
-0.2877715229988098,
0.16382038593292236,
-0.24333706498146057,
-0.038513828068971634,
0.1070636585354805,
0.0011131763458251953,
0.05571036413311958,
0.10991647839546204,
0.04119327291846275,
0.12641823291778564,
0.09435747563838959,
-0.2818860411643982,
0.1626383364200592,
0.038365766406059265,
0.122335284948349,
-0.08929923176765442,
-0.2213630974292755,
0.36012619733810425,
0.1634078472852707,
0.38066011667251587,
-0.15373595058918,
0.2221231460571289,
-0.006140168756246567,
0.11205938458442688,
-0.41903817653656006,
-0.18334895372390747,
-0.28573042154312134,
0.03519085794687271,
0.324158638715744,
-0.11984945833683014,
-0.086356520652771,
-0.08431047946214676,
0.3114069998264313,
-0.07877340912818909,
0.2204764485359192,
0.08285844326019287,
-0.3383291959762573,
0.16026630997657776,
-0.021582795307040215,
0.37916308641433716,
0.4297634959220886,
0.24667508900165558,
-0.03129643574357033,
-0.0034337546676397324,
0.05683162063360214,
-0.003032493405044079,
0.10571709275245667,
0.27941152453422546,
0.41547566652297974,
-0.0843222364783287,
0.22710077464580536,
0.05175374075770378,
-0.009096398949623108,
-0.025655897334218025,
-0.05989515036344528,
-0.0686761885881424,
-0.29294946789741516,
-0.05676423758268356,
-0.08129093796014786,
0.058133043348789215,
-0.45578745007514954,
-0.2034323811531067,
0.08523578196763992,
-0.5229117274284363,
0.08225199580192566,
-0.24577820301055908,
-0.1431063413619995,
0.045576587319374084,
0.02844104915857315,
0.37082111835479736,
-0.22706782817840576,
-0.060421861708164215,
0.2260524332523346,
-0.15695881843566895,
0.1129828616976738,
-0.019496262073516846,
-0.049085792154073715,
-0.08998581767082214,
0.49032062292099,
0.07725843787193298,
0.09644820541143417,
-0.30234494805336,
-0.22435104846954346,
0.10436826199293137,
0.04842184856534004,
0.14972016215324402,
0.11329829692840576,
0.0604017898440361,
0.026831023395061493,
-0.2328118085861206,
-0.08542267978191376,
-0.027919048443436623,
-0.1692316085100174,
-0.223399356007576,
-0.022385552525520325,
0.07321461290121078,
0.0249798521399498,
-0.28036442399024963,
-0.5676974654197693,
-0.13902144134044647,
0.30470898747444153,
0.17168951034545898,
-0.05622608959674835,
-0.007888169027864933,
0.18257872760295868,
0.1792978197336197,
0.05477838218212128,
-0.11933185160160065,
0.04666964337229729,
0.013216603547334671,
0.34423598647117615,
-0.170381098985672,
-0.11637954413890839,
-0.12664476037025452,
-0.4445585012435913,
0.05528884753584862,
0.2123786360025406,
-0.3078698515892029,
0.12862300872802734,
-0.16029345989227295,
0.26799482107162476,
-0.030495360493659973,
0.0031081512570381165,
0.37988337874412537,
0.10259943455457687,
0.025319727137684822,
-0.0556904599070549,
-0.27100062370300293,
0.1926502287387848,
0.17746981978416443,
0.08507426083087921,
0.01251597423106432,
0.3000859320163727,
-0.004460137337446213,
0.6486830115318298,
-0.07942653447389603,
-0.33307066559791565,
-0.06498882174491882,
-0.11476654559373856,
0.3267979323863983,
-0.2337389588356018,
-0.2221953421831131,
-0.3267284631729126,
-0.31865158677101135,
-0.3132202625274658,
-0.0835190862417221,
0.005292961373925209,
-0.07770338654518127,
0.08870713412761688,
0.21142183244228363,
-0.2691899836063385,
-0.2678107023239136,
0.31110772490501404,
-0.6298686265945435,
0.07717032730579376,
-0.07433126866817474,
-0.0013968907296657562,
-0.3483355641365051,
0.12998032569885254,
-0.15909576416015625,
0.05149013176560402,
0.28913822770118713,
-0.0769692212343216,
-0.6699855923652649,
-0.08706983178853989,
-0.1398104429244995,
0.18904677033424377,
0.17253847420215607,
-0.010478218086063862,
0.299667626619339,
-0.1478801667690277,
0.01209280639886856,
0.26100799441337585,
0.28442010283470154,
-0.21667906641960144,
-0.5602384805679321,
0.13958176970481873,
0.05434178560972214,
-0.36612823605537415,
0.045347269624471664,
-0.1699523776769638,
0.43563804030418396,
-0.08615188300609589,
-0.004641532897949219,
-0.2474861741065979,
0.3057088553905487,
0.22887079417705536,
0.1961989551782608,
-0.35207217931747437,
-0.08052279055118561,
0.08247588574886322,
0.09049620479345322,
-0.23699720203876495,
-0.09384182840585709,
-0.01674060896039009,
-0.010890800505876541,
0.05945846438407898,
-0.32980287075042725,
-0.3788067102432251,
0.014790728688240051,
0.31976068019866943,
-0.09164606034755707,
0.14164945483207703,
0.27135008573532104,
0.05019798502326012,
0.130124032497406,
0.3078263998031616,
0.14000891149044037,
0.5922586917877197,
-0.09192739427089691,
-0.4606248140335083,
-0.10384982079267502,
-0.2106000930070877,
0.5864291787147522,
0.3168061375617981,
0.24846790730953217,
0.3790532946586609,
0.03535154089331627,
-0.19127537310123444,
-0.06314496695995331,
-0.020883454009890556,
0.20255883038043976,
-0.03738122433423996,
-0.45215439796447754,
-0.5612298846244812,
0.46183720231056213,
-0.1597907692193985,
-0.11302787065505981,
0.19084741175174713,
0.3338068127632141,
-0.47756630182266235,
0.6409645676612854,
0.25799599289894104,
0.989366888999939,
-0.21116508543491364,
0.3801470398902893,
0.0350424125790596,
-0.4579184651374817,
0.7528199553489685,
0.006091546267271042,
-0.1959100067615509,
-0.14990274608135223,
-0.023904338479042053,
-0.0728195384144783,
-0.2540906071662903,
0.10521774739027023,
0.409646213054657,
-0.2787841856479645,
-0.05758372321724892,
-0.1519397497177124,
0.07429230213165283,
-0.04880152642726898,
0.48917579650878906,
0.03629733994603157,
-0.260941743850708,
-0.1551223248243332,
0.04958556592464447,
0.14892363548278809,
-0.16762129962444305,
-0.2056400179862976,
-0.03641936555504799,
-0.3538442850112915,
-0.01779095083475113,
-0.3853800296783447,
-0.45761483907699585,
-0.05454407259821892,
-0.062101349234580994,
0.1572810560464859,
-0.6312544941902161,
0.27735579013824463,
0.43168559670448303,
0.17701545357704163,
-0.08189748227596283,
0.06122807413339615,
0.11430016160011292,
0.009382177144289017,
0.307913213968277,
0.251193106174469,
-0.2919282019138336,
0.3507091701030731,
0.2755835950374603,
-0.21821865439414978,
0.35833367705345154,
-0.031286370009183884,
-0.5524535179138184,
0.07906997203826904,
0.02693328633904457,
0.27878838777542114,
-0.4025586247444153,
-0.28085413575172424,
0.35404160618782043,
-0.007313860580325127,
-0.14340820908546448,
0.045306168496608734,
0.12063529342412949,
0.05379524454474449,
-0.020873434841632843,
0.37076857686042786,
-0.3586653769016266,
-0.056919027119874954,
-0.14605480432510376,
0.12363872677087784,
0.18896366655826569,
0.630203127861023,
-0.0363750159740448,
0.017371632158756256,
-0.06639736145734787,
0.3725507855415344,
0.4095953106880188,
-0.4745311737060547,
-0.057596784085035324,
0.08107966929674149,
0.007069095969200134,
-0.3730994164943695,
-0.1483187973499298,
0.1619976907968521,
0.1554819941520691,
-0.44411763548851013,
-0.1573476791381836,
-0.18143658339977264,
0.41179901361465454,
-0.08802816271781921,
0.2797030508518219,
-0.1598338782787323,
0.1193639487028122,
-0.12064877152442932,
0.3268199861049652,
-0.19239014387130737,
-0.22084148228168488,
0.20836904644966125,
0.13986310362815857,
0.04728623107075691,
0.2672196626663208,
-0.1941836029291153,
-0.14896714687347412,
0.01885206066071987,
-0.12732578814029694,
0.1814618855714798,
-0.1143285483121872,
-0.08846917748451233,
0.19073455035686493,
0.08823232352733612,
0.09033622592687607,
-0.09102393686771393,
-0.15956680476665497,
0.2966213822364807,
-0.2590957283973694,
-0.2267870455980301,
0.2751900553703308,
-0.0027088597416877747,
0.23929084837436676,
0.5310434103012085,
0.3237864375114441,
-0.2116096019744873,
0.2079460769891739,
0.1457069218158722,
0.3464229702949524,
0.027884863317012787,
0.301366925239563,
0.2141532599925995,
0.08510702848434448,
-0.07978228479623795,
0.2289365530014038,
0.33549362421035767,
0.19729501008987427,
0.06976772844791412,
-0.1716715693473816,
0.3238382041454315,
-0.0686432346701622,
0.03105936199426651,
0.2195022702217102,
-0.25050118565559387,
0.2719677686691284,
0.09045252948999405,
0.12065883725881577,
-0.09148580580949783,
0.19813649356365204,
0.29810383915901184,
-0.15899436175823212,
-0.08502483367919922,
0.3534741699695587,
-0.020117927342653275,
0.42794549465179443,
-0.17907480895519257,
-0.180713951587677,
-0.1604132354259491,
0.02893405221402645,
0.23645275831222534,
0.299335777759552,
0.09815207123756409,
-0.006423402577638626,
0.15607166290283203,
-0.007266104221343994,
0.11733260750770569,
0.31772440671920776,
-0.09183654934167862,
0.2884957194328308,
0.407904714345932,
0.013047337532043457,
0.44217589497566223,
0.20730295777320862,
0.18019267916679382,
0.016459599137306213,
0.19490033388137817,
0.06047995761036873,
0.418152779340744,
0.16892525553703308,
0.17713138461112976,
-0.0797945111989975,
-0.15186910331249237,
-0.033965323120355606,
0.0654098242521286,
-0.14034150540828705,
-0.16851666569709778,
0.019250251352787018,
-0.046979621052742004,
-0.10400049388408661,
-0.23517823219299316,
-0.5446071624755859,
-0.03154298663139343,
-0.034672632813453674,
0.24358974397182465,
-0.2146824598312378,
0.5122623443603516,
-0.009605977684259415,
0.0798562616109848,
-0.1552589386701584,
-0.05659402161836624,
-0.31929856538772583,
0.35657480359077454,
0.4216635525226593,
0.30809348821640015,
-0.06804949045181274,
0.22050075232982635,
-0.10896757245063782,
0.404049813747406,
-0.15600739419460297,
-0.12158194929361343,
-0.14829951524734497,
-0.0475272610783577,
-0.08103308081626892,
-0.030633848160505295,
0.3937813341617584,
0.1337459236383438,
-0.013532612472772598,
0.1561068743467331,
0.13133615255355835,
0.13060805201530457,
-0.6683194637298584,
0.37251606583595276,
0.026625623926520348,
-0.24533936381340027,
-0.01738090068101883,
0.31698834896087646,
-0.06430057436227798,
-0.07832413911819458,
0.4493919909000397,
-0.263330340385437,
-0.017675407230854034,
0.046975839883089066,
0.015429262071847916,
-0.03355282545089722,
0.2938138246536255,
0.27398380637168884,
0.5760570168495178,
-0.05593553185462952,
0.11096639931201935,
-0.5531083345413208,
-0.035433195531368256,
-0.1621958315372467,
-0.05575248599052429,
-0.06690113991498947,
0.06589584052562714,
0.39692842960357666,
0.4664539694786072,
0.22426658868789673,
-0.16359379887580872,
-0.3849121630191803,
0.13852974772453308,
-0.09767653048038483,
-0.4929007887840271,
0.2218853086233139,
0.31819042563438416,
-0.013246397487819195,
-0.02679925039410591,
-0.1311638355255127,
0.26996177434921265,
-0.0999356061220169,
-0.08041375130414963,
-0.08809369057416916,
0.08241453766822815,
0.13945744931697845,
0.5118875503540039,
0.060250043869018555,
0.4006273150444031,
0.008611753582954407,
0.040688104927539825,
-0.23007842898368835,
-0.4782162308692932,
-0.4323359727859497,
0.5042691826820374,
-0.15932053327560425,
0.3590172529220581,
-0.22119556367397308,
0.055127955973148346,
0.14315831661224365,
-0.23440073430538177,
-0.06362473964691162,
0.015013747848570347,
-0.4317905902862549,
0.28105613589286804,
-0.2680622935295105,
0.05783781781792641,
-0.07306241244077682,
0.17711541056632996,
0.08145320415496826,
0.18462194502353668,
0.11289961636066437,
-0.03360816091299057,
0.1386214941740036,
-0.14762623608112335,
-0.0028350576758384705,
0.1786119043827057,
-0.000105246901512146,
0.19862881302833557,
-0.16069206595420837,
-0.7023428082466125,
-0.2793784737586975,
0.5140503644943237,
-0.29199129343032837,
0.2940153181552887,
0.01068850327283144,
0.18392691016197205,
0.07353448867797852,
-0.26597994565963745,
0.5728679299354553,
-0.3577990233898163,
0.07436104118824005,
-0.3251975476741791,
-0.32737499475479126
] |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | And I have the same error with TF 2.4.1. I believe this issue should be reopened. Any ideas?! | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
``` | 18 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
```
And I have the same error with TF 2.4.1. I believe this issue should be reopened. Any ideas?! | [
-0.3299121856689453,
-0.3983680009841919,
0.04140734300017357,
0.40009552240371704,
0.30018413066864014,
-0.22759118676185608,
0.27419665455818176,
0.2562866508960724,
0.005499178543686867,
0.2942810654640198,
-0.01227247342467308,
0.022469155490398407,
-0.08508657664060593,
0.046141818165779114,
-0.2817869484424591,
0.12845061719417572,
-0.20951303839683533,
-0.07703867554664612,
0.4217459261417389,
0.08553527295589447,
-0.3209677040576935,
0.190182164311409,
-0.11296086013317108,
-0.18275578320026398,
-0.312054842710495,
0.018966015428304672,
0.3288893401622772,
-0.0016792938113212585,
-0.13102945685386658,
-0.26634106040000916,
0.11802895367145538,
-0.19675524532794952,
0.11216539144515991,
0.5339959859848022,
-0.0001142144319601357,
-0.16619165241718292,
0.13908392190933228,
-0.18148884177207947,
-0.1773090660572052,
-0.14011980593204498,
-0.03427278622984886,
-0.2571445405483246,
-0.1122628003358841,
-0.2426050305366516,
0.04415035992860794,
0.18768273293972015,
-0.16063310205936432,
-0.012286528944969177,
0.18435919284820557,
0.39791131019592285,
0.1449991911649704,
0.15091122686862946,
0.07810530066490173,
0.07784561067819595,
-0.13811436295509338,
-0.34258079528808594,
-0.1521805375814438,
0.3253554701805115,
-0.06692476570606232,
0.03162659704685211,
-0.20974326133728027,
0.2210543006658554,
0.1617937535047531,
0.21452589333057404,
0.2830662727355957,
-0.11133340001106262,
0.3766462802886963,
-0.0479230135679245,
0.25159016251564026,
0.19776177406311035,
-0.09956931322813034,
-0.2013896405696869,
-0.21858613193035126,
0.18862295150756836,
0.12778769433498383,
-0.6358430981636047,
-0.05380135029554367,
-0.06097240746021271,
-0.16854357719421387,
-0.3811211884021759,
-0.37570634484291077,
-0.10144839435815811,
-0.10101780295372009,
-0.13524235785007477,
-0.15136060118675232,
0.17876140773296356,
-0.33501654863357544,
0.10107967257499695,
0.06649905443191528,
0.037248242646455765,
0.22743907570838928,
0.09554284065961838,
0.1029125452041626,
0.22068284451961517,
-0.4990333914756775,
-0.1053616851568222,
0.01608794555068016,
-0.1888548731803894,
-0.016234714537858963,
-0.032536283135414124,
0.24662631750106812,
-0.015861928462982178,
-0.056019414216279984,
0.15804609656333923,
-0.1570667326450348,
0.5400376915931702,
0.17008015513420105,
0.08421384543180466,
0.393369197845459,
0.5855426788330078,
0.09295420348644257,
-0.004057716578245163,
-0.005677505396306515,
-0.5385400056838989,
0.2322417050600052,
0.07331977784633636,
-0.178412526845932,
-0.1894303262233734,
-0.49301546812057495,
0.0014651454985141754,
-0.06099224463105202,
0.031280554831027985,
0.2731885612010956,
0.4516294300556183,
-0.38999029994010925,
-0.24429818987846375,
0.24233917891979218,
-0.05182041972875595,
-0.04409944638609886,
-0.048507850617170334,
-0.27872976660728455,
0.06354253739118576,
-0.029643571004271507,
0.19078241288661957,
0.08794592320919037,
-0.655260443687439,
0.33376917243003845,
-0.15722645819187164,
0.25681912899017334,
-0.21716415882110596,
0.08466031402349472,
-0.23427197337150574,
-0.014011301100254059,
0.02924777753651142,
-0.05533703416585922,
-0.3133436441421509,
0.32569411396980286,
-0.27821215987205505,
0.09636657685041428,
0.0749984085559845,
-0.05072752386331558,
-0.40880271792411804,
0.059636037796735764,
0.11786726862192154,
-0.1385251134634018,
0.058627501130104065,
-0.14546704292297363,
0.20553065836429596,
0.3106635808944702,
-0.05174151808023453,
0.06077563390135765,
-0.14683428406715393,
-0.1884094774723053,
-0.13215544819831848,
0.5624068975448608,
-0.029651880264282227,
-0.22556309401988983,
-0.049947742372751236,
-0.03302234038710594,
0.021451503038406372,
0.3609204590320587,
0.3322625458240509,
0.047414254397153854,
0.13746821880340576,
-0.10439570248126984,
-0.10682225972414017,
0.2952229380607605,
-0.35572361946105957,
-0.18236590921878815,
-0.160495325922966,
0.04117387533187866,
-0.18272969126701355,
0.05327289178967476,
-0.14260560274124146,
-0.02611330896615982,
-0.15446309745311737,
0.4189434051513672,
0.0851462259888649,
-0.17665667831897736,
-0.11907286196947098,
-0.48140817880630493,
-0.35024282336235046,
-0.09127090871334076,
0.058954376727342606,
0.5071213245391846,
-0.07625364512205124,
0.17161127924919128,
0.264210045337677,
0.0554545633494854,
-0.0777340978384018,
0.0007423756178468466,
0.13575796782970428,
0.26041078567504883,
-0.24531929194927216,
0.1736738234758377,
-0.18391522765159607,
0.19437792897224426,
0.22709211707115173,
0.14800825715065002,
0.13269272446632385,
0.0645500048995018,
-0.09578768908977509,
-0.36931318044662476,
0.011741219088435173,
0.040873922407627106,
-0.09064188599586487,
0.19420023262500763,
-0.023632757365703583,
0.020072091370821,
-0.046261079609394073,
-0.17795835435390472,
0.019061505794525146,
-0.6478569507598877,
0.057780083268880844,
0.2421562671661377,
-0.011923964135348797,
0.009531954303383827,
-0.1117236465215683,
0.07775725424289703,
0.3475860357284546,
0.18648135662078857,
0.07951192557811737,
-0.1525592803955078,
0.3241610825061798,
0.14699453115463257,
-0.21066971123218536,
0.0685732364654541,
-0.12138338387012482,
-0.02599591575562954,
0.3158136010169983,
-0.04526805132627487,
0.0832681879401207,
0.09919538348913193,
-0.12095974385738373,
0.24413251876831055,
0.09364645183086395,
-0.07940484583377838,
0.1794828623533249,
0.294668972492218,
-0.0805850550532341,
-0.07273495942354202,
0.16613119840621948,
0.14957886934280396,
-0.1780601441860199,
0.1724618375301361,
-0.1364566534757614,
0.0664391815662384,
-0.26401039958000183,
0.027136050164699554,
-0.24984943866729736,
0.4172477722167969,
0.07080909609794617,
0.06458061188459396,
0.19377869367599487,
-0.025959603488445282,
-0.05894695594906807,
-0.03500666469335556,
0.08320684731006622,
0.20399141311645508,
-0.04995698109269142,
0.22603389620780945,
0.07169000804424286,
-0.16681744158267975,
-0.13714629411697388,
0.01047041267156601,
0.0662442147731781,
0.24011394381523132,
0.3439280688762665,
0.16824018955230713,
-0.15996114909648895,
-0.2710840404033661,
-0.1610850840806961,
0.24648141860961914,
0.23851950466632843,
-0.15063804388046265,
-0.05685247480869293,
0.07569389045238495,
0.15173310041427612,
-0.28765565156936646,
-0.28805026412010193,
-0.25335079431533813,
-0.15971951186656952,
0.0883837416768074,
0.2925886809825897,
0.25788402557373047,
-0.0014519738033413887,
0.3952098786830902,
0.461711585521698,
0.059359125792980194,
-0.05133756995201111,
0.05023713409900665,
-0.21538592875003815,
-0.3148038983345032,
0.08866821229457855,
0.06496955454349518,
-0.10161426663398743,
0.23330290615558624,
-0.10219521820545197,
-0.19489924609661102,
-0.3437846601009369,
-0.4103054106235504,
0.01005624234676361,
-0.21031977236270905,
0.4719870984554291,
0.18166355788707733,
-0.004250183701515198,
-0.3588888645172119,
-0.1189136728644371,
0.14626803994178772,
0.12110869586467743,
-0.03983268886804581,
-0.01968570239841938,
-0.14938318729400635,
0.039147134870290756,
-0.07081405818462372,
-0.22209760546684265,
0.16400285065174103,
-0.3041469156742096,
0.24095217883586884,
0.07631364464759827,
0.030651355162262917,
-0.061224594712257385,
0.05230952426791191,
0.504597008228302,
0.5048178434371948,
-0.037923380732536316,
-0.26337453722953796,
0.09040860831737518,
0.13801980018615723,
-0.33668968081474304,
-0.31026047468185425,
0.021609995514154434,
0.016284272074699402,
0.5390125513076782,
0.16476228833198547,
-0.45799291133880615,
-0.31728965044021606,
-0.0815848782658577,
-0.20542141795158386,
-0.24346774816513062,
0.10444782674312592,
0.10456044226884842,
0.045371413230895996,
-0.016684062778949738,
-0.12195291370153427,
-0.12123119831085205,
0.033526770770549774,
-0.22951194643974304,
0.6499086618423462,
-0.2761822044849396,
0.28033551573753357,
0.32706210017204285,
0.8638535737991333,
0.17141184210777283,
-0.027132656425237656,
0.08198844641447067,
0.12086950242519379,
0.041655249893665314,
-0.007301159203052521,
-0.05456478148698807,
0.6279391050338745,
-0.29413387179374695,
-0.177890807390213,
0.14976315200328827,
-0.15940514206886292,
0.24522005021572113,
-0.05722138285636902,
-0.021892324090003967,
0.1148410215973854,
-0.16917018592357635,
-0.1525198370218277,
0.142035573720932,
0.2261672019958496,
0.08440995216369629,
0.011643089354038239,
-0.2870465815067291,
-0.04397011548280716,
0.02601107954978943,
0.22015981376171112,
-0.0691905990242958,
-0.008999661542475224,
0.2485225945711136,
0.004199601709842682,
-0.5446143746376038,
0.44574683904647827,
0.2141604870557785,
0.13161401450634003,
0.0335003025829792,
0.13207286596298218,
-0.09863713383674622,
-0.16176074743270874,
0.22191324830055237,
-0.20706598460674286,
0.041390880942344666,
-0.038857463747262955,
-0.08244690299034119,
-0.5960397720336914,
0.03179344907402992,
-0.06195279583334923,
-0.28777432441711426,
0.4565431773662567,
0.3751790225505829,
-0.2594047784805298,
0.1372567117214203,
0.22994868457317352,
0.24744708836078644,
-0.004890691488981247,
0.0177285298705101,
-0.5006985664367676,
-0.40970054268836975,
-0.15691877901554108,
0.12795935571193695,
0.13802570104599,
0.2855316996574402,
-0.0317520946264267,
0.04163942113518715,
-0.1645379215478897,
-0.17561405897140503,
0.04856957867741585,
0.28616663813591003,
0.0373404398560524,
-0.0988207757472992,
0.14866691827774048,
-0.19388657808303833,
-0.3395845890045166,
0.20055519044399261,
0.12170004844665527,
-0.0412939079105854,
-0.92862468957901,
0.039742257446050644,
0.027219191193580627,
0.24921536445617676,
0.13508957624435425,
-0.15889957547187805,
0.20742228627204895,
-0.1697261780500412,
0.43467557430267334,
0.0744934156537056,
0.2771121561527252,
0.16090315580368042,
0.3366519808769226,
-0.01051639299839735,
-0.12534329295158386,
0.3105500042438507,
0.2530325651168823,
0.2215179055929184,
0.5469455122947693,
-0.0915650725364685,
-0.11807224154472351,
0.1247880756855011,
0.6157293915748596,
0.6351813077926636,
0.019563425332307816,
-0.27837827801704407,
0.36204057931900024,
-0.04847756028175354,
0.44662585854530334,
-0.40773701667785645,
0.4081355929374695,
-0.30015239119529724,
-0.5378538966178894,
0.09860257804393768,
0.016689088195562363,
0.02945549786090851,
-0.2506216764450073,
-0.10748368501663208,
0.33046236634254456,
-0.1585828959941864,
-0.22080516815185547,
0.03305116295814514,
0.07572560012340546,
-0.39099544286727905,
-0.08136977255344391,
-0.015905819833278656,
0.18097075819969177,
-0.1984902173280716,
0.15306980907917023,
-0.23911288380622864,
0.22615182399749756,
-0.02690344862639904,
-0.07773667573928833,
-0.2188999503850937,
0.0008697435259819031,
-0.45592692494392395,
0.1823396533727646,
-0.06680300831794739,
-0.06951748579740524,
0.03761743754148483,
0.28962740302085876,
0.8918442130088806,
0.1306748241186142,
-0.07761839032173157,
0.11590588092803955,
-0.014725945889949799,
-0.09182442724704742,
-0.08558494597673416,
0.06435681879520416,
0.2934025824069977,
-0.2617601156234741,
-0.16873879730701447,
-0.08115097135305405,
0.09257591515779495,
-0.16079211235046387,
0.3625638484954834,
-0.046710409224033356,
-0.07486814260482788,
0.15066704154014587,
0.02021675556898117,
0.026631273329257965,
-0.06784163415431976,
-0.17309896647930145,
0.1156158596277237,
-0.163135826587677,
-0.2514808773994446,
-0.011650986969470978,
0.013960704207420349,
-0.35382288694381714,
0.07691977918148041,
0.18481457233428955,
0.09635645896196365,
-0.1526755392551422,
0.4362221360206604,
-0.12702153623104095,
-0.06890548765659332,
-0.08265165984630585,
-0.4828759431838989,
0.09407874196767807,
-0.06158224120736122,
0.3277033865451813,
-0.039194103330373764,
-0.15081918239593506,
0.10884739458560944,
0.8712244033813477,
0.2959723472595215,
0.1533789485692978,
-0.22971531748771667,
-0.3328503370285034,
-0.32470372319221497,
0.014476440846920013,
0.00524042546749115,
0.09894140809774399,
-0.16323697566986084,
0.36495479941368103,
-0.11459765583276749,
0.3088015913963318,
-0.24895890057086945,
0.11808576434850693,
-0.4077552258968353,
0.11900600045919418,
-0.14777597784996033,
-0.16000398993492126,
0.30077067017555237,
0.3664514124393463,
0.011363120749592781,
0.44244223833084106,
-0.2432103455066681,
-0.18150493502616882,
-0.18888191878795624,
0.11997152119874954,
0.23678547143936157,
-0.03730185329914093,
-0.15523116290569305,
-0.04593399912118912,
-0.31020861864089966,
-0.17679260671138763,
0.21192462742328644,
0.25719571113586426,
-0.06610943377017975,
0.06374375522136688,
-0.24947069585323334,
0.42239126563072205,
0.22513537108898163,
-0.2963387966156006,
0.3116735816001892,
0.2022942304611206,
0.1305122971534729,
0.0995250791311264,
0.1436861753463745,
0.072031170129776,
0.08041001856327057,
-0.2597729563713074,
-0.00985516607761383,
0.00855526328086853,
0.19674000144004822,
-0.23099209368228912,
-0.15612080693244934,
-0.37082698941230774,
0.0517183393239975,
0.3635762333869934,
0.007451694458723068,
-0.27410903573036194,
0.1914917528629303,
0.13226062059402466,
-0.32511889934539795,
0.11903369426727295,
-0.257068008184433,
0.053928129374980927,
0.0856841653585434,
0.27379679679870605,
0.004499368369579315,
0.023140080273151398,
0.03706096485257149,
-0.040476344525814056,
-0.1941717267036438,
-0.5982772707939148,
-0.04233407974243164,
-0.14811787009239197,
-0.2313740849494934,
0.2417520433664322,
0.38029608130455017,
-0.10069058835506439,
0.3059271574020386,
0.06069619208574295,
-0.10947326570749283,
0.25705644488334656,
-0.6360207200050354,
0.09245948493480682,
0.09076379239559174,
-0.05721930041909218,
0.3093509078025818,
0.058656781911849976,
-0.08549633622169495,
-0.018469952046871185,
-0.23897415399551392,
0.3402973413467407,
-0.3041679859161377,
0.0976269468665123,
-0.22712042927742004,
0.033009786158800125,
-0.10786452144384384,
0.005205007269978523,
0.10802620649337769,
-0.07958809286355972,
0.13739989697933197,
-0.07346180081367493,
0.2036411166191101,
0.11403681337833405,
-0.22369131445884705,
0.22999310493469238,
-0.11681815981864929,
0.07374656945466995,
-0.6453626751899719,
0.5514610409736633,
0.36343467235565186,
-0.09826946258544922,
0.016762645915150642,
0.2653757929801941,
0.015222955495119095,
-0.18764789402484894,
0.32546788454055786,
0.20124946534633636,
0.4787557125091553,
-0.04328091815114021,
-0.07363320142030716,
0.1241813600063324,
0.07404722273349762,
-0.09110689163208008,
0.28077182173728943,
0.5041821002960205,
0.07197174429893494,
0.4548558294773102,
0.055685073137283325,
-0.24693959951400757,
0.10966992378234863,
-0.06710430979728699,
0.0015847748145461082,
-0.10189838707447052,
0.44226783514022827,
-0.08225824683904648,
0.008662812411785126,
-0.32234933972358704,
-0.11045516282320023,
-0.33704590797424316,
0.3438331186771393,
0.055821653455495834,
-0.047978851944208145,
0.2515256702899933,
0.01127937063574791,
0.08349224925041199,
-0.03462902083992958,
0.25255537033081055,
0.13496361672878265,
-0.1671018898487091,
-0.3239257335662842,
-0.1811329424381256,
-0.5610327124595642,
0.22686511278152466,
0.13356734812259674,
0.18414950370788574,
-0.03134799376130104,
0.16959254443645477,
-0.25292736291885376,
-0.11920115351676941,
-0.0463254451751709,
-0.19636179506778717,
0.25092247128486633,
0.02480756863951683,
-0.27682891488075256,
-0.35299187898635864,
-0.24162442982196808,
-0.4227743446826935,
0.17088371515274048,
-0.24913078546524048,
0.009029131382703781,
-0.15369336307048798,
-0.0019235946238040924,
-0.0455351322889328,
-0.036319978535175323,
0.26113560795783997,
0.3332712650299072,
0.23745213449001312,
0.03461538627743721,
0.5644971132278442,
-0.03785339370369911,
-0.07344907522201538,
0.01589839532971382,
0.1402171403169632,
-0.2252647429704666,
0.235295832157135,
0.14536650478839874,
0.39479801058769226,
-0.03567176312208176,
-0.1783236861228943,
-0.42934226989746094,
0.753188967704773,
0.28733503818511963,
-0.22657127678394318,
-0.07930876314640045,
-0.041110798716545105,
0.10832618921995163,
0.07162129133939743,
0.3129252791404724,
0.36380141973495483,
-0.1406288892030716,
0.3308030962944031,
-0.3588154911994934,
-0.2075115591287613,
0.5828338861465454,
-0.40294933319091797,
-0.2971513867378235,
-0.008299180306494236,
0.3402397632598877,
0.5178589820861816,
-0.435354620218277,
-0.8319960236549377,
-0.006672240793704987,
0.2214432805776596,
0.11133138090372086,
-0.29933878779411316,
0.0849803239107132,
-0.166529580950737,
0.2673638164997101,
-0.08180518448352814,
0.3439676761627197,
-0.07568910717964172,
-0.12148687988519669,
0.03911122307181358,
-0.24258294701576233
] |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | I'm seeing the same issue with TF 2.4.1 when running the following in https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb:
```
!pip install git+https://github.com/google-research/bleurt.git
references = ["foo bar baz", "one two three"]
bleurt_metric = load_metric('bleurt')
predictions = ["foo bar", "four five six"]
bleurt_metric.compute(predictions=predictions, references=references)
``` | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
``` | 39 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
```
I'm seeing the same issue with TF 2.4.1 when running the following in https://colab.research.google.com/github/huggingface/datasets/blob/master/notebooks/Overview.ipynb:
```
!pip install git+https://github.com/google-research/bleurt.git
references = ["foo bar baz", "one two three"]
bleurt_metric = load_metric('bleurt')
predictions = ["foo bar", "four five six"]
bleurt_metric.compute(predictions=predictions, references=references)
``` | [
-0.3299121856689453,
-0.3983680009841919,
0.04140734300017357,
0.40009552240371704,
0.30018413066864014,
-0.22759118676185608,
0.27419665455818176,
0.2562866508960724,
0.005499178543686867,
0.2942810654640198,
-0.01227247342467308,
0.022469155490398407,
-0.08508657664060593,
0.046141818165779114,
-0.2817869484424591,
0.12845061719417572,
-0.20951303839683533,
-0.07703867554664612,
0.4217459261417389,
0.08553527295589447,
-0.3209677040576935,
0.190182164311409,
-0.11296086013317108,
-0.18275578320026398,
-0.312054842710495,
0.018966015428304672,
0.3288893401622772,
-0.0016792938113212585,
-0.13102945685386658,
-0.26634106040000916,
0.11802895367145538,
-0.19675524532794952,
0.11216539144515991,
0.5339959859848022,
-0.0001142144319601357,
-0.16619165241718292,
0.13908392190933228,
-0.18148884177207947,
-0.1773090660572052,
-0.14011980593204498,
-0.03427278622984886,
-0.2571445405483246,
-0.1122628003358841,
-0.2426050305366516,
0.04415035992860794,
0.18768273293972015,
-0.16063310205936432,
-0.012286528944969177,
0.18435919284820557,
0.39791131019592285,
0.1449991911649704,
0.15091122686862946,
0.07810530066490173,
0.07784561067819595,
-0.13811436295509338,
-0.34258079528808594,
-0.1521805375814438,
0.3253554701805115,
-0.06692476570606232,
0.03162659704685211,
-0.20974326133728027,
0.2210543006658554,
0.1617937535047531,
0.21452589333057404,
0.2830662727355957,
-0.11133340001106262,
0.3766462802886963,
-0.0479230135679245,
0.25159016251564026,
0.19776177406311035,
-0.09956931322813034,
-0.2013896405696869,
-0.21858613193035126,
0.18862295150756836,
0.12778769433498383,
-0.6358430981636047,
-0.05380135029554367,
-0.06097240746021271,
-0.16854357719421387,
-0.3811211884021759,
-0.37570634484291077,
-0.10144839435815811,
-0.10101780295372009,
-0.13524235785007477,
-0.15136060118675232,
0.17876140773296356,
-0.33501654863357544,
0.10107967257499695,
0.06649905443191528,
0.037248242646455765,
0.22743907570838928,
0.09554284065961838,
0.1029125452041626,
0.22068284451961517,
-0.4990333914756775,
-0.1053616851568222,
0.01608794555068016,
-0.1888548731803894,
-0.016234714537858963,
-0.032536283135414124,
0.24662631750106812,
-0.015861928462982178,
-0.056019414216279984,
0.15804609656333923,
-0.1570667326450348,
0.5400376915931702,
0.17008015513420105,
0.08421384543180466,
0.393369197845459,
0.5855426788330078,
0.09295420348644257,
-0.004057716578245163,
-0.005677505396306515,
-0.5385400056838989,
0.2322417050600052,
0.07331977784633636,
-0.178412526845932,
-0.1894303262233734,
-0.49301546812057495,
0.0014651454985141754,
-0.06099224463105202,
0.031280554831027985,
0.2731885612010956,
0.4516294300556183,
-0.38999029994010925,
-0.24429818987846375,
0.24233917891979218,
-0.05182041972875595,
-0.04409944638609886,
-0.048507850617170334,
-0.27872976660728455,
0.06354253739118576,
-0.029643571004271507,
0.19078241288661957,
0.08794592320919037,
-0.655260443687439,
0.33376917243003845,
-0.15722645819187164,
0.25681912899017334,
-0.21716415882110596,
0.08466031402349472,
-0.23427197337150574,
-0.014011301100254059,
0.02924777753651142,
-0.05533703416585922,
-0.3133436441421509,
0.32569411396980286,
-0.27821215987205505,
0.09636657685041428,
0.0749984085559845,
-0.05072752386331558,
-0.40880271792411804,
0.059636037796735764,
0.11786726862192154,
-0.1385251134634018,
0.058627501130104065,
-0.14546704292297363,
0.20553065836429596,
0.3106635808944702,
-0.05174151808023453,
0.06077563390135765,
-0.14683428406715393,
-0.1884094774723053,
-0.13215544819831848,
0.5624068975448608,
-0.029651880264282227,
-0.22556309401988983,
-0.049947742372751236,
-0.03302234038710594,
0.021451503038406372,
0.3609204590320587,
0.3322625458240509,
0.047414254397153854,
0.13746821880340576,
-0.10439570248126984,
-0.10682225972414017,
0.2952229380607605,
-0.35572361946105957,
-0.18236590921878815,
-0.160495325922966,
0.04117387533187866,
-0.18272969126701355,
0.05327289178967476,
-0.14260560274124146,
-0.02611330896615982,
-0.15446309745311737,
0.4189434051513672,
0.0851462259888649,
-0.17665667831897736,
-0.11907286196947098,
-0.48140817880630493,
-0.35024282336235046,
-0.09127090871334076,
0.058954376727342606,
0.5071213245391846,
-0.07625364512205124,
0.17161127924919128,
0.264210045337677,
0.0554545633494854,
-0.0777340978384018,
0.0007423756178468466,
0.13575796782970428,
0.26041078567504883,
-0.24531929194927216,
0.1736738234758377,
-0.18391522765159607,
0.19437792897224426,
0.22709211707115173,
0.14800825715065002,
0.13269272446632385,
0.0645500048995018,
-0.09578768908977509,
-0.36931318044662476,
0.011741219088435173,
0.040873922407627106,
-0.09064188599586487,
0.19420023262500763,
-0.023632757365703583,
0.020072091370821,
-0.046261079609394073,
-0.17795835435390472,
0.019061505794525146,
-0.6478569507598877,
0.057780083268880844,
0.2421562671661377,
-0.011923964135348797,
0.009531954303383827,
-0.1117236465215683,
0.07775725424289703,
0.3475860357284546,
0.18648135662078857,
0.07951192557811737,
-0.1525592803955078,
0.3241610825061798,
0.14699453115463257,
-0.21066971123218536,
0.0685732364654541,
-0.12138338387012482,
-0.02599591575562954,
0.3158136010169983,
-0.04526805132627487,
0.0832681879401207,
0.09919538348913193,
-0.12095974385738373,
0.24413251876831055,
0.09364645183086395,
-0.07940484583377838,
0.1794828623533249,
0.294668972492218,
-0.0805850550532341,
-0.07273495942354202,
0.16613119840621948,
0.14957886934280396,
-0.1780601441860199,
0.1724618375301361,
-0.1364566534757614,
0.0664391815662384,
-0.26401039958000183,
0.027136050164699554,
-0.24984943866729736,
0.4172477722167969,
0.07080909609794617,
0.06458061188459396,
0.19377869367599487,
-0.025959603488445282,
-0.05894695594906807,
-0.03500666469335556,
0.08320684731006622,
0.20399141311645508,
-0.04995698109269142,
0.22603389620780945,
0.07169000804424286,
-0.16681744158267975,
-0.13714629411697388,
0.01047041267156601,
0.0662442147731781,
0.24011394381523132,
0.3439280688762665,
0.16824018955230713,
-0.15996114909648895,
-0.2710840404033661,
-0.1610850840806961,
0.24648141860961914,
0.23851950466632843,
-0.15063804388046265,
-0.05685247480869293,
0.07569389045238495,
0.15173310041427612,
-0.28765565156936646,
-0.28805026412010193,
-0.25335079431533813,
-0.15971951186656952,
0.0883837416768074,
0.2925886809825897,
0.25788402557373047,
-0.0014519738033413887,
0.3952098786830902,
0.461711585521698,
0.059359125792980194,
-0.05133756995201111,
0.05023713409900665,
-0.21538592875003815,
-0.3148038983345032,
0.08866821229457855,
0.06496955454349518,
-0.10161426663398743,
0.23330290615558624,
-0.10219521820545197,
-0.19489924609661102,
-0.3437846601009369,
-0.4103054106235504,
0.01005624234676361,
-0.21031977236270905,
0.4719870984554291,
0.18166355788707733,
-0.004250183701515198,
-0.3588888645172119,
-0.1189136728644371,
0.14626803994178772,
0.12110869586467743,
-0.03983268886804581,
-0.01968570239841938,
-0.14938318729400635,
0.039147134870290756,
-0.07081405818462372,
-0.22209760546684265,
0.16400285065174103,
-0.3041469156742096,
0.24095217883586884,
0.07631364464759827,
0.030651355162262917,
-0.061224594712257385,
0.05230952426791191,
0.504597008228302,
0.5048178434371948,
-0.037923380732536316,
-0.26337453722953796,
0.09040860831737518,
0.13801980018615723,
-0.33668968081474304,
-0.31026047468185425,
0.021609995514154434,
0.016284272074699402,
0.5390125513076782,
0.16476228833198547,
-0.45799291133880615,
-0.31728965044021606,
-0.0815848782658577,
-0.20542141795158386,
-0.24346774816513062,
0.10444782674312592,
0.10456044226884842,
0.045371413230895996,
-0.016684062778949738,
-0.12195291370153427,
-0.12123119831085205,
0.033526770770549774,
-0.22951194643974304,
0.6499086618423462,
-0.2761822044849396,
0.28033551573753357,
0.32706210017204285,
0.8638535737991333,
0.17141184210777283,
-0.027132656425237656,
0.08198844641447067,
0.12086950242519379,
0.041655249893665314,
-0.007301159203052521,
-0.05456478148698807,
0.6279391050338745,
-0.29413387179374695,
-0.177890807390213,
0.14976315200328827,
-0.15940514206886292,
0.24522005021572113,
-0.05722138285636902,
-0.021892324090003967,
0.1148410215973854,
-0.16917018592357635,
-0.1525198370218277,
0.142035573720932,
0.2261672019958496,
0.08440995216369629,
0.011643089354038239,
-0.2870465815067291,
-0.04397011548280716,
0.02601107954978943,
0.22015981376171112,
-0.0691905990242958,
-0.008999661542475224,
0.2485225945711136,
0.004199601709842682,
-0.5446143746376038,
0.44574683904647827,
0.2141604870557785,
0.13161401450634003,
0.0335003025829792,
0.13207286596298218,
-0.09863713383674622,
-0.16176074743270874,
0.22191324830055237,
-0.20706598460674286,
0.041390880942344666,
-0.038857463747262955,
-0.08244690299034119,
-0.5960397720336914,
0.03179344907402992,
-0.06195279583334923,
-0.28777432441711426,
0.4565431773662567,
0.3751790225505829,
-0.2594047784805298,
0.1372567117214203,
0.22994868457317352,
0.24744708836078644,
-0.004890691488981247,
0.0177285298705101,
-0.5006985664367676,
-0.40970054268836975,
-0.15691877901554108,
0.12795935571193695,
0.13802570104599,
0.2855316996574402,
-0.0317520946264267,
0.04163942113518715,
-0.1645379215478897,
-0.17561405897140503,
0.04856957867741585,
0.28616663813591003,
0.0373404398560524,
-0.0988207757472992,
0.14866691827774048,
-0.19388657808303833,
-0.3395845890045166,
0.20055519044399261,
0.12170004844665527,
-0.0412939079105854,
-0.92862468957901,
0.039742257446050644,
0.027219191193580627,
0.24921536445617676,
0.13508957624435425,
-0.15889957547187805,
0.20742228627204895,
-0.1697261780500412,
0.43467557430267334,
0.0744934156537056,
0.2771121561527252,
0.16090315580368042,
0.3366519808769226,
-0.01051639299839735,
-0.12534329295158386,
0.3105500042438507,
0.2530325651168823,
0.2215179055929184,
0.5469455122947693,
-0.0915650725364685,
-0.11807224154472351,
0.1247880756855011,
0.6157293915748596,
0.6351813077926636,
0.019563425332307816,
-0.27837827801704407,
0.36204057931900024,
-0.04847756028175354,
0.44662585854530334,
-0.40773701667785645,
0.4081355929374695,
-0.30015239119529724,
-0.5378538966178894,
0.09860257804393768,
0.016689088195562363,
0.02945549786090851,
-0.2506216764450073,
-0.10748368501663208,
0.33046236634254456,
-0.1585828959941864,
-0.22080516815185547,
0.03305116295814514,
0.07572560012340546,
-0.39099544286727905,
-0.08136977255344391,
-0.015905819833278656,
0.18097075819969177,
-0.1984902173280716,
0.15306980907917023,
-0.23911288380622864,
0.22615182399749756,
-0.02690344862639904,
-0.07773667573928833,
-0.2188999503850937,
0.0008697435259819031,
-0.45592692494392395,
0.1823396533727646,
-0.06680300831794739,
-0.06951748579740524,
0.03761743754148483,
0.28962740302085876,
0.8918442130088806,
0.1306748241186142,
-0.07761839032173157,
0.11590588092803955,
-0.014725945889949799,
-0.09182442724704742,
-0.08558494597673416,
0.06435681879520416,
0.2934025824069977,
-0.2617601156234741,
-0.16873879730701447,
-0.08115097135305405,
0.09257591515779495,
-0.16079211235046387,
0.3625638484954834,
-0.046710409224033356,
-0.07486814260482788,
0.15066704154014587,
0.02021675556898117,
0.026631273329257965,
-0.06784163415431976,
-0.17309896647930145,
0.1156158596277237,
-0.163135826587677,
-0.2514808773994446,
-0.011650986969470978,
0.013960704207420349,
-0.35382288694381714,
0.07691977918148041,
0.18481457233428955,
0.09635645896196365,
-0.1526755392551422,
0.4362221360206604,
-0.12702153623104095,
-0.06890548765659332,
-0.08265165984630585,
-0.4828759431838989,
0.09407874196767807,
-0.06158224120736122,
0.3277033865451813,
-0.039194103330373764,
-0.15081918239593506,
0.10884739458560944,
0.8712244033813477,
0.2959723472595215,
0.1533789485692978,
-0.22971531748771667,
-0.3328503370285034,
-0.32470372319221497,
0.014476440846920013,
0.00524042546749115,
0.09894140809774399,
-0.16323697566986084,
0.36495479941368103,
-0.11459765583276749,
0.3088015913963318,
-0.24895890057086945,
0.11808576434850693,
-0.4077552258968353,
0.11900600045919418,
-0.14777597784996033,
-0.16000398993492126,
0.30077067017555237,
0.3664514124393463,
0.011363120749592781,
0.44244223833084106,
-0.2432103455066681,
-0.18150493502616882,
-0.18888191878795624,
0.11997152119874954,
0.23678547143936157,
-0.03730185329914093,
-0.15523116290569305,
-0.04593399912118912,
-0.31020861864089966,
-0.17679260671138763,
0.21192462742328644,
0.25719571113586426,
-0.06610943377017975,
0.06374375522136688,
-0.24947069585323334,
0.42239126563072205,
0.22513537108898163,
-0.2963387966156006,
0.3116735816001892,
0.2022942304611206,
0.1305122971534729,
0.0995250791311264,
0.1436861753463745,
0.072031170129776,
0.08041001856327057,
-0.2597729563713074,
-0.00985516607761383,
0.00855526328086853,
0.19674000144004822,
-0.23099209368228912,
-0.15612080693244934,
-0.37082698941230774,
0.0517183393239975,
0.3635762333869934,
0.007451694458723068,
-0.27410903573036194,
0.1914917528629303,
0.13226062059402466,
-0.32511889934539795,
0.11903369426727295,
-0.257068008184433,
0.053928129374980927,
0.0856841653585434,
0.27379679679870605,
0.004499368369579315,
0.023140080273151398,
0.03706096485257149,
-0.040476344525814056,
-0.1941717267036438,
-0.5982772707939148,
-0.04233407974243164,
-0.14811787009239197,
-0.2313740849494934,
0.2417520433664322,
0.38029608130455017,
-0.10069058835506439,
0.3059271574020386,
0.06069619208574295,
-0.10947326570749283,
0.25705644488334656,
-0.6360207200050354,
0.09245948493480682,
0.09076379239559174,
-0.05721930041909218,
0.3093509078025818,
0.058656781911849976,
-0.08549633622169495,
-0.018469952046871185,
-0.23897415399551392,
0.3402973413467407,
-0.3041679859161377,
0.0976269468665123,
-0.22712042927742004,
0.033009786158800125,
-0.10786452144384384,
0.005205007269978523,
0.10802620649337769,
-0.07958809286355972,
0.13739989697933197,
-0.07346180081367493,
0.2036411166191101,
0.11403681337833405,
-0.22369131445884705,
0.22999310493469238,
-0.11681815981864929,
0.07374656945466995,
-0.6453626751899719,
0.5514610409736633,
0.36343467235565186,
-0.09826946258544922,
0.016762645915150642,
0.2653757929801941,
0.015222955495119095,
-0.18764789402484894,
0.32546788454055786,
0.20124946534633636,
0.4787557125091553,
-0.04328091815114021,
-0.07363320142030716,
0.1241813600063324,
0.07404722273349762,
-0.09110689163208008,
0.28077182173728943,
0.5041821002960205,
0.07197174429893494,
0.4548558294773102,
0.055685073137283325,
-0.24693959951400757,
0.10966992378234863,
-0.06710430979728699,
0.0015847748145461082,
-0.10189838707447052,
0.44226783514022827,
-0.08225824683904648,
0.008662812411785126,
-0.32234933972358704,
-0.11045516282320023,
-0.33704590797424316,
0.3438331186771393,
0.055821653455495834,
-0.047978851944208145,
0.2515256702899933,
0.01127937063574791,
0.08349224925041199,
-0.03462902083992958,
0.25255537033081055,
0.13496361672878265,
-0.1671018898487091,
-0.3239257335662842,
-0.1811329424381256,
-0.5610327124595642,
0.22686511278152466,
0.13356734812259674,
0.18414950370788574,
-0.03134799376130104,
0.16959254443645477,
-0.25292736291885376,
-0.11920115351676941,
-0.0463254451751709,
-0.19636179506778717,
0.25092247128486633,
0.02480756863951683,
-0.27682891488075256,
-0.35299187898635864,
-0.24162442982196808,
-0.4227743446826935,
0.17088371515274048,
-0.24913078546524048,
0.009029131382703781,
-0.15369336307048798,
-0.0019235946238040924,
-0.0455351322889328,
-0.036319978535175323,
0.26113560795783997,
0.3332712650299072,
0.23745213449001312,
0.03461538627743721,
0.5644971132278442,
-0.03785339370369911,
-0.07344907522201538,
0.01589839532971382,
0.1402171403169632,
-0.2252647429704666,
0.235295832157135,
0.14536650478839874,
0.39479801058769226,
-0.03567176312208176,
-0.1783236861228943,
-0.42934226989746094,
0.753188967704773,
0.28733503818511963,
-0.22657127678394318,
-0.07930876314640045,
-0.041110798716545105,
0.10832618921995163,
0.07162129133939743,
0.3129252791404724,
0.36380141973495483,
-0.1406288892030716,
0.3308030962944031,
-0.3588154911994934,
-0.2075115591287613,
0.5828338861465454,
-0.40294933319091797,
-0.2971513867378235,
-0.008299180306494236,
0.3402397632598877,
0.5178589820861816,
-0.435354620218277,
-0.8319960236549377,
-0.006672240793704987,
0.2214432805776596,
0.11133138090372086,
-0.29933878779411316,
0.0849803239107132,
-0.166529580950737,
0.2673638164997101,
-0.08180518448352814,
0.3439676761627197,
-0.07568910717964172,
-0.12148687988519669,
0.03911122307181358,
-0.24258294701576233
] |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | @aleSuglia @oscartackstrom - Are you getting the error when running your code in a Jupyter notebook ?
I tried reproducing this error again, and was unable to do so from the python command line console in a virtual environment similar to the one I originally used (and unfortunately no longer have access to) when I first got the error.
However, I've managed to reproduce the error by running the same code in a Jupyter notebook running a kernel from the same virtual environment.
This made me suspect that the problem is somehow related to the Jupyter notebook.
More environment details:
```
OS: Ubuntu Linux 18.04
conda==4.8.3
python==3.8.5
datasets==1.3.0
tensorflow==2.4.0
BLEURT==0.0.1
notebook==6.2.0
``` | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
``` | 112 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
```
@aleSuglia @oscartackstrom - Are you getting the error when running your code in a Jupyter notebook ?
I tried reproducing this error again, and was unable to do so from the python command line console in a virtual environment similar to the one I originally used (and unfortunately no longer have access to) when I first got the error.
However, I've managed to reproduce the error by running the same code in a Jupyter notebook running a kernel from the same virtual environment.
This made me suspect that the problem is somehow related to the Jupyter notebook.
More environment details:
```
OS: Ubuntu Linux 18.04
conda==4.8.3
python==3.8.5
datasets==1.3.0
tensorflow==2.4.0
BLEURT==0.0.1
notebook==6.2.0
``` | [
-0.3299121856689453,
-0.3983680009841919,
0.04140734300017357,
0.40009552240371704,
0.30018413066864014,
-0.22759118676185608,
0.27419665455818176,
0.2562866508960724,
0.005499178543686867,
0.2942810654640198,
-0.01227247342467308,
0.022469155490398407,
-0.08508657664060593,
0.046141818165779114,
-0.2817869484424591,
0.12845061719417572,
-0.20951303839683533,
-0.07703867554664612,
0.4217459261417389,
0.08553527295589447,
-0.3209677040576935,
0.190182164311409,
-0.11296086013317108,
-0.18275578320026398,
-0.312054842710495,
0.018966015428304672,
0.3288893401622772,
-0.0016792938113212585,
-0.13102945685386658,
-0.26634106040000916,
0.11802895367145538,
-0.19675524532794952,
0.11216539144515991,
0.5339959859848022,
-0.0001142144319601357,
-0.16619165241718292,
0.13908392190933228,
-0.18148884177207947,
-0.1773090660572052,
-0.14011980593204498,
-0.03427278622984886,
-0.2571445405483246,
-0.1122628003358841,
-0.2426050305366516,
0.04415035992860794,
0.18768273293972015,
-0.16063310205936432,
-0.012286528944969177,
0.18435919284820557,
0.39791131019592285,
0.1449991911649704,
0.15091122686862946,
0.07810530066490173,
0.07784561067819595,
-0.13811436295509338,
-0.34258079528808594,
-0.1521805375814438,
0.3253554701805115,
-0.06692476570606232,
0.03162659704685211,
-0.20974326133728027,
0.2210543006658554,
0.1617937535047531,
0.21452589333057404,
0.2830662727355957,
-0.11133340001106262,
0.3766462802886963,
-0.0479230135679245,
0.25159016251564026,
0.19776177406311035,
-0.09956931322813034,
-0.2013896405696869,
-0.21858613193035126,
0.18862295150756836,
0.12778769433498383,
-0.6358430981636047,
-0.05380135029554367,
-0.06097240746021271,
-0.16854357719421387,
-0.3811211884021759,
-0.37570634484291077,
-0.10144839435815811,
-0.10101780295372009,
-0.13524235785007477,
-0.15136060118675232,
0.17876140773296356,
-0.33501654863357544,
0.10107967257499695,
0.06649905443191528,
0.037248242646455765,
0.22743907570838928,
0.09554284065961838,
0.1029125452041626,
0.22068284451961517,
-0.4990333914756775,
-0.1053616851568222,
0.01608794555068016,
-0.1888548731803894,
-0.016234714537858963,
-0.032536283135414124,
0.24662631750106812,
-0.015861928462982178,
-0.056019414216279984,
0.15804609656333923,
-0.1570667326450348,
0.5400376915931702,
0.17008015513420105,
0.08421384543180466,
0.393369197845459,
0.5855426788330078,
0.09295420348644257,
-0.004057716578245163,
-0.005677505396306515,
-0.5385400056838989,
0.2322417050600052,
0.07331977784633636,
-0.178412526845932,
-0.1894303262233734,
-0.49301546812057495,
0.0014651454985141754,
-0.06099224463105202,
0.031280554831027985,
0.2731885612010956,
0.4516294300556183,
-0.38999029994010925,
-0.24429818987846375,
0.24233917891979218,
-0.05182041972875595,
-0.04409944638609886,
-0.048507850617170334,
-0.27872976660728455,
0.06354253739118576,
-0.029643571004271507,
0.19078241288661957,
0.08794592320919037,
-0.655260443687439,
0.33376917243003845,
-0.15722645819187164,
0.25681912899017334,
-0.21716415882110596,
0.08466031402349472,
-0.23427197337150574,
-0.014011301100254059,
0.02924777753651142,
-0.05533703416585922,
-0.3133436441421509,
0.32569411396980286,
-0.27821215987205505,
0.09636657685041428,
0.0749984085559845,
-0.05072752386331558,
-0.40880271792411804,
0.059636037796735764,
0.11786726862192154,
-0.1385251134634018,
0.058627501130104065,
-0.14546704292297363,
0.20553065836429596,
0.3106635808944702,
-0.05174151808023453,
0.06077563390135765,
-0.14683428406715393,
-0.1884094774723053,
-0.13215544819831848,
0.5624068975448608,
-0.029651880264282227,
-0.22556309401988983,
-0.049947742372751236,
-0.03302234038710594,
0.021451503038406372,
0.3609204590320587,
0.3322625458240509,
0.047414254397153854,
0.13746821880340576,
-0.10439570248126984,
-0.10682225972414017,
0.2952229380607605,
-0.35572361946105957,
-0.18236590921878815,
-0.160495325922966,
0.04117387533187866,
-0.18272969126701355,
0.05327289178967476,
-0.14260560274124146,
-0.02611330896615982,
-0.15446309745311737,
0.4189434051513672,
0.0851462259888649,
-0.17665667831897736,
-0.11907286196947098,
-0.48140817880630493,
-0.35024282336235046,
-0.09127090871334076,
0.058954376727342606,
0.5071213245391846,
-0.07625364512205124,
0.17161127924919128,
0.264210045337677,
0.0554545633494854,
-0.0777340978384018,
0.0007423756178468466,
0.13575796782970428,
0.26041078567504883,
-0.24531929194927216,
0.1736738234758377,
-0.18391522765159607,
0.19437792897224426,
0.22709211707115173,
0.14800825715065002,
0.13269272446632385,
0.0645500048995018,
-0.09578768908977509,
-0.36931318044662476,
0.011741219088435173,
0.040873922407627106,
-0.09064188599586487,
0.19420023262500763,
-0.023632757365703583,
0.020072091370821,
-0.046261079609394073,
-0.17795835435390472,
0.019061505794525146,
-0.6478569507598877,
0.057780083268880844,
0.2421562671661377,
-0.011923964135348797,
0.009531954303383827,
-0.1117236465215683,
0.07775725424289703,
0.3475860357284546,
0.18648135662078857,
0.07951192557811737,
-0.1525592803955078,
0.3241610825061798,
0.14699453115463257,
-0.21066971123218536,
0.0685732364654541,
-0.12138338387012482,
-0.02599591575562954,
0.3158136010169983,
-0.04526805132627487,
0.0832681879401207,
0.09919538348913193,
-0.12095974385738373,
0.24413251876831055,
0.09364645183086395,
-0.07940484583377838,
0.1794828623533249,
0.294668972492218,
-0.0805850550532341,
-0.07273495942354202,
0.16613119840621948,
0.14957886934280396,
-0.1780601441860199,
0.1724618375301361,
-0.1364566534757614,
0.0664391815662384,
-0.26401039958000183,
0.027136050164699554,
-0.24984943866729736,
0.4172477722167969,
0.07080909609794617,
0.06458061188459396,
0.19377869367599487,
-0.025959603488445282,
-0.05894695594906807,
-0.03500666469335556,
0.08320684731006622,
0.20399141311645508,
-0.04995698109269142,
0.22603389620780945,
0.07169000804424286,
-0.16681744158267975,
-0.13714629411697388,
0.01047041267156601,
0.0662442147731781,
0.24011394381523132,
0.3439280688762665,
0.16824018955230713,
-0.15996114909648895,
-0.2710840404033661,
-0.1610850840806961,
0.24648141860961914,
0.23851950466632843,
-0.15063804388046265,
-0.05685247480869293,
0.07569389045238495,
0.15173310041427612,
-0.28765565156936646,
-0.28805026412010193,
-0.25335079431533813,
-0.15971951186656952,
0.0883837416768074,
0.2925886809825897,
0.25788402557373047,
-0.0014519738033413887,
0.3952098786830902,
0.461711585521698,
0.059359125792980194,
-0.05133756995201111,
0.05023713409900665,
-0.21538592875003815,
-0.3148038983345032,
0.08866821229457855,
0.06496955454349518,
-0.10161426663398743,
0.23330290615558624,
-0.10219521820545197,
-0.19489924609661102,
-0.3437846601009369,
-0.4103054106235504,
0.01005624234676361,
-0.21031977236270905,
0.4719870984554291,
0.18166355788707733,
-0.004250183701515198,
-0.3588888645172119,
-0.1189136728644371,
0.14626803994178772,
0.12110869586467743,
-0.03983268886804581,
-0.01968570239841938,
-0.14938318729400635,
0.039147134870290756,
-0.07081405818462372,
-0.22209760546684265,
0.16400285065174103,
-0.3041469156742096,
0.24095217883586884,
0.07631364464759827,
0.030651355162262917,
-0.061224594712257385,
0.05230952426791191,
0.504597008228302,
0.5048178434371948,
-0.037923380732536316,
-0.26337453722953796,
0.09040860831737518,
0.13801980018615723,
-0.33668968081474304,
-0.31026047468185425,
0.021609995514154434,
0.016284272074699402,
0.5390125513076782,
0.16476228833198547,
-0.45799291133880615,
-0.31728965044021606,
-0.0815848782658577,
-0.20542141795158386,
-0.24346774816513062,
0.10444782674312592,
0.10456044226884842,
0.045371413230895996,
-0.016684062778949738,
-0.12195291370153427,
-0.12123119831085205,
0.033526770770549774,
-0.22951194643974304,
0.6499086618423462,
-0.2761822044849396,
0.28033551573753357,
0.32706210017204285,
0.8638535737991333,
0.17141184210777283,
-0.027132656425237656,
0.08198844641447067,
0.12086950242519379,
0.041655249893665314,
-0.007301159203052521,
-0.05456478148698807,
0.6279391050338745,
-0.29413387179374695,
-0.177890807390213,
0.14976315200328827,
-0.15940514206886292,
0.24522005021572113,
-0.05722138285636902,
-0.021892324090003967,
0.1148410215973854,
-0.16917018592357635,
-0.1525198370218277,
0.142035573720932,
0.2261672019958496,
0.08440995216369629,
0.011643089354038239,
-0.2870465815067291,
-0.04397011548280716,
0.02601107954978943,
0.22015981376171112,
-0.0691905990242958,
-0.008999661542475224,
0.2485225945711136,
0.004199601709842682,
-0.5446143746376038,
0.44574683904647827,
0.2141604870557785,
0.13161401450634003,
0.0335003025829792,
0.13207286596298218,
-0.09863713383674622,
-0.16176074743270874,
0.22191324830055237,
-0.20706598460674286,
0.041390880942344666,
-0.038857463747262955,
-0.08244690299034119,
-0.5960397720336914,
0.03179344907402992,
-0.06195279583334923,
-0.28777432441711426,
0.4565431773662567,
0.3751790225505829,
-0.2594047784805298,
0.1372567117214203,
0.22994868457317352,
0.24744708836078644,
-0.004890691488981247,
0.0177285298705101,
-0.5006985664367676,
-0.40970054268836975,
-0.15691877901554108,
0.12795935571193695,
0.13802570104599,
0.2855316996574402,
-0.0317520946264267,
0.04163942113518715,
-0.1645379215478897,
-0.17561405897140503,
0.04856957867741585,
0.28616663813591003,
0.0373404398560524,
-0.0988207757472992,
0.14866691827774048,
-0.19388657808303833,
-0.3395845890045166,
0.20055519044399261,
0.12170004844665527,
-0.0412939079105854,
-0.92862468957901,
0.039742257446050644,
0.027219191193580627,
0.24921536445617676,
0.13508957624435425,
-0.15889957547187805,
0.20742228627204895,
-0.1697261780500412,
0.43467557430267334,
0.0744934156537056,
0.2771121561527252,
0.16090315580368042,
0.3366519808769226,
-0.01051639299839735,
-0.12534329295158386,
0.3105500042438507,
0.2530325651168823,
0.2215179055929184,
0.5469455122947693,
-0.0915650725364685,
-0.11807224154472351,
0.1247880756855011,
0.6157293915748596,
0.6351813077926636,
0.019563425332307816,
-0.27837827801704407,
0.36204057931900024,
-0.04847756028175354,
0.44662585854530334,
-0.40773701667785645,
0.4081355929374695,
-0.30015239119529724,
-0.5378538966178894,
0.09860257804393768,
0.016689088195562363,
0.02945549786090851,
-0.2506216764450073,
-0.10748368501663208,
0.33046236634254456,
-0.1585828959941864,
-0.22080516815185547,
0.03305116295814514,
0.07572560012340546,
-0.39099544286727905,
-0.08136977255344391,
-0.015905819833278656,
0.18097075819969177,
-0.1984902173280716,
0.15306980907917023,
-0.23911288380622864,
0.22615182399749756,
-0.02690344862639904,
-0.07773667573928833,
-0.2188999503850937,
0.0008697435259819031,
-0.45592692494392395,
0.1823396533727646,
-0.06680300831794739,
-0.06951748579740524,
0.03761743754148483,
0.28962740302085876,
0.8918442130088806,
0.1306748241186142,
-0.07761839032173157,
0.11590588092803955,
-0.014725945889949799,
-0.09182442724704742,
-0.08558494597673416,
0.06435681879520416,
0.2934025824069977,
-0.2617601156234741,
-0.16873879730701447,
-0.08115097135305405,
0.09257591515779495,
-0.16079211235046387,
0.3625638484954834,
-0.046710409224033356,
-0.07486814260482788,
0.15066704154014587,
0.02021675556898117,
0.026631273329257965,
-0.06784163415431976,
-0.17309896647930145,
0.1156158596277237,
-0.163135826587677,
-0.2514808773994446,
-0.011650986969470978,
0.013960704207420349,
-0.35382288694381714,
0.07691977918148041,
0.18481457233428955,
0.09635645896196365,
-0.1526755392551422,
0.4362221360206604,
-0.12702153623104095,
-0.06890548765659332,
-0.08265165984630585,
-0.4828759431838989,
0.09407874196767807,
-0.06158224120736122,
0.3277033865451813,
-0.039194103330373764,
-0.15081918239593506,
0.10884739458560944,
0.8712244033813477,
0.2959723472595215,
0.1533789485692978,
-0.22971531748771667,
-0.3328503370285034,
-0.32470372319221497,
0.014476440846920013,
0.00524042546749115,
0.09894140809774399,
-0.16323697566986084,
0.36495479941368103,
-0.11459765583276749,
0.3088015913963318,
-0.24895890057086945,
0.11808576434850693,
-0.4077552258968353,
0.11900600045919418,
-0.14777597784996033,
-0.16000398993492126,
0.30077067017555237,
0.3664514124393463,
0.011363120749592781,
0.44244223833084106,
-0.2432103455066681,
-0.18150493502616882,
-0.18888191878795624,
0.11997152119874954,
0.23678547143936157,
-0.03730185329914093,
-0.15523116290569305,
-0.04593399912118912,
-0.31020861864089966,
-0.17679260671138763,
0.21192462742328644,
0.25719571113586426,
-0.06610943377017975,
0.06374375522136688,
-0.24947069585323334,
0.42239126563072205,
0.22513537108898163,
-0.2963387966156006,
0.3116735816001892,
0.2022942304611206,
0.1305122971534729,
0.0995250791311264,
0.1436861753463745,
0.072031170129776,
0.08041001856327057,
-0.2597729563713074,
-0.00985516607761383,
0.00855526328086853,
0.19674000144004822,
-0.23099209368228912,
-0.15612080693244934,
-0.37082698941230774,
0.0517183393239975,
0.3635762333869934,
0.007451694458723068,
-0.27410903573036194,
0.1914917528629303,
0.13226062059402466,
-0.32511889934539795,
0.11903369426727295,
-0.257068008184433,
0.053928129374980927,
0.0856841653585434,
0.27379679679870605,
0.004499368369579315,
0.023140080273151398,
0.03706096485257149,
-0.040476344525814056,
-0.1941717267036438,
-0.5982772707939148,
-0.04233407974243164,
-0.14811787009239197,
-0.2313740849494934,
0.2417520433664322,
0.38029608130455017,
-0.10069058835506439,
0.3059271574020386,
0.06069619208574295,
-0.10947326570749283,
0.25705644488334656,
-0.6360207200050354,
0.09245948493480682,
0.09076379239559174,
-0.05721930041909218,
0.3093509078025818,
0.058656781911849976,
-0.08549633622169495,
-0.018469952046871185,
-0.23897415399551392,
0.3402973413467407,
-0.3041679859161377,
0.0976269468665123,
-0.22712042927742004,
0.033009786158800125,
-0.10786452144384384,
0.005205007269978523,
0.10802620649337769,
-0.07958809286355972,
0.13739989697933197,
-0.07346180081367493,
0.2036411166191101,
0.11403681337833405,
-0.22369131445884705,
0.22999310493469238,
-0.11681815981864929,
0.07374656945466995,
-0.6453626751899719,
0.5514610409736633,
0.36343467235565186,
-0.09826946258544922,
0.016762645915150642,
0.2653757929801941,
0.015222955495119095,
-0.18764789402484894,
0.32546788454055786,
0.20124946534633636,
0.4787557125091553,
-0.04328091815114021,
-0.07363320142030716,
0.1241813600063324,
0.07404722273349762,
-0.09110689163208008,
0.28077182173728943,
0.5041821002960205,
0.07197174429893494,
0.4548558294773102,
0.055685073137283325,
-0.24693959951400757,
0.10966992378234863,
-0.06710430979728699,
0.0015847748145461082,
-0.10189838707447052,
0.44226783514022827,
-0.08225824683904648,
0.008662812411785126,
-0.32234933972358704,
-0.11045516282320023,
-0.33704590797424316,
0.3438331186771393,
0.055821653455495834,
-0.047978851944208145,
0.2515256702899933,
0.01127937063574791,
0.08349224925041199,
-0.03462902083992958,
0.25255537033081055,
0.13496361672878265,
-0.1671018898487091,
-0.3239257335662842,
-0.1811329424381256,
-0.5610327124595642,
0.22686511278152466,
0.13356734812259674,
0.18414950370788574,
-0.03134799376130104,
0.16959254443645477,
-0.25292736291885376,
-0.11920115351676941,
-0.0463254451751709,
-0.19636179506778717,
0.25092247128486633,
0.02480756863951683,
-0.27682891488075256,
-0.35299187898635864,
-0.24162442982196808,
-0.4227743446826935,
0.17088371515274048,
-0.24913078546524048,
0.009029131382703781,
-0.15369336307048798,
-0.0019235946238040924,
-0.0455351322889328,
-0.036319978535175323,
0.26113560795783997,
0.3332712650299072,
0.23745213449001312,
0.03461538627743721,
0.5644971132278442,
-0.03785339370369911,
-0.07344907522201538,
0.01589839532971382,
0.1402171403169632,
-0.2252647429704666,
0.235295832157135,
0.14536650478839874,
0.39479801058769226,
-0.03567176312208176,
-0.1783236861228943,
-0.42934226989746094,
0.753188967704773,
0.28733503818511963,
-0.22657127678394318,
-0.07930876314640045,
-0.041110798716545105,
0.10832618921995163,
0.07162129133939743,
0.3129252791404724,
0.36380141973495483,
-0.1406288892030716,
0.3308030962944031,
-0.3588154911994934,
-0.2075115591287613,
0.5828338861465454,
-0.40294933319091797,
-0.2971513867378235,
-0.008299180306494236,
0.3402397632598877,
0.5178589820861816,
-0.435354620218277,
-0.8319960236549377,
-0.006672240793704987,
0.2214432805776596,
0.11133138090372086,
-0.29933878779411316,
0.0849803239107132,
-0.166529580950737,
0.2673638164997101,
-0.08180518448352814,
0.3439676761627197,
-0.07568910717964172,
-0.12148687988519669,
0.03911122307181358,
-0.24258294701576233
] |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | This happens when running the notebook on colab. The issue seems to be that colab populates sys.argv with arguments not handled by bleurt.
Running this before calling bleurt fixes it:
```
import sys
sys.argv = sys.argv[:1]
```
Not the most elegant solution. Perhaps it needs to be fixed in the bleurt code itself rather than huggingface?
This is the output of `print(sys.argv)` when running on colab:
```
['/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py', '-f', '/root/.local/share/jupyter/runtime/kernel-a857a78c-44d6-4b9d-b18a-030b858ee327.json']
``` | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
``` | 71 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
```
This happens when running the notebook on colab. The issue seems to be that colab populates sys.argv with arguments not handled by bleurt.
Running this before calling bleurt fixes it:
```
import sys
sys.argv = sys.argv[:1]
```
Not the most elegant solution. Perhaps it needs to be fixed in the bleurt code itself rather than huggingface?
This is the output of `print(sys.argv)` when running on colab:
```
['/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py', '-f', '/root/.local/share/jupyter/runtime/kernel-a857a78c-44d6-4b9d-b18a-030b858ee327.json']
``` | [
-0.3299121856689453,
-0.3983680009841919,
0.04140734300017357,
0.40009552240371704,
0.30018413066864014,
-0.22759118676185608,
0.27419665455818176,
0.2562866508960724,
0.005499178543686867,
0.2942810654640198,
-0.01227247342467308,
0.022469155490398407,
-0.08508657664060593,
0.046141818165779114,
-0.2817869484424591,
0.12845061719417572,
-0.20951303839683533,
-0.07703867554664612,
0.4217459261417389,
0.08553527295589447,
-0.3209677040576935,
0.190182164311409,
-0.11296086013317108,
-0.18275578320026398,
-0.312054842710495,
0.018966015428304672,
0.3288893401622772,
-0.0016792938113212585,
-0.13102945685386658,
-0.26634106040000916,
0.11802895367145538,
-0.19675524532794952,
0.11216539144515991,
0.5339959859848022,
-0.0001142144319601357,
-0.16619165241718292,
0.13908392190933228,
-0.18148884177207947,
-0.1773090660572052,
-0.14011980593204498,
-0.03427278622984886,
-0.2571445405483246,
-0.1122628003358841,
-0.2426050305366516,
0.04415035992860794,
0.18768273293972015,
-0.16063310205936432,
-0.012286528944969177,
0.18435919284820557,
0.39791131019592285,
0.1449991911649704,
0.15091122686862946,
0.07810530066490173,
0.07784561067819595,
-0.13811436295509338,
-0.34258079528808594,
-0.1521805375814438,
0.3253554701805115,
-0.06692476570606232,
0.03162659704685211,
-0.20974326133728027,
0.2210543006658554,
0.1617937535047531,
0.21452589333057404,
0.2830662727355957,
-0.11133340001106262,
0.3766462802886963,
-0.0479230135679245,
0.25159016251564026,
0.19776177406311035,
-0.09956931322813034,
-0.2013896405696869,
-0.21858613193035126,
0.18862295150756836,
0.12778769433498383,
-0.6358430981636047,
-0.05380135029554367,
-0.06097240746021271,
-0.16854357719421387,
-0.3811211884021759,
-0.37570634484291077,
-0.10144839435815811,
-0.10101780295372009,
-0.13524235785007477,
-0.15136060118675232,
0.17876140773296356,
-0.33501654863357544,
0.10107967257499695,
0.06649905443191528,
0.037248242646455765,
0.22743907570838928,
0.09554284065961838,
0.1029125452041626,
0.22068284451961517,
-0.4990333914756775,
-0.1053616851568222,
0.01608794555068016,
-0.1888548731803894,
-0.016234714537858963,
-0.032536283135414124,
0.24662631750106812,
-0.015861928462982178,
-0.056019414216279984,
0.15804609656333923,
-0.1570667326450348,
0.5400376915931702,
0.17008015513420105,
0.08421384543180466,
0.393369197845459,
0.5855426788330078,
0.09295420348644257,
-0.004057716578245163,
-0.005677505396306515,
-0.5385400056838989,
0.2322417050600052,
0.07331977784633636,
-0.178412526845932,
-0.1894303262233734,
-0.49301546812057495,
0.0014651454985141754,
-0.06099224463105202,
0.031280554831027985,
0.2731885612010956,
0.4516294300556183,
-0.38999029994010925,
-0.24429818987846375,
0.24233917891979218,
-0.05182041972875595,
-0.04409944638609886,
-0.048507850617170334,
-0.27872976660728455,
0.06354253739118576,
-0.029643571004271507,
0.19078241288661957,
0.08794592320919037,
-0.655260443687439,
0.33376917243003845,
-0.15722645819187164,
0.25681912899017334,
-0.21716415882110596,
0.08466031402349472,
-0.23427197337150574,
-0.014011301100254059,
0.02924777753651142,
-0.05533703416585922,
-0.3133436441421509,
0.32569411396980286,
-0.27821215987205505,
0.09636657685041428,
0.0749984085559845,
-0.05072752386331558,
-0.40880271792411804,
0.059636037796735764,
0.11786726862192154,
-0.1385251134634018,
0.058627501130104065,
-0.14546704292297363,
0.20553065836429596,
0.3106635808944702,
-0.05174151808023453,
0.06077563390135765,
-0.14683428406715393,
-0.1884094774723053,
-0.13215544819831848,
0.5624068975448608,
-0.029651880264282227,
-0.22556309401988983,
-0.049947742372751236,
-0.03302234038710594,
0.021451503038406372,
0.3609204590320587,
0.3322625458240509,
0.047414254397153854,
0.13746821880340576,
-0.10439570248126984,
-0.10682225972414017,
0.2952229380607605,
-0.35572361946105957,
-0.18236590921878815,
-0.160495325922966,
0.04117387533187866,
-0.18272969126701355,
0.05327289178967476,
-0.14260560274124146,
-0.02611330896615982,
-0.15446309745311737,
0.4189434051513672,
0.0851462259888649,
-0.17665667831897736,
-0.11907286196947098,
-0.48140817880630493,
-0.35024282336235046,
-0.09127090871334076,
0.058954376727342606,
0.5071213245391846,
-0.07625364512205124,
0.17161127924919128,
0.264210045337677,
0.0554545633494854,
-0.0777340978384018,
0.0007423756178468466,
0.13575796782970428,
0.26041078567504883,
-0.24531929194927216,
0.1736738234758377,
-0.18391522765159607,
0.19437792897224426,
0.22709211707115173,
0.14800825715065002,
0.13269272446632385,
0.0645500048995018,
-0.09578768908977509,
-0.36931318044662476,
0.011741219088435173,
0.040873922407627106,
-0.09064188599586487,
0.19420023262500763,
-0.023632757365703583,
0.020072091370821,
-0.046261079609394073,
-0.17795835435390472,
0.019061505794525146,
-0.6478569507598877,
0.057780083268880844,
0.2421562671661377,
-0.011923964135348797,
0.009531954303383827,
-0.1117236465215683,
0.07775725424289703,
0.3475860357284546,
0.18648135662078857,
0.07951192557811737,
-0.1525592803955078,
0.3241610825061798,
0.14699453115463257,
-0.21066971123218536,
0.0685732364654541,
-0.12138338387012482,
-0.02599591575562954,
0.3158136010169983,
-0.04526805132627487,
0.0832681879401207,
0.09919538348913193,
-0.12095974385738373,
0.24413251876831055,
0.09364645183086395,
-0.07940484583377838,
0.1794828623533249,
0.294668972492218,
-0.0805850550532341,
-0.07273495942354202,
0.16613119840621948,
0.14957886934280396,
-0.1780601441860199,
0.1724618375301361,
-0.1364566534757614,
0.0664391815662384,
-0.26401039958000183,
0.027136050164699554,
-0.24984943866729736,
0.4172477722167969,
0.07080909609794617,
0.06458061188459396,
0.19377869367599487,
-0.025959603488445282,
-0.05894695594906807,
-0.03500666469335556,
0.08320684731006622,
0.20399141311645508,
-0.04995698109269142,
0.22603389620780945,
0.07169000804424286,
-0.16681744158267975,
-0.13714629411697388,
0.01047041267156601,
0.0662442147731781,
0.24011394381523132,
0.3439280688762665,
0.16824018955230713,
-0.15996114909648895,
-0.2710840404033661,
-0.1610850840806961,
0.24648141860961914,
0.23851950466632843,
-0.15063804388046265,
-0.05685247480869293,
0.07569389045238495,
0.15173310041427612,
-0.28765565156936646,
-0.28805026412010193,
-0.25335079431533813,
-0.15971951186656952,
0.0883837416768074,
0.2925886809825897,
0.25788402557373047,
-0.0014519738033413887,
0.3952098786830902,
0.461711585521698,
0.059359125792980194,
-0.05133756995201111,
0.05023713409900665,
-0.21538592875003815,
-0.3148038983345032,
0.08866821229457855,
0.06496955454349518,
-0.10161426663398743,
0.23330290615558624,
-0.10219521820545197,
-0.19489924609661102,
-0.3437846601009369,
-0.4103054106235504,
0.01005624234676361,
-0.21031977236270905,
0.4719870984554291,
0.18166355788707733,
-0.004250183701515198,
-0.3588888645172119,
-0.1189136728644371,
0.14626803994178772,
0.12110869586467743,
-0.03983268886804581,
-0.01968570239841938,
-0.14938318729400635,
0.039147134870290756,
-0.07081405818462372,
-0.22209760546684265,
0.16400285065174103,
-0.3041469156742096,
0.24095217883586884,
0.07631364464759827,
0.030651355162262917,
-0.061224594712257385,
0.05230952426791191,
0.504597008228302,
0.5048178434371948,
-0.037923380732536316,
-0.26337453722953796,
0.09040860831737518,
0.13801980018615723,
-0.33668968081474304,
-0.31026047468185425,
0.021609995514154434,
0.016284272074699402,
0.5390125513076782,
0.16476228833198547,
-0.45799291133880615,
-0.31728965044021606,
-0.0815848782658577,
-0.20542141795158386,
-0.24346774816513062,
0.10444782674312592,
0.10456044226884842,
0.045371413230895996,
-0.016684062778949738,
-0.12195291370153427,
-0.12123119831085205,
0.033526770770549774,
-0.22951194643974304,
0.6499086618423462,
-0.2761822044849396,
0.28033551573753357,
0.32706210017204285,
0.8638535737991333,
0.17141184210777283,
-0.027132656425237656,
0.08198844641447067,
0.12086950242519379,
0.041655249893665314,
-0.007301159203052521,
-0.05456478148698807,
0.6279391050338745,
-0.29413387179374695,
-0.177890807390213,
0.14976315200328827,
-0.15940514206886292,
0.24522005021572113,
-0.05722138285636902,
-0.021892324090003967,
0.1148410215973854,
-0.16917018592357635,
-0.1525198370218277,
0.142035573720932,
0.2261672019958496,
0.08440995216369629,
0.011643089354038239,
-0.2870465815067291,
-0.04397011548280716,
0.02601107954978943,
0.22015981376171112,
-0.0691905990242958,
-0.008999661542475224,
0.2485225945711136,
0.004199601709842682,
-0.5446143746376038,
0.44574683904647827,
0.2141604870557785,
0.13161401450634003,
0.0335003025829792,
0.13207286596298218,
-0.09863713383674622,
-0.16176074743270874,
0.22191324830055237,
-0.20706598460674286,
0.041390880942344666,
-0.038857463747262955,
-0.08244690299034119,
-0.5960397720336914,
0.03179344907402992,
-0.06195279583334923,
-0.28777432441711426,
0.4565431773662567,
0.3751790225505829,
-0.2594047784805298,
0.1372567117214203,
0.22994868457317352,
0.24744708836078644,
-0.004890691488981247,
0.0177285298705101,
-0.5006985664367676,
-0.40970054268836975,
-0.15691877901554108,
0.12795935571193695,
0.13802570104599,
0.2855316996574402,
-0.0317520946264267,
0.04163942113518715,
-0.1645379215478897,
-0.17561405897140503,
0.04856957867741585,
0.28616663813591003,
0.0373404398560524,
-0.0988207757472992,
0.14866691827774048,
-0.19388657808303833,
-0.3395845890045166,
0.20055519044399261,
0.12170004844665527,
-0.0412939079105854,
-0.92862468957901,
0.039742257446050644,
0.027219191193580627,
0.24921536445617676,
0.13508957624435425,
-0.15889957547187805,
0.20742228627204895,
-0.1697261780500412,
0.43467557430267334,
0.0744934156537056,
0.2771121561527252,
0.16090315580368042,
0.3366519808769226,
-0.01051639299839735,
-0.12534329295158386,
0.3105500042438507,
0.2530325651168823,
0.2215179055929184,
0.5469455122947693,
-0.0915650725364685,
-0.11807224154472351,
0.1247880756855011,
0.6157293915748596,
0.6351813077926636,
0.019563425332307816,
-0.27837827801704407,
0.36204057931900024,
-0.04847756028175354,
0.44662585854530334,
-0.40773701667785645,
0.4081355929374695,
-0.30015239119529724,
-0.5378538966178894,
0.09860257804393768,
0.016689088195562363,
0.02945549786090851,
-0.2506216764450073,
-0.10748368501663208,
0.33046236634254456,
-0.1585828959941864,
-0.22080516815185547,
0.03305116295814514,
0.07572560012340546,
-0.39099544286727905,
-0.08136977255344391,
-0.015905819833278656,
0.18097075819969177,
-0.1984902173280716,
0.15306980907917023,
-0.23911288380622864,
0.22615182399749756,
-0.02690344862639904,
-0.07773667573928833,
-0.2188999503850937,
0.0008697435259819031,
-0.45592692494392395,
0.1823396533727646,
-0.06680300831794739,
-0.06951748579740524,
0.03761743754148483,
0.28962740302085876,
0.8918442130088806,
0.1306748241186142,
-0.07761839032173157,
0.11590588092803955,
-0.014725945889949799,
-0.09182442724704742,
-0.08558494597673416,
0.06435681879520416,
0.2934025824069977,
-0.2617601156234741,
-0.16873879730701447,
-0.08115097135305405,
0.09257591515779495,
-0.16079211235046387,
0.3625638484954834,
-0.046710409224033356,
-0.07486814260482788,
0.15066704154014587,
0.02021675556898117,
0.026631273329257965,
-0.06784163415431976,
-0.17309896647930145,
0.1156158596277237,
-0.163135826587677,
-0.2514808773994446,
-0.011650986969470978,
0.013960704207420349,
-0.35382288694381714,
0.07691977918148041,
0.18481457233428955,
0.09635645896196365,
-0.1526755392551422,
0.4362221360206604,
-0.12702153623104095,
-0.06890548765659332,
-0.08265165984630585,
-0.4828759431838989,
0.09407874196767807,
-0.06158224120736122,
0.3277033865451813,
-0.039194103330373764,
-0.15081918239593506,
0.10884739458560944,
0.8712244033813477,
0.2959723472595215,
0.1533789485692978,
-0.22971531748771667,
-0.3328503370285034,
-0.32470372319221497,
0.014476440846920013,
0.00524042546749115,
0.09894140809774399,
-0.16323697566986084,
0.36495479941368103,
-0.11459765583276749,
0.3088015913963318,
-0.24895890057086945,
0.11808576434850693,
-0.4077552258968353,
0.11900600045919418,
-0.14777597784996033,
-0.16000398993492126,
0.30077067017555237,
0.3664514124393463,
0.011363120749592781,
0.44244223833084106,
-0.2432103455066681,
-0.18150493502616882,
-0.18888191878795624,
0.11997152119874954,
0.23678547143936157,
-0.03730185329914093,
-0.15523116290569305,
-0.04593399912118912,
-0.31020861864089966,
-0.17679260671138763,
0.21192462742328644,
0.25719571113586426,
-0.06610943377017975,
0.06374375522136688,
-0.24947069585323334,
0.42239126563072205,
0.22513537108898163,
-0.2963387966156006,
0.3116735816001892,
0.2022942304611206,
0.1305122971534729,
0.0995250791311264,
0.1436861753463745,
0.072031170129776,
0.08041001856327057,
-0.2597729563713074,
-0.00985516607761383,
0.00855526328086853,
0.19674000144004822,
-0.23099209368228912,
-0.15612080693244934,
-0.37082698941230774,
0.0517183393239975,
0.3635762333869934,
0.007451694458723068,
-0.27410903573036194,
0.1914917528629303,
0.13226062059402466,
-0.32511889934539795,
0.11903369426727295,
-0.257068008184433,
0.053928129374980927,
0.0856841653585434,
0.27379679679870605,
0.004499368369579315,
0.023140080273151398,
0.03706096485257149,
-0.040476344525814056,
-0.1941717267036438,
-0.5982772707939148,
-0.04233407974243164,
-0.14811787009239197,
-0.2313740849494934,
0.2417520433664322,
0.38029608130455017,
-0.10069058835506439,
0.3059271574020386,
0.06069619208574295,
-0.10947326570749283,
0.25705644488334656,
-0.6360207200050354,
0.09245948493480682,
0.09076379239559174,
-0.05721930041909218,
0.3093509078025818,
0.058656781911849976,
-0.08549633622169495,
-0.018469952046871185,
-0.23897415399551392,
0.3402973413467407,
-0.3041679859161377,
0.0976269468665123,
-0.22712042927742004,
0.033009786158800125,
-0.10786452144384384,
0.005205007269978523,
0.10802620649337769,
-0.07958809286355972,
0.13739989697933197,
-0.07346180081367493,
0.2036411166191101,
0.11403681337833405,
-0.22369131445884705,
0.22999310493469238,
-0.11681815981864929,
0.07374656945466995,
-0.6453626751899719,
0.5514610409736633,
0.36343467235565186,
-0.09826946258544922,
0.016762645915150642,
0.2653757929801941,
0.015222955495119095,
-0.18764789402484894,
0.32546788454055786,
0.20124946534633636,
0.4787557125091553,
-0.04328091815114021,
-0.07363320142030716,
0.1241813600063324,
0.07404722273349762,
-0.09110689163208008,
0.28077182173728943,
0.5041821002960205,
0.07197174429893494,
0.4548558294773102,
0.055685073137283325,
-0.24693959951400757,
0.10966992378234863,
-0.06710430979728699,
0.0015847748145461082,
-0.10189838707447052,
0.44226783514022827,
-0.08225824683904648,
0.008662812411785126,
-0.32234933972358704,
-0.11045516282320023,
-0.33704590797424316,
0.3438331186771393,
0.055821653455495834,
-0.047978851944208145,
0.2515256702899933,
0.01127937063574791,
0.08349224925041199,
-0.03462902083992958,
0.25255537033081055,
0.13496361672878265,
-0.1671018898487091,
-0.3239257335662842,
-0.1811329424381256,
-0.5610327124595642,
0.22686511278152466,
0.13356734812259674,
0.18414950370788574,
-0.03134799376130104,
0.16959254443645477,
-0.25292736291885376,
-0.11920115351676941,
-0.0463254451751709,
-0.19636179506778717,
0.25092247128486633,
0.02480756863951683,
-0.27682891488075256,
-0.35299187898635864,
-0.24162442982196808,
-0.4227743446826935,
0.17088371515274048,
-0.24913078546524048,
0.009029131382703781,
-0.15369336307048798,
-0.0019235946238040924,
-0.0455351322889328,
-0.036319978535175323,
0.26113560795783997,
0.3332712650299072,
0.23745213449001312,
0.03461538627743721,
0.5644971132278442,
-0.03785339370369911,
-0.07344907522201538,
0.01589839532971382,
0.1402171403169632,
-0.2252647429704666,
0.235295832157135,
0.14536650478839874,
0.39479801058769226,
-0.03567176312208176,
-0.1783236861228943,
-0.42934226989746094,
0.753188967704773,
0.28733503818511963,
-0.22657127678394318,
-0.07930876314640045,
-0.041110798716545105,
0.10832618921995163,
0.07162129133939743,
0.3129252791404724,
0.36380141973495483,
-0.1406288892030716,
0.3308030962944031,
-0.3588154911994934,
-0.2075115591287613,
0.5828338861465454,
-0.40294933319091797,
-0.2971513867378235,
-0.008299180306494236,
0.3402397632598877,
0.5178589820861816,
-0.435354620218277,
-0.8319960236549377,
-0.006672240793704987,
0.2214432805776596,
0.11133138090372086,
-0.29933878779411316,
0.0849803239107132,
-0.166529580950737,
0.2673638164997101,
-0.08180518448352814,
0.3439676761627197,
-0.07568910717964172,
-0.12148687988519669,
0.03911122307181358,
-0.24258294701576233
] |
https://github.com/huggingface/datasets/issues/1727 | BLEURT score calculation raises UnrecognizedFlagError | I got the error when running it from the command line. It looks more like an error that should be fixed in the BLEURT codebase. | Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
``` | 25 | BLEURT score calculation raises UnrecognizedFlagError
Calling the `compute` method for **bleurt** metric fails with an `UnrecognizedFlagError` for `FLAGS.bleurt_batch_size`.
My environment:
```
python==3.8.5
datasets==1.2.0
tensorflow==2.3.1
cudatoolkit==11.0.221
```
Test code for reproducing the error:
```
from datasets import load_metric
bleurt = load_metric('bleurt')
gen_text = "I am walking on the promenade today"
ref_text = "I am walking along the promenade on this sunny day"
bleurt.compute(predictions=[test_text], references=[test_text])
```
Error Output:
```
Using default BLEURT-Base checkpoint for sequence maximum length 128. You can use a bigger model for better results with e.g.: datasets.load_metric('bleurt', 'bleurt-large-512').
INFO:tensorflow:Reading checkpoint /home/ubuntu/.cache/huggingface/metrics/bleurt/default/downloads/extracted/9aee35580225730ac5422599f35c4986e4c49cafd08082123342b1019720dac4/bleurt-base-128.
INFO:tensorflow:Config file found, reading.
INFO:tensorflow:Will load checkpoint bert_custom
INFO:tensorflow:Performs basic checks...
INFO:tensorflow:... name:bert_custom
INFO:tensorflow:... vocab_file:vocab.txt
INFO:tensorflow:... bert_config_file:bert_config.json
INFO:tensorflow:... do_lower_case:True
INFO:tensorflow:... max_seq_length:128
INFO:tensorflow:Creating BLEURT scorer.
INFO:tensorflow:Loading model...
INFO:tensorflow:BLEURT initialized.
---------------------------------------------------------------------------
UnrecognizedFlagError Traceback (most recent call last)
<ipython-input-12-8b3f4322318a> in <module>
2 gen_text = "I am walking on the promenade today"
3 ref_text = "I am walking along the promenade on this sunny day"
----> 4 bleurt.compute(predictions=[gen_text], references=[ref_text])
~/anaconda3/envs/noved/lib/python3.8/site-packages/datasets/metric.py in compute(self, *args, **kwargs)
396 references = self.data["references"]
397 with temp_seed(self.seed):
--> 398 output = self._compute(predictions=predictions, references=references, **kwargs)
399
400 if self.buf_writer is not None:
~/.cache/huggingface/modules/datasets_modules/metrics/bleurt/b1de33e1cbbcb1dbe276c887efa1fad68c6aff913885108078fa1ad408908778/bleurt.py in _compute(self, predictions, references)
103
104 def _compute(self, predictions, references):
--> 105 scores = self.scorer.score(references=references, candidates=predictions)
106 return {"scores": scores}
~/anaconda3/envs/noved/lib/python3.8/site-packages/bleurt/score.py in score(self, references, candidates, batch_size)
164 """
165 if not batch_size:
--> 166 batch_size = FLAGS.bleurt_batch_size
167
168 candidates, references = list(candidates), list(references)
~/anaconda3/envs/noved/lib/python3.8/site-packages/tensorflow/python/platform/flags.py in __getattr__(self, name)
83 # a flag.
84 if not wrapped.is_parsed():
---> 85 wrapped(_sys.argv)
86 return wrapped.__getattr__(name)
87
~/anaconda3/envs/noved/lib/python3.8/site-packages/absl/flags/_flagvalues.py in __call__(self, argv, known_only)
643 for name, value in unknown_flags:
644 suggestions = _helpers.get_flag_suggestions(name, list(self))
--> 645 raise _exceptions.UnrecognizedFlagError(
646 name, value, suggestions=suggestions)
647
UnrecognizedFlagError: Unknown command line flag 'f'
```
Possible Fix:
Modify `_compute` method https://github.com/huggingface/datasets/blob/7e64851a12263dc74d41c668167918484c8000ab/metrics/bleurt/bleurt.py#L104
to receive a `batch_size` argument, for example:
```
def _compute(self, predictions, references, batch_size=1):
scores = self.scorer.score(references=references, candidates=predictions, batch_size=batch_size)
return {"scores": scores}
```
I got the error when running it from the command line. It looks more like an error that should be fixed in the BLEURT codebase. | [
-0.3299121856689453,
-0.3983680009841919,
0.04140734300017357,
0.40009552240371704,
0.30018413066864014,
-0.22759118676185608,
0.27419665455818176,
0.2562866508960724,
0.005499178543686867,
0.2942810654640198,
-0.01227247342467308,
0.022469155490398407,
-0.08508657664060593,
0.046141818165779114,
-0.2817869484424591,
0.12845061719417572,
-0.20951303839683533,
-0.07703867554664612,
0.4217459261417389,
0.08553527295589447,
-0.3209677040576935,
0.190182164311409,
-0.11296086013317108,
-0.18275578320026398,
-0.312054842710495,
0.018966015428304672,
0.3288893401622772,
-0.0016792938113212585,
-0.13102945685386658,
-0.26634106040000916,
0.11802895367145538,
-0.19675524532794952,
0.11216539144515991,
0.5339959859848022,
-0.0001142144319601357,
-0.16619165241718292,
0.13908392190933228,
-0.18148884177207947,
-0.1773090660572052,
-0.14011980593204498,
-0.03427278622984886,
-0.2571445405483246,
-0.1122628003358841,
-0.2426050305366516,
0.04415035992860794,
0.18768273293972015,
-0.16063310205936432,
-0.012286528944969177,
0.18435919284820557,
0.39791131019592285,
0.1449991911649704,
0.15091122686862946,
0.07810530066490173,
0.07784561067819595,
-0.13811436295509338,
-0.34258079528808594,
-0.1521805375814438,
0.3253554701805115,
-0.06692476570606232,
0.03162659704685211,
-0.20974326133728027,
0.2210543006658554,
0.1617937535047531,
0.21452589333057404,
0.2830662727355957,
-0.11133340001106262,
0.3766462802886963,
-0.0479230135679245,
0.25159016251564026,
0.19776177406311035,
-0.09956931322813034,
-0.2013896405696869,
-0.21858613193035126,
0.18862295150756836,
0.12778769433498383,
-0.6358430981636047,
-0.05380135029554367,
-0.06097240746021271,
-0.16854357719421387,
-0.3811211884021759,
-0.37570634484291077,
-0.10144839435815811,
-0.10101780295372009,
-0.13524235785007477,
-0.15136060118675232,
0.17876140773296356,
-0.33501654863357544,
0.10107967257499695,
0.06649905443191528,
0.037248242646455765,
0.22743907570838928,
0.09554284065961838,
0.1029125452041626,
0.22068284451961517,
-0.4990333914756775,
-0.1053616851568222,
0.01608794555068016,
-0.1888548731803894,
-0.016234714537858963,
-0.032536283135414124,
0.24662631750106812,
-0.015861928462982178,
-0.056019414216279984,
0.15804609656333923,
-0.1570667326450348,
0.5400376915931702,
0.17008015513420105,
0.08421384543180466,
0.393369197845459,
0.5855426788330078,
0.09295420348644257,
-0.004057716578245163,
-0.005677505396306515,
-0.5385400056838989,
0.2322417050600052,
0.07331977784633636,
-0.178412526845932,
-0.1894303262233734,
-0.49301546812057495,
0.0014651454985141754,
-0.06099224463105202,
0.031280554831027985,
0.2731885612010956,
0.4516294300556183,
-0.38999029994010925,
-0.24429818987846375,
0.24233917891979218,
-0.05182041972875595,
-0.04409944638609886,
-0.048507850617170334,
-0.27872976660728455,
0.06354253739118576,
-0.029643571004271507,
0.19078241288661957,
0.08794592320919037,
-0.655260443687439,
0.33376917243003845,
-0.15722645819187164,
0.25681912899017334,
-0.21716415882110596,
0.08466031402349472,
-0.23427197337150574,
-0.014011301100254059,
0.02924777753651142,
-0.05533703416585922,
-0.3133436441421509,
0.32569411396980286,
-0.27821215987205505,
0.09636657685041428,
0.0749984085559845,
-0.05072752386331558,
-0.40880271792411804,
0.059636037796735764,
0.11786726862192154,
-0.1385251134634018,
0.058627501130104065,
-0.14546704292297363,
0.20553065836429596,
0.3106635808944702,
-0.05174151808023453,
0.06077563390135765,
-0.14683428406715393,
-0.1884094774723053,
-0.13215544819831848,
0.5624068975448608,
-0.029651880264282227,
-0.22556309401988983,
-0.049947742372751236,
-0.03302234038710594,
0.021451503038406372,
0.3609204590320587,
0.3322625458240509,
0.047414254397153854,
0.13746821880340576,
-0.10439570248126984,
-0.10682225972414017,
0.2952229380607605,
-0.35572361946105957,
-0.18236590921878815,
-0.160495325922966,
0.04117387533187866,
-0.18272969126701355,
0.05327289178967476,
-0.14260560274124146,
-0.02611330896615982,
-0.15446309745311737,
0.4189434051513672,
0.0851462259888649,
-0.17665667831897736,
-0.11907286196947098,
-0.48140817880630493,
-0.35024282336235046,
-0.09127090871334076,
0.058954376727342606,
0.5071213245391846,
-0.07625364512205124,
0.17161127924919128,
0.264210045337677,
0.0554545633494854,
-0.0777340978384018,
0.0007423756178468466,
0.13575796782970428,
0.26041078567504883,
-0.24531929194927216,
0.1736738234758377,
-0.18391522765159607,
0.19437792897224426,
0.22709211707115173,
0.14800825715065002,
0.13269272446632385,
0.0645500048995018,
-0.09578768908977509,
-0.36931318044662476,
0.011741219088435173,
0.040873922407627106,
-0.09064188599586487,
0.19420023262500763,
-0.023632757365703583,
0.020072091370821,
-0.046261079609394073,
-0.17795835435390472,
0.019061505794525146,
-0.6478569507598877,
0.057780083268880844,
0.2421562671661377,
-0.011923964135348797,
0.009531954303383827,
-0.1117236465215683,
0.07775725424289703,
0.3475860357284546,
0.18648135662078857,
0.07951192557811737,
-0.1525592803955078,
0.3241610825061798,
0.14699453115463257,
-0.21066971123218536,
0.0685732364654541,
-0.12138338387012482,
-0.02599591575562954,
0.3158136010169983,
-0.04526805132627487,
0.0832681879401207,
0.09919538348913193,
-0.12095974385738373,
0.24413251876831055,
0.09364645183086395,
-0.07940484583377838,
0.1794828623533249,
0.294668972492218,
-0.0805850550532341,
-0.07273495942354202,
0.16613119840621948,
0.14957886934280396,
-0.1780601441860199,
0.1724618375301361,
-0.1364566534757614,
0.0664391815662384,
-0.26401039958000183,
0.027136050164699554,
-0.24984943866729736,
0.4172477722167969,
0.07080909609794617,
0.06458061188459396,
0.19377869367599487,
-0.025959603488445282,
-0.05894695594906807,
-0.03500666469335556,
0.08320684731006622,
0.20399141311645508,
-0.04995698109269142,
0.22603389620780945,
0.07169000804424286,
-0.16681744158267975,
-0.13714629411697388,
0.01047041267156601,
0.0662442147731781,
0.24011394381523132,
0.3439280688762665,
0.16824018955230713,
-0.15996114909648895,
-0.2710840404033661,
-0.1610850840806961,
0.24648141860961914,
0.23851950466632843,
-0.15063804388046265,
-0.05685247480869293,
0.07569389045238495,
0.15173310041427612,
-0.28765565156936646,
-0.28805026412010193,
-0.25335079431533813,
-0.15971951186656952,
0.0883837416768074,
0.2925886809825897,
0.25788402557373047,
-0.0014519738033413887,
0.3952098786830902,
0.461711585521698,
0.059359125792980194,
-0.05133756995201111,
0.05023713409900665,
-0.21538592875003815,
-0.3148038983345032,
0.08866821229457855,
0.06496955454349518,
-0.10161426663398743,
0.23330290615558624,
-0.10219521820545197,
-0.19489924609661102,
-0.3437846601009369,
-0.4103054106235504,
0.01005624234676361,
-0.21031977236270905,
0.4719870984554291,
0.18166355788707733,
-0.004250183701515198,
-0.3588888645172119,
-0.1189136728644371,
0.14626803994178772,
0.12110869586467743,
-0.03983268886804581,
-0.01968570239841938,
-0.14938318729400635,
0.039147134870290756,
-0.07081405818462372,
-0.22209760546684265,
0.16400285065174103,
-0.3041469156742096,
0.24095217883586884,
0.07631364464759827,
0.030651355162262917,
-0.061224594712257385,
0.05230952426791191,
0.504597008228302,
0.5048178434371948,
-0.037923380732536316,
-0.26337453722953796,
0.09040860831737518,
0.13801980018615723,
-0.33668968081474304,
-0.31026047468185425,
0.021609995514154434,
0.016284272074699402,
0.5390125513076782,
0.16476228833198547,
-0.45799291133880615,
-0.31728965044021606,
-0.0815848782658577,
-0.20542141795158386,
-0.24346774816513062,
0.10444782674312592,
0.10456044226884842,
0.045371413230895996,
-0.016684062778949738,
-0.12195291370153427,
-0.12123119831085205,
0.033526770770549774,
-0.22951194643974304,
0.6499086618423462,
-0.2761822044849396,
0.28033551573753357,
0.32706210017204285,
0.8638535737991333,
0.17141184210777283,
-0.027132656425237656,
0.08198844641447067,
0.12086950242519379,
0.041655249893665314,
-0.007301159203052521,
-0.05456478148698807,
0.6279391050338745,
-0.29413387179374695,
-0.177890807390213,
0.14976315200328827,
-0.15940514206886292,
0.24522005021572113,
-0.05722138285636902,
-0.021892324090003967,
0.1148410215973854,
-0.16917018592357635,
-0.1525198370218277,
0.142035573720932,
0.2261672019958496,
0.08440995216369629,
0.011643089354038239,
-0.2870465815067291,
-0.04397011548280716,
0.02601107954978943,
0.22015981376171112,
-0.0691905990242958,
-0.008999661542475224,
0.2485225945711136,
0.004199601709842682,
-0.5446143746376038,
0.44574683904647827,
0.2141604870557785,
0.13161401450634003,
0.0335003025829792,
0.13207286596298218,
-0.09863713383674622,
-0.16176074743270874,
0.22191324830055237,
-0.20706598460674286,
0.041390880942344666,
-0.038857463747262955,
-0.08244690299034119,
-0.5960397720336914,
0.03179344907402992,
-0.06195279583334923,
-0.28777432441711426,
0.4565431773662567,
0.3751790225505829,
-0.2594047784805298,
0.1372567117214203,
0.22994868457317352,
0.24744708836078644,
-0.004890691488981247,
0.0177285298705101,
-0.5006985664367676,
-0.40970054268836975,
-0.15691877901554108,
0.12795935571193695,
0.13802570104599,
0.2855316996574402,
-0.0317520946264267,
0.04163942113518715,
-0.1645379215478897,
-0.17561405897140503,
0.04856957867741585,
0.28616663813591003,
0.0373404398560524,
-0.0988207757472992,
0.14866691827774048,
-0.19388657808303833,
-0.3395845890045166,
0.20055519044399261,
0.12170004844665527,
-0.0412939079105854,
-0.92862468957901,
0.039742257446050644,
0.027219191193580627,
0.24921536445617676,
0.13508957624435425,
-0.15889957547187805,
0.20742228627204895,
-0.1697261780500412,
0.43467557430267334,
0.0744934156537056,
0.2771121561527252,
0.16090315580368042,
0.3366519808769226,
-0.01051639299839735,
-0.12534329295158386,
0.3105500042438507,
0.2530325651168823,
0.2215179055929184,
0.5469455122947693,
-0.0915650725364685,
-0.11807224154472351,
0.1247880756855011,
0.6157293915748596,
0.6351813077926636,
0.019563425332307816,
-0.27837827801704407,
0.36204057931900024,
-0.04847756028175354,
0.44662585854530334,
-0.40773701667785645,
0.4081355929374695,
-0.30015239119529724,
-0.5378538966178894,
0.09860257804393768,
0.016689088195562363,
0.02945549786090851,
-0.2506216764450073,
-0.10748368501663208,
0.33046236634254456,
-0.1585828959941864,
-0.22080516815185547,
0.03305116295814514,
0.07572560012340546,
-0.39099544286727905,
-0.08136977255344391,
-0.015905819833278656,
0.18097075819969177,
-0.1984902173280716,
0.15306980907917023,
-0.23911288380622864,
0.22615182399749756,
-0.02690344862639904,
-0.07773667573928833,
-0.2188999503850937,
0.0008697435259819031,
-0.45592692494392395,
0.1823396533727646,
-0.06680300831794739,
-0.06951748579740524,
0.03761743754148483,
0.28962740302085876,
0.8918442130088806,
0.1306748241186142,
-0.07761839032173157,
0.11590588092803955,
-0.014725945889949799,
-0.09182442724704742,
-0.08558494597673416,
0.06435681879520416,
0.2934025824069977,
-0.2617601156234741,
-0.16873879730701447,
-0.08115097135305405,
0.09257591515779495,
-0.16079211235046387,
0.3625638484954834,
-0.046710409224033356,
-0.07486814260482788,
0.15066704154014587,
0.02021675556898117,
0.026631273329257965,
-0.06784163415431976,
-0.17309896647930145,
0.1156158596277237,
-0.163135826587677,
-0.2514808773994446,
-0.011650986969470978,
0.013960704207420349,
-0.35382288694381714,
0.07691977918148041,
0.18481457233428955,
0.09635645896196365,
-0.1526755392551422,
0.4362221360206604,
-0.12702153623104095,
-0.06890548765659332,
-0.08265165984630585,
-0.4828759431838989,
0.09407874196767807,
-0.06158224120736122,
0.3277033865451813,
-0.039194103330373764,
-0.15081918239593506,
0.10884739458560944,
0.8712244033813477,
0.2959723472595215,
0.1533789485692978,
-0.22971531748771667,
-0.3328503370285034,
-0.32470372319221497,
0.014476440846920013,
0.00524042546749115,
0.09894140809774399,
-0.16323697566986084,
0.36495479941368103,
-0.11459765583276749,
0.3088015913963318,
-0.24895890057086945,
0.11808576434850693,
-0.4077552258968353,
0.11900600045919418,
-0.14777597784996033,
-0.16000398993492126,
0.30077067017555237,
0.3664514124393463,
0.011363120749592781,
0.44244223833084106,
-0.2432103455066681,
-0.18150493502616882,
-0.18888191878795624,
0.11997152119874954,
0.23678547143936157,
-0.03730185329914093,
-0.15523116290569305,
-0.04593399912118912,
-0.31020861864089966,
-0.17679260671138763,
0.21192462742328644,
0.25719571113586426,
-0.06610943377017975,
0.06374375522136688,
-0.24947069585323334,
0.42239126563072205,
0.22513537108898163,
-0.2963387966156006,
0.3116735816001892,
0.2022942304611206,
0.1305122971534729,
0.0995250791311264,
0.1436861753463745,
0.072031170129776,
0.08041001856327057,
-0.2597729563713074,
-0.00985516607761383,
0.00855526328086853,
0.19674000144004822,
-0.23099209368228912,
-0.15612080693244934,
-0.37082698941230774,
0.0517183393239975,
0.3635762333869934,
0.007451694458723068,
-0.27410903573036194,
0.1914917528629303,
0.13226062059402466,
-0.32511889934539795,
0.11903369426727295,
-0.257068008184433,
0.053928129374980927,
0.0856841653585434,
0.27379679679870605,
0.004499368369579315,
0.023140080273151398,
0.03706096485257149,
-0.040476344525814056,
-0.1941717267036438,
-0.5982772707939148,
-0.04233407974243164,
-0.14811787009239197,
-0.2313740849494934,
0.2417520433664322,
0.38029608130455017,
-0.10069058835506439,
0.3059271574020386,
0.06069619208574295,
-0.10947326570749283,
0.25705644488334656,
-0.6360207200050354,
0.09245948493480682,
0.09076379239559174,
-0.05721930041909218,
0.3093509078025818,
0.058656781911849976,
-0.08549633622169495,
-0.018469952046871185,
-0.23897415399551392,
0.3402973413467407,
-0.3041679859161377,
0.0976269468665123,
-0.22712042927742004,
0.033009786158800125,
-0.10786452144384384,
0.005205007269978523,
0.10802620649337769,
-0.07958809286355972,
0.13739989697933197,
-0.07346180081367493,
0.2036411166191101,
0.11403681337833405,
-0.22369131445884705,
0.22999310493469238,
-0.11681815981864929,
0.07374656945466995,
-0.6453626751899719,
0.5514610409736633,
0.36343467235565186,
-0.09826946258544922,
0.016762645915150642,
0.2653757929801941,
0.015222955495119095,
-0.18764789402484894,
0.32546788454055786,
0.20124946534633636,
0.4787557125091553,
-0.04328091815114021,
-0.07363320142030716,
0.1241813600063324,
0.07404722273349762,
-0.09110689163208008,
0.28077182173728943,
0.5041821002960205,
0.07197174429893494,
0.4548558294773102,
0.055685073137283325,
-0.24693959951400757,
0.10966992378234863,
-0.06710430979728699,
0.0015847748145461082,
-0.10189838707447052,
0.44226783514022827,
-0.08225824683904648,
0.008662812411785126,
-0.32234933972358704,
-0.11045516282320023,
-0.33704590797424316,
0.3438331186771393,
0.055821653455495834,
-0.047978851944208145,
0.2515256702899933,
0.01127937063574791,
0.08349224925041199,
-0.03462902083992958,
0.25255537033081055,
0.13496361672878265,
-0.1671018898487091,
-0.3239257335662842,
-0.1811329424381256,
-0.5610327124595642,
0.22686511278152466,
0.13356734812259674,
0.18414950370788574,
-0.03134799376130104,
0.16959254443645477,
-0.25292736291885376,
-0.11920115351676941,
-0.0463254451751709,
-0.19636179506778717,
0.25092247128486633,
0.02480756863951683,
-0.27682891488075256,
-0.35299187898635864,
-0.24162442982196808,
-0.4227743446826935,
0.17088371515274048,
-0.24913078546524048,
0.009029131382703781,
-0.15369336307048798,
-0.0019235946238040924,
-0.0455351322889328,
-0.036319978535175323,
0.26113560795783997,
0.3332712650299072,
0.23745213449001312,
0.03461538627743721,
0.5644971132278442,
-0.03785339370369911,
-0.07344907522201538,
0.01589839532971382,
0.1402171403169632,
-0.2252647429704666,
0.235295832157135,
0.14536650478839874,
0.39479801058769226,
-0.03567176312208176,
-0.1783236861228943,
-0.42934226989746094,
0.753188967704773,
0.28733503818511963,
-0.22657127678394318,
-0.07930876314640045,
-0.041110798716545105,
0.10832618921995163,
0.07162129133939743,
0.3129252791404724,
0.36380141973495483,
-0.1406288892030716,
0.3308030962944031,
-0.3588154911994934,
-0.2075115591287613,
0.5828338861465454,
-0.40294933319091797,
-0.2971513867378235,
-0.008299180306494236,
0.3402397632598877,
0.5178589820861816,
-0.435354620218277,
-0.8319960236549377,
-0.006672240793704987,
0.2214432805776596,
0.11133138090372086,
-0.29933878779411316,
0.0849803239107132,
-0.166529580950737,
0.2673638164997101,
-0.08180518448352814,
0.3439676761627197,
-0.07568910717964172,
-0.12148687988519669,
0.03911122307181358,
-0.24258294701576233
] |
https://github.com/huggingface/datasets/issues/1725 | load the local dataset | You should rephrase your question or give more examples and details on what you want to do.
it’s not possible to understand it and help you with only this information. | your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot! | 30 | load the local dataset
your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot!
You should rephrase your question or give more examples and details on what you want to do.
it’s not possible to understand it and help you with only this information. | [
-0.18040822446346283,
0.013498976826667786,
-0.10371410846710205,
-0.013034135103225708,
0.21346107125282288,
0.14708104729652405,
0.2700250446796417,
0.28800472617149353,
0.4363231360912323,
0.054482847452163696,
0.1162029504776001,
0.494706392288208,
-0.07456590980291367,
0.2974507212638855,
0.21978774666786194,
-0.12352471053600311,
0.05346711724996567,
0.21260860562324524,
-0.20957770943641663,
-0.25246238708496094,
-0.12486216425895691,
0.06005852669477463,
-0.006339378654956818,
0.11523936688899994,
0.02887859381735325,
-0.14232994616031647,
0.0913051962852478,
0.5297980308532715,
-0.11315176635980606,
-0.3507753610610962,
0.19776193797588348,
-0.12895892560482025,
0.4495808482170105,
0.23744997382164001,
-0.00009963390766642988,
0.2585185766220093,
0.2192777842283249,
-0.20299074053764343,
-0.13976672291755676,
-0.4289155602455139,
-0.38909101486206055,
-0.018218103796243668,
0.43597009778022766,
-0.3825983703136444,
-0.24133753776550293,
-0.19366881251335144,
0.1122724637389183,
-0.11406997591257095,
0.4548484683036804,
0.5852868556976318,
0.2613310217857361,
-0.08513364940881729,
0.07302089035511017,
-0.01647142693400383,
-0.12000564485788345,
0.2349962294101715,
0.12612853944301605,
0.5693175792694092,
-0.035135261714458466,
0.02369341440498829,
0.1668701320886612,
0.1679309457540512,
-0.00488637201488018,
0.17443186044692993,
0.2951236367225647,
0.15071174502372742,
0.2086283564567566,
-0.18833331763744354,
0.01942930929362774,
-0.016647644340991974,
0.5430046319961548,
-0.10546436160802841,
-0.1357058882713318,
0.11128401011228561,
-0.12664735317230225,
-0.0491800382733345,
-0.029038816690444946,
0.2329445332288742,
-0.17782175540924072,
0.41978639364242554,
0.0424906462430954,
-0.15393617749214172,
-0.2715228796005249,
0.35971206426620483,
0.09523700177669525,
0.1745561957359314,
-0.2555059790611267,
0.1659582108259201,
0.16801230609416962,
0.06164184585213661,
-0.1496703326702118,
-0.06426769495010376,
0.16973789036273956,
0.28355225920677185,
-0.042945291846990585,
0.036010779440402985,
0.17831900715827942,
-0.026647791266441345,
0.04292140156030655,
-0.03362244367599487,
0.05976126343011856,
0.12152301520109177,
0.015126966871321201,
0.4068184792995453,
0.1413228064775467,
-0.060335833579301834,
0.12022212892770767,
0.1193658635020256,
0.02463216707110405,
0.12884937226772308,
-0.2984277307987213,
-0.1590566337108612,
-0.3900527358055115,
-0.2371935099363327,
-0.19747306406497955,
0.05387558415532112,
0.29851800203323364,
-0.39177826046943665,
0.0706150159239769,
-0.12777230143547058,
-0.06620807200670242,
-0.2095964550971985,
0.10452493280172348,
0.4595922827720642,
-0.20426693558692932,
0.044905953109264374,
0.024191781878471375,
0.18388120830059052,
-0.1363728791475296,
-0.06996744871139526,
-0.20464636385440826,
0.20127150416374207,
-0.11797197163105011,
-0.21257945895195007,
0.03785448893904686,
0.11418971419334412,
0.6578571796417236,
-0.1471211016178131,
-0.13447749614715576,
-0.13778924942016602,
0.4352627098560333,
0.0257907472550869,
0.07696837931871414,
0.35574057698249817,
0.1775244027376175,
-0.0939830094575882,
0.23354828357696533,
-0.235428124666214,
-0.3238987624645233,
0.25356730818748474,
-0.4369361996650696,
-0.3963063061237335,
0.03722384572029114,
0.28642550110816956,
-0.0015867669135332108,
-0.02938765287399292,
-0.3729649484157562,
0.11935174465179443,
-0.21977517008781433,
0.09262715280056,
-0.21164622902870178,
-0.0017827711999416351,
0.02635306492447853,
-0.24086332321166992,
0.44163841009140015,
0.23792263865470886,
-0.5031753182411194,
-0.019773069769144058,
0.08999314904212952,
-0.23184576630592346,
0.1753769963979721,
0.03352552279829979,
-0.6356109380722046,
0.5764732360839844,
-0.07851838320493698,
0.14430594444274902,
0.6426223516464233,
-0.27811336517333984,
0.05689527094364166,
0.42050009965896606,
-0.20875892043113708,
-0.17744602262973785,
0.04418908804655075,
-0.027473442256450653,
-0.4110879898071289,
0.19604536890983582,
0.24845090508460999,
0.5545180439949036,
0.029125995934009552,
0.02729629911482334,
-0.12415914237499237,
-0.0672420784831047,
0.008020829409360886,
0.29394665360450745,
-0.18672245740890503,
0.21364866197109222,
0.13088001310825348,
0.005861946381628513,
0.3009951114654541,
-0.2669839859008789,
-0.18082821369171143,
0.3929586410522461,
0.15294910967350006,
-0.12765413522720337,
0.04714389145374298,
0.22234266996383667,
-0.25592347979545593,
0.04470615088939667,
0.0038740597665309906,
-0.22776219248771667,
0.0014643967151641846,
-0.06329038739204407,
-0.2188642919063568,
-0.05202099680900574,
-0.35244637727737427,
-0.017571132630109787,
0.19180361926555634,
0.09844131022691727,
0.2418268918991089,
-0.04122653231024742,
-0.3753814697265625,
0.017871182411909103,
-0.4167238175868988,
0.13658738136291504,
-0.3241453170776367,
0.008095961064100266,
-0.17091551423072815,
-0.0025115832686424255,
0.08673767745494843,
-0.17337563633918762,
-0.008633650839328766,
-0.2545939087867737,
-0.12535089254379272,
0.3699715733528137,
0.27199694514274597,
0.11700451374053955,
0.12356115132570267,
0.1868063062429428,
-0.13488058745861053,
-0.04905124753713608,
0.08828670531511307,
0.11667943000793457,
0.2536686062812805,
0.09337831288576126,
-0.318849116563797,
0.33711662888526917,
0.06404182314872742,
0.06701518595218658,
0.16947703063488007,
-0.13149993121623993,
0.431586891412735,
-0.18025988340377808,
-0.23709100484848022,
0.0997733622789383,
0.012046817690134048,
0.07934990525245667,
0.18400830030441284,
0.021545367315411568,
-0.4251137375831604,
-0.13931912183761597,
0.2735140025615692,
-0.11810357868671417,
0.004324421286582947,
0.040310993790626526,
-0.19254058599472046,
-0.016902226954698563,
0.11377834528684616,
0.23516838252544403,
0.37818777561187744,
0.2797129452228546,
0.07502549141645432,
0.06649544090032578,
-0.09701425582170486,
-0.14055083692073822,
-0.00040318071842193604,
-0.031039051711559296,
0.10656558722257614,
-0.05455136299133301,
-0.1856285184621811,
-0.3148077428340912,
-0.168545663356781,
-0.07940313220024109,
-0.04563692957162857,
0.2858559191226959,
-0.16934773325920105,
0.17795336246490479,
-0.19558395445346832,
-0.06270350515842438,
-0.33878615498542786,
-0.09705426543951035,
0.12728352844715118,
0.13691897690296173,
-0.14040738344192505,
-0.09686410427093506,
-0.16120341420173645,
0.026802396401762962,
0.018563218414783478,
0.037813350558280945,
-0.13046808540821075,
-0.11973565071821213,
0.11984342336654663,
-0.23145492374897003,
-0.36364707350730896,
0.14041991531848907,
0.35308632254600525,
0.2672508955001831,
0.08381514996290207,
-0.4258138835430145,
-0.13743436336517334,
0.31080177426338196,
0.027888931334018707,
0.14816266298294067,
0.10813038796186447,
0.42552992701530457,
0.02919984608888626,
0.4161868095397949,
-0.09071560949087143,
-0.15602217614650726,
0.3424631655216217,
0.07913897931575775,
-0.05295129120349884,
-0.11512154340744019,
-0.01370363961905241,
-0.07715436816215515,
-0.16973552107810974,
-0.8360047936439514,
-0.42679840326309204,
-0.2437296062707901,
0.2515365183353424,
0.3813192546367645,
0.20332682132720947,
0.18783287703990936,
0.41120240092277527,
0.33077043294906616,
-0.03924240171909332,
0.2694145739078522,
-0.0949387177824974,
-0.5751318335533142,
0.2998141944408417,
-0.336412638425827,
-0.35225149989128113,
0.2509351074695587,
-0.057653892785310745,
0.336395263671875,
-0.302978515625,
-0.3647487163543701,
-0.2921610176563263,
0.01850726455450058,
-0.08561185002326965,
-0.13143721222877502,
0.15044984221458435,
0.24292239546775818,
-0.14194633066654205,
-0.18636952340602875,
-0.11531784385442734,
-0.06387020647525787,
0.3799186050891876,
0.180268794298172,
0.0839901715517044,
0.268170565366745,
0.41324955224990845,
-0.20547235012054443,
0.4035097360610962,
-0.11922390758991241,
-0.17391768097877502,
0.18241578340530396,
-0.16650402545928955,
0.002054419368505478,
-0.10579589754343033,
-0.043892521411180496,
-0.0701344832777977,
0.014978647232055664,
-0.29049932956695557,
0.25126224756240845,
0.139680415391922,
-0.2773466110229492,
-0.36154332756996155,
-0.26351219415664673,
-0.4432043433189392,
-0.11371105909347534,
0.3095836043357849,
0.07488046586513519,
0.07616454362869263,
-0.031060468405485153,
-0.15228164196014404,
-0.1269502192735672,
0.2882062792778015,
0.09854471683502197,
0.43528902530670166,
0.09141957014799118,
0.13122884929180145,
-0.53017258644104,
-0.3288080096244812,
-0.11666124314069748,
0.11348017305135727,
-0.164760559797287,
0.08124832808971405,
-0.01705349236726761,
-0.19163578748703003,
0.11340633034706116,
-0.17436277866363525,
0.36036041378974915,
-0.025300083681941032,
0.13320118188858032,
-0.013377111405134201,
-0.12367268651723862,
-0.1057797446846962,
0.01224629208445549,
-0.10681512951850891,
0.20053842663764954,
-0.06311564147472382,
0.5251098871231079,
-0.007377520203590393,
-0.2924707531929016,
0.03356778994202614,
0.19618651270866394,
-0.26153841614723206,
0.05141819640994072,
-0.33438506722450256,
-0.24548855423927307,
-0.338572233915329,
-0.03703681379556656,
-0.1053106039762497,
0.03181587904691696,
0.35883599519729614,
-0.016174009069800377,
0.006436653435230255,
0.0948752835392952,
-0.007106609642505646,
0.2721623182296753,
0.22972041368484497,
0.09505526721477509,
-0.23947010934352875,
0.25466388463974,
0.28451937437057495,
0.10325203090906143,
0.5296413898468018,
-0.049223918467760086,
-0.11678043007850647,
-0.1272139847278595,
-0.010247414000332355,
0.45669025182724,
0.02969052642583847,
-0.10045982897281647,
-0.12889674305915833,
0.3076188862323761,
-0.14332500100135803,
-0.0862257331609726,
0.4661805331707001,
0.027189329266548157,
-0.002722357399761677,
0.12411128729581833,
-0.6534736752510071,
0.32617685198783875,
-0.07589922845363617,
-0.06483487784862518,
0.18009403347969055,
-0.3001713752746582,
-0.18335987627506256,
0.29770469665527344,
0.07653900980949402,
0.6713845729827881,
0.061869073659181595,
0.15012280642986298,
0.17047595977783203,
-0.2820644676685333,
-0.026117997244000435,
-0.38743531703948975,
0.0025361226871609688,
-0.0941130667924881,
0.1491042524576187,
-0.04174211993813515,
-0.20417961478233337,
0.2626314163208008,
0.4218592047691345,
-0.18209289014339447,
0.10427791625261307,
-0.10228018462657928,
0.153156578540802,
-0.08930795639753342,
0.2941601872444153,
0.29050254821777344,
-0.12511968612670898,
-0.4410373270511627,
0.1859493851661682,
-0.07326114177703857,
0.06737437099218369,
-0.038112275302410126,
-0.27648842334747314,
-0.048503339290618896,
-0.16073936223983765,
0.4327571392059326,
0.13495033979415894,
-0.2871325612068176,
0.0973232313990593,
0.02129252254962921,
-0.1603078842163086,
-0.3687707185745239,
0.28994470834732056,
0.05482954531908035,
0.16633667051792145,
-0.2173326164484024,
0.05593496561050415,
-0.22873473167419434,
-0.05762850493192673,
-0.3444233536720276,
-0.04006943106651306,
0.28255102038383484,
-0.1777532994747162,
-0.2714875638484955,
0.09658272564411163,
-0.2840976119041443,
-0.2838326692581177,
0.05289439857006073,
-0.0436372235417366,
0.12020612508058548,
-0.041388433426618576,
-0.6282684206962585,
0.19078736007213593,
0.04358996823430061,
0.011452097445726395,
0.2560286223888397,
0.1455119550228119,
-0.3519006371498108,
0.029904577881097794,
0.25975432991981506,
-0.28802382946014404,
-0.056031886488199234,
0.23299658298492432,
0.05367422103881836,
0.14735513925552368,
0.4500334560871124,
0.07067207992076874,
0.0957440584897995,
-0.3191045820713043,
0.11305556446313858,
0.5872127413749695,
0.036830730736255646,
-0.005653108470141888,
0.1907365918159485,
0.15156958997249603,
0.07897964119911194,
0.18437373638153076,
0.15335604548454285,
-0.17104724049568176,
-0.17170320451259613,
-0.33710065484046936,
-0.39748039841651917,
0.14892882108688354,
0.13092024624347687,
0.20803184807300568,
0.25284212827682495,
0.07441119849681854,
0.12967835366725922,
-0.024293700233101845,
-0.408629834651947,
0.12309915572404861,
-0.3641241192817688,
0.18000586330890656,
0.09820174425840378,
0.18510156869888306,
0.18322211503982544,
0.006708621978759766,
0.20197317004203796,
-0.2810565233230591,
-0.18961195647716522,
-0.36693742871284485,
-0.041026197373867035,
0.04677706956863403,
0.07087978720664978,
0.04676588624715805,
0.06111644580960274,
-0.19801534712314606,
-0.1256963163614273,
0.1120121031999588,
-0.05879559367895126,
-0.1911492943763733,
-0.09560371935367584,
0.3177486062049866,
0.039372824132442474,
0.003950595855712891,
-0.11591535061597824,
-0.1371202915906906,
-0.3044010102748871,
0.018553487956523895,
0.07958194613456726,
-0.07253917306661606,
-0.13189058005809784,
-0.14693985879421234,
-0.029924878850579262,
-0.0011661648750305176,
0.002176918089389801,
0.19283485412597656,
0.06676780432462692,
-0.20163337886333466,
0.12642620503902435,
-0.18519608676433563,
0.19180698692798615,
0.05812226980924606,
-0.17815616726875305,
0.4482100307941437,
0.40930891036987305,
0.27158117294311523,
-0.12893962860107422,
-0.11881083995103836,
0.32401424646377563,
-0.2621672749519348,
0.11638166010379791,
0.06165432184934616,
0.10733966529369354,
0.15841427445411682,
0.026734616607427597,
-0.014691757969558239,
0.22067925333976746,
0.10782511532306671,
0.027026230469346046,
0.3091075122356415,
-0.2741137444972992,
0.028162557631731033,
-0.09423889219760895,
0.3863442540168762,
0.4005352556705475,
0.27413392066955566,
-0.20543280243873596,
0.1652836948633194,
0.1451984941959381,
0.09375865757465363,
-0.1912653148174286,
-0.3903202712535858,
0.05408158898353577,
0.04979339987039566,
-0.13521839678287506,
0.11280842125415802,
-0.0478176474571228,
0.20781473815441132,
0.04679292440414429,
-0.17049233615398407,
0.00728638656437397,
0.10584680736064911,
-0.0636516734957695,
-0.2617335319519043,
-0.635026752948761,
-0.08908028900623322,
-0.1265391707420349,
-0.014527600258588791,
0.08592131733894348,
-0.08647565543651581,
0.06132417172193527,
-0.08983314037322998,
0.025249972939491272,
0.06543668359518051,
0.12262554466724396,
0.01482321135699749,
-0.18912532925605774,
-0.03333654999732971,
0.15166671574115753,
-0.09104816615581512,
-0.02171856164932251,
-0.006053205579519272,
-0.10086584836244583,
0.1498214304447174,
0.307925283908844,
-0.017719797790050507,
0.006629527546465397,
0.1473597139120102,
-0.19672654569149017,
-0.1637202799320221,
-0.008599210530519485,
0.004701606929302216,
0.18417026102542877,
0.19156916439533234,
0.3222597539424896,
-0.24323797225952148,
0.3756030797958374,
-0.06182282790541649,
0.009170371107757092,
-0.13497212529182434,
-0.021199055016040802,
0.34993553161621094,
-0.09028905630111694,
-0.1106167733669281,
0.08448527008295059,
-0.6342899799346924,
-0.1073165088891983,
0.3021227717399597,
0.05955401435494423,
0.09793010354042053,
-0.0712774321436882,
0.14236043393611908,
-0.11844071745872498,
0.6424097418785095,
-0.022989947348833084,
0.2567495107650757,
-0.32260826230049133,
-0.16979888081550598,
-0.30668455362319946,
-0.03731150180101395,
-0.11201804876327515,
-0.04751674458384514,
0.14259089529514313,
0.0505201518535614,
0.2933207154273987,
0.30955231189727783,
-0.14057259261608124,
-0.07036988437175751,
-0.28566524386405945,
0.2319447100162506,
-0.024950454011559486,
-0.2608463764190674,
-0.22968854010105133,
0.4074096083641052,
0.02339145913720131,
-0.18775245547294617,
-0.05458945408463478,
-0.1773393750190735,
0.14229130744934082,
-0.15381687879562378,
-0.14754486083984375,
0.11667592823505402,
0.010282367467880249,
0.4713774621486664,
-0.12231466174125671,
0.22158372402191162,
-0.1648263931274414,
0.15008917450904846,
0.03916891664266586,
0.051080409437417984,
-0.25661155581474304,
0.043279677629470825,
-0.23739808797836304,
0.26773273944854736,
-0.3237300217151642,
0.001796472817659378,
-0.3764791190624237,
-0.21817271411418915,
0.06866858154535294,
-0.31935617327690125,
0.03652259707450867,
0.07521377503871918,
-0.021551288664340973,
-0.13687370717525482,
0.18346147239208221,
0.23631727695465088,
-0.06698309630155563,
-0.15548303723335266,
-0.21724608540534973,
0.10107269138097763,
0.45868608355522156,
-0.33501189947128296,
-0.1781715601682663,
0.09161398559808731,
-0.03689552843570709,
-0.08387275785207748,
0.030441926792263985,
-0.26974034309387207,
0.21428558230400085,
0.19819369912147522,
-0.02569384127855301,
-0.3089804947376251,
0.4218192994594574,
0.2658829092979431,
0.09845472872257233,
-0.10442928969860077,
0.027127645909786224,
0.005016587674617767,
-0.09530257433652878,
-0.4929318428039551,
-0.40970379114151
] |
https://github.com/huggingface/datasets/issues/1725 | load the local dataset | sorry for that.
i want to know how could i load the train set and the test set from the local ,which api or function should i use .
| your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot! | 29 | load the local dataset
your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot!
sorry for that.
i want to know how could i load the train set and the test set from the local ,which api or function should i use .
| [
-0.31747063994407654,
0.06382037699222565,
-0.09525959193706512,
0.07376942038536072,
0.11967486888170242,
0.15572378039360046,
0.15555720031261444,
0.3187198340892792,
0.5008639097213745,
0.06144677847623825,
0.16420261561870575,
0.4374157190322876,
-0.12088174372911453,
0.48283207416534424,
0.3047558069229126,
-0.16354769468307495,
0.07077647745609283,
0.2294306457042694,
-0.27880677580833435,
-0.2441236972808838,
-0.13444451987743378,
0.0736517608165741,
-0.08553872257471085,
0.11539033055305481,
0.12427399307489395,
-0.08784932643175125,
0.06839480996131897,
0.47039997577667236,
-0.10477247834205627,
-0.30259421467781067,
0.23077194392681122,
-0.17465877532958984,
0.4277430474758148,
0.2090977430343628,
-0.00010647554881870747,
0.20217590034008026,
0.16685304045677185,
-0.2235589325428009,
-0.05435711517930031,
-0.6375691294670105,
-0.3398153781890869,
0.012243211269378662,
0.5199460983276367,
-0.23984435200691223,
-0.27357906103134155,
-0.32290276885032654,
0.07420326769351959,
-0.24209751188755035,
0.5297539830207825,
0.6811376810073853,
0.16371986269950867,
-0.11598126590251923,
-0.02747948095202446,
0.07880920171737671,
-0.10824809223413467,
0.199310764670372,
0.042591653764247894,
0.4848555028438568,
0.21610726416110992,
-0.1329427808523178,
0.1207040324807167,
0.06590242683887482,
0.05945073068141937,
0.14584678411483765,
0.3084443509578705,
0.10422132909297943,
0.10015115886926651,
-0.3671630918979645,
-0.03228776901960373,
-0.006827905774116516,
0.6595649123191833,
-0.15190938115119934,
-0.06722725182771683,
0.19323468208312988,
-0.13639800250530243,
0.018808579072356224,
0.05147116631269455,
0.20400965213775635,
-0.19852541387081146,
0.34189897775650024,
-0.13958275318145752,
-0.30331432819366455,
-0.292007714509964,
0.3929927349090576,
0.14361059665679932,
0.06309810280799866,
-0.1361529678106308,
0.19198185205459595,
0.12326595187187195,
0.07735641300678253,
-0.04763448238372803,
-0.11235922574996948,
0.18110017478466034,
0.4176243543624878,
-0.14701594412326813,
0.03189001977443695,
0.1204608827829361,
-0.15833070874214172,
-0.021216630935668945,
0.142564058303833,
-0.03519114851951599,
0.20763102173805237,
-0.14132212102413177,
0.27976685762405396,
0.19940321147441864,
0.09054094552993774,
0.25102174282073975,
0.23011603951454163,
-0.041373446583747864,
0.04519236087799072,
-0.2475225329399109,
-0.09282422810792923,
-0.38418036699295044,
-0.14684799313545227,
-0.2581517994403839,
0.10968519002199173,
0.19853153824806213,
-0.4896928071975708,
0.2011568397283554,
-0.10367941856384277,
-0.15902838110923767,
-0.30061209201812744,
0.10271333903074265,
0.3576224148273468,
-0.2637360990047455,
0.17567285895347595,
0.02635854482650757,
0.17596928775310516,
-0.18183717131614685,
-0.03554825484752655,
-0.16976593434810638,
0.23909127712249756,
-0.08772698044776917,
-0.0803423598408699,
0.08814273774623871,
0.07373674213886261,
0.6081703901290894,
-0.16512686014175415,
-0.018226630985736847,
-0.07161569595336914,
0.5714467167854309,
-0.04496152326464653,
0.10451216250658035,
0.36825063824653625,
0.18443162739276886,
-0.10876943916082382,
0.15847031772136688,
-0.16979579627513885,
-0.3091652989387512,
0.266433447599411,
-0.44381052255630493,
-0.4999341070652008,
0.08583936095237732,
0.2154584676027298,
0.0015287622809410095,
-0.057914793491363525,
-0.41730549931526184,
0.19196990132331848,
-0.23477888107299805,
0.0992010235786438,
-0.21220648288726807,
-0.016767121851444244,
-0.09493580460548401,
-0.1602853238582611,
0.45251941680908203,
0.16268128156661987,
-0.564746081829071,
-0.06266147643327713,
0.2324693351984024,
-0.181301087141037,
0.14606288075447083,
0.07768465578556061,
-0.6236319541931152,
0.5268679261207581,
-0.08071056008338928,
0.10678696632385254,
0.7347123622894287,
-0.3785434663295746,
0.15650682151317596,
0.4080645740032196,
-0.1055256798863411,
-0.2899021506309509,
-0.141156405210495,
-0.08312403410673141,
-0.4013296663761139,
0.18345589935779572,
0.2094929963350296,
0.7176533341407776,
-0.03990989178419113,
-0.03967346251010895,
-0.08494792878627777,
-0.13555225729942322,
0.08547589182853699,
0.39243438839912415,
0.00229489803314209,
0.11239676177501678,
0.07903230935335159,
-0.056994106620550156,
0.25356152653694153,
-0.22412192821502686,
-0.23279474675655365,
0.343111515045166,
0.20935861766338348,
-0.1896332949399948,
0.09956520795822144,
0.16463562846183777,
-0.22718539834022522,
0.08071088790893555,
-0.09430727362632751,
-0.09073996543884277,
0.06676524877548218,
0.009365726262331009,
-0.22461619973182678,
-0.10692232847213745,
-0.3677217364311218,
0.022259384393692017,
0.056012630462646484,
-0.01228475570678711,
0.21221263706684113,
0.08213472366333008,
-0.4414837956428528,
-0.059780001640319824,
-0.38565507531166077,
0.12077829241752625,
-0.3741033673286438,
0.025861399248242378,
-0.08002414554357529,
0.012640213593840599,
0.08984795212745667,
-0.15607145428657532,
-0.013008877635002136,
-0.37519705295562744,
-0.18844476342201233,
0.37051647901535034,
0.34484341740608215,
0.1940327286720276,
0.12157053500413895,
0.26722538471221924,
0.029934566468000412,
-0.047066159546375275,
-0.017328036949038506,
0.10695037245750427,
0.23934590816497803,
0.0013539940118789673,
-0.34944525361061096,
0.3390461802482605,
0.038665834814310074,
0.09803959727287292,
0.21188803017139435,
-0.10196854174137115,
0.39822226762771606,
-0.10201200842857361,
-0.1447940319776535,
0.1466412991285324,
0.033073484897613525,
-0.02303839847445488,
0.2643129527568817,
-0.011612782254815102,
-0.327798068523407,
-0.16179728507995605,
0.18310439586639404,
-0.19510063529014587,
-0.021149389445781708,
-0.0869828537106514,
-0.15020057559013367,
-0.12521106004714966,
0.20403259992599487,
0.1477634161710739,
0.3505546450614929,
0.17265048623085022,
0.08833298087120056,
0.1220305860042572,
-0.021734997630119324,
-0.08650628477334976,
-0.008135810494422913,
-0.05893130600452423,
0.12799072265625,
-0.04033692181110382,
-0.2419557124376297,
-0.2958581745624542,
-0.14348483085632324,
-0.05625114589929581,
0.043506279587745667,
0.26575154066085815,
-0.16828006505966187,
0.1302163302898407,
-0.15768948197364807,
-0.08963288366794586,
-0.33950933814048767,
-0.1717471033334732,
0.1737677901983261,
0.131269633769989,
-0.07800240814685822,
-0.21719738841056824,
-0.10907529294490814,
0.01793285273015499,
0.03512994945049286,
0.12757061421871185,
-0.12108471244573593,
-0.12308604270219803,
0.11927302181720734,
-0.24707920849323273,
-0.4121357500553131,
0.12105165421962738,
0.4731259346008301,
0.31463193893432617,
0.22212620079517365,
-0.3679429292678833,
-0.1649712175130844,
0.39883801341056824,
0.04324446618556976,
0.2520947754383087,
0.16017411649227142,
0.4491713345050812,
-0.047906070947647095,
0.2613447308540344,
-0.07427171617746353,
-0.13351720571517944,
0.2895406484603882,
-0.06877825409173965,
-0.09482203423976898,
-0.13745741546154022,
-0.03009575605392456,
-0.014506603591144085,
-0.13822674751281738,
-0.8957140445709229,
-0.4849814772605896,
-0.09755465388298035,
0.2685420513153076,
0.36104616522789,
0.20549961924552917,
0.08008170872926712,
0.32867640256881714,
0.32227861881256104,
0.062069449573755264,
0.19697469472885132,
-0.09130550920963287,
-0.6318541169166565,
0.15650375187397003,
-0.3055170178413391,
-0.37137705087661743,
0.18072497844696045,
0.02715732902288437,
0.25577312707901,
-0.33868134021759033,
-0.4009628891944885,
-0.4390977621078491,
0.05416598170995712,
0.03949462249875069,
-0.11064307391643524,
0.04568006843328476,
0.1686144769191742,
-0.2539507746696472,
-0.038542699068784714,
-0.009610302746295929,
-0.029659736901521683,
0.33981817960739136,
0.2781488299369812,
0.016129188239574432,
0.2597626745700836,
0.3580315411090851,
-0.2566971182823181,
0.5325697660446167,
-0.051799044013023376,
-0.14530304074287415,
0.10720924288034439,
-0.16437646746635437,
-0.16308708488941193,
-0.1720697283744812,
-0.03921596705913544,
-0.03228895366191864,
0.01511278748512268,
-0.29396533966064453,
0.20590823888778687,
0.14790478348731995,
-0.32492947578430176,
-0.4695690870285034,
-0.2655545473098755,
-0.4256269037723541,
-0.0692080557346344,
0.24133090674877167,
-0.09292237460613251,
0.08912165462970734,
-0.08385423570871353,
-0.15269061923027039,
-0.07418782263994217,
0.21596795320510864,
0.2643194794654846,
0.265787273645401,
0.04736603796482086,
0.14147734642028809,
-0.5233095288276672,
-0.32103821635246277,
-0.21156960725784302,
0.1446566879749298,
-0.07361553609371185,
0.14460743963718414,
-0.024596523493528366,
-0.17500752210617065,
0.09578203409910202,
-0.18682138621807098,
0.3129839599132538,
-0.06241443753242493,
0.004438251256942749,
0.005075929686427116,
-0.25868457555770874,
-0.033684276044368744,
0.007561884820461273,
-0.1549845039844513,
0.14549466967582703,
-0.018959108740091324,
0.5691065788269043,
0.10219473391771317,
-0.37301909923553467,
0.01023874618113041,
0.16597183048725128,
-0.3294253349304199,
0.06061102822422981,
-0.17223665118217468,
-0.23349037766456604,
-0.17792612314224243,
-0.044148676097393036,
-0.18163453042507172,
0.07742971181869507,
0.27292007207870483,
-0.07702368497848511,
0.09549245983362198,
0.10845557600259781,
0.05885814502835274,
0.2006080597639084,
0.15798163414001465,
0.09003766626119614,
-0.12352462112903595,
0.27956074476242065,
0.2263956516981125,
0.09950979053974152,
0.5160397291183472,
-0.12082235515117645,
-0.09327463805675507,
-0.09802109748125076,
0.013310090638697147,
0.4504298269748688,
-0.04406258463859558,
-0.06911138445138931,
-0.1843322217464447,
0.15649165213108063,
-0.18469054996967316,
-0.14199185371398926,
0.5305559635162354,
-0.059371694922447205,
0.08902695029973984,
0.18286165595054626,
-0.7420047521591187,
0.34436675906181335,
0.02587191015481949,
-0.1262059509754181,
0.3025677502155304,
-0.39530712366104126,
-0.13997682929039001,
0.35231077671051025,
0.14047136902809143,
0.6720981001853943,
-0.14750295877456665,
0.06498373299837112,
0.1114402487874031,
-0.24256832897663116,
-0.027510255575180054,
-0.4764211177825928,
-0.09621685743331909,
-0.16612869501113892,
0.14741377532482147,
-0.10816442966461182,
-0.17750848829746246,
0.20520833134651184,
0.2944383919239044,
-0.0788649395108223,
0.2112182229757309,
0.06425885856151581,
0.17405308783054352,
-0.1527908742427826,
0.371827632188797,
0.25997549295425415,
-0.06809563934803009,
-0.4120950698852539,
0.14822310209274292,
-0.05650199204683304,
0.03873060643672943,
-0.04742112755775452,
-0.1758587509393692,
0.07229083776473999,
-0.11770687252283096,
0.43936556577682495,
0.130459725856781,
-0.31354254484176636,
0.21666792035102844,
0.018922442570328712,
-0.20562705397605896,
-0.2958342730998993,
0.44199979305267334,
0.04259498789906502,
0.050763972103595734,
-0.3014819324016571,
0.08201231062412262,
-0.20937559008598328,
-0.016317645087838173,
-0.24451342225074768,
-0.04931036755442619,
0.36622413992881775,
-0.20170539617538452,
-0.2798491418361664,
0.12744320929050446,
-0.3033842146396637,
-0.18058155477046967,
-0.014924824237823486,
-0.062401965260505676,
0.21274688839912415,
-0.02259059064090252,
-0.6232084631919861,
0.23366886377334595,
0.1806155890226364,
0.076759472489357,
0.17918941378593445,
0.21134941279888153,
-0.3314855396747589,
0.13459692895412445,
0.263028621673584,
-0.3129192590713501,
0.01869230717420578,
0.16604693233966827,
0.08998006582260132,
0.04764331877231598,
0.4621700346469879,
0.1369718462228775,
0.22401563823223114,
-0.24554431438446045,
0.1923387348651886,
0.765407383441925,
-0.0014505982398986816,
-0.08240026235580444,
0.11781853437423706,
0.15181495249271393,
0.16261586546897888,
0.34187620878219604,
0.16674672067165375,
-0.26684829592704773,
-0.09904216974973679,
-0.3496146500110626,
-0.3968907594680786,
0.1771056056022644,
0.19893194735050201,
0.2853880524635315,
0.2766462564468384,
-0.10203900933265686,
0.1606215536594391,
0.11170203238725662,
-0.31134212017059326,
0.13783389329910278,
-0.4248329997062683,
0.1876540631055832,
0.061788689345121384,
0.24192464351654053,
0.1575871855020523,
-0.05953545123338699,
0.09131187200546265,
-0.3470113277435303,
-0.2024555206298828,
-0.25553545355796814,
0.015452194958925247,
0.07631105929613113,
0.03623052313923836,
-0.030080562457442284,
-0.0765473023056984,
-0.2830144762992859,
-0.09398014843463898,
0.11032979935407639,
-0.017790943384170532,
-0.24638882279396057,
-0.13039018213748932,
0.39352354407310486,
0.06446129083633423,
-0.07382669299840927,
-0.2512655258178711,
0.08191800117492676,
-0.22467371821403503,
-0.07008004188537598,
0.06678079813718796,
-0.00862838327884674,
-0.022821923717856407,
-0.18065708875656128,
0.13974636793136597,
-0.023292258381843567,
0.08654329925775528,
0.11997140944004059,
0.04436274990439415,
-0.16381393373012543,
0.1342010498046875,
-0.2023625373840332,
0.18006183207035065,
0.16753964126110077,
-0.15333083271980286,
0.5118135213851929,
0.354585200548172,
0.21457885205745697,
-0.07053370773792267,
-0.17114099860191345,
0.2912948727607727,
-0.12173435837030411,
-0.024876950308680534,
-2.7567148208618164e-7,
0.146310493350029,
0.11665838956832886,
0.034699760377407074,
0.009909199550747871,
0.10582862049341202,
0.1709628850221634,
-0.0028780512511730194,
0.21267589926719666,
-0.3698403835296631,
-0.05622582510113716,
-0.23486119508743286,
0.33010387420654297,
0.28761476278305054,
0.16823837161064148,
-0.14269614219665527,
0.2786853611469269,
0.14487947523593903,
0.16359758377075195,
-0.15630295872688293,
-0.5004984140396118,
0.05982904136180878,
-0.030809402465820312,
-0.19842863082885742,
0.09150147438049316,
0.05272771418094635,
0.36665862798690796,
0.12195463478565216,
-0.2985164225101471,
0.044409602880477905,
0.09614517539739609,
0.0429353192448616,
-0.23597310483455658,
-0.6581151485443115,
-0.04469937086105347,
-0.08066534996032715,
0.05281868204474449,
0.14736314117908478,
-0.1456526219844818,
0.053944192826747894,
0.0032465606927871704,
-0.029736824333667755,
0.20032554864883423,
-0.02222626656293869,
0.13614249229431152,
-0.2343275547027588,
0.0038962028920650482,
0.20267149806022644,
-0.02498169243335724,
-0.07909506559371948,
-0.059222642332315445,
-0.1384844034910202,
0.06973136216402054,
0.2748004198074341,
-0.276567280292511,
0.113447405397892,
0.29998987913131714,
-0.10863562673330307,
-0.06606864929199219,
0.012889484874904156,
-0.046764716506004333,
0.17013660073280334,
0.19168707728385925,
0.23179484903812408,
-0.10662195086479187,
0.37318170070648193,
-0.16481854021549225,
0.10588830709457397,
-0.12583617866039276,
0.09501195698976517,
0.4501928389072418,
-0.10583102703094482,
-0.1437920778989792,
0.15364262461662292,
-0.5023993253707886,
-0.062306806445121765,
0.30937451124191284,
0.05702483281493187,
0.08986202627420425,
-0.018228698521852493,
0.08927040547132492,
-0.1230485737323761,
0.7096773386001587,
0.10120965540409088,
0.33675599098205566,
-0.28816747665405273,
-0.25343140959739685,
-0.3108586072921753,
-0.03058328479528427,
0.020108386874198914,
0.014213988557457924,
0.15734177827835083,
-0.019571572542190552,
0.38908863067626953,
0.33806294202804565,
-0.2163645178079605,
0.008940255269408226,
-0.21757470071315765,
0.24819980561733246,
-0.11803659796714783,
-0.19891387224197388,
-0.2724533677101135,
0.39115583896636963,
-0.005383169278502464,
-0.14391717314720154,
0.006383590400218964,
-0.23449763655662537,
0.022894971072673798,
-0.08164698630571365,
-0.18024222552776337,
0.19730179011821747,
-0.11162292957305908,
0.5349858999252319,
-0.13017654418945312,
0.3435781002044678,
-0.10057735443115234,
0.35510867834091187,
0.21299846470355988,
0.063491590321064,
-0.13225315511226654,
0.021980520337820053,
-0.349719375371933,
0.2116931825876236,
-0.28708142042160034,
0.02996925264596939,
-0.33126702904701233,
-0.1925327628850937,
0.011209588497877121,
-0.2979670464992523,
0.035824455320835114,
-0.09817813336849213,
-0.12598282098770142,
-0.16312673687934875,
0.2314462959766388,
0.369464635848999,
-0.06166192144155502,
-0.19805967807769775,
-0.15906290709972382,
0.2030387818813324,
0.393023282289505,
-0.37369370460510254,
-0.09792383015155792,
-0.056745126843452454,
-0.120671346783638,
-0.0557393804192543,
-0.03547288477420807,
-0.41816624999046326,
0.10173404961824417,
0.20130448043346405,
-0.051119446754455566,
-0.23963065445423126,
0.4971449673175812,
0.34144842624664307,
0.23521031439304352,
-0.16380885243415833,
0.11140836775302887,
-0.039151713252067566,
-0.027840344235301018,
-0.5796434879302979,
-0.4002247452735901
] |
https://github.com/huggingface/datasets/issues/1725 | load the local dataset | thanks a lot
i find that the problem is i dont use vpn...
so i have to keep my net work even if i want to load the local data ? | your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot! | 31 | load the local dataset
your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot!
thanks a lot
i find that the problem is i dont use vpn...
so i have to keep my net work even if i want to load the local data ? | [
-0.22625809907913208,
0.07263953983783722,
-0.05075996369123459,
0.02983105182647705,
0.11851218342781067,
0.0638033077120781,
0.27888473868370056,
0.21063506603240967,
0.41184771060943604,
0.1336878389120102,
0.12616360187530518,
0.47466713190078735,
0.07140669971704483,
0.4720020294189453,
0.31708505749702454,
-0.09843392670154572,
0.10315141081809998,
0.2740093171596527,
-0.1861928105354309,
-0.2366858869791031,
-0.17937670648097992,
0.007089452818036079,
-0.14797340333461761,
0.09822915494441986,
0.06650934368371964,
-0.1281440109014511,
0.15537972748279572,
0.4630156457424164,
-0.03246722370386124,
-0.35305529832839966,
0.31633129715919495,
-0.11357857286930084,
0.5149092674255371,
0.222030907869339,
-0.00011104819714091718,
0.31566524505615234,
0.26868271827697754,
-0.1798221617937088,
-0.176581472158432,
-0.43989312648773193,
-0.3317742943763733,
-0.08252659440040588,
0.5880650877952576,
-0.3125263750553131,
-0.3187105357646942,
-0.16529347002506256,
0.16798631846904755,
-0.13425898551940918,
0.48518550395965576,
0.5206210017204285,
0.1277267038822174,
-0.06497307121753693,
-0.046564869582653046,
0.031949806958436966,
-0.207911878824234,
0.040976595133543015,
0.09147705137729645,
0.5332657694816589,
-0.035872362554073334,
-0.030660167336463928,
0.24458518624305725,
0.2169678807258606,
0.010146168991923332,
0.11086469888687134,
0.40783944725990295,
0.23129968345165253,
0.1855110228061676,
-0.27289071679115295,
-0.010861661285161972,
0.029411934316158295,
0.6502366065979004,
-0.03453008085489273,
-0.061568982899188995,
0.14971089363098145,
-0.17311279475688934,
-0.05935956537723541,
0.08189872652292252,
0.15946292877197266,
-0.15839363634586334,
0.47501975297927856,
-0.0652494952082634,
-0.2672056555747986,
-0.3562135100364685,
0.5089410543441772,
0.1050526350736618,
0.14242419600486755,
-0.20992130041122437,
0.17865189909934998,
0.22460684180259705,
0.08348345011472702,
-0.023906555026769638,
-0.10446080565452576,
0.23955394327640533,
0.3202846646308899,
-0.08810849487781525,
0.04946300387382507,
0.10824412107467651,
-0.021807469427585602,
-0.0792381763458252,
-0.13709218800067902,
0.08320491015911102,
0.11100311577320099,
-0.04309949278831482,
0.34509551525115967,
0.2440098226070404,
-0.08050239086151123,
0.0778990089893341,
0.11469092965126038,
0.08272584527730942,
0.03437242656946182,
-0.190260648727417,
-0.17882558703422546,
-0.4520167112350464,
-0.2575865387916565,
-0.2210618108510971,
0.06941931694746017,
0.3887134790420532,
-0.49433013796806335,
0.2136765569448471,
-0.09972961992025375,
-0.08029510080814362,
-0.19206586480140686,
0.19162127375602722,
0.3994500935077667,
-0.30890747904777527,
0.10413037985563278,
-0.022269170731306076,
0.1574258655309677,
-0.23766161501407623,
-0.07658253610134125,
-0.14938820898532867,
0.03043481521308422,
-0.04188891500234604,
-0.18592970073223114,
0.07007420063018799,
0.16224868595600128,
0.4741714596748352,
-0.1978307068347931,
-0.011063814163208008,
-0.06824471801519394,
0.398190975189209,
-0.036311350762844086,
0.05248884856700897,
0.43575066328048706,
0.19966009259223938,
-0.11758310347795486,
0.13817715644836426,
-0.24588432908058167,
-0.33734002709388733,
0.3195277452468872,
-0.4019116163253784,
-0.4656975269317627,
0.10410521179437637,
0.15094007551670074,
0.041095755994319916,
-0.11538462340831757,
-0.30192747712135315,
0.10500730574131012,
-0.2668134570121765,
0.03180032595992088,
-0.25577351450920105,
0.054694533348083496,
-0.1697489321231842,
-0.1358543336391449,
0.5634292960166931,
0.31511521339416504,
-0.5412478446960449,
0.020191580057144165,
0.0491369366645813,
-0.27601489424705505,
0.20947301387786865,
0.13298970460891724,
-0.6482592821121216,
0.5789047479629517,
-0.021629756316542625,
0.05382046103477478,
0.685783326625824,
-0.33551785349845886,
-0.04807531088590622,
0.5132651925086975,
-0.29599350690841675,
-0.3279217481613159,
0.026284806430339813,
0.060898307710886,
-0.3787730932235718,
0.14563590288162231,
0.25678539276123047,
0.7998130321502686,
-0.07439646124839783,
-0.0323772132396698,
-0.1378633826971054,
-0.09691828489303589,
0.14677545428276062,
0.3137149214744568,
-0.12659984827041626,
0.28385236859321594,
0.17520731687545776,
-0.09331692010164261,
0.18901914358139038,
-0.1494249403476715,
-0.22038999199867249,
0.30225640535354614,
0.1621784120798111,
-0.057228684425354004,
0.05909699946641922,
0.3509075343608856,
-0.37832528352737427,
0.0031328685581684113,
-0.04671809449791908,
-0.330152302980423,
-0.003902241587638855,
-0.11007333546876907,
-0.16143599152565002,
-0.1613139510154724,
-0.36291152238845825,
0.13279858231544495,
0.0395573154091835,
0.007860630750656128,
0.20772267878055573,
-0.018035106360912323,
-0.37291038036346436,
0.012226216495037079,
-0.3724631667137146,
0.11112936586141586,
-0.39290550351142883,
0.05750908702611923,
-0.1297762542963028,
0.0845782607793808,
0.004242368042469025,
-0.11506273597478867,
0.00152646005153656,
-0.3098141551017761,
-0.1387271285057068,
0.33974361419677734,
0.1583428978919983,
0.22852830588817596,
0.19510525465011597,
0.15581311285495758,
-0.03850220888853073,
-0.2769065499305725,
0.08776847273111343,
0.046489108353853226,
0.21772149205207825,
-0.03732115775346756,
-0.3309572637081146,
0.319217324256897,
-0.14946024119853973,
0.13901107013225555,
0.09394438564777374,
-0.12139162421226501,
0.45285168290138245,
-0.19523708522319794,
-0.28175678849220276,
0.12290044128894806,
0.011988051235675812,
0.12600041925907135,
0.20170122385025024,
0.08353852480649948,
-0.4605382978916168,
-0.17296993732452393,
0.14627982676029205,
-0.18167956173419952,
-0.003476768732070923,
0.051989391446113586,
-0.05853799730539322,
-0.05318622291088104,
0.14584136009216309,
0.1503780335187912,
0.4096985459327698,
0.22331009805202484,
0.13762930035591125,
0.21414728462696075,
-0.017145894467830658,
-0.14158523082733154,
0.055437780916690826,
-0.022776909172534943,
0.11094394326210022,
-0.06386643648147583,
-0.2919032573699951,
-0.24698568880558014,
-0.11899381130933762,
-0.06234603375196457,
0.029957635328173637,
0.2335623949766159,
-0.1876402199268341,
0.23123393952846527,
-0.2249927520751953,
-0.2441205084323883,
-0.2344403713941574,
-0.11857100576162338,
0.1115473210811615,
0.2049373984336853,
-0.1599368155002594,
-0.13883379101753235,
-0.12169849872589111,
0.08970228582620621,
0.007007572799921036,
0.17870156466960907,
-0.10821133852005005,
-0.228496715426445,
0.13596497476100922,
-0.3116208612918854,
-0.415309876203537,
0.008347619324922562,
0.38079726696014404,
0.245694100856781,
0.1344304233789444,
-0.41523581743240356,
-0.1526009440422058,
0.38513869047164917,
0.08079441636800766,
0.17030945420265198,
0.23663824796676636,
0.41771548986434937,
-0.002294391393661499,
0.44681549072265625,
-0.15561380982398987,
-0.06134350225329399,
0.31155925989151,
0.0588507205247879,
-0.11946406960487366,
-0.013561917468905449,
-0.08807329833507538,
-0.014326103031635284,
-0.1511416733264923,
-0.8512555360794067,
-0.6334590911865234,
-0.2101438045501709,
0.32405251264572144,
0.33351364731788635,
0.2899508476257324,
0.26906466484069824,
0.348797470331192,
0.31454163789749146,
-0.10799016058444977,
0.18393978476524353,
-0.0700644850730896,
-0.656144380569458,
0.26123616099357605,
-0.22745227813720703,
-0.3461763560771942,
0.22407770156860352,
-0.04855424165725708,
0.3382543921470642,
-0.3104376792907715,
-0.4571046233177185,
-0.20135065913200378,
-0.07106528431177139,
0.0937446802854538,
-0.18105877935886383,
0.21168601512908936,
0.2588581442832947,
-0.27237585186958313,
-0.058833397924900055,
0.03967960923910141,
0.04044027999043465,
0.3224674463272095,
0.21347272396087646,
-0.006286062300205231,
0.3955472707748413,
0.46570852398872375,
-0.2823892831802368,
0.4909554123878479,
-0.1352148950099945,
-0.05887973681092262,
0.22913357615470886,
-0.12287954241037369,
0.060201823711395264,
-0.1580144464969635,
-0.08537764847278595,
-0.06941968947649002,
0.09336932003498077,
-0.39619946479797363,
0.24847887456417084,
0.16919761896133423,
-0.3091880977153778,
-0.46586498618125916,
-0.47881439328193665,
-0.3670511841773987,
-0.0959729328751564,
0.26457729935646057,
0.020575206726789474,
0.12053573131561279,
-0.08466605097055435,
-0.23913291096687317,
-0.1046195924282074,
0.15496042370796204,
0.007126087322831154,
0.44537806510925293,
0.1494164764881134,
0.19118967652320862,
-0.5017587542533875,
-0.26293954253196716,
-0.1663341522216797,
0.09944213926792145,
-0.24790073931217194,
0.25195738673210144,
-0.016175493597984314,
-0.10069945454597473,
0.14601926505565643,
0.004524003714323044,
0.4230775833129883,
-0.06036205589771271,
0.1707170307636261,
0.03633479028940201,
-0.19722004234790802,
-0.04408850520849228,
0.04593534395098686,
-0.10496650636196136,
0.14316058158874512,
-0.027002178132534027,
0.6064019203186035,
0.08330719918012619,
-0.33599013090133667,
0.09136415272951126,
0.21192769706249237,
-0.3059130609035492,
-0.04397696256637573,
-0.3621864318847656,
-0.21264103055000305,
-0.25129663944244385,
0.036747559905052185,
-0.0700359120965004,
-0.0012102508917450905,
0.3518467843532562,
-0.040422599762678146,
0.021686725318431854,
0.036992743611335754,
-0.12792529165744781,
0.19775226712226868,
0.15793490409851074,
0.10959422588348389,
-0.15137024223804474,
0.31648334860801697,
0.25925493240356445,
0.016733430325984955,
0.5449086427688599,
-0.04674338921904564,
-0.10961265861988068,
-0.11799687892198563,
-0.011186259798705578,
0.6491327285766602,
0.001502007246017456,
-0.1544342339038849,
-0.09763265401124954,
0.41725480556488037,
-0.08012275397777557,
-0.1650693416595459,
0.34722280502319336,
-0.12550698220729828,
-0.07692494243383408,
0.11214843392372131,
-0.6469173431396484,
0.47489359974861145,
-0.04392760992050171,
-0.07301849871873856,
0.2882024049758911,
-0.3884674310684204,
-0.10080606490373611,
0.21211399137973785,
0.0590953603386879,
0.8134893178939819,
0.03335786610841751,
0.19716781377792358,
0.05550812929868698,
-0.24517586827278137,
0.046070512384176254,
-0.46196216344833374,
-0.009302813559770584,
0.0029381029307842255,
0.16124378144741058,
-0.07510441541671753,
-0.2174420803785324,
0.25663718581199646,
0.267046719789505,
-0.2688125669956207,
0.1819356083869934,
-0.10687931627035141,
0.053467266261577606,
-0.09740599244832993,
0.3243712782859802,
0.342874139547348,
-0.18531055748462677,
-0.37356704473495483,
0.04405440390110016,
-0.0843411237001419,
0.12167248129844666,
-0.09792489558458328,
-0.2312125414609909,
0.06272231042385101,
-0.19188129901885986,
0.6113888025283813,
0.12418579310178757,
-0.25408458709716797,
0.07613077014684677,
0.08863811194896698,
-0.1337616741657257,
-0.38520848751068115,
0.41233280301094055,
0.10243090987205505,
0.11501675844192505,
-0.2677459716796875,
-0.03418821468949318,
-0.22378095984458923,
-0.015444396995007992,
-0.3711475729942322,
-0.04287949204444885,
0.18079409003257751,
-0.2243053913116455,
-0.325164258480072,
0.051171619445085526,
-0.30331090092658997,
-0.2515762448310852,
0.012018978595733643,
0.017300445586442947,
0.14223116636276245,
0.04467003792524338,
-0.48609310388565063,
0.1974078118801117,
0.050084251910448074,
0.11209991574287415,
0.14779120683670044,
0.27441608905792236,
-0.42982640862464905,
0.07342081516981125,
0.39853858947753906,
-0.41080620884895325,
-0.007486701011657715,
0.31971463561058044,
0.03892608731985092,
0.24344941973686218,
0.4458521604537964,
0.0778258740901947,
0.08716639876365662,
-0.23422887921333313,
0.24172452092170715,
0.5168830156326294,
0.05470665544271469,
-0.09880664199590683,
0.1443183869123459,
0.22573481500148773,
-0.026042001321911812,
0.18106646835803986,
0.10509800910949707,
-0.20074626803398132,
-0.13778652250766754,
-0.4303857386112213,
-0.46171000599861145,
0.1570800244808197,
0.11939209699630737,
0.18809442222118378,
0.3091330826282501,
0.00878569483757019,
0.18880322575569153,
0.008066995069384575,
-0.27856558561325073,
0.1335347592830658,
-0.4279065430164337,
0.31178727746009827,
0.08136969804763794,
0.16862094402313232,
0.10733263194561005,
-0.08070966601371765,
0.09801315516233444,
-0.3277255892753601,
-0.1721661388874054,
-0.2063763439655304,
-0.031037773936986923,
0.1371995508670807,
0.029015127569437027,
-0.05204299837350845,
0.006006401032209396,
-0.2138790786266327,
-0.10516500473022461,
0.19377435743808746,
-0.10810597240924835,
-0.22837185859680176,
-0.0520230233669281,
0.33220458030700684,
0.0071707963943481445,
0.03362353518605232,
-0.1595478504896164,
-0.009089592844247818,
-0.32784736156463623,
0.08316709846258163,
-0.00656379759311676,
-0.0498456135392189,
-0.061694882810115814,
-0.15669988095760345,
0.021835101768374443,
-0.11172965914011002,
0.08422230184078217,
0.001276891678571701,
0.012031763792037964,
-0.22643719613552094,
0.21032938361167908,
-0.23620574176311493,
0.12156073749065399,
0.19100086390972137,
-0.13459624350070953,
0.40354040265083313,
0.5213236212730408,
0.15730823576450348,
-0.12575042247772217,
-0.15893611311912537,
0.4078942835330963,
-0.15810176730155945,
-0.014240741729736328,
0.05668559670448303,
0.11403262615203857,
0.15028756856918335,
0.012946166098117828,
-0.06652671098709106,
0.1348986029624939,
0.08103418350219727,
0.05650859698653221,
0.30001452565193176,
-0.28903165459632874,
0.023022744804620743,
-0.24249303340911865,
0.46745869517326355,
0.2498478889465332,
0.3675685524940491,
-0.27117541432380676,
0.08851833641529083,
0.15093109011650085,
0.24023015797138214,
-0.2556250989437103,
-0.5581210255622864,
0.025830060243606567,
0.07398904860019684,
-0.25375568866729736,
0.009696252644062042,
-0.1121889054775238,
0.11947709321975708,
0.015929795801639557,
-0.10372685641050339,
0.09278415888547897,
0.13857819139957428,
-0.06319358199834824,
-0.25613322854042053,
-0.7088006734848022,
-0.04519757628440857,
-0.09464416652917862,
0.04273748770356178,
0.13732081651687622,
-0.11392603814601898,
0.007788404822349548,
0.09512251615524292,
0.056524284183979034,
0.10581260174512863,
0.2204570174217224,
0.043274544179439545,
-0.21280893683433533,
-0.044586632400751114,
0.27219444513320923,
-0.1688220053911209,
0.02059108391404152,
-0.0004444010555744171,
-0.05942261964082718,
-0.018607135862112045,
0.33853477239608765,
-0.10256308317184448,
0.09490770846605301,
0.2701541781425476,
-0.23610340058803558,
-0.1904638111591339,
-0.03181670978665352,
0.04578892141580582,
0.3163704574108124,
0.16743600368499756,
0.17003893852233887,
-0.11839594691991806,
0.5580300092697144,
-0.13144028186798096,
-0.062224578112363815,
-0.19642876088619232,
0.07103579491376877,
0.38993746042251587,
-0.10377249121665955,
-0.1489882469177246,
0.18410418927669525,
-0.6802804470062256,
-0.058534882962703705,
0.3712252378463745,
0.043965499848127365,
0.09817801415920258,
-0.046278152614831924,
0.059023529291152954,
-0.124763622879982,
0.783562183380127,
0.08759646117687225,
0.42122596502304077,
-0.3404267728328705,
-0.1409495770931244,
-0.3928060531616211,
-0.043275438249111176,
-0.1832236498594284,
0.03325450420379639,
0.24282066524028778,
0.04079712927341461,
0.21199026703834534,
0.5221176743507385,
-0.11355894804000854,
-0.0735936164855957,
-0.20890739560127258,
0.18006891012191772,
0.11021248996257782,
-0.18906933069229126,
-0.1641606092453003,
0.5195658802986145,
-0.039792370051145554,
-0.2209167778491974,
0.057446613907814026,
-0.1535334289073944,
0.007470294833183289,
-0.016144420951604843,
-0.12330691516399384,
0.002290099859237671,
0.06416502594947815,
0.5476081371307373,
-0.09579207003116608,
0.33853763341903687,
-0.13602662086486816,
0.24834731221199036,
0.12158641219139099,
0.09807287901639938,
-0.2691836953163147,
-0.008615158498287201,
-0.23825493454933167,
0.033612728118896484,
-0.4011252224445343,
-0.023594897240400314,
-0.4043455123901367,
-0.22162961959838867,
-0.026247797533869743,
-0.16678522527217865,
0.15632565319538116,
-0.09041185677051544,
-0.03311891853809357,
-0.035515621304512024,
0.18229037523269653,
0.09381386637687683,
-0.11040578782558441,
-0.20384207367897034,
-0.23951412737369537,
0.14438752830028534,
0.43572860956192017,
-0.2469317466020584,
-0.07112118601799011,
-0.07298891246318817,
-0.037952572107315063,
0.00962655246257782,
0.08154788613319397,
-0.17499306797981262,
0.2481602132320404,
0.2966870069503784,
-0.08837366104125977,
-0.1968812346458435,
0.4825160801410675,
0.3504328727722168,
0.0868384838104248,
-0.1436396837234497,
0.06460093706846237,
-0.048275381326675415,
-0.04313218593597412,
-0.577915370464325,
-0.4731290340423584
] |
https://github.com/huggingface/datasets/issues/1725 | load the local dataset | Hi! `json` is a packaged dataset now, which means its script comes with the library and doesn't require an internet connection. | your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot! | 21 | load the local dataset
your guidebook's example is like
>>>from datasets import load_dataset
>>> dataset = load_dataset('json', data_files='my_file.json')
but the first arg is path...
so how should i do if i want to load the local dataset for model training?
i will be grateful if you can help me handle this problem!
thanks a lot!
Hi! `json` is a packaged dataset now, which means its script comes with the library and doesn't require an internet connection. | [
-0.310568630695343,
0.15771803259849548,
-0.064689502120018,
-0.06711743772029877,
0.21515540778636932,
0.16416627168655396,
0.3672044277191162,
0.3824600279331207,
0.5427064895629883,
0.09183264523744583,
0.23480236530303955,
0.533646821975708,
-0.06277070939540863,
0.3432741165161133,
0.3001755177974701,
-0.07152623683214188,
0.03405299782752991,
0.2040681540966034,
-0.2150155007839203,
-0.2087753862142563,
-0.16502848267555237,
0.05388715863227844,
-0.08985807001590729,
0.053289517760276794,
0.03133959695696831,
-0.04539184272289276,
0.1253555715084076,
0.5091091990470886,
-0.043162956833839417,
-0.3959518373012543,
0.3064831495285034,
-0.045273277908563614,
0.456807941198349,
0.18302811682224274,
-0.00010346851195208728,
0.215593621134758,
0.2751697897911072,
-0.26528704166412354,
-0.184058278799057,
-0.5487720370292664,
-0.31430405378341675,
-0.035600341856479645,
0.5305920243263245,
-0.3444117307662964,
-0.25008711218833923,
-0.18348252773284912,
0.15005822479724884,
-0.13952673971652985,
0.37391966581344604,
0.541459321975708,
0.21547244489192963,
-0.06089147925376892,
0.05097727105021477,
-0.010284836404025555,
-0.0698680654168129,
0.24864773452281952,
0.08120965957641602,
0.5871496200561523,
0.06781545281410217,
0.0015444830060005188,
0.1763361245393753,
0.11695297062397003,
-0.011609923094511032,
0.0724024772644043,
0.38162022829055786,
0.1718839555978775,
0.07236794382333755,
-0.1416521817445755,
-0.014974161982536316,
0.030940629541873932,
0.5948541164398193,
-0.19316807389259338,
-0.12067636102437973,
0.13487496972084045,
-0.1456555724143982,
-0.03818356245756149,
-0.0032107383012771606,
0.22621910274028778,
-0.12105508148670197,
0.40921223163604736,
0.008565710857510567,
-0.21659041941165924,
-0.3004723787307739,
0.38542163372039795,
0.2120075225830078,
0.1757904291152954,
-0.17493994534015656,
0.18775594234466553,
0.1844177544116974,
0.08753803372383118,
-0.12194602936506271,
-0.07863941788673401,
0.1417715698480606,
0.2525098919868469,
0.055018309503793716,
0.05841577798128128,
0.16584360599517822,
-0.07511328905820847,
0.08430946618318558,
0.053142987191677094,
0.11891496181488037,
0.12885725498199463,
-0.04482273384928703,
0.3736085891723633,
0.20658864080905914,
-0.03738150745630264,
0.11266174912452698,
0.08993329852819443,
0.1303478479385376,
0.2810739576816559,
-0.24128904938697815,
-0.18018808960914612,
-0.36461588740348816,
-0.22518949210643768,
-0.19730700552463531,
0.08138148486614227,
0.30200040340423584,
-0.3845313787460327,
0.04099363833665848,
-0.03249684348702431,
-0.04678140580654144,
-0.26172155141830444,
0.09377089142799377,
0.4621797800064087,
-0.24028006196022034,
0.12481877952814102,
0.09686802327632904,
0.2432490438222885,
-0.13296876847743988,
-0.0832836851477623,
-0.15530869364738464,
0.23588669300079346,
-0.1081555113196373,
-0.18233199417591095,
0.10114184021949768,
0.23340719938278198,
0.5678540468215942,
-0.18974414467811584,
-0.08178363740444183,
-0.08995126187801361,
0.4300660192966461,
0.07903952896595001,
0.07449250668287277,
0.3446524441242218,
0.2687838077545166,
-0.07520940154790878,
0.2562330365180969,
-0.24958419799804688,
-0.38253405690193176,
0.28068801760673523,
-0.38838765025138855,
-0.34129270911216736,
0.0713055357336998,
0.2250221073627472,
-0.027471672743558884,
-0.07619501650333405,
-0.4162806570529938,
0.04644440859556198,
-0.22622671723365784,
0.0018951669335365295,
-0.20631885528564453,
-0.055594153702259064,
-0.005530808120965958,
-0.21380244195461273,
0.4584261476993561,
0.3232485055923462,
-0.6020131707191467,
0.050411805510520935,
0.11833978444337845,
-0.23502349853515625,
0.14542247354984283,
-0.03245183452963829,
-0.6936273574829102,
0.6303765177726746,
-0.12491670250892639,
0.03116648644208908,
0.6620121598243713,
-0.3097416162490845,
0.007835326716303825,
0.4848000109195709,
-0.20595106482505798,
-0.13032793998718262,
0.03413771837949753,
0.025209473446011543,
-0.36070120334625244,
0.12596145272254944,
0.18579083681106567,
0.5764653086662292,
0.04167914018034935,
-0.010843884199857712,
-0.05977918952703476,
-0.08265989273786545,
0.09340126812458038,
0.30986258387565613,
-0.0916084498167038,
0.18279685080051422,
0.13286933302879333,
0.022452428936958313,
0.354624480009079,
-0.2077547013759613,
-0.1672842651605606,
0.3958999514579773,
0.1378401517868042,
-0.035859063267707825,
0.06992364674806595,
0.16286760568618774,
-0.2788827121257782,
0.026239216327667236,
0.10371235013008118,
-0.22869274020195007,
-0.16616816818714142,
-0.13074380159378052,
-0.17479416728019714,
-0.03435617685317993,
-0.356170117855072,
0.0461483970284462,
0.12451563775539398,
0.09627880901098251,
0.16052795946598053,
0.005722705274820328,
-0.453048437833786,
0.038749851286411285,
-0.2894943952560425,
0.13222381472587585,
-0.4200853407382965,
0.020128967240452766,
-0.1464535892009735,
-0.06603652238845825,
0.05597174912691116,
-0.18511220812797546,
-0.04300404340028763,
-0.34547194838523865,
-0.16948723793029785,
0.42189186811447144,
0.2883882224559784,
0.06619071215391159,
0.15297281742095947,
0.1336398720741272,
-0.12291235476732254,
-0.09114240109920502,
0.12235625088214874,
0.15574578940868378,
0.21780982613563538,
0.02424751967191696,
-0.3122886121273041,
0.3696146309375763,
-0.03721411153674126,
0.1601848006248474,
0.18752312660217285,
-0.08715756982564926,
0.4397273063659668,
-0.13519619405269623,
-0.2931148111820221,
0.055432699620723724,
0.004030279815196991,
0.09577398002147675,
0.11586298048496246,
-0.015738794580101967,
-0.4195767939090729,
-0.08212650567293167,
0.28183871507644653,
-0.1487060785293579,
0.019405312836170197,
0.04748936742544174,
-0.15890514850616455,
-0.008760441094636917,
0.04261509329080582,
0.23232896625995636,
0.40045058727264404,
0.2596045434474945,
-0.0017108805477619171,
0.10528985410928726,
-0.11759638041257858,
-0.16265220940113068,
-0.0139869824051857,
-0.056452780961990356,
0.0471157468855381,
-0.07922432571649551,
-0.24478915333747864,
-0.29516419768333435,
-0.16550344228744507,
-0.13153332471847534,
-0.030562719330191612,
0.2500980794429779,
-0.16911114752292633,
0.2543734312057495,
-0.24730336666107178,
-0.08837012946605682,
-0.30883514881134033,
-0.062078703194856644,
0.11383815109729767,
0.12841935455799103,
-0.1800081729888916,
-0.021176565438508987,
-0.12048318982124329,
0.09853566437959671,
-0.04923732578754425,
0.05716829001903534,
-0.15272195637226105,
-0.30513906478881836,
0.1348838210105896,
-0.2828434109687805,
-0.4158947765827179,
0.07959525287151337,
0.4029342234134674,
0.23413598537445068,
0.1317470520734787,
-0.45993614196777344,
-0.1504802256822586,
0.2869345247745514,
0.08660098165273666,
0.12452413141727448,
0.13271495699882507,
0.35891520977020264,
0.09846894443035126,
0.40273553133010864,
-0.043953314423561096,
-0.08980166912078857,
0.373541921377182,
0.04869949817657471,
0.00420980341732502,
-0.05704875290393829,
-0.020153583958745003,
-0.14460301399230957,
-0.22967998683452606,
-0.8289109468460083,
-0.39358240365982056,
-0.20581988990306854,
0.19958670437335968,
0.40500378608703613,
0.1878838986158371,
0.0824468731880188,
0.4277445375919342,
0.26394495368003845,
-0.08274959027767181,
0.1932508796453476,
-0.02842356078326702,
-0.5604680776596069,
0.3081724941730499,
-0.310182124376297,
-0.4054960608482361,
0.262143611907959,
-0.06995931267738342,
0.36311206221580505,
-0.2274838238954544,
-0.4037554860115051,
-0.2599228322505951,
-0.02966090478003025,
-0.004458781331777573,
-0.14906665682792664,
0.184144526720047,
0.29635974764823914,
-0.1441013514995575,
-0.1327666938304901,
-0.09129112213850021,
-0.062078673392534256,
0.36304160952568054,
0.0549691841006279,
0.11735685914754868,
0.27802297472953796,
0.5927261114120483,
-0.22033989429473877,
0.3736191987991333,
-0.17324459552764893,
-0.1556636542081833,
0.19915376603603363,
-0.25504234433174133,
0.16586719453334808,
-0.16342192888259888,
-0.06255783140659332,
-0.1257578730583191,
0.010967805981636047,
-0.30744123458862305,
0.20338129997253418,
0.06769624352455139,
-0.23778404295444489,
-0.46636518836021423,
-0.3181650936603546,
-0.3755497336387634,
-0.1678411215543747,
0.3129563331604004,
-0.035611286759376526,
0.0364152267575264,
0.0009935032576322556,
-0.05121060460805893,
-0.1683322638273239,
0.22068777680397034,
0.08307188749313354,
0.45824867486953735,
0.1691923439502716,
0.17768916487693787,
-0.5447326302528381,
-0.3606167435646057,
-0.1758597195148468,
0.11935248970985413,
-0.23667532205581665,
0.14931796491146088,
0.012009579688310623,
-0.2196042239665985,
0.14972957968711853,
-0.19067105650901794,
0.3732295632362366,
-0.04908701777458191,
0.12380542606115341,
0.08022649586200714,
-0.08622656762599945,
-0.19665351510047913,
-0.02102716825902462,
-0.14637063443660736,
0.21526245772838593,
-0.024633947759866714,
0.4778049886226654,
-0.04246779903769493,
-0.28686171770095825,
0.08395655453205109,
0.18704214692115784,
-0.2896725535392761,
-0.009486782364547253,
-0.3759595453739166,
-0.26611873507499695,
-0.39976298809051514,
-0.11959975212812424,
-0.08408013731241226,
-0.0066076540388166904,
0.28071898221969604,
0.0043978095054626465,
0.044202134013175964,
0.07474368810653687,
-0.04479394853115082,
0.20247721672058105,
0.1971641182899475,
0.09949036687612534,
-0.14448776841163635,
0.21020081639289856,
0.2910109758377075,
0.17930974066257477,
0.5699697136878967,
-0.012601461261510849,
-0.1316635012626648,
-0.15387296676635742,
-0.0027495305985212326,
0.5625330805778503,
0.024004362523555756,
-0.13447506725788116,
-0.18728208541870117,
0.25769031047821045,
-0.14239004254341125,
-0.15598157048225403,
0.4507048428058624,
0.031196322292089462,
-0.16200654208660126,
0.10377828031778336,
-0.780305802822113,
0.2997465431690216,
-0.009313886053860188,
-0.02464316040277481,
0.12461055815219879,
-0.37601733207702637,
-0.14534206688404083,
0.3892461061477661,
0.009412072598934174,
0.6578977108001709,
-0.033307671546936035,
0.22154368460178375,
0.17384201288223267,
-0.23484808206558228,
0.06132395565509796,
-0.42660021781921387,
0.04116819426417351,
-0.15414364635944366,
0.18202126026153564,
-0.040061451494693756,
-0.24696896970272064,
0.22129565477371216,
0.39927899837493896,
-0.21771420538425446,
0.19066229462623596,
-0.16477981209754944,
0.12208063900470734,
-0.154960036277771,
0.3594290018081665,
0.23815293610095978,
-0.12358568608760834,
-0.2786814570426941,
0.1485474854707718,
-0.08635976910591125,
0.11269675195217133,
-0.057494062930345535,
-0.2872541546821594,
-0.032715797424316406,
-0.26938652992248535,
0.389413058757782,
0.258390873670578,
-0.1807558238506317,
0.10355712473392487,
0.034271057695150375,
-0.07163728773593903,
-0.35248297452926636,
0.3062324523925781,
0.041728924959897995,
0.21306273341178894,
-0.2080170065164566,
0.09657469391822815,
-0.3271532654762268,
-0.0874863862991333,
-0.26807263493537903,
0.00932737160474062,
0.30595725774765015,
-0.14397665858268738,
-0.29117146134376526,
0.07286328077316284,
-0.23114147782325745,
-0.2872510552406311,
0.012361496686935425,
-0.016217567026615143,
0.12080662697553635,
-0.08563383668661118,
-0.6167365312576294,
0.1519395411014557,
0.08463698625564575,
0.03397541120648384,
0.20743131637573242,
0.17173448204994202,
-0.3027239739894867,
0.1345972716808319,
0.2405080944299698,
-0.2767079472541809,
-0.040953416377305984,
0.30966535210609436,
-0.01286385953426361,
0.09020842611789703,
0.43484926223754883,
0.1668834686279297,
0.1116487979888916,
-0.32770949602127075,
0.1644023060798645,
0.6704694628715515,
0.010376684367656708,
-0.013815424405038357,
0.17950008809566498,
0.24536214768886566,
0.06594254076480865,
0.13387538492679596,
0.04230581596493721,
-0.18584460020065308,
-0.10417336225509644,
-0.34388184547424316,
-0.4245153069496155,
0.17352531850337982,
0.2128104567527771,
0.2117752581834793,
0.31759852170944214,
0.002416054718196392,
0.06566224247217178,
-0.06833764165639877,
-0.356031596660614,
0.07686518877744675,
-0.24230927228927612,
0.12160894274711609,
0.08409765362739563,
0.25779664516448975,
0.20275521278381348,
0.01080288551747799,
0.17264874279499054,
-0.30910569429397583,
-0.12859012186527252,
-0.2901085913181305,
-0.02080428972840309,
0.06973232328891754,
0.030391620472073555,
0.03763455152511597,
-0.02353949472308159,
-0.264424204826355,
-0.17149388790130615,
0.03797275573015213,
-0.03668695688247681,
-0.10623400658369064,
-0.10859821736812592,
0.3018800914287567,
-0.02954621985554695,
-0.015249259769916534,
-0.07828038930892944,
-0.14989051222801208,
-0.3733394742012024,
0.1884813755750656,
0.05893347039818764,
-0.048618562519550323,
-0.06405670940876007,
-0.12274457514286041,
-0.06355853378772736,
-0.016868889331817627,
0.015494488179683685,
0.19546112418174744,
0.1439134180545807,
-0.24089215695858002,
0.1277286261320114,
-0.19531908631324768,
0.266122967004776,
0.17474976181983948,
-0.24972477555274963,
0.40362393856048584,
0.406248539686203,
0.21707256138324738,
-0.18155455589294434,
-0.14140591025352478,
0.3513636291027069,
-0.1583324372768402,
0.044297609478235245,
0.029455915093421936,
0.12803691625595093,
0.07882222533226013,
-0.0029368996620178223,
-0.05444948375225067,
0.3261268734931946,
0.16300009191036224,
0.039813946932554245,
0.3247048854827881,
-0.2175133377313614,
-0.034514110535383224,
-0.16440542042255402,
0.44272714853286743,
0.35193800926208496,
0.383964478969574,
-0.19318115711212158,
0.1504025161266327,
0.17653414607048035,
0.0779784619808197,
-0.24591869115829468,
-0.37755075097084045,
0.04610946401953697,
0.03751983493566513,
-0.07010012865066528,
0.00797048956155777,
-0.06032957136631012,
0.211370050907135,
-0.022567428648471832,
-0.08258224278688431,
-0.04893982410430908,
0.053083792328834534,
-0.01819736883044243,
-0.1938944309949875,
-0.6446614265441895,
-0.03670940175652504,
-0.1908397078514099,
-0.01991865038871765,
0.1034729927778244,
-0.04107727110385895,
-0.044958144426345825,
-0.044011130928993225,
0.03890257328748703,
0.10106846690177917,
0.16157269477844238,
-0.0720931738615036,
-0.1498623490333557,
-0.05535043030977249,
0.13145706057548523,
-0.0916367769241333,
0.012830991297960281,
0.027134038507938385,
-0.12730498611927032,
0.13060273230075836,
0.38912060856819153,
0.008985443972051144,
-0.01807524263858795,
0.07097107917070389,
-0.1790132075548172,
-0.10652050375938416,
-0.02906033769249916,
0.02214045822620392,
0.2332533597946167,
0.17677249014377594,
0.2602912485599518,
-0.15813300013542175,
0.41342657804489136,
-0.017820265144109726,
0.015401653945446014,
-0.031327031552791595,
0.06804429739713669,
0.3174368143081665,
-0.08494554460048676,
-0.17863047122955322,
0.11290104687213898,
-0.6688706278800964,
-0.20921310782432556,
0.32792794704437256,
0.15349392592906952,
0.12443066388368607,
-0.20960646867752075,
0.10793665051460266,
-0.14063557982444763,
0.6581119298934937,
0.022352252155542374,
0.20096606016159058,
-0.26581865549087524,
-0.1727951467037201,
-0.32086849212646484,
-0.06001453846693039,
-0.19696907699108124,
-0.01213482953608036,
0.12681156396865845,
0.06620676815509796,
0.23662802577018738,
0.3147205710411072,
-0.08413098752498627,
-0.031034033745527267,
-0.2568727135658264,
0.24056316912174225,
-0.003176730126142502,
-0.323904812335968,
-0.20121906697750092,
0.46606549620628357,
0.00963088870048523,
-0.14968141913414001,
-0.10247315466403961,
-0.28213340044021606,
0.1028905138373375,
-0.1834527552127838,
-0.13678736984729767,
0.04287147894501686,
-0.01524507999420166,
0.6066364049911499,
-0.12539434432983398,
0.3465002775192261,
-0.15493494272232056,
0.15847374498844147,
-0.058142971247434616,
0.07713811099529266,
-0.2364763766527176,
0.0835767611861229,
-0.2711685001850128,
0.19954800605773926,
-0.303923636674881,
-0.0076058730483055115,
-0.422118604183197,
-0.18147225677967072,
-0.022262832149863243,
-0.35762178897857666,
-0.002535976469516754,
-0.04571843892335892,
-0.0663682296872139,
-0.07224646210670471,
0.13483837246894836,
0.14554959535598755,
-0.09811793267726898,
-0.06520760804414749,
-0.19568634033203125,
0.0803409069776535,
0.4890051782131195,
-0.1783313751220703,
-0.18217410147190094,
-0.03381713479757309,
0.0026038140058517456,
-0.2083556354045868,
0.04692968726158142,
-0.26459166407585144,
0.2561841309070587,
0.1615886092185974,
0.07137884199619293,
-0.2875545620918274,
0.46411535143852234,
0.24503840506076813,
0.0900895744562149,
-0.08114325255155563,
0.06692028790712357,
-0.07112611085176468,
-0.10288146138191223,
-0.522209882736206,
-0.3755984306335449
] |
https://github.com/huggingface/datasets/issues/1724 | could not run models on a offline server successfully | Hi @lkcao !
Your issue is indeed related to `datasets`. In addition to installing the package manually, you will need to download the `text.py` script on your server. You'll find it (under `datasets/datasets/text`: https://github.com/huggingface/datasets/blob/master/datasets/text/text.py.
Then you can change the line 221 of `run_mlm_new.py` into:
```python
datasets = load_dataset('/path/to/text.py', data_files=data_files)
```
Where `/path/to/text.py` is the path on the server where you saved the `text.py` script. | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out... | 64 | could not run models on a offline server successfully
Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out...
Hi @lkcao !
Your issue is indeed related to `datasets`. In addition to installing the package manually, you will need to download the `text.py` script on your server. You'll find it (under `datasets/datasets/text`: https://github.com/huggingface/datasets/blob/master/datasets/text/text.py.
Then you can change the line 221 of `run_mlm_new.py` into:
```python
datasets = load_dataset('/path/to/text.py', data_files=data_files)
```
Where `/path/to/text.py` is the path on the server where you saved the `text.py` script. | [
-0.05689394101500511,
0.04477894306182861,
-0.0331750214099884,
0.3332999348640442,
0.38641196489334106,
-0.004595696926116943,
0.4649328589439392,
0.2692716717720032,
-0.13533546030521393,
0.031771220266819,
0.19227038323879242,
0.13543574512004852,
-0.1981075555086136,
0.27569422125816345,
0.029138870537281036,
-0.2823958098888397,
-0.06425777822732925,
0.15135814249515533,
-0.16091673076152802,
-0.22646348178386688,
0.13867534697055817,
-0.030477454885840416,
-0.08095908910036087,
0.23653291165828705,
-0.1869857758283615,
-0.4619706869125366,
0.022512005642056465,
0.2390137016773224,
-0.5007814168930054,
-0.22149932384490967,
0.17166361212730408,
-0.20949381589889526,
0.41898468136787415,
0.3880801200866699,
-0.00012106135545764118,
0.09530147910118103,
-0.004567589610815048,
-0.15956711769104004,
-0.2970447540283203,
-0.21031595766544342,
0.2237512767314911,
-0.21770556271076202,
0.2277451902627945,
-0.33314570784568787,
0.17635095119476318,
0.23506896197795868,
0.049949489533901215,
-0.20931479334831238,
0.15999555587768555,
0.2205236852169037,
0.11109966039657593,
0.36544814705848694,
0.004151664674282074,
-0.05299243703484535,
-0.1416851282119751,
0.03365205228328705,
-0.26135316491127014,
0.3367995321750641,
-0.24960246682167053,
-0.19327671825885773,
0.3615840971469879,
0.22672101855278015,
-0.38464638590812683,
0.23771727085113525,
0.10712072998285294,
-0.005932318978011608,
0.17349004745483398,
-0.23600992560386658,
0.26266196370124817,
0.455459862947464,
0.13337819278240204,
0.06028105318546295,
-0.11966785043478012,
-0.17013464868068695,
0.11855706572532654,
-0.3823780119419098,
0.18550091981887817,
0.41570308804512024,
-0.1865483671426773,
0.2766377329826355,
-0.4178330600261688,
-0.2676379084587097,
-0.2441745400428772,
0.13262663781642914,
0.1015365719795227,
0.2954360842704773,
-0.14058801531791687,
0.12405722588300705,
0.027160558849573135,
-0.010755155235528946,
-0.21504071354866028,
-0.07047011703252792,
0.045831482857465744,
-0.09303732961416245,
-0.1145910769701004,
0.08241188526153564,
-0.052719779312610626,
0.41197890043258667,
-0.01581987366080284,
0.14776813983917236,
0.10829997807741165,
-0.10338392108678818,
0.0469193197786808,
0.08572429418563843,
0.022665033116936684,
0.28961506485939026,
-0.08096162229776382,
-0.07617723196744919,
0.36981648206710815,
0.4719710350036621,
-0.17492377758026123,
-0.100673146545887,
-0.17151449620723724,
-0.0430682972073555,
-0.3674766421318054,
-0.12043582648038864,
0.1936536431312561,
-0.2874998450279236,
0.06687521189451218,
-0.08990126848220825,
-0.050741102546453476,
0.05512622371315956,
0.04632457345724106,
0.2603744864463806,
-0.2619176506996155,
-0.030093088746070862,
0.060816943645477295,
0.17933906614780426,
-0.2896103858947754,
-0.513176441192627,
0.14656800031661987,
-0.11786264181137085,
-0.22100351750850677,
0.1116655170917511,
0.16933995485305786,
-0.18912799656391144,
0.38093578815460205,
-0.23273834586143494,
0.23364220559597015,
-0.109286367893219,
0.1384672075510025,
-0.383232057094574,
0.09962140023708344,
0.3830469846725464,
0.15160983800888062,
0.021222466602921486,
0.3603968620300293,
0.029301248490810394,
0.16177555918693542,
0.11892136931419373,
-0.012712590396404266,
-0.42488595843315125,
0.3130062520503998,
0.016875701025128365,
-0.22120241820812225,
-0.24221178889274597,
-0.3803575336933136,
0.11524960398674011,
0.069425567984581,
-0.20000606775283813,
0.07429744303226471,
0.11825811862945557,
-0.16402725875377655,
-0.10233242064714432,
0.5407944321632385,
0.5818747282028198,
-0.6021819114685059,
0.27775800228118896,
-0.297258198261261,
0.09027284383773804,
0.20602846145629883,
0.25225621461868286,
-0.20694123208522797,
0.5162286758422852,
-0.1943637877702713,
-0.2867468595504761,
0.24680420756340027,
0.05325547233223915,
-0.08084240555763245,
0.26913872361183167,
-0.15033192932605743,
-0.2583184242248535,
0.06462296843528748,
-0.1896722912788391,
0.36830493807792664,
0.3258492350578308,
-0.15607590973377228,
0.15335629880428314,
-0.07512996345758438,
-0.1470024436712265,
-0.2901533246040344,
-0.438977986574173,
0.17680233716964722,
0.22346371412277222,
0.26039955019950867,
0.2487621009349823,
-0.006258264183998108,
-0.44771191477775574,
0.08631987124681473,
0.02987377718091011,
-0.023963678628206253,
0.043470241129398346,
0.20156672596931458,
0.4506852626800537,
-0.0705125480890274,
-0.058330170810222626,
-0.11009696871042252,
0.2461983561515808,
-0.06673000752925873,
0.5235769748687744,
-0.34062856435775757,
0.23551197350025177,
0.023151837289333344,
-0.07209838181734085,
-0.12168146669864655,
0.07676146179437637,
-0.009662404656410217,
-0.17457115650177002,
0.01960821822285652,
0.12608441710472107,
-0.23610085248947144,
0.09866471588611603,
0.04955755174160004,
0.14811722934246063,
-0.15256328880786896,
0.2786817252635956,
-0.2784126102924347,
-0.1017351970076561,
-0.1776435673236847,
-0.27534952759742737,
0.1279510259628296,
-0.08990249037742615,
-0.19172704219818115,
0.31559494137763977,
-0.27718883752822876,
-0.035519808530807495,
0.44650864601135254,
0.1324358731508255,
0.14146459102630615,
-0.02056104689836502,
0.5296021103858948,
0.22416703402996063,
0.1720951795578003,
0.19477084279060364,
-0.05036251246929169,
0.5095844864845276,
0.0626392737030983,
0.4032299518585205,
0.008889351040124893,
0.20835907757282257,
0.31234076619148254,
0.12541215121746063,
-0.07963501662015915,
-0.14439727365970612,
0.31252384185791016,
0.4856482744216919,
0.02979394420981407,
-0.33270663022994995,
-0.17427971959114075,
-0.11182127147912979,
0.17975066602230072,
0.14339010417461395,
0.3035905659198761,
-0.12783795595169067,
-0.15226879715919495,
0.17763260006904602,
0.06332635134458542,
0.15377546846866608,
0.2748875021934509,
0.0991966649889946,
-0.2230340540409088,
0.33101364970207214,
-0.11837821453809738,
-0.1956309825181961,
0.31472837924957275,
0.2974822521209717,
0.39868253469467163,
-0.03639519214630127,
0.07838914543390274,
-0.22595082223415375,
-0.34138134121894836,
-0.24088099598884583,
0.09903515875339508,
0.2719101905822754,
-0.15914219617843628,
0.36081957817077637,
-0.5341262817382812,
0.10254047065973282,
-0.19606664776802063,
0.06320875138044357,
-0.7216091752052307,
0.1818990707397461,
0.07500720769166946,
-0.07770536839962006,
-0.06322290748357773,
0.2351086288690567,
-0.05190809443593025,
0.38309168815612793,
-0.10813838988542557,
-0.15997041761875153,
0.11407031118869781,
-0.2853776514530182,
-0.3427642285823822,
-0.08761183172464371,
0.24085567891597748,
0.1433359533548355,
0.33947908878326416,
-0.03416162356734276,
-0.29274845123291016,
0.11272835731506348,
-0.24757757782936096,
0.024004673585295677,
0.11493876576423645,
0.08865530788898468,
0.19493943452835083,
0.4221848249435425,
-0.0921325832605362,
0.25114139914512634,
0.47915810346603394,
-0.3582119047641754,
0.15563148260116577,
-0.14050140976905823,
-0.16623687744140625,
0.10404136776924133,
-0.20295676589012146,
-0.4261440336704254,
-0.42142853140830994,
-0.1522212028503418,
0.31047019362449646,
0.32589179277420044,
0.1697571575641632,
0.05767248943448067,
0.374837189912796,
-0.08348049968481064,
-0.26632678508758545,
0.16944663226604462,
0.045510586351156235,
-0.6586927771568298,
0.2608664929866791,
0.05118107423186302,
-0.22681434452533722,
0.34873753786087036,
0.23399953544139862,
-0.11566488444805145,
-0.08689887821674347,
-0.5762636661529541,
-0.060054462403059006,
0.233547180891037,
0.12560315430164337,
0.13979138433933258,
0.17811423540115356,
0.4977646768093109,
-0.1075296476483345,
0.06005384773015976,
-0.1068507730960846,
-0.20007257163524628,
0.19693797826766968,
-0.129993736743927,
0.1676267385482788,
-0.012115824967622757,
0.790272057056427,
0.009234800934791565,
0.31429174542427063,
-0.29030540585517883,
0.008418504148721695,
0.21282604336738586,
-0.08712440729141235,
0.39448845386505127,
-0.16267171502113342,
-0.12470357865095139,
-0.05465860292315483,
-0.07177813351154327,
-0.5755216479301453,
0.21326902508735657,
0.07284495234489441,
-0.031192557886242867,
-0.4914725124835968,
0.03037669137120247,
0.04414885491132736,
-0.14808596670627594,
0.07711642235517502,
0.16592687368392944,
0.30327552556991577,
0.29891765117645264,
0.1541237235069275,
-0.2825707197189331,
0.13776463270187378,
0.09481169283390045,
0.2894388437271118,
0.02044259011745453,
0.1212162896990776,
-0.45985352993011475,
-0.22578898072242737,
0.1209859848022461,
0.13042962551116943,
-0.18285754323005676,
0.31865164637565613,
-0.15150496363639832,
0.04595638066530228,
0.25589555501937866,
-0.039747338742017746,
0.37022697925567627,
-0.10339193046092987,
-0.05666292458772659,
-0.03899756073951721,
-0.05551902577280998,
-0.20804235339164734,
-0.31523290276527405,
0.05629478022456169,
0.056392982602119446,
0.3540602922439575,
0.1808842122554779,
-0.06487840414047241,
0.10829619318246841,
0.08923758566379547,
0.19995640218257904,
-0.3322048783302307,
-0.11894058436155319,
-0.646483838558197,
-0.1652052104473114,
-0.4019230008125305,
-0.006454914808273315,
-0.32501843571662903,
-0.08301841467618942,
-0.054829128086566925,
0.21327264606952667,
0.09392180293798447,
0.28197959065437317,
-0.27593618631362915,
0.28939199447631836,
0.1434938609600067,
-0.3002433180809021,
-0.028837403282523155,
0.369107723236084,
0.35646852850914,
0.34882277250289917,
0.30060049891471863,
-0.35581716895103455,
0.046329814940690994,
0.0748424381017685,
0.03579598292708397,
0.05126504227519035,
0.38993650674819946,
-0.11187224090099335,
-0.2598861753940582,
0.5852510929107666,
0.2602338194847107,
-0.025209080427885056,
-0.1555958241224289,
0.015226955525577068,
-0.09606411308050156,
0.13735510408878326,
-0.40636101365089417,
0.3523404598236084,
-0.12273810803890228,
0.1576821208000183,
-0.44034674763679504,
0.206434428691864,
-0.03359033167362213,
0.37935465574264526,
-0.0625409409403801,
1.107410192489624,
-0.009253665804862976,
0.1446344256401062,
0.06919971108436584,
-0.0059329308569431305,
0.4799921214580536,
-0.5333248972892761,
0.2535615861415863,
-0.12944361567497253,
-0.004621217958629131,
-0.046191323548555374,
-0.005067590624094009,
0.3399927020072937,
0.28366512060165405,
-0.0960373654961586,
0.4485301971435547,
-0.07013650238513947,
0.1649613380432129,
-0.025547010824084282,
-0.20199570059776306,
0.30523648858070374,
-0.31060293316841125,
-0.9818567037582397,
0.047871172428131104,
0.14627954363822937,
0.13323137164115906,
-0.3802547752857208,
-0.26948118209838867,
0.06877225637435913,
-0.020563188940286636,
-0.027057982981204987,
-0.10348875820636749,
-0.43767932057380676,
0.051595140248537064,
-0.14944399893283844,
0.03681077063083649,
-0.07216110825538635,
0.0294302087277174,
0.41053342819213867,
0.20966926217079163,
-0.18132594227790833,
-0.08831849694252014,
0.003352418541908264,
-0.3626653552055359,
-0.12182282656431198,
0.28027281165122986,
-0.05626325309276581,
-0.2747868597507477,
-0.3198837339878082,
-0.22768324613571167,
-0.2310621589422226,
-0.026614723727107048,
0.3604471683502197,
-0.2786834239959717,
0.13381318747997284,
0.06802891939878464,
0.03526679798960686,
-0.01554611325263977,
0.2715950906276703,
-0.15276029706001282,
0.030909201130270958,
0.15016524493694305,
-0.13812990486621857,
0.2089787721633911,
0.1909312754869461,
-0.03909654542803764,
-0.21222743391990662,
0.36432597041130066,
-0.09445609897375107,
0.21751180291175842,
0.32396963238716125,
0.3774920105934143,
-0.2118939757347107,
-0.20473778247833252,
0.20062187314033508,
-0.31649020314216614,
-0.3938564658164978,
0.19926480948925018,
0.18184398114681244,
0.11458469927310944,
-0.1365826278924942,
0.005496915429830551,
0.2334151715040207,
-0.08531715720891953,
-0.13762977719306946,
-0.5055233240127563,
-0.42264848947525024,
0.10154484957456589,
0.050128813832998276,
-0.23507048189640045,
0.3599443733692169,
0.11214202642440796,
0.25102534890174866,
-0.12648825347423553,
-0.1807376593351364,
0.09409042447805405,
-0.12206762284040451,
0.02050285041332245,
0.33467718958854675,
-0.08947115391492844,
0.29070165753364563,
0.1360311657190323,
-0.029491286724805832,
0.006373727694153786,
-0.13482291996479034,
-0.07216601073741913,
0.021944396197795868,
0.25431525707244873,
0.11801817268133163,
-0.46393758058547974,
-0.10803238302469254,
-0.4621661901473999,
-0.4484282433986664,
-0.0026295194402337074,
-0.1175842136144638,
0.03845130652189255,
0.0495537631213665,
-0.18550600111484528,
0.18310117721557617,
0.17894606292247772,
-0.47461527585983276,
0.061750512570142746,
-0.038991786539554596,
0.15639832615852356,
0.21872036159038544,
-0.07390091568231583,
0.05833343416452408,
0.001517660915851593,
-0.1295064091682434,
-0.09234055131673813,
-0.029377922415733337,
0.19431430101394653,
0.6456204056739807,
-0.3700992465019226,
0.24254077672958374,
0.21511125564575195,
0.27194803953170776,
0.29694509506225586,
0.14801417291164398,
-0.034150246530771255,
0.4043138325214386,
0.06080619990825653,
-0.5158953666687012,
0.031103359535336494,
0.2101081758737564,
-0.0471312589943409,
0.01495666429400444,
0.19869881868362427,
0.24710583686828613,
0.09875668585300446,
-0.19067086279392242,
0.19317936897277832,
0.30859944224357605,
0.011504186317324638,
0.08930513262748718,
-0.05433749035000801,
-0.09266477078199387,
0.18706165254116058,
-0.09171777218580246,
0.03340255469083786,
0.04983730614185333,
0.37001514434814453,
-0.23569145798683167,
0.08717150241136551,
0.052316512912511826,
-0.16697561740875244,
-0.029513224959373474,
-0.3545900285243988,
0.03488197550177574,
0.28105443716049194,
0.4033115804195404,
-0.11780925840139389,
-0.4476167559623718,
0.28994157910346985,
-0.3564800024032593,
-0.16964159905910492,
-0.28019899129867554,
0.18349739909172058,
-0.0051845163106918335,
0.03781396150588989,
-0.4128584563732147,
-0.15913063287734985,
-0.03488864749670029,
0.2130109667778015,
0.18067453801631927,
0.06130051612854004,
0.24496303498744965,
0.3368614912033081,
-0.15662117302417755,
-0.44409477710723877,
-0.46308180689811707,
0.236345112323761,
-0.03688377887010574,
0.01645291969180107,
0.09762011468410492,
0.4217364192008972,
-0.2259594202041626,
-0.0861218124628067,
0.12882517278194427,
0.3297288715839386,
0.09207874536514282,
-0.029975395649671555,
0.03658409044146538,
-0.00843612477183342,
0.10875493288040161,
-0.09681855142116547,
-0.23028087615966797,
0.40815749764442444,
0.4481627345085144,
-0.09406386315822601,
-0.05318380892276764,
-0.04695778712630272,
0.5351570844650269,
-0.17245839536190033,
0.1449897587299347,
-0.011190073564648628,
0.1382083296775818,
0.16812069714069366,
-0.1573060005903244,
-0.44432878494262695,
-0.07262799888849258,
-0.3360542953014374,
0.3278774619102478,
0.49973568320274353,
0.04415376856923103,
-0.14084523916244507,
-0.176620215177536,
-0.024137180298566818,
-0.13801756501197815,
0.6954710483551025,
0.21963541209697723,
0.01898493990302086,
-0.22449339926242828,
-0.05939587578177452,
-0.36878493428230286,
-0.17765724658966064,
-0.3288564383983612,
-0.007252085953950882,
-0.09826642274856567,
0.05504469573497772,
0.35389089584350586,
0.1690913736820221,
0.23307965695858002,
-0.2691386342048645,
0.017809048295021057,
0.0921897292137146,
-0.14488418400287628,
-0.07356899976730347,
-0.33509016036987305,
0.21414944529533386,
0.04458213597536087,
-0.19820564985275269,
0.09028847515583038,
-0.24453449249267578,
-0.07797661423683167,
-0.0633494183421135,
0.0008505582809448242,
-0.37609270215034485,
0.09046396613121033,
0.2897031307220459,
0.07290078699588776,
0.44669657945632935,
0.3902718424797058,
-0.3010514974594116,
-0.2946261465549469,
0.15090225636959076,
-0.22588074207305908,
0.17172640562057495,
0.28024914860725403,
0.3936593234539032,
-0.20180971920490265,
0.06588375568389893,
-0.5258012413978577,
0.22101037204265594,
0.1593194305896759,
-0.1110801175236702,
-0.20127691328525543,
-0.30431321263313293,
0.22398152947425842,
0.06330280005931854,
0.1959604173898697,
0.04391757398843765,
0.06895419210195541,
0.012397656217217445,
-0.5844641327857971,
0.12275166809558868,
0.49189746379852295,
-0.291252464056015,
-0.15941914916038513,
-0.5328429341316223,
0.24307703971862793,
0.01179388165473938,
0.07759881764650345,
-0.7704249024391174,
0.03683864325284958,
0.09503526240587234,
0.07393461465835571,
-0.1435617208480835,
0.22383712232112885,
0.05009838193655014,
-0.06028898060321808,
0.014288384467363358,
0.24761709570884705,
-0.4136195480823517,
-0.4147637188434601,
-0.34149137139320374,
-0.03287210315465927
] |
https://github.com/huggingface/datasets/issues/1724 | could not run models on a offline server successfully | We're working on including the local dataset builders (csv, text, json etc.) directly in the `datasets` package so that they can be used offline | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out... | 24 | could not run models on a offline server successfully
Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out...
We're working on including the local dataset builders (csv, text, json etc.) directly in the `datasets` package so that they can be used offline | [
-0.10603722929954529,
0.09221582114696503,
-0.04688342660665512,
0.38953572511672974,
0.3865780234336853,
0.005909435451030731,
0.434185266494751,
0.30958494544029236,
-0.13312511146068573,
0.08171933889389038,
0.2425646334886551,
0.165436789393425,
-0.22832119464874268,
0.14973969757556915,
-0.017088010907173157,
-0.29909762740135193,
-0.05925904959440231,
0.1828978955745697,
-0.19744956493377686,
-0.2429981380701065,
0.1269834190607071,
-0.05812889337539673,
-0.044167015701532364,
0.2301858514547348,
-0.21554817259311676,
-0.4256712794303894,
0.04234851151704788,
0.19005614519119263,
-0.5258665680885315,
-0.14923393726348877,
0.17435573041439056,
-0.25952574610710144,
0.4095987379550934,
0.26068440079689026,
-0.00012327950389590114,
0.15777850151062012,
-0.026151642203330994,
-0.16186553239822388,
-0.18892036378383636,
-0.1680334359407425,
0.21392828226089478,
-0.15001672506332397,
0.20319662988185883,
-0.3430844247341156,
0.16639336943626404,
0.20276795327663422,
0.08825158327817917,
-0.22625255584716797,
0.18198582530021667,
0.22253459692001343,
0.08115282654762268,
0.3456408679485321,
-0.008061304688453674,
-0.051686372607946396,
-0.08946982771158218,
-0.027025923132896423,
-0.28241902589797974,
0.35965949296951294,
-0.19250527024269104,
-0.1691603809595108,
0.3959692120552063,
0.26007965207099915,
-0.39265286922454834,
0.27298346161842346,
0.07244668155908585,
-0.022985201328992844,
0.2645564675331116,
-0.25985246896743774,
0.3517807424068451,
0.4191645681858063,
0.12688933312892914,
0.1497763693332672,
-0.038659922778606415,
-0.07042870670557022,
0.12310415506362915,
-0.30960994958877563,
0.18177226185798645,
0.510862410068512,
-0.246587336063385,
0.33635658025741577,
-0.48334452509880066,
-0.25108152627944946,
-0.3149572014808655,
0.10096295177936554,
0.06261642277240753,
0.35045483708381653,
-0.0984807163476944,
0.12371388077735901,
0.0024211816489696503,
0.05378460884094238,
-0.1307031661272049,
-0.11266392469406128,
0.050736866891384125,
-0.09922508895397186,
0.006535492837429047,
0.10168187320232391,
-0.06495820730924606,
0.4636528491973877,
-0.07911808788776398,
0.15698811411857605,
0.08288160711526871,
-0.10055891424417496,
0.1395377367734909,
0.14616698026657104,
0.004267582669854164,
0.21603995561599731,
-0.09779628366231918,
-0.08208459615707397,
0.326407790184021,
0.3431952893733978,
-0.23578248918056488,
-0.12777495384216309,
-0.2011372596025467,
-0.005039275623857975,
-0.35506442189216614,
-0.1234041079878807,
0.08343835175037384,
-0.2681819200515747,
0.1247946098446846,
-0.03645038232207298,
-0.0826350674033165,
0.07571817934513092,
-0.016460057348012924,
0.226272851228714,
-0.24331684410572052,
-0.13618001341819763,
0.005148384720087051,
0.12214978039264679,
-0.2628837823867798,
-0.5288692712783813,
0.16478124260902405,
-0.11305172741413116,
-0.20267435908317566,
0.0002787243574857712,
0.12478841841220856,
-0.1336744874715805,
0.34751150012016296,
-0.2760002315044403,
0.2243673950433731,
-0.07590241730213165,
0.2380286455154419,
-0.4224006235599518,
0.20491161942481995,
0.4813670516014099,
0.07587482035160065,
-0.08118803799152374,
0.348704993724823,
-0.01941784843802452,
0.145361065864563,
0.172214537858963,
0.03938795626163483,
-0.45636677742004395,
0.2807501256465912,
0.0020649442449212074,
-0.20782728493213654,
-0.16811145842075348,
-0.2502405643463135,
0.09990094602108002,
0.03617648035287857,
-0.18313845992088318,
0.05441690981388092,
0.13221809267997742,
-0.1089421957731247,
-0.052201636135578156,
0.5060936212539673,
0.495905339717865,
-0.6791666746139526,
0.33873429894447327,
-0.3162168860435486,
0.10192233324050903,
0.21480441093444824,
0.26211708784103394,
-0.22648394107818604,
0.6079881191253662,
-0.23532918095588684,
-0.3891129493713379,
0.2655003070831299,
0.04331638291478157,
-0.05514153838157654,
0.30540338158607483,
-0.12460701167583466,
-0.3638511896133423,
0.05187370628118515,
-0.14354966580867767,
0.3361731469631195,
0.38025304675102234,
-0.18065577745437622,
0.1694299727678299,
-0.1315041333436966,
-0.18062643706798553,
-0.28571033477783203,
-0.45044222474098206,
0.17949031293392181,
0.2346065193414688,
0.37428492307662964,
0.26418912410736084,
0.012556582689285278,
-0.5038224458694458,
0.028029073029756546,
0.03637117147445679,
-0.029347693547606468,
-0.04391811043024063,
0.16640843451023102,
0.3082429766654968,
-0.09197279065847397,
-0.06447438150644302,
-0.1127602681517601,
0.19638454914093018,
-0.11449335515499115,
0.5098644495010376,
-0.3852123022079468,
0.2672775983810425,
0.05711272358894348,
-0.007992168888449669,
-0.12965448200702667,
0.07686351239681244,
-0.02587299980223179,
-0.212641179561615,
0.016152173280715942,
0.11042824387550354,
-0.20514485239982605,
0.052174367010593414,
0.052712008357048035,
0.12148645520210266,
-0.06953288614749908,
0.2951955795288086,
-0.2672992944717407,
-0.1024869829416275,
-0.21097347140312195,
-0.2992357909679413,
0.06341276317834854,
-0.07165489345788956,
-0.18672317266464233,
0.23574504256248474,
-0.21272818744182587,
-0.08058367669582367,
0.4685860872268677,
0.1320837289094925,
0.12546256184577942,
-0.09212961047887802,
0.48632264137268066,
0.20748215913772583,
0.0990617647767067,
0.1751619577407837,
-0.1444109082221985,
0.5445824861526489,
0.10180118680000305,
0.42483392357826233,
0.00001971423625946045,
0.20990607142448425,
0.3192691504955292,
0.09318748116493225,
-0.052761636674404144,
-0.19902053475379944,
0.24919360876083374,
0.597650408744812,
0.045131754130125046,
-0.2945423126220703,
-0.15762078762054443,
-0.13522639870643616,
0.12079271674156189,
0.1714499592781067,
0.22627165913581848,
-0.2169031798839569,
-0.08065909892320633,
0.14905494451522827,
0.16721826791763306,
0.16698701679706573,
0.20088531076908112,
0.11798697710037231,
-0.23055246472358704,
0.3015747666358948,
-0.16425751149654388,
-0.20378972589969635,
0.273061603307724,
0.2957655191421509,
0.3667023181915283,
0.02280527725815773,
0.016116488724946976,
-0.25699517130851746,
-0.3741300106048584,
-0.2441597878932953,
0.08415187150239944,
0.22698749601840973,
-0.050148338079452515,
0.37662747502326965,
-0.5777339935302734,
0.07651682198047638,
-0.18497495353221893,
0.12367682158946991,
-0.7295865416526794,
0.20354001224040985,
0.11810259521007538,
-0.1463211625814438,
-0.11824813485145569,
0.22642457485198975,
-0.045369893312454224,
0.4255087375640869,
-0.15491434931755066,
-0.14088812470436096,
0.12048499286174774,
-0.3105560541152954,
-0.35845449566841125,
-0.07287310063838959,
0.29517999291419983,
0.1145787462592125,
0.4369485378265381,
-0.07185761630535126,
-0.26792412996292114,
0.1672140508890152,
-0.23442527651786804,
0.07721096277236938,
0.22789204120635986,
0.12818801403045654,
0.17195507884025574,
0.33199191093444824,
-0.1141425371170044,
0.22526563704013824,
0.4916744530200958,
-0.2578902840614319,
0.2110651582479477,
-0.17133431136608124,
-0.1652999073266983,
0.07249625772237778,
-0.22084130346775055,
-0.34867075085639954,
-0.39329877495765686,
-0.12538161873817444,
0.2265322059392929,
0.35373619198799133,
0.1589212864637375,
-0.04451018199324608,
0.4573683440685272,
-0.09290604293346405,
-0.25939640402793884,
0.14913111925125122,
0.10314071923494339,
-0.7283951640129089,
0.2829967737197876,
0.034938301891088486,
-0.22152335941791534,
0.32707953453063965,
0.182089701294899,
-0.03183555230498314,
-0.09480875730514526,
-0.5988149642944336,
0.00970779825001955,
0.24861805140972137,
0.10190838575363159,
0.15712657570838928,
0.11139962822198868,
0.509757399559021,
-0.14246797561645508,
0.0674903392791748,
-0.11661414802074432,
-0.10632021725177765,
0.1910107433795929,
-0.16791567206382751,
0.18070195615291595,
-0.048863135278224945,
0.6888200044631958,
0.0007345639169216156,
0.30868273973464966,
-0.39059558510780334,
0.0166348684579134,
0.1712828278541565,
-0.029993457719683647,
0.4084719121456146,
-0.19719624519348145,
-0.043968673795461655,
0.014222065918147564,
0.03478596359491348,
-0.7397353649139404,
0.18260551989078522,
0.09577330946922302,
-0.07428214699029922,
-0.47230610251426697,
0.13302075862884521,
0.08960262686014175,
-0.11515931785106659,
0.0915842354297638,
0.19758783280849457,
0.28868138790130615,
0.3031633794307709,
0.14006632566452026,
-0.2730112373828888,
0.16310915350914001,
0.12857559323310852,
0.2771190404891968,
0.0189322829246521,
0.10966093838214874,
-0.4963156580924988,
-0.33201900124549866,
0.2083679437637329,
0.07105578482151031,
-0.1494302898645401,
0.22026696801185608,
-0.14202933013439178,
0.04986662417650223,
0.28503161668777466,
-0.07577794045209885,
0.27227747440338135,
-0.1647065132856369,
-0.013477042317390442,
0.0775521844625473,
-0.0239908155053854,
-0.18550758063793182,
-0.35415053367614746,
0.14250218868255615,
0.0040041920728981495,
0.33864304423332214,
0.1648256480693817,
0.03264711797237396,
0.11597567051649094,
0.0680907741189003,
0.13143803179264069,
-0.3629447817802429,
-0.15772828459739685,
-0.6153280735015869,
-0.08345478773117065,
-0.3465617001056671,
-0.013314217329025269,
-0.30827224254608154,
-0.1270846128463745,
-0.003952606115490198,
0.13009703159332275,
0.06823882460594177,
0.31793248653411865,
-0.31180357933044434,
0.2789822518825531,
0.11376694589853287,
-0.35390937328338623,
-0.08152128756046295,
0.33058393001556396,
0.38939258456230164,
0.3283679783344269,
0.21852748095989227,
-0.38057664036750793,
0.16859935224056244,
0.09591664373874664,
-0.057903848588466644,
0.06897737085819244,
0.34521418809890747,
-0.07020023465156555,
-0.40406474471092224,
0.517320990562439,
0.26329171657562256,
-0.033014554530382156,
-0.09834220260381699,
-0.029549861326813698,
-0.19798508286476135,
0.2581477463245392,
-0.346440851688385,
0.33850163221359253,
-0.13651807606220245,
0.1339898705482483,
-0.4609636664390564,
0.12613801658153534,
0.003955773543566465,
0.42264461517333984,
0.11080573499202728,
1.100873351097107,
-0.0302264466881752,
0.15130236744880676,
-0.030516277998685837,
-0.08311493694782257,
0.44233396649360657,
-0.5608233213424683,
0.20426274836063385,
-0.06276743113994598,
0.09945918619632721,
-0.06654629111289978,
-0.008408945053815842,
0.3909046947956085,
0.32601797580718994,
-0.043114133179187775,
0.297632098197937,
-0.11207453906536102,
0.23293738067150116,
-0.02920636720955372,
-0.29551059007644653,
0.33638787269592285,
-0.2708413302898407,
-0.9013369679450989,
0.04465688019990921,
0.20371781289577484,
0.05408953130245209,
-0.43900635838508606,
-0.2603447437286377,
0.1509893536567688,
0.07317355275154114,
-0.009402811527252197,
-0.1440802812576294,
-0.3819884657859802,
0.0011633113026618958,
-0.14840680360794067,
0.08726267516613007,
-0.16684100031852722,
0.10295934975147247,
0.3616220951080322,
0.22911658883094788,
-0.1945027858018875,
-0.09273065626621246,
0.02613280713558197,
-0.3629099130630493,
-0.12933170795440674,
0.26594600081443787,
-0.08407346159219742,
-0.3029448688030243,
-0.23416060209274292,
-0.23723837733268738,
-0.26146894693374634,
-0.0060252174735069275,
0.3813207745552063,
-0.2596479654312134,
0.15718811750411987,
0.15749037265777588,
0.04799627885222435,
0.00012476742267608643,
0.26209306716918945,
-0.08747059106826782,
0.024128425866365433,
0.1128036230802536,
-0.12450950592756271,
0.24019372463226318,
0.1556713730096817,
-0.07316987961530685,
-0.1726798713207245,
0.3328459560871124,
-0.05878555774688721,
0.21051014959812164,
0.23976697027683258,
0.30093681812286377,
-0.18430845439434052,
-0.22760066390037537,
0.2428053617477417,
-0.2906493544578552,
-0.3334827125072479,
0.21157796680927277,
0.137135311961174,
0.08888956904411316,
-0.15801550447940826,
-0.029571454972028732,
0.30035340785980225,
-0.16386276483535767,
-0.17929527163505554,
-0.4880005419254303,
-0.5016859173774719,
0.07502476871013641,
0.05331200733780861,
-0.24108929932117462,
0.2387596070766449,
0.123628631234169,
0.30612751841545105,
-0.09186951816082001,
-0.16142362356185913,
0.08257722854614258,
-0.1390284299850464,
0.07276493310928345,
0.23254528641700745,
-0.011685069650411606,
0.18082396686077118,
0.1404038965702057,
-0.05361275374889374,
0.005634235218167305,
-0.21288973093032837,
-0.07848694920539856,
0.0008783619850873947,
0.26170814037323,
0.18030083179473877,
-0.45469364523887634,
-0.08955559879541397,
-0.4941138029098511,
-0.4025229811668396,
0.0643889382481575,
-0.13248319923877716,
-0.04534794017672539,
0.015240304172039032,
-0.18266822397708893,
0.2745906710624695,
0.2082018256187439,
-0.42847704887390137,
0.035755302757024765,
0.03056652843952179,
0.3380964398384094,
0.17767778038978577,
-0.14567258954048157,
0.10343899577856064,
-0.05157122761011124,
0.055282533168792725,
-0.08827070146799088,
-0.15820641815662384,
0.19315090775489807,
0.7184305787086487,
-0.3177264332771301,
0.33025380969047546,
0.18193189799785614,
0.2421550154685974,
0.27126455307006836,
0.15152813494205475,
-0.053972162306308746,
0.4231823980808258,
0.05050906538963318,
-0.4565162658691406,
-0.019525380805134773,
0.17282652854919434,
0.0098731005564332,
-0.009175095707178116,
0.12255161255598068,
0.2617374062538147,
0.09807084500789642,
-0.1515580415725708,
0.19952481985092163,
0.2672552764415741,
-0.05353163927793503,
-0.017535513266921043,
-0.035231079906225204,
-0.11840294301509857,
0.23474860191345215,
-0.15254028141498566,
0.007196322083473206,
0.06024380773305893,
0.36068135499954224,
-0.16607573628425598,
0.06552644819021225,
0.11313588172197342,
-0.10957092046737671,
0.0064581334590911865,
-0.3195030391216278,
0.052808698266744614,
0.3226972818374634,
0.4446428120136261,
-0.06976038962602615,
-0.44157183170318604,
0.2010568380355835,
-0.20875284075737,
-0.2013077288866043,
-0.20866726338863373,
0.1808999478816986,
-0.003626663237810135,
0.06653457880020142,
-0.5100694894790649,
-0.166398286819458,
-0.027970552444458008,
0.3207262456417084,
0.22054769098758698,
0.13671955466270447,
0.1971622258424759,
0.3423575162887573,
-0.13193824887275696,
-0.2946231961250305,
-0.44488489627838135,
0.17999005317687988,
-0.07566045969724655,
-0.03901008889079094,
0.08985743671655655,
0.40780842304229736,
-0.2082216441631317,
-0.03876383975148201,
0.07970236241817474,
0.246212437748909,
0.12287645787000656,
-0.13564318418502808,
-0.005663753487169743,
-0.05461617931723595,
0.11341875791549683,
-0.21448640525341034,
-0.15701335668563843,
0.39729371666908264,
0.4349232614040375,
-0.06395132839679718,
-0.07274368405342102,
-0.028939247131347656,
0.628982424736023,
-0.2289358526468277,
0.16493289172649384,
0.045415110886096954,
0.13179171085357666,
0.23694099485874176,
-0.21300089359283447,
-0.3524012267589569,
-0.11878786236047745,
-0.3009314239025116,
0.2917415499687195,
0.4879910349845886,
0.0057120537385344505,
-0.1250535249710083,
-0.14390505850315094,
-0.029271354898810387,
-0.17079392075538635,
0.776410698890686,
0.19714495539665222,
0.05381930619478226,
-0.22163036465644836,
-0.15338468551635742,
-0.3016815781593323,
-0.165178120136261,
-0.3652293086051941,
0.05044621229171753,
-0.04643809422850609,
0.06988941878080368,
0.39450719952583313,
0.21953478455543518,
0.24615198373794556,
-0.25787675380706787,
0.008697734214365482,
0.16286726295948029,
-0.12578994035720825,
-0.017967622727155685,
-0.290824830532074,
0.22758527100086212,
0.008560758084058762,
-0.2548978626728058,
0.14190371334552765,
-0.23468677699565887,
-0.07558262348175049,
-0.03172235190868378,
-0.08177856355905533,
-0.34027135372161865,
0.1852446049451828,
0.34056952595710754,
0.11344832926988602,
0.4145265221595764,
0.37415552139282227,
-0.23671889305114746,
-0.24118956923484802,
0.25304582715034485,
-0.21215517818927765,
0.07135061919689178,
0.2649783790111542,
0.38037192821502686,
-0.2436315417289734,
0.15856479108333588,
-0.45976755023002625,
0.1670280247926712,
0.15437090396881104,
-0.08879370987415314,
-0.23228128254413605,
-0.385085791349411,
0.18651863932609558,
0.05266471952199936,
0.15408840775489807,
0.05946340784430504,
0.12759578227996826,
-0.038455523550510406,
-0.5950484871864319,
0.18500393629074097,
0.4575265049934387,
-0.23265127837657928,
-0.22620196640491486,
-0.4928089380264282,
0.15268121659755707,
0.012173257768154144,
0.10166123509407043,
-0.6858364343643188,
-0.012666858732700348,
0.10802140831947327,
0.03674537315964699,
-0.09204733371734619,
0.2051386684179306,
0.17611245810985565,
-0.04728261008858681,
-0.019661271944642067,
0.21329818665981293,
-0.4040832817554474,
-0.36388683319091797,
-0.4775110185146332,
-0.09225854277610779
] |
https://github.com/huggingface/datasets/issues/1724 | could not run models on a offline server successfully | The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :)
You can now use them offline
```python
datasets = load_dataset('text', data_files=data_files)
```
We'll do a new release soon | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out... | 38 | could not run models on a offline server successfully
Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out...
The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :)
You can now use them offline
```python
datasets = load_dataset('text', data_files=data_files)
```
We'll do a new release soon | [
-0.06882068514823914,
0.10156826674938202,
-0.06698888540267944,
0.35110992193222046,
0.3767763376235962,
-0.008631780743598938,
0.43615609407424927,
0.289401113986969,
-0.1399611532688141,
0.07609376311302185,
0.23464064300060272,
0.1608860343694687,
-0.22747284173965454,
0.17787271738052368,
-0.03255271911621094,
-0.342151015996933,
-0.04547371715307236,
0.17925724387168884,
-0.19100511074066162,
-0.25855201482772827,
0.11184322834014893,
-0.06748459488153458,
-0.07586169987916946,
0.22480425238609314,
-0.17274782061576843,
-0.44939136505126953,
0.028594395145773888,
0.1861249804496765,
-0.5378696322441101,
-0.1589072197675705,
0.17513106763362885,
-0.2850414216518402,
0.4374856650829315,
0.2565442621707916,
-0.00012158125173300505,
0.13608698546886444,
-0.024605080485343933,
-0.15518483519554138,
-0.20212633907794952,
-0.2065090388059616,
0.24519985914230347,
-0.20611406862735748,
0.27914732694625854,
-0.34149599075317383,
0.16877996921539307,
0.1580095887184143,
0.07052210718393326,
-0.1988765448331833,
0.14779573678970337,
0.25221648812294006,
0.10068297386169434,
0.3377572000026703,
-0.006850548088550568,
-0.03859620541334152,
-0.15955352783203125,
-0.04265845566987991,
-0.26510724425315857,
0.37642350792884827,
-0.1992180347442627,
-0.21683970093727112,
0.3203281760215759,
0.1805514395236969,
-0.40371859073638916,
0.2859339714050293,
0.04769951477646828,
-0.007208826951682568,
0.30592110753059387,
-0.28145653009414673,
0.32828453183174133,
0.3897055387496948,
0.0928826779127121,
0.1497499644756317,
-0.035320982336997986,
-0.09964627027511597,
0.09852344542741776,
-0.3189717233181,
0.16269326210021973,
0.48709845542907715,
-0.2380465567111969,
0.3007388412952423,
-0.4002819061279297,
-0.23826664686203003,
-0.28363996744155884,
0.1429475098848343,
0.06977544724941254,
0.40673160552978516,
-0.10669733583927155,
0.09307803213596344,
-0.02501491829752922,
0.03951607272028923,
-0.13321880996227264,
-0.11888846755027771,
0.08779844641685486,
-0.09540364891290665,
-0.0036217309534549713,
0.10379603505134583,
-0.024490758776664734,
0.43701082468032837,
-0.11753122508525848,
0.16765667498111725,
0.10175969451665878,
-0.10334395617246628,
0.11697393655776978,
0.09555889666080475,
0.01731475256383419,
0.23717083036899567,
-0.1497071087360382,
-0.07641751319169998,
0.3308117389678955,
0.35497647523880005,
-0.2280215620994568,
-0.10400284081697464,
-0.1588992327451706,
-0.028060559183359146,
-0.3715134561061859,
-0.10642854124307632,
0.1462474763393402,
-0.22321921586990356,
0.12764707207679749,
-0.01707439497113228,
-0.12286144495010376,
0.044914908707141876,
0.0043859295547008514,
0.20184661448001862,
-0.25995373725891113,
-0.061469048261642456,
0.014837492257356644,
0.13984858989715576,
-0.275860071182251,
-0.5037813782691956,
0.15863829851150513,
-0.10601010918617249,
-0.16904501616954803,
-0.014174327254295349,
0.15288780629634857,
-0.14253924787044525,
0.348335862159729,
-0.23217763006687164,
0.2416369616985321,
-0.09998588263988495,
0.20834705233573914,
-0.40217939019203186,
0.16854991018772125,
0.4523257315158844,
0.12665271759033203,
-0.059945471584796906,
0.368425190448761,
-0.0469195581972599,
0.15186244249343872,
0.1702975034713745,
0.05495497211813927,
-0.46410849690437317,
0.2862655520439148,
0.02260282263159752,
-0.1837541162967682,
-0.20051199197769165,
-0.27916479110717773,
0.12015828490257263,
0.019234739243984222,
-0.14713738858699799,
0.054525453597307205,
0.14391621947288513,
-0.10153554379940033,
-0.06372799724340439,
0.5197230577468872,
0.49698883295059204,
-0.6513739228248596,
0.3434906005859375,
-0.31355831027030945,
0.13477908074855804,
0.2270340621471405,
0.24219605326652527,
-0.2208395004272461,
0.5864212512969971,
-0.20818305015563965,
-0.412634015083313,
0.2668749988079071,
0.05001695081591606,
-0.06295093894004822,
0.29160764813423157,
-0.1212400272488594,
-0.3211032450199127,
0.06139255315065384,
-0.20344743132591248,
0.3311760723590851,
0.3757840692996979,
-0.1575748473405838,
0.1672549545764923,
-0.13239337503910065,
-0.1724301427602768,
-0.31338179111480713,
-0.4422496259212494,
0.18230994045734406,
0.23325566947460175,
0.39501896500587463,
0.2591550946235657,
-0.0004787445068359375,
-0.4904567003250122,
0.08228403329849243,
0.07508079707622528,
-0.030376380309462547,
-0.03734229505062103,
0.17358994483947754,
0.3227004408836365,
-0.08713316172361374,
-0.050399962812662125,
-0.1006900891661644,
0.18448197841644287,
-0.07689636945724487,
0.5632581114768982,
-0.3706653118133545,
0.2933448553085327,
0.03152387961745262,
-0.0384814515709877,
-0.12287990748882294,
0.07360267639160156,
0.006432093679904938,
-0.2515653073787689,
0.02979249879717827,
0.15202078223228455,
-0.2159973382949829,
0.040062956511974335,
0.04013863205909729,
0.11421537399291992,
-0.08143468201160431,
0.3241569697856903,
-0.26430562138557434,
-0.1023515835404396,
-0.19395394623279572,
-0.30514705181121826,
0.08105920255184174,
-0.057401373982429504,
-0.2148800790309906,
0.20943930745124817,
-0.21240678429603577,
-0.04329448938369751,
0.4440835118293762,
0.13992318511009216,
0.14076778292655945,
-0.031237488612532616,
0.47898349165916443,
0.24908564984798431,
0.11854444444179535,
0.18449679017066956,
-0.09861623495817184,
0.5424454808235168,
0.0634380578994751,
0.4350109100341797,
0.004844054579734802,
0.2102135866880417,
0.3262665867805481,
0.13051581382751465,
-0.07818515598773956,
-0.2040625363588333,
0.2826867699623108,
0.5560106635093689,
0.08142508566379547,
-0.2923348546028137,
-0.16978082060813904,
-0.16412845253944397,
0.09655572474002838,
0.14239706099033356,
0.2526114284992218,
-0.2213069498538971,
-0.08061835914850235,
0.15425869822502136,
0.12936562299728394,
0.16897477209568024,
0.2208225429058075,
0.09850037842988968,
-0.2407868504524231,
0.32632532715797424,
-0.14436616003513336,
-0.21468468010425568,
0.2925776541233063,
0.3399428129196167,
0.3933565020561218,
0.016940221190452576,
0.04893308877944946,
-0.23144610226154327,
-0.35562416911125183,
-0.22724156081676483,
0.09434845298528671,
0.2546882629394531,
-0.06779179722070694,
0.36282387375831604,
-0.5687305331230164,
0.11820889264345169,
-0.1478932946920395,
0.02908201888203621,
-0.7140904664993286,
0.19349458813667297,
0.07392016053199768,
-0.11158905923366547,
-0.13125433027744293,
0.24203751981258392,
-0.07913388311862946,
0.3908633887767792,
-0.11662883311510086,
-0.15475723147392273,
0.11952486634254456,
-0.2907874584197998,
-0.32745781540870667,
-0.06115031987428665,
0.2906634509563446,
0.11778923124074936,
0.379854679107666,
-0.04139040410518646,
-0.2935418486595154,
0.17423401772975922,
-0.23677298426628113,
0.049083162099123,
0.18828622996807098,
0.1058579683303833,
0.16788625717163086,
0.3347952365875244,
-0.11217918992042542,
0.2350149303674698,
0.49162915349006653,
-0.2610314190387726,
0.22564540803432465,
-0.16429342329502106,
-0.16812393069267273,
0.11032667011022568,
-0.1871710866689682,
-0.38006100058555603,
-0.4347549378871918,
-0.14565470814704895,
0.2535460591316223,
0.37698185443878174,
0.16900697350502014,
-0.05151772126555443,
0.4320071041584015,
-0.11715647578239441,
-0.20626969635486603,
0.15461884438991547,
0.10367763042449951,
-0.7016679644584656,
0.2701815366744995,
0.03474084287881851,
-0.2287963181734085,
0.29579442739486694,
0.1756507158279419,
-0.04130871221423149,
-0.17438778281211853,
-0.5842973589897156,
-0.0135890431702137,
0.2518709897994995,
0.13866502046585083,
0.15207085013389587,
0.09823022782802582,
0.4951813817024231,
-0.12660884857177734,
0.0680922195315361,
-0.09096552431583405,
-0.09516961872577667,
0.1854778528213501,
-0.12011907249689102,
0.11452730000019073,
-0.057116396725177765,
0.7429933547973633,
-0.035615257918834686,
0.28819048404693604,
-0.39349687099456787,
0.0458829402923584,
0.19552358984947205,
-0.021929210051894188,
0.3647749125957489,
-0.21712714433670044,
-0.07753138244152069,
-0.04223201051354408,
-0.020811930298805237,
-0.7154512405395508,
0.17659880220890045,
0.056956250220537186,
-0.06365126371383667,
-0.4952486753463745,
0.07712739706039429,
0.08671567589044571,
-0.13230368494987488,
0.08278396725654602,
0.14210477471351624,
0.2872101664543152,
0.32124435901641846,
0.17482277750968933,
-0.27169764041900635,
0.16779479384422302,
0.08964058756828308,
0.23228219151496887,
0.009824827313423157,
0.0907338336110115,
-0.4119894206523895,
-0.29534924030303955,
0.16114898025989532,
0.0700787901878357,
-0.1605789065361023,
0.27108263969421387,
-0.09384380280971527,
0.03862934559583664,
0.2771812379360199,
-0.04494238272309303,
0.25249189138412476,
-0.13910946249961853,
-0.038091495633125305,
0.06028853729367256,
-0.035312652587890625,
-0.2176896631717682,
-0.3449379801750183,
0.11839902400970459,
0.02001364715397358,
0.3473455309867859,
0.1850462406873703,
0.06767339259386063,
0.09624166786670685,
0.06828749179840088,
0.13524113595485687,
-0.35471755266189575,
-0.1549384742975235,
-0.6495369076728821,
-0.0956030860543251,
-0.31296423077583313,
0.014558054506778717,
-0.3000566065311432,
-0.1078723669052124,
-0.03517341613769531,
0.16793493926525116,
0.09002314507961273,
0.281514436006546,
-0.3234463930130005,
0.2786966562271118,
0.0911790281534195,
-0.3535842001438141,
-0.07314205914735794,
0.30055609345436096,
0.37687960267066956,
0.32579511404037476,
0.2044166475534439,
-0.4117552936077118,
0.11526913195848465,
0.12144645303487778,
-0.020197875797748566,
0.06884866207838058,
0.32748985290527344,
-0.07728343456983566,
-0.36510151624679565,
0.5494982004165649,
0.27605104446411133,
-0.0480097196996212,
-0.1442996710538864,
-0.018642181530594826,
-0.1724534034729004,
0.21756695210933685,
-0.36381685733795166,
0.37588265538215637,
-0.1624688357114792,
0.15532639622688293,
-0.4925999641418457,
0.1520404815673828,
-0.010199952870607376,
0.44266748428344727,
0.0694618821144104,
1.059932827949524,
0.022853977978229523,
0.12840664386749268,
0.004717336967587471,
-0.09448354691267014,
0.47038164734840393,
-0.5697629451751709,
0.23204787075519562,
-0.053957924246788025,
0.0694856122136116,
-0.057176269590854645,
-0.0019673071801662445,
0.37329626083374023,
0.29306745529174805,
-0.04844420403242111,
0.3198624551296234,
-0.11001642793416977,
0.2009478360414505,
-0.023304501548409462,
-0.23442137241363525,
0.3120022118091583,
-0.26534074544906616,
-0.984276533126831,
0.048306792974472046,
0.1925533413887024,
0.06278439611196518,
-0.4223130941390991,
-0.2704314589500427,
0.1238480806350708,
0.05860495567321777,
-0.0010961294174194336,
-0.16638392210006714,
-0.3592180609703064,
0.05241324380040169,
-0.16389401257038116,
0.033829063177108765,
-0.17585377395153046,
0.0736074224114418,
0.36990106105804443,
0.19157294929027557,
-0.19559015333652496,
-0.09910859167575836,
0.02150202915072441,
-0.3495211601257324,
-0.11592067033052444,
0.2825840711593628,
-0.07249247282743454,
-0.2928798794746399,
-0.2865160405635834,
-0.20550832152366638,
-0.2601914405822754,
-0.006636530160903931,
0.339968740940094,
-0.24276204407215118,
0.14768433570861816,
0.13737258315086365,
0.07449010014533997,
-0.007653936743736267,
0.289026141166687,
-0.10795378684997559,
0.0415002703666687,
0.10841144621372223,
-0.10262300819158554,
0.2344975769519806,
0.15010006725788116,
-0.07398822903633118,
-0.2278769463300705,
0.34798192977905273,
-0.04266650229692459,
0.257488876581192,
0.2616274356842041,
0.35376080870628357,
-0.2005521059036255,
-0.21209025382995605,
0.2622406482696533,
-0.31852734088897705,
-0.3099803328514099,
0.2088734358549118,
0.14581286907196045,
0.12541083991527557,
-0.1561201959848404,
-0.019379694014787674,
0.3010334372520447,
-0.12321693450212479,
-0.16362474858760834,
-0.48549094796180725,
-0.5012041330337524,
0.1014195904135704,
0.08578277379274368,
-0.2803424000740051,
0.2758420407772064,
0.1405426412820816,
0.3010767996311188,
-0.09948147088289261,
-0.1697588860988617,
0.08914140611886978,
-0.12963640689849854,
0.054707400500774384,
0.25399813055992126,
-0.05993674695491791,
0.2103337198495865,
0.15262626111507416,
-0.025366103276610374,
-0.005423899739980698,
-0.141876220703125,
-0.0956316590309143,
0.008753631263971329,
0.25179243087768555,
0.1856035590171814,
-0.47479453682899475,
-0.11540412157773972,
-0.4813804030418396,
-0.4180760681629181,
0.05287942290306091,
-0.15776768326759338,
-0.008873285725712776,
0.036530498415231705,
-0.17166471481323242,
0.2572549879550934,
0.20176956057548523,
-0.4307262897491455,
0.039700284600257874,
0.004973165690898895,
0.30448466539382935,
0.18152844905853271,
-0.11006827652454376,
0.15268400311470032,
0.0032958686351776123,
0.017179181799292564,
-0.10922472923994064,
-0.15701515972614288,
0.1787301003932953,
0.7193289995193481,
-0.30750173330307007,
0.30638396739959717,
0.1931769996881485,
0.23084670305252075,
0.3015114963054657,
0.18034525215625763,
-0.05368589609861374,
0.4138592779636383,
0.07025423645973206,
-0.48828408122062683,
0.006947281304746866,
0.17693129181861877,
0.0472494475543499,
0.010486222803592682,
0.13549120724201202,
0.2199310064315796,
0.0552905797958374,
-0.1720402091741562,
0.22994107007980347,
0.2734171450138092,
-0.033772069960832596,
0.03196663409471512,
-0.016645465046167374,
-0.08568114787340164,
0.22497275471687317,
-0.16288915276527405,
0.008539857342839241,
0.04743332043290138,
0.3475346565246582,
-0.1718398630619049,
0.040669996291399,
0.08257211744785309,
-0.15062905848026276,
-0.004628084599971771,
-0.2909698784351349,
0.06629093736410141,
0.2990260720252991,
0.3514058589935303,
-0.10131891816854477,
-0.4393187165260315,
0.2247026562690735,
-0.25926631689071655,
-0.16474182903766632,
-0.24746090173721313,
0.18163348734378815,
-0.02603664994239807,
0.05542565509676933,
-0.4503195881843567,
-0.1686238944530487,
-0.0023025497794151306,
0.29096880555152893,
0.2373076230287552,
0.11730405688285828,
0.16438689827919006,
0.35639381408691406,
-0.14178897440433502,
-0.32378074526786804,
-0.45958468317985535,
0.19124794006347656,
-0.06139514595270157,
-0.022226698696613312,
0.04227418825030327,
0.43736088275909424,
-0.26473477482795715,
-0.11466452479362488,
0.06416734308004379,
0.26666879653930664,
0.12267228960990906,
-0.1760980635881424,
0.0033139633014798164,
0.005031397566199303,
0.0997149646282196,
-0.15786923468112946,
-0.1710405945777893,
0.41750848293304443,
0.4818117916584015,
-0.08374437689781189,
-0.05134808272123337,
-0.03970494493842125,
0.6139249801635742,
-0.18125124275684357,
0.14713449776172638,
-0.005204325541853905,
0.1477610170841217,
0.23926234245300293,
-0.20178496837615967,
-0.33528995513916016,
-0.1234084889292717,
-0.2997221350669861,
0.2940617501735687,
0.4473361372947693,
0.02953442931175232,
-0.12199044972658157,
-0.14942596852779388,
-0.023337479680776596,
-0.15792222321033478,
0.7504979968070984,
0.1971174031496048,
0.048238158226013184,
-0.21237386763095856,
-0.131357342004776,
-0.29581570625305176,
-0.18189850449562073,
-0.36050841212272644,
0.03532691299915314,
-0.07973024994134903,
0.05014200508594513,
0.3883092403411865,
0.2088678777217865,
0.21886205673217773,
-0.2428186535835266,
-0.04234059154987335,
0.1709822416305542,
-0.1217675507068634,
-0.02606983855366707,
-0.3417568802833557,
0.22571323812007904,
0.003665272146463394,
-0.24109992384910583,
0.1120147556066513,
-0.24783962965011597,
-0.051270533353090286,
-0.058782100677490234,
-0.09265925735235214,
-0.31890153884887695,
0.24737097322940826,
0.30938732624053955,
0.12698982656002045,
0.40913712978363037,
0.3795037269592285,
-0.2697541415691376,
-0.2558472454547882,
0.23803706467151642,
-0.21494340896606445,
0.12118882685899734,
0.22409316897392273,
0.34077030420303345,
-0.21893852949142456,
0.08829718083143234,
-0.45733287930488586,
0.19090944528579712,
0.14789099991321564,
-0.10578571259975433,
-0.24818448722362518,
-0.394567608833313,
0.24609702825546265,
0.03438194468617439,
0.1491890400648117,
0.0501415878534317,
0.11053469777107239,
0.017014114186167717,
-0.5854979157447815,
0.19513489305973053,
0.4119110703468323,
-0.2618521749973297,
-0.19844406843185425,
-0.5416534543037415,
0.1560497134923935,
-0.0023717060685157776,
0.1555010825395584,
-0.6582362055778503,
-0.025205470621585846,
0.12952838838100433,
0.04511027783155441,
-0.08927120268344879,
0.18910959362983704,
0.1830688714981079,
-0.05694630369544029,
-0.0276943389326334,
0.1851198971271515,
-0.3997741639614105,
-0.39085984230041504,
-0.4278210997581482,
-0.08411760628223419
] |
https://github.com/huggingface/datasets/issues/1724 | could not run models on a offline server successfully | > The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :)
> You can now use them offline
>
> ```python
> datasets = load_dataset('text', data_files=data_files)
> ```
>
> We'll do a new release soon
so the new version release now? | Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out... | 52 | could not run models on a offline server successfully
Hi, I really need your help about this.
I am trying to fine-tuning a RoBERTa on a remote server, which is strictly banning internet. I try to install all the packages by hand and try to run run_mlm.py on the server. It works well on colab, but when I try to run it on this offline server, it shows:

is there anything I can do? Is it possible to download all the things in cache and upload it to the server? Please help me out...
> The local dataset builders (csv, text , json and pandas) are now part of the `datasets` package since #1726 :)
> You can now use them offline
>
> ```python
> datasets = load_dataset('text', data_files=data_files)
> ```
>
> We'll do a new release soon
so the new version release now? | [
-0.07060010731220245,
0.08184230327606201,
-0.06738708913326263,
0.3484898805618286,
0.36553382873535156,
-0.0059056952595710754,
0.41930320858955383,
0.2942713797092438,
-0.14892643690109253,
0.0716174840927124,
0.22947977483272552,
0.15837088227272034,
-0.22693133354187012,
0.17349916696548462,
-0.037111349403858185,
-0.3469001352787018,
-0.03945540636777878,
0.1774481236934662,
-0.19392111897468567,
-0.2578326463699341,
0.09907229244709015,
-0.06196564435958862,
-0.08073721081018448,
0.22306475043296814,
-0.1615162491798401,
-0.4670546054840088,
0.027667256072163582,
0.1842137575149536,
-0.538224458694458,
-0.1700836569070816,
0.16586515307426453,
-0.28371480107307434,
0.4375508725643158,
0.25211870670318604,
-0.0001213945506606251,
0.12778885662555695,
-0.024807408452033997,
-0.15005415678024292,
-0.21176744997501373,
-0.2167315036058426,
0.2522083818912506,
-0.2124810665845871,
0.28405094146728516,
-0.3407832980155945,
0.1697348952293396,
0.17420640587806702,
0.07568962126970291,
-0.19665208458900452,
0.16078895330429077,
0.2545124888420105,
0.1027425155043602,
0.345666766166687,
-0.0017502717673778534,
-0.04268500208854675,
-0.16722622513771057,
-0.062223806977272034,
-0.25512462854385376,
0.38218486309051514,
-0.2034241259098053,
-0.2088392972946167,
0.3286898136138916,
0.19119586050510406,
-0.3957904577255249,
0.28680118918418884,
0.04462752491235733,
0.00004198867827653885,
0.3129146993160248,
-0.27952122688293457,
0.32386210560798645,
0.383793443441391,
0.09836474061012268,
0.14570635557174683,
-0.05039557069540024,
-0.09339138865470886,
0.09467936307191849,
-0.32466304302215576,
0.1679432988166809,
0.48233917355537415,
-0.22900059819221497,
0.3012808859348297,
-0.39650604128837585,
-0.2433442771434784,
-0.27569323778152466,
0.14333012700080872,
0.07315053045749664,
0.4021543264389038,
-0.1145826131105423,
0.09039804339408875,
-0.028576809912919998,
0.0393344946205616,
-0.14204363524913788,
-0.11368401348590851,
0.08381646126508713,
-0.08641274273395538,
-0.0036157630383968353,
0.10338346660137177,
-0.03194756805896759,
0.4332540035247803,
-0.11960207670927048,
0.1626175343990326,
0.1086183413863182,
-0.11168939620256424,
0.11942151188850403,
0.0874299630522728,
0.0294078066945076,
0.2210601419210434,
-0.1583596169948578,
-0.07854285836219788,
0.3308568000793457,
0.3641964793205261,
-0.2270265519618988,
-0.1102050170302391,
-0.14998212456703186,
-0.026156507432460785,
-0.349899023771286,
-0.10139718651771545,
0.1574401706457138,
-0.22327539324760437,
0.13267700374126434,
-0.02911556512117386,
-0.12865012884140015,
0.04027095437049866,
-0.0050057945773005486,
0.20863941311836243,
-0.2704683244228363,
-0.04780283570289612,
0.020017612725496292,
0.1302568018436432,
-0.28419229388237,
-0.5011153817176819,
0.15869484841823578,
-0.10973039269447327,
-0.1684492975473404,
-0.003669271245598793,
0.14572212100028992,
-0.14741408824920654,
0.341573566198349,
-0.2266683727502823,
0.2293044626712799,
-0.11615771055221558,
0.20340970158576965,
-0.39672061800956726,
0.16686534881591797,
0.45414498448371887,
0.13402055203914642,
-0.05591939389705658,
0.3632284104824066,
-0.04357907921075821,
0.14273521304130554,
0.17526748776435852,
0.056851066648960114,
-0.462082177400589,
0.2975706160068512,
0.02439848892390728,
-0.17218463122844696,
-0.20284341275691986,
-0.2606348395347595,
0.12292945384979248,
0.019639402627944946,
-0.16367284953594208,
0.05481138452887535,
0.14660680294036865,
-0.10686741769313812,
-0.07568739354610443,
0.5186442732810974,
0.5003829002380371,
-0.6551433205604553,
0.33571428060531616,
-0.310901403427124,
0.1295134574174881,
0.2178947627544403,
0.2354239821434021,
-0.2067975252866745,
0.5655166506767273,
-0.20791234076023102,
-0.4268913269042969,
0.2711883783340454,
0.0439612977206707,
-0.07325529307126999,
0.2840724587440491,
-0.13255491852760315,
-0.3194461762905121,
0.07354146242141724,
-0.19861333072185516,
0.3278123736381531,
0.37125784158706665,
-0.17275282740592957,
0.1563497632741928,
-0.13457262516021729,
-0.1739402860403061,
-0.3187618553638458,
-0.4410797357559204,
0.18349887430667877,
0.21933838725090027,
0.39408379793167114,
0.26656022667884827,
0.007479541003704071,
-0.46453630924224854,
0.09094816446304321,
0.09136615693569183,
-0.03805334120988846,
-0.03648627549409866,
0.17783433198928833,
0.33477914333343506,
-0.08729055523872375,
-0.051835477352142334,
-0.1034804955124855,
0.17833802103996277,
-0.06639786809682846,
0.5493113994598389,
-0.35020822286605835,
0.28717613220214844,
0.02419382333755493,
-0.04074971377849579,
-0.11216983199119568,
0.07319390773773193,
0.0052382685244083405,
-0.2501819133758545,
0.048080865293741226,
0.1526525914669037,
-0.21617354452610016,
0.05414368957281113,
0.04280669987201691,
0.1116732805967331,
-0.08904290199279785,
0.32690826058387756,
-0.27544155716896057,
-0.10517645627260208,
-0.1878640502691269,
-0.3095559775829315,
0.08901937305927277,
-0.05655834451317787,
-0.2126631736755371,
0.20832961797714233,
-0.20541256666183472,
-0.048130571842193604,
0.42538419365882874,
0.14503535628318787,
0.13701525330543518,
-0.017994757741689682,
0.48207345604896545,
0.26053446531295776,
0.11789430677890778,
0.18727925419807434,
-0.0823042020201683,
0.5436937212944031,
0.06771160662174225,
0.4257643520832062,
0.018264994025230408,
0.21276843547821045,
0.32301220297813416,
0.13547717034816742,
-0.06748823821544647,
-0.2129700928926468,
0.27419111132621765,
0.5513849258422852,
0.09166578948497772,
-0.3043963611125946,
-0.1712460070848465,
-0.15302333235740662,
0.11177144944667816,
0.13627886772155762,
0.25438374280929565,
-0.2206161916255951,
-0.08681670576334,
0.152042418718338,
0.11271872371435165,
0.17533548176288605,
0.2232254296541214,
0.09894540160894394,
-0.23110315203666687,
0.3421710729598999,
-0.12968449294567108,
-0.20527222752571106,
0.29634132981300354,
0.3406381607055664,
0.3999170958995819,
0.0022241920232772827,
0.04766636714339256,
-0.2282097041606903,
-0.3398962616920471,
-0.21502315998077393,
0.09606832265853882,
0.25483617186546326,
-0.07187916338443756,
0.35956481099128723,
-0.5689225792884827,
0.12253447622060776,
-0.1531618982553482,
0.027162395417690277,
-0.7147390842437744,
0.1970946490764618,
0.07181859016418457,
-0.09032149612903595,
-0.11703865230083466,
0.24285660684108734,
-0.0787806510925293,
0.3732525706291199,
-0.11719536036252975,
-0.14909173548221588,
0.12662211060523987,
-0.283588707447052,
-0.33159303665161133,
-0.05915512889623642,
0.27548712491989136,
0.10712259262800217,
0.3786294758319855,
-0.04680667817592621,
-0.2891297936439514,
0.17163123190402985,
-0.24286329746246338,
0.042119935154914856,
0.18956443667411804,
0.10237385332584381,
0.1773620843887329,
0.33913055062294006,
-0.11838612705469131,
0.24227850139141083,
0.48701247572898865,
-0.2876998484134674,
0.20761536061763763,
-0.17388294637203217,
-0.1704433262348175,
0.11787281930446625,
-0.1792331337928772,
-0.39622312784194946,
-0.45087188482284546,
-0.1511046588420868,
0.26075780391693115,
0.3716067373752594,
0.17263001203536987,
-0.0400325246155262,
0.420548677444458,
-0.11833987385034561,
-0.204520121216774,
0.15786151587963104,
0.09937720000743866,
-0.6965695023536682,
0.2649095952510834,
0.040320925414562225,
-0.23314206302165985,
0.3088751435279846,
0.1726255714893341,
-0.05311652645468712,
-0.1818624585866928,
-0.5868796110153198,
-0.02142089605331421,
0.25613945722579956,
0.1477552354335785,
0.1491205096244812,
0.0979863852262497,
0.50464928150177,
-0.1231769546866417,
0.06529727578163147,
-0.08950482308864594,
-0.09381483495235443,
0.17842097580432892,
-0.12067381292581558,
0.10798992216587067,
-0.05657299607992172,
0.7600349187850952,
-0.032837044447660446,
0.29199761152267456,
-0.38161373138427734,
0.04865790903568268,
0.1910066306591034,
-0.022488215938210487,
0.3683615028858185,
-0.21885043382644653,
-0.07789047807455063,
-0.05681217089295387,
-0.030396834015846252,
-0.7145971059799194,
0.1775297224521637,
0.059115346521139145,
-0.06278324127197266,
-0.4945369064807892,
0.0594475232064724,
0.07917609065771103,
-0.1280043125152588,
0.07861540466547012,
0.15064674615859985,
0.2830785810947418,
0.3220367431640625,
0.16926589608192444,
-0.270649790763855,
0.16407662630081177,
0.08382701873779297,
0.2446194738149643,
0.007388293743133545,
0.10240834206342697,
-0.40745794773101807,
-0.2934480309486389,
0.1693006455898285,
0.07712563872337341,
-0.14760978519916534,
0.27682486176490784,
-0.09258469194173813,
0.03614054620265961,
0.275831401348114,
-0.043746400624513626,
0.25133851170539856,
-0.1297478973865509,
-0.025154225528240204,
0.06293895840644836,
-0.049212247133255005,
-0.20244106650352478,
-0.34321755170822144,
0.10950766503810883,
0.01746785268187523,
0.3631521165370941,
0.17102491855621338,
0.06963445991277695,
0.09813525527715683,
0.06424263119697571,
0.1448429375886917,
-0.35548946261405945,
-0.14859628677368164,
-0.66508549451828,
-0.09097646176815033,
-0.31911370158195496,
0.014842234551906586,
-0.2876191735267639,
-0.10672907531261444,
-0.037825971841812134,
0.1699753701686859,
0.0927128866314888,
0.2727768123149872,
-0.33516639471054077,
0.2794826626777649,
0.09891156107187271,
-0.3488747775554657,
-0.06904242932796478,
0.2968814969062805,
0.3751760721206665,
0.3203035295009613,
0.20657852292060852,
-0.40710878372192383,
0.11509069055318832,
0.11515779048204422,
-0.006658836267888546,
0.07058939337730408,
0.3163350224494934,
-0.08446616679430008,
-0.3517901599407196,
0.5517032146453857,
0.2774515748023987,
-0.03880423307418823,
-0.161672905087471,
-0.02581733651459217,
-0.16979491710662842,
0.2110011875629425,
-0.3693976402282715,
0.3705827295780182,
-0.152638778090477,
0.152183398604393,
-0.4862380623817444,
0.15421819686889648,
-0.0045065004378557205,
0.4191437363624573,
0.05223822221159935,
1.055031180381775,
0.025800026953220367,
0.13095469772815704,
0.00513593852519989,
-0.1059451624751091,
0.4793547987937927,
-0.5588316917419434,
0.2374623864889145,
-0.059827305376529694,
0.05120662972331047,
-0.054215189069509506,
-0.0002922043204307556,
0.3729056119918823,
0.2897644639015198,
-0.06629889458417892,
0.33340558409690857,
-0.10742329061031342,
0.19652065634727478,
-0.024539658799767494,
-0.2288120687007904,
0.3103710114955902,
-0.257301926612854,
-1.0110777616500854,
0.04811263084411621,
0.20087893307209015,
0.06858213245868683,
-0.42544183135032654,
-0.2625393867492676,
0.1260492503643036,
0.05178483575582504,
-0.0037789568305015564,
-0.171861469745636,
-0.3710799217224121,
0.06073113903403282,
-0.15980181097984314,
0.04007671773433685,
-0.18115004897117615,
0.06833057105541229,
0.3599051833152771,
0.19489248096942902,
-0.18126828968524933,
-0.10690852999687195,
0.02698272094130516,
-0.3582989275455475,
-0.11355070024728775,
0.2985425889492035,
-0.06037846952676773,
-0.30181366205215454,
-0.2927596867084503,
-0.19947528839111328,
-0.2634775936603546,
-0.0027644671499729156,
0.34102457761764526,
-0.24008403718471527,
0.1370641589164734,
0.14346855878829956,
0.07436761260032654,
-0.008670002222061157,
0.2809585630893707,
-0.11254675686359406,
0.04092204570770264,
0.10269492864608765,
-0.10811013728380203,
0.22845017910003662,
0.15899665653705597,
-0.07879698276519775,
-0.22423483431339264,
0.3580925464630127,
-0.043343544006347656,
0.2658289968967438,
0.2737148404121399,
0.3521735370159149,
-0.20440499484539032,
-0.21405470371246338,
0.2711830735206604,
-0.32275187969207764,
-0.3032826781272888,
0.21435332298278809,
0.14507761597633362,
0.12969978153705597,
-0.15169699490070343,
-0.019494909793138504,
0.30321574211120605,
-0.11524822562932968,
-0.16382113099098206,
-0.4914743900299072,
-0.5047597885131836,
0.10390271991491318,
0.08342506736516953,
-0.2941829264163971,
0.282880038022995,
0.14003857970237732,
0.30920401215553284,
-0.09381931275129318,
-0.17202356457710266,
0.07938285171985626,
-0.12662680447101593,
0.05222027003765106,
0.253800630569458,
-0.07009468972682953,
0.20726332068443298,
0.15040893852710724,
-0.025073455646634102,
-0.007144436240196228,
-0.14298267662525177,
-0.09629358351230621,
0.013800770044326782,
0.25270622968673706,
0.17564904689788818,
-0.4706895351409912,
-0.12299416214227676,
-0.4690319299697876,
-0.41694143414497375,
0.05786794424057007,
-0.1629227101802826,
-0.0034416615962982178,
0.056190166622400284,
-0.16885727643966675,
0.2602788209915161,
0.20261260867118835,
-0.44106948375701904,
0.04013001173734665,
-0.0016457661986351013,
0.305869996547699,
0.17664819955825806,
-0.11000801622867584,
0.1643209010362625,
0.005344666540622711,
-0.0037482648622244596,
-0.1174771711230278,
-0.14871172606945038,
0.17360830307006836,
0.7176589965820312,
-0.3057675361633301,
0.2996407449245453,
0.19407017529010773,
0.22468465566635132,
0.29710498452186584,
0.19059030711650848,
-0.0541580468416214,
0.4123792350292206,
0.07041243463754654,
-0.4994432032108307,
0.012595961801707745,
0.18367232382297516,
0.04844231158494949,
0.012151245027780533,
0.1410074681043625,
0.2081935703754425,
0.0572008341550827,
-0.16028735041618347,
0.23559418320655823,
0.2667343318462372,
-0.04238790273666382,
0.04782363399863243,
-0.005551140755414963,
-0.07023651152849197,
0.22599147260189056,
-0.16069208085536957,
0.012424595654010773,
0.03580215573310852,
0.33689945936203003,
-0.17618194222450256,
0.04266460984945297,
0.08807174861431122,
-0.15174154937267303,
-0.000007048249244689941,
-0.28700879216194153,
0.04928867518901825,
0.29961860179901123,
0.3487865626811981,
-0.09954280406236649,
-0.44061827659606934,
0.20841971039772034,
-0.2626594305038452,
-0.165848046541214,
-0.24557159841060638,
0.17646336555480957,
-0.030663691461086273,
0.052470557391643524,
-0.42687949538230896,
-0.1589355766773224,
-0.0060812607407569885,
0.2915116250514984,
0.23970754444599152,
0.11187075078487396,
0.16912975907325745,
0.3600476384162903,
-0.1350088268518448,
-0.33354249596595764,
-0.4597855508327484,
0.19248637557029724,
-0.05447254329919815,
-0.024336395785212517,
0.04183153435587883,
0.4390507936477661,
-0.25167930126190186,
-0.11133600771427155,
0.06509502232074738,
0.26306045055389404,
0.12160855531692505,
-0.17372006177902222,
0.010898051783442497,
0.00982487853616476,
0.09507559984922409,
-0.14982543885707855,
-0.17643392086029053,
0.4172581136226654,
0.4848119914531708,
-0.0907849669456482,
-0.05145406723022461,
-0.03667682409286499,
0.6268962621688843,
-0.17985181510448456,
0.13801538944244385,
-0.017595645040273666,
0.15843236446380615,
0.2334700971841812,
-0.20391851663589478,
-0.3364565372467041,
-0.10632862895727158,
-0.3092361092567444,
0.3028315603733063,
0.446679949760437,
0.023180050775408745,
-0.12343725562095642,
-0.14738208055496216,
-0.022873861715197563,
-0.15048393607139587,
0.7381176948547363,
0.19738952815532684,
0.052058666944503784,
-0.20328114926815033,
-0.12009230256080627,
-0.29821324348449707,
-0.1874387562274933,
-0.3620205521583557,
0.03378928452730179,
-0.0823807567358017,
0.05054653435945511,
0.3819800913333893,
0.21844328939914703,
0.23135057091712952,
-0.2517593801021576,
-0.049651604145765305,
0.17278406023979187,
-0.12629245221614838,
-0.03470423445105553,
-0.3399156928062439,
0.2288370579481125,
0.00469149649143219,
-0.23961928486824036,
0.10629443824291229,
-0.2555374205112457,
-0.05176542326807976,
-0.06678109616041183,
-0.0910550132393837,
-0.3211209774017334,
0.2661159038543701,
0.305948406457901,
0.12870903313159943,
0.40715956687927246,
0.38069093227386475,
-0.275189071893692,
-0.2592385709285736,
0.234547421336174,
-0.22055813670158386,
0.13603171706199646,
0.22047504782676697,
0.33912011981010437,
-0.21499530971050262,
0.08690260350704193,
-0.4555116593837738,
0.19788935780525208,
0.14851881563663483,
-0.10883906483650208,
-0.23961105942726135,
-0.39074811339378357,
0.2567364275455475,
0.035546205937862396,
0.15163269639015198,
0.05205891281366348,
0.10542996972799301,
0.021444687619805336,
-0.5895583033561707,
0.1879620999097824,
0.40367311239242554,
-0.2699083983898163,
-0.19357095658779144,
-0.5413029193878174,
0.16405420005321503,
-0.004865720868110657,
0.15076734125614166,
-0.6646755337715149,
-0.01783805340528488,
0.138229638338089,
0.04616396129131317,
-0.08582188934087753,
0.18816599249839783,
0.17737770080566406,
-0.06223267689347267,
-0.02674734778702259,
0.21041332185268402,
-0.4070430397987366,
-0.3941543996334076,
-0.42298194766044617,
-0.0887770727276802
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Thanks for reporting !
I was able to reproduce thanks to your code and find the origin of the bug.
The cache was not reusing the same file because one object was not deterministic. It comes from a conversion from `set` to `list` in the `datasets.arrrow_dataset.transmit_format` function, where the resulting list would not always be in the same order and therefore the function that computes the hash used by the cache would not always return the same result.
I'm opening a PR to fix this.
Also we plan to do a new release in the coming days so you can expect the fix to be available soon.
Note that you can still specify `cache_file_name=` in the second `map()` call to name the cache file yourself if you want to. | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 129 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
Thanks for reporting !
I was able to reproduce thanks to your code and find the origin of the bug.
The cache was not reusing the same file because one object was not deterministic. It comes from a conversion from `set` to `list` in the `datasets.arrrow_dataset.transmit_format` function, where the resulting list would not always be in the same order and therefore the function that computes the hash used by the cache would not always return the same result.
I'm opening a PR to fix this.
Also we plan to do a new release in the coming days so you can expect the fix to be available soon.
Note that you can still specify `cache_file_name=` in the second `map()` call to name the cache file yourself if you want to. | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Thanks for the fast reply, waiting for the fix :)
I tried to use `cache_file_names` and wasn't sure how, I tried to give it the following:
```
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
cache_file_names={k: f'.cache/{str(k)}' for k in tokenized_datasets}
)
```
and got an error:
```
multiprocess.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/venv/lib/python3.6/site-packages/multiprocess/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 157, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/venv/lib/python3.6/site-packages/datasets/fingerprint.py", line 163, in wrapper
out = func(self, *args, **kwargs)
File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1491, in _map_single
tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)
File "/usr/lib/python3.6/tempfile.py", line 690, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/usr/lib/python3.6/tempfile.py", line 401, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '_00000_of_00060.cache/tmpsvszxtop'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "test.py", line 48, in <module>
cache_file_names={k: f'.cache/{str(k)}' for k in tokenized_datasets}
File "/venv/lib/python3.6/site-packages/datasets/dataset_dict.py", line 303, in map
for k, dataset in self.items()
File "/venv/lib/python3.6/site-packages/datasets/dataset_dict.py", line 303, in <dictcomp>
for k, dataset in self.items()
File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1317, in map
transformed_shards = [r.get() for r in results]
File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1317, in <listcomp>
transformed_shards = [r.get() for r in results]
File "/venv/lib/python3.6/site-packages/multiprocess/pool.py", line 644, in get
raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '_00000_of_00060.cache/tmpsvszxtop'
```
| Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 229 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
Thanks for the fast reply, waiting for the fix :)
I tried to use `cache_file_names` and wasn't sure how, I tried to give it the following:
```
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
cache_file_names={k: f'.cache/{str(k)}' for k in tokenized_datasets}
)
```
and got an error:
```
multiprocess.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/venv/lib/python3.6/site-packages/multiprocess/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 157, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/venv/lib/python3.6/site-packages/datasets/fingerprint.py", line 163, in wrapper
out = func(self, *args, **kwargs)
File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1491, in _map_single
tmp_file = tempfile.NamedTemporaryFile("wb", dir=os.path.dirname(cache_file_name), delete=False)
File "/usr/lib/python3.6/tempfile.py", line 690, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "/usr/lib/python3.6/tempfile.py", line 401, in _mkstemp_inner
fd = _os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: '_00000_of_00060.cache/tmpsvszxtop'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "test.py", line 48, in <module>
cache_file_names={k: f'.cache/{str(k)}' for k in tokenized_datasets}
File "/venv/lib/python3.6/site-packages/datasets/dataset_dict.py", line 303, in map
for k, dataset in self.items()
File "/venv/lib/python3.6/site-packages/datasets/dataset_dict.py", line 303, in <dictcomp>
for k, dataset in self.items()
File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1317, in map
transformed_shards = [r.get() for r in results]
File "/venv/lib/python3.6/site-packages/datasets/arrow_dataset.py", line 1317, in <listcomp>
transformed_shards = [r.get() for r in results]
File "/venv/lib/python3.6/site-packages/multiprocess/pool.py", line 644, in get
raise self._value
FileNotFoundError: [Errno 2] No such file or directory: '_00000_of_00060.cache/tmpsvszxtop'
```
| [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | The documentation says
```
cache_file_names (`Optional[Dict[str, str]]`, defaults to `None`): Provide the name of a cache file to use to store the
results of the computation instead of the automatically generated cache file name.
You have to provide one :obj:`cache_file_name` per dataset in the dataset dictionary.
```
What is expected is simply the name of a file, not a path. The file will be located in the cache directory of the `wikitext` dataset. You can try again with something like
```python
cache_file_names = {k: f'tokenized_and_grouped_{str(k)}' for k in tokenized_datasets}
``` | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 90 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
The documentation says
```
cache_file_names (`Optional[Dict[str, str]]`, defaults to `None`): Provide the name of a cache file to use to store the
results of the computation instead of the automatically generated cache file name.
You have to provide one :obj:`cache_file_name` per dataset in the dataset dictionary.
```
What is expected is simply the name of a file, not a path. The file will be located in the cache directory of the `wikitext` dataset. You can try again with something like
```python
cache_file_names = {k: f'tokenized_and_grouped_{str(k)}' for k in tokenized_datasets}
``` | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Managed to get `cache_file_names` working and caching works well with it
Had to make a small modification for it to work:
```
cache_file_names = {k: f'tokenized_and_grouped_{str(k)}.arrow' for k in tokenized_datasets}
``` | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 31 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
Managed to get `cache_file_names` working and caching works well with it
Had to make a small modification for it to work:
```
cache_file_names = {k: f'tokenized_and_grouped_{str(k)}.arrow' for k in tokenized_datasets}
``` | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Another comment on `cache_file_names`, it doesn't save the produced cached files in the dataset's cache folder, it requires to give a path to an existing directory for it to work.
I can confirm that this is how it works in `datasets==1.1.3` | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 41 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
Another comment on `cache_file_names`, it doesn't save the produced cached files in the dataset's cache folder, it requires to give a path to an existing directory for it to work.
I can confirm that this is how it works in `datasets==1.1.3` | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Oh yes indeed ! Maybe we need to update the docstring to mention that it is a path | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 18 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
Oh yes indeed ! Maybe we need to update the docstring to mention that it is a path | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | I upgraded to the latest version and I encountered some strange behaviour, the script I posted in the OP doesn't trigger recalculation, however, if I add the following change it does trigger partial recalculation, I am not sure if its something wrong on my machine or a bug:
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
# CHANGE
print('hello')
# CHANGE
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
...
```
I am using datasets in the `run_mlm.py` script in the transformers examples and I found that if I change the script without touching any of the preprocessing. it still triggers recalculation which is very weird
Edit: accidently clicked the close issue button | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 136 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
I upgraded to the latest version and I encountered some strange behaviour, the script I posted in the OP doesn't trigger recalculation, however, if I add the following change it does trigger partial recalculation, I am not sure if its something wrong on my machine or a bug:
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
# CHANGE
print('hello')
# CHANGE
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
...
```
I am using datasets in the `run_mlm.py` script in the transformers examples and I found that if I change the script without touching any of the preprocessing. it still triggers recalculation which is very weird
Edit: accidently clicked the close issue button | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | This is because the `group_texts` line definition changes (it is defined 3 lines later than in the previous call). Currently if a function is moved elsewhere in a script we consider it to be different.
Not sure this is actually a good idea to keep this behavior though. We had this as a security in the early development of the lib but now the recursive hashing of objects is robust so we can probably remove that.
Moreover we're already ignoring the line definition for lambda functions. | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 86 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
This is because the `group_texts` line definition changes (it is defined 3 lines later than in the previous call). Currently if a function is moved elsewhere in a script we consider it to be different.
Not sure this is actually a good idea to keep this behavior though. We had this as a security in the early development of the lib but now the recursive hashing of objects is robust so we can probably remove that.
Moreover we're already ignoring the line definition for lambda functions. | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Sounds great, thank you for your quick responses and help! Looking forward for the next release. | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 16 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
Sounds great, thank you for your quick responses and help! Looking forward for the next release. | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | I am having a similar issue where only the grouped files are loaded from cache while the tokenized ones aren't. I can confirm both datasets are being stored to file, but only the grouped version is loaded from cache. Not sure what might be going on. But I've tried to remove all kinds of non deterministic behaviour, but still no luck. Thanks for the help!
```python
# Datasets
train = sorted(glob(args.data_dir + '*.{}'.format(args.ext)))
if args.dev_split >= len(train):
raise ValueError("Not enough dev files")
dev = []
state = random.Random(1001)
for _ in range(args.dev_split):
dev.append(train.pop(state.randint(0, len(train) - 1)))
max_seq_length = min(args.max_seq_length, tokenizer.model_max_length)
def tokenize_function(examples):
return tokenizer(examples['text'], return_special_tokens_mask=True)
def group_texts(examples):
# Concatenate all texts from our dataset and generate chunks of max_seq_length
concatenated_examples = {k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# Truncate (not implementing padding)
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_seq_length
result = {
k: [t[i : i + max_seq_length] for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
datasets = load_dataset(
'text', name='DBNL', data_files={'train': train[:10], 'dev': dev[:5]},
cache_dir=args.data_cache_dir)
datasets = datasets.map(tokenize_function,
batched=True, remove_columns=['text'],
cache_file_names={k: os.path.join(args.data_cache_dir, f'{k}-tokenized') for k in datasets},
load_from_cache_file=not args.overwrite_cache)
datasets = datasets.map(group_texts,
batched=True,
cache_file_names={k: os.path.join(args.data_cache_dir, f'{k}-grouped') for k in datasets},
load_from_cache_file=not args.overwrite_cache)
```
And this is the log
```
04/26/2021 10:26:59 - WARNING - datasets.builder - Using custom data configuration DBNL-f8d988ad33ccf2c1
04/26/2021 10:26:59 - WARNING - datasets.builder - Reusing dataset text (/home/manjavacasema/data/.cache/text/DBNL-f8d988ad33ccf2c1/0.0.0/e16f44aa1b321ece1f87b07977cc5d70be93d69b20486d6dacd62e12cf25c9a5)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 21.07ba/s]
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40/40 [00:01<00:00, 24.28ba/s]
04/26/2021 10:27:01 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/manjavacasema/data/.cache/train-grouped
04/26/2021 10:27:01 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/manjavacasema/data/.cache/dev-grouped
```
| Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 274 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
I am having a similar issue where only the grouped files are loaded from cache while the tokenized ones aren't. I can confirm both datasets are being stored to file, but only the grouped version is loaded from cache. Not sure what might be going on. But I've tried to remove all kinds of non deterministic behaviour, but still no luck. Thanks for the help!
```python
# Datasets
train = sorted(glob(args.data_dir + '*.{}'.format(args.ext)))
if args.dev_split >= len(train):
raise ValueError("Not enough dev files")
dev = []
state = random.Random(1001)
for _ in range(args.dev_split):
dev.append(train.pop(state.randint(0, len(train) - 1)))
max_seq_length = min(args.max_seq_length, tokenizer.model_max_length)
def tokenize_function(examples):
return tokenizer(examples['text'], return_special_tokens_mask=True)
def group_texts(examples):
# Concatenate all texts from our dataset and generate chunks of max_seq_length
concatenated_examples = {k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# Truncate (not implementing padding)
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_seq_length
result = {
k: [t[i : i + max_seq_length] for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
datasets = load_dataset(
'text', name='DBNL', data_files={'train': train[:10], 'dev': dev[:5]},
cache_dir=args.data_cache_dir)
datasets = datasets.map(tokenize_function,
batched=True, remove_columns=['text'],
cache_file_names={k: os.path.join(args.data_cache_dir, f'{k}-tokenized') for k in datasets},
load_from_cache_file=not args.overwrite_cache)
datasets = datasets.map(group_texts,
batched=True,
cache_file_names={k: os.path.join(args.data_cache_dir, f'{k}-grouped') for k in datasets},
load_from_cache_file=not args.overwrite_cache)
```
And this is the log
```
04/26/2021 10:26:59 - WARNING - datasets.builder - Using custom data configuration DBNL-f8d988ad33ccf2c1
04/26/2021 10:26:59 - WARNING - datasets.builder - Reusing dataset text (/home/manjavacasema/data/.cache/text/DBNL-f8d988ad33ccf2c1/0.0.0/e16f44aa1b321ece1f87b07977cc5d70be93d69b20486d6dacd62e12cf25c9a5)
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 21.07ba/s]
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 40/40 [00:01<00:00, 24.28ba/s]
04/26/2021 10:27:01 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/manjavacasema/data/.cache/train-grouped
04/26/2021 10:27:01 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /home/manjavacasema/data/.cache/dev-grouped
```
| [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | This error happened to me too, when I tried to supply my own fingerprint to `map()` via the `new_fingerprint` arg.
Edit: realized it was because my path was weird and had colons and brackets and slashes in it, since one of the variable values I included in the fingerprint was a dataset split like "train[:10%]". I fixed it with [this solution](https://stackoverflow.com/a/13593932/2287177) from StackOverflow to just remove those invalid characters from the fingerprint. | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 72 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
This error happened to me too, when I tried to supply my own fingerprint to `map()` via the `new_fingerprint` arg.
Edit: realized it was because my path was weird and had colons and brackets and slashes in it, since one of the variable values I included in the fingerprint was a dataset split like "train[:10%]". I fixed it with [this solution](https://stackoverflow.com/a/13593932/2287177) from StackOverflow to just remove those invalid characters from the fingerprint. | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1718 | Possible cache miss in datasets | Good catch @jxmorris12, maybe we should do additional checks on the valid characters for fingerprints ! Would you like to contribute this ?
I think this can be added here, when we set the fingerprint(s) that are passed `map`:
https://github.com/huggingface/datasets/blob/25bb7c9cbf519fbbf9abf3898083b529e7762705/src/datasets/fingerprint.py#L449-L454
maybe something like
```python
if kwargs.get(fingerprint_name) is None:
...
else:
# In this case, it's the user who specified the fingerprint manually:
# we need to make sure it's a valid hash
validate_fingerprint(kwargs[fingerprint_name])
```
Otherwise I can open a PR later | Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
``` | 81 | Possible cache miss in datasets
Hi,
I am using the datasets package and even though I run the same data processing functions, datasets always recomputes the function instead of using cache.
I have attached an example script that for me reproduces the problem.
In the attached example the second map function always recomputes instead of loading from cache.
Is this a bug or am I doing something wrong?
Is there a way for fix this and avoid all the recomputation?
Thanks
Edit:
transformers==3.5.1
datasets==1.2.0
```
from datasets import load_dataset
from transformers import AutoTokenizer
datasets = load_dataset('wikitext', 'wikitext-103-raw-v1')
tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased', use_fast=True)
column_names = datasets["train"].column_names
text_column_name = "text" if "text" in column_names else column_names[0]
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = datasets.map(
tokenize_function,
batched=True,
num_proc=60,
remove_columns=[text_column_name],
load_from_cache_file=True,
)
max_seq_length = tokenizer.model_max_length
def group_texts(examples):
# Concatenate all texts.
concatenated_examples = {
k: sum(examples[k], []) for k in examples.keys()}
total_length = len(concatenated_examples[list(examples.keys())[0]])
# We drop the small remainder, we could add padding if the model supported it instead of this drop, you can
# customize this part to your needs.
total_length = (total_length // max_seq_length) * max_seq_length
# Split by chunks of max_len.
result = {
k: [t[i: i + max_seq_length]
for i in range(0, total_length, max_seq_length)]
for k, t in concatenated_examples.items()
}
return result
tokenized_datasets = tokenized_datasets.map(
group_texts,
batched=True,
num_proc=60,
load_from_cache_file=True,
)
print(tokenized_datasets)
print('finished')
```
Good catch @jxmorris12, maybe we should do additional checks on the valid characters for fingerprints ! Would you like to contribute this ?
I think this can be added here, when we set the fingerprint(s) that are passed `map`:
https://github.com/huggingface/datasets/blob/25bb7c9cbf519fbbf9abf3898083b529e7762705/src/datasets/fingerprint.py#L449-L454
maybe something like
```python
if kwargs.get(fingerprint_name) is None:
...
else:
# In this case, it's the user who specified the fingerprint manually:
# we need to make sure it's a valid hash
validate_fingerprint(kwargs[fingerprint_name])
```
Otherwise I can open a PR later | [
-0.1930394023656845,
0.12105374038219452,
0.050095248967409134,
0.1900932639837265,
0.007696922868490219,
0.03692144900560379,
-0.01685516908764839,
0.23034963011741638,
0.016733132302761078,
-0.10844314098358154,
0.10299845039844513,
0.413970947265625,
0.22491183876991272,
-0.11172356456518173,
-0.0011101188138127327,
0.24461327493190765,
0.3074612617492676,
0.321693480014801,
-0.15339963138103485,
-0.20887573063373566,
-0.2891755700111389,
0.1171124130487442,
-0.3328203558921814,
-0.09242895245552063,
-0.4170501232147217,
0.21232818067073822,
-0.016877412796020508,
-0.42083945870399475,
0.11226044595241547,
-0.2555869221687317,
0.31771576404571533,
0.08582814037799835,
0.19921903312206268,
0.5570235848426819,
-0.0001258203265024349,
-0.26760193705558777,
0.3540959358215332,
-0.06947364658117294,
-0.20524738729000092,
0.0768212303519249,
-0.28447726368904114,
0.03804396837949753,
-0.11269332468509674,
0.02336762100458145,
0.05843932181596756,
0.05870933458209038,
0.03796643763780594,
-0.6514906287193298,
0.30602002143859863,
0.16291099786758423,
0.10259267687797546,
0.03327612578868866,
-0.09534278512001038,
0.23457954823970795,
0.05020251125097275,
-0.012025609612464905,
-0.03874371200799942,
-0.3330448865890503,
0.1630382537841797,
-0.3523215353488922,
0.06214688718318939,
0.5163401961326599,
-0.1757437139749527,
-0.14190299808979034,
0.3870680034160614,
-0.01178042870014906,
0.017935067415237427,
-0.26469922065734863,
0.30206063389778137,
-0.06447026878595352,
0.5929016470909119,
-0.37321287393569946,
-0.4453589916229248,
-0.22181564569473267,
-0.21839673817157745,
-0.17971153557300568,
0.3478955924510956,
-0.28142252564430237,
0.11512409150600433,
0.13677746057510376,
-0.5952913761138916,
-0.3717094659805298,
0.2665030062198639,
0.12685060501098633,
-0.01260356605052948,
0.1188291534781456,
-0.044264040887355804,
0.12759661674499512,
-0.2583600878715515,
0.030563432723283768,
0.2786931097507477,
-0.5107077956199646,
-0.020411554723978043,
0.47618064284324646,
-0.45737606287002563,
-0.11419861018657684,
-0.08139578253030777,
0.04445798695087433,
0.031320638954639435,
0.2521775960922241,
-0.10786915570497513,
0.08482848852872849,
-0.10457614809274673,
-0.02482779324054718,
0.17180079221725464,
0.3819049596786499,
0.15994861721992493,
0.39592763781547546,
-0.04663246124982834,
-0.25722140073776245,
-0.43615180253982544,
-0.14235123991966248,
0.10151086747646332,
0.062316641211509705,
0.5376327633857727,
0.029199130833148956,
-0.2670719027519226,
-0.15271921455860138,
0.13509218394756317,
0.11047397553920746,
-0.11315079778432846,
-0.15427204966545105,
0.020687172189354897,
0.18612295389175415,
-0.21872060000896454,
0.5657742023468018,
-0.04890258237719536,
0.011322397738695145,
-0.2269071340560913,
-0.07549604773521423,
-0.25205275416374207,
-0.1949414759874344,
-0.27974164485931396,
0.42401161789894104,
0.10798071324825287,
-0.008757829666137695,
0.1931641399860382,
0.11374574154615402,
0.1412910670042038,
-0.24853017926216125,
0.2450803518295288,
-0.19523479044437408,
0.144688680768013,
0.031340040266513824,
-0.12242676317691803,
0.5588544011116028,
0.023827524855732918,
0.08207157254219055,
-0.057829998433589935,
0.27935081720352173,
-0.3909226655960083,
-0.003249749541282654,
0.2678506374359131,
0.07660117000341415,
-0.10498781502246857,
-0.05132707208395004,
-0.13654568791389465,
-0.04772765561938286,
0.6230661273002625,
-0.3534027934074402,
0.0028586089611053467,
-0.13695460557937622,
-0.2181597352027893,
-0.35522371530532837,
0.19640253484249115,
0.41514384746551514,
-0.22030109167099,
-0.12714388966560364,
-0.289249062538147,
0.4262259900569916,
0.3456280827522278,
0.19041192531585693,
-0.09975989907979965,
0.22389647364616394,
-0.24362389743328094,
0.25334644317626953,
0.3463943302631378,
-0.32641273736953735,
-0.7522768974304199,
-0.06231849268078804,
0.239553764462471,
0.213823601603508,
-0.26414963603019714,
0.009118248708546162,
0.05857639014720917,
0.022012921050190926,
-0.047306135296821594,
0.12475945800542831,
0.07109463214874268,
0.04794081300497055,
-0.19342032074928284,
-0.3237837255001068,
0.3307865262031555,
-0.15344859659671783,
0.3734346032142639,
0.2039109766483307,
-0.2786329686641693,
-0.06542874872684479,
0.18977896869182587,
-0.07331234216690063,
0.20456761121749878,
0.21111199259757996,
0.08593937754631042,
0.09632939100265503,
0.342536985874176,
-0.14452604949474335,
-0.2208450436592102,
0.23616036772727966,
-0.007497534155845642,
-0.4080512523651123,
0.05238121747970581,
-0.06938184052705765,
0.034210700541734695,
-0.17514359951019287,
-0.23687191307544708,
-0.25076737999916077,
0.04695959389209747,
0.29829302430152893,
0.2158329337835312,
0.04932558164000511,
-0.06285586208105087,
0.43469834327697754,
0.22479616105556488,
-0.04744846373796463,
-0.13699771463871002,
0.23143784701824188,
0.13785377144813538,
-0.07235319912433624,
-0.26225584745407104,
-0.007788866758346558,
0.3865087032318115,
0.2050783485174179,
-0.1728082299232483,
0.1999230682849884,
0.28214338421821594,
0.1305398792028427,
-0.158086359500885,
0.0377754271030426,
-0.09649813920259476,
0.07604537904262543,
-0.1803528368473053,
0.018961284309625626,
0.09124215692281723,
-0.20247340202331543,
0.33896976709365845,
-0.09822461009025574,
0.04353908821940422,
0.17285221815109253,
-0.17387205362319946,
-0.1164962649345398,
-0.019416235387325287,
-0.05754157900810242,
0.12157205492258072,
-0.2605113387107849,
-0.126773402094841,
-0.10074318945407867,
0.4018779695034027,
0.14799988269805908,
0.31708723306655884,
0.14310526847839355,
0.5319440960884094,
0.16380417346954346,
0.07024980336427689,
-0.0754963681101799,
-0.5950464606285095,
-0.15330544114112854,
0.042068373411893845,
0.10673356056213379,
0.4031662940979004,
0.014068489894270897,
0.13723498582839966,
-0.10653508454561234,
0.12623322010040283,
0.05367323011159897,
0.0839906632900238,
0.051574669778347015,
0.0034559404011815786,
0.16232848167419434,
0.081917405128479,
0.12391859292984009,
-0.1544848084449768,
0.37395501136779785,
0.2223694771528244,
0.02240820974111557,
-0.12013368308544159,
-0.004783112555742264,
-0.46146610379219055,
0.2616468071937561,
-0.009415262378752232,
-0.1877421885728836,
-0.10895432531833649,
-0.32404041290283203,
-0.029371459037065506,
0.17503364384174347,
0.2323504388332367,
0.17026513814926147,
-0.1067742109298706,
0.16378939151763916,
-0.09658589214086533,
-0.06340830773115158,
-0.28617241978645325,
-0.04422632232308388,
-0.35160258412361145,
-0.10436877608299255,
0.027629412710666656,
-0.33324316143989563,
0.10926918685436249,
-0.19780009984970093,
0.04487726464867592,
-0.3304951786994934,
-0.24961358308792114,
0.06872544437646866,
0.14242121577262878,
-0.19136150181293488,
-0.14549624919891357,
-0.1331455409526825,
-0.34062278270721436,
-0.07776162773370743,
0.10528514534235,
-0.37550339102745056,
-0.058996036648750305,
-0.19424280524253845,
0.2268974632024765,
-0.07328362762928009,
0.06139068678021431,
-0.09878122061491013,
0.04506288096308708,
0.052356865257024765,
-0.09228028357028961,
-0.12052011489868164,
-0.09919606149196625,
-0.10735145956277847,
-0.17789490520954132,
-0.14736859500408173,
-0.2940424978733063,
-0.12250354886054993,
-0.5240328907966614,
-0.2998071312904358,
0.5365320444107056,
-0.12470071762800217,
-0.0793023407459259,
-0.10533588379621506,
-0.029494162648916245,
0.30539798736572266,
0.4665104150772095,
-0.5257648825645447,
-0.06458006054162979,
-0.20277522504329681,
-0.18987223505973816,
-0.14755558967590332,
0.3041585683822632,
0.3952639400959015,
0.1911328136920929,
0.1284651905298233,
-0.4285719692707062,
-0.20330150425434113,
0.020705439150333405,
0.0011003948748111725,
0.4422146677970886,
-0.03273080661892891,
0.20218226313591003,
-0.08188976347446442,
0.8030892014503479,
0.6181526184082031,
-0.2177957445383072,
0.23084533214569092,
0.11477889865636826,
0.32558000087738037,
-0.1409277319908142,
-0.19788818061351776,
-0.13673190772533417,
-0.3422306776046753,
0.09499265998601913,
0.18335074186325073,
0.142525315284729,
-0.31204643845558167,
-0.1570543795824051,
0.09193016588687897,
-0.31127098202705383,
-0.32971325516700745,
-0.08052331209182739,
-0.24852994084358215,
0.3068062961101532,
0.35108381509780884,
0.31411013007164,
-0.7173703908920288,
-0.12203880399465561,
0.2528287470340729,
-0.21448330581188202,
0.46897855401039124,
0.11479678004980087,
-0.21096183359622955,
-0.13886399567127228,
-0.34431925415992737,
0.32094529271125793,
0.22757068276405334,
0.36690184473991394,
0.21778355538845062,
0.017415806651115417,
-0.15085797011852264,
0.10885736346244812,
0.4315703511238098,
-0.797660231590271,
-0.3380013108253479,
-0.11149266362190247,
-0.05547420680522919,
-0.02103225514292717,
-0.040601663291454315,
0.3510415256023407,
0.2257119119167328,
0.04129999503493309,
0.27441978454589844,
0.03855305165052414,
0.007580136880278587,
-0.3233853578567505,
0.1729339361190796,
-0.23463459312915802,
-0.315233439207077,
-0.098659947514534,
0.2701250910758972,
-0.0900598019361496,
-0.299642413854599,
0.02863387204706669,
-0.16891874372959137,
0.057423390448093414,
-0.1737731546163559,
-0.3051753044128418,
0.05799717456102371,
0.10664770752191544,
0.02927403151988983,
0.5556049346923828,
-0.028238842263817787,
0.32085147500038147,
0.17601749300956726,
0.01832883059978485,
0.07111639529466629,
0.28077012300491333,
-0.14288832247257233,
-0.23373693227767944,
-0.08970558643341064,
-0.0923268273472786,
0.25708937644958496,
-0.03196313977241516,
-0.20561088621616364,
-0.0013513043522834778,
-0.2553194761276245,
0.02588401734828949,
-0.21138545870780945,
0.1346881240606308,
0.36525070667266846,
0.35973498225212097,
-0.44072461128234863,
-0.470525324344635,
0.17312729358673096,
0.27375105023384094,
-0.18334750831127167,
0.5526423454284668,
-0.08299610018730164,
-0.23014990985393524,
0.15582223236560822,
0.044628243893384933,
1.001776933670044,
0.029243111610412598,
0.09188685566186905,
-0.2499907910823822,
0.05647767335176468,
0.665012538433075,
-0.37294620275497437,
0.3306763172149658,
-0.2858807444572449,
-0.21053078770637512,
-0.18871089816093445,
-0.22684410214424133,
-0.08356232196092606,
0.29171207547187805,
-0.1994393914937973,
0.4963090121746063,
0.054051369428634644,
0.5679222941398621,
0.22493834793567657,
0.07031896710395813,
0.19062402844429016,
-0.11996699869632721,
0.2616659998893738,
0.07315434515476227,
0.17532485723495483,
0.3935566544532776,
-0.09098922461271286,
0.11189163476228714,
0.09074938297271729,
-0.0987970232963562,
-0.2807956039905548,
0.10617519170045853,
-0.36558932065963745,
0.25313082337379456,
-0.05055755749344826,
0.1743299812078476,
0.1004234254360199,
0.35758092999458313,
0.5060387253761292,
0.20821262896060944,
-0.18855242431163788,
0.13585583865642548,
0.15580807626247406,
0.26170462369918823,
-0.14115531742572784,
-0.22638337314128876,
0.028073914349079132,
0.0002941526472568512,
-0.2079174518585205,
-0.0109657421708107,
0.032626938074827194,
-0.41422951221466064,
-0.3528568148612976,
-0.027026019990444183,
0.32272326946258545,
-0.2036619335412979,
0.07059140503406525,
0.18813082575798035,
0.06304837763309479,
-0.043756358325481415,
0.038056641817092896,
-0.022182412445545197,
0.07383960485458374,
0.5688580274581909,
-0.27172353863716125,
-0.13928785920143127,
-0.013238951563835144,
0.45977967977523804,
0.3361433446407318,
-0.17775312066078186,
0.5680012702941895,
-0.22002443671226501,
-0.24020378291606903,
-0.04722209274768829,
-0.47986167669296265,
0.058401238173246384,
-0.31489890813827515,
-0.0378468818962574,
-0.39666905999183655,
0.06053106486797333,
0.14067131280899048,
-0.05752215161919594,
-0.03074570745229721,
-0.19937872886657715,
-0.12169589102268219,
-0.22992074489593506,
-0.20371484756469727,
0.04219556227326393,
0.04360330104827881,
0.1631631702184677,
0.22557616233825684,
0.06447021663188934,
-0.04053080081939697,
0.41898566484451294,
-0.15359529852867126,
0.04440252482891083,
0.15070044994354248,
0.12219603359699249,
-0.21099010109901428,
-0.08776373416185379,
-0.05869193747639656,
-0.10460877418518066,
-0.11376243829727173,
0.3114510774612427,
-0.0639021024107933,
-0.05216682329773903,
0.09888529777526855,
0.20194372534751892,
0.20774739980697632,
-0.023915084078907967,
-0.04570297524333,
-0.018330495804548264,
0.07870107889175415,
-0.36523598432540894,
0.09146976470947266,
0.0596851110458374,
-0.022996895015239716,
0.23533840477466583,
0.3357805013656616,
-0.08331219106912613,
-0.27876710891723633,
0.15750256180763245,
-0.06761035323143005,
0.049658894538879395,
-0.0292313601821661,
0.2691749334335327,
0.36366838216781616,
0.019829675555229187,
-0.08000404387712479,
-0.02918047457933426,
0.11315590888261795,
0.03275606036186218,
0.3520659804344177,
-0.4142051935195923,
0.017141584306955338,
0.26187196373939514,
-0.09399982541799545,
0.3780740797519684,
-0.12554849684238434,
-0.35121968388557434,
0.28936779499053955,
0.11027268320322037,
-0.26774224638938904,
-0.3457252085208893,
0.28659358620643616,
0.09862259775400162,
-0.1312384009361267,
0.08572715520858765,
0.03362016752362251,
-0.1756943166255951,
0.3264605402946472,
0.10745025426149368,
0.40467262268066406,
-0.43510377407073975,
0.35029491782188416,
0.2615405321121216,
0.2842254936695099,
0.1460161656141281,
0.17856794595718384,
0.21875378489494324,
-0.23821234703063965,
0.16903185844421387,
0.11954755336046219,
0.26268303394317627,
0.15095365047454834,
-0.08613406121730804,
0.06701484322547913,
-0.2940179407596588,
-0.01994400843977928,
0.32583972811698914,
-0.10453623533248901,
0.3778478801250458,
-0.056528910994529724,
-0.12614905834197998,
0.18448011577129364,
-0.06482283025979996,
-0.28930357098579407,
0.1713651716709137,
-0.2577168345451355,
-0.13739392161369324,
0.2168835699558258,
-0.16063392162322998,
-0.01986144855618477,
-0.14446206390857697,
0.1380322426557541,
0.001731187105178833,
0.5208860039710999,
0.01909250020980835,
-0.15047666430473328,
-0.11493946611881256,
-0.2739802598953247,
0.18267440795898438,
0.5745247602462769,
-0.1868022084236145,
0.09266486018896103,
-0.2138553112745285,
-0.02391425520181656,
-0.09012362360954285,
0.3141934871673584,
0.17926907539367676,
0.402706503868103,
-0.14731615781784058,
0.08058758080005646,
0.2573627829551697,
0.09969541430473328,
-0.036729197949171066,
0.4875112473964691,
-0.17633214592933655,
-0.39671364426612854,
0.05217156931757927,
0.0690329298377037,
-0.03182871639728546,
-0.15987764298915863,
-0.2711256742477417,
0.3679019510746002,
-0.4220823645591736,
0.3023277819156647,
-0.09546412527561188,
0.07348094135522842,
-0.06744948774576187,
0.1810983121395111,
-0.32214003801345825,
0.19769354164600372,
0.5176385641098022,
-0.11355520784854889,
0.10175707936286926,
-0.2707715928554535,
0.028198491781949997,
-0.04055841639637947,
0.28504499793052673,
0.43473362922668457,
-0.25262534618377686,
-0.20765435695648193,
-0.2799322307109833,
-0.4617502987384796,
0.37353917956352234,
-0.14974698424339294,
0.28673601150512695,
0.02398608811199665,
0.10445909947156906,
-0.051985375583171844,
-0.04917214810848236,
0.3006148934364319,
0.14575953781604767,
-0.22798731923103333,
0.3076719343662262,
-0.34711581468582153,
-0.040594879537820816,
-0.3000040650367737,
0.006750956177711487,
0.1716317981481552,
-0.3455073833465576,
0.44448983669281006,
0.19556106626987457,
0.027293607592582703,
-0.023399174213409424,
0.06782655417919159,
0.219131201505661,
-0.061096981167793274,
0.5450428128242493,
0.34657689929008484,
0.23694062232971191,
-0.020932724699378014,
-0.093421570956707,
-0.094954714179039,
-0.02100486122071743,
-0.12074251472949982,
0.047012653201818466,
-0.12103527784347534,
0.08204230666160583,
-0.47389400005340576,
0.06515857577323914,
-0.3022509813308716,
-0.19563710689544678,
0.2856241464614868,
-0.0026546355802565813,
-0.1738126426935196,
-0.15563960373401642,
-0.06103745847940445,
0.1276528686285019,
0.16681985557079315,
0.4713113605976105,
-0.22909924387931824,
0.40365171432495117,
-0.2490561157464981,
-0.19765415787696838,
0.33298853039741516,
-0.6163411140441895,
-0.45502904057502747,
-0.22393573820590973,
0.13753286004066467,
0.11766371130943298,
-0.3350001871585846,
-0.6715465784072876,
-0.18104377388954163,
0.31741300225257874,
0.08836832642555237,
-0.0337376669049263,
0.1405458301305771,
0.04440922662615776,
0.24838759005069733,
-0.1456892043352127,
0.5623002052307129,
0.055050984025001526,
0.02951611392199993,
0.22771504521369934,
-0.1859031617641449
] |
https://github.com/huggingface/datasets/issues/1717 | SciFact dataset - minor changes | Hi Dave,
You are more than welcome to open a PR to make these changes! 🤗
You will find the relevant information about opening a PR in the [contributing guide](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md) and in the [dataset addition guide](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Pinging also @lhoestq for the Google cloud matter. | Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
Thanks,
Dave | 44 | SciFact dataset - minor changes
Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
Thanks,
Dave
Hi Dave,
You are more than welcome to open a PR to make these changes! 🤗
You will find the relevant information about opening a PR in the [contributing guide](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md) and in the [dataset addition guide](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Pinging also @lhoestq for the Google cloud matter. | [
0.15889349579811096,
-0.1973486691713333,
-0.06765355169773102,
0.1470399796962738,
0.14846569299697876,
-0.1071610152721405,
-0.20455016195774078,
-0.04013628885149956,
0.08734148740768433,
-0.09037883579730988,
-0.08218374848365784,
0.015894949436187744,
-0.008539034985005856,
0.4948688745498657,
0.13954047858715057,
-0.24667033553123474,
0.2298513948917389,
-0.0996815413236618,
-0.026662513613700867,
-0.2833098769187927,
-0.05613633617758751,
0.2272370606660843,
0.10436855256557465,
-0.18677450716495514,
-0.07000580430030823,
-0.24883127212524414,
-0.30255138874053955,
0.32533347606658936,
-0.40198737382888794,
-0.3336293399333954,
-0.009046686813235283,
0.437446266412735,
0.015300368890166283,
0.35178595781326294,
-0.00011061632540076971,
-0.15750278532505035,
0.32564061880111694,
-0.0009353533387184143,
-0.20851416885852814,
-0.11260659992694855,
-0.16208390891551971,
-0.09640931338071823,
0.021825838834047318,
0.07152024656534195,
-0.07105785608291626,
-0.07618839293718338,
-0.14830704033374786,
-0.12420134991407394,
0.3208518624305725,
0.0993054211139679,
0.2183047980070114,
0.23325151205062866,
0.1796122044324875,
-0.20709004998207092,
-0.05115360766649246,
0.291259229183197,
-0.04738237336277962,
0.3453982472419739,
0.167458638548851,
0.3302259147167206,
0.02569928765296936,
0.46530139446258545,
-0.038863543421030045,
-0.178909569978714,
0.6320386528968811,
0.02137296088039875,
-0.37619733810424805,
-0.4856013357639313,
0.14863719046115875,
0.2742679715156555,
0.5723048448562622,
-0.3517037332057953,
-0.6798821687698364,
-0.20793920755386353,
0.21444648504257202,
-0.0735691636800766,
-0.012221932411193848,
0.31618067622184753,
0.03813808783888817,
0.05118895694613457,
0.07103022933006287,
-0.46680864691734314,
-0.30956727266311646,
-0.14198608696460724,
0.06204717606306076,
0.09055934846401215,
-0.1406489908695221,
0.00510658323764801,
0.11248186975717545,
-0.05005902051925659,
-0.06964683532714844,
-0.23054715991020203,
-0.10120786726474762,
0.11050567030906677,
-0.0996389389038086,
-0.2565584182739258,
-0.21765977144241333,
0.29765212535858154,
0.018659692257642746,
0.3842715620994568,
0.08018442243337631,
-0.006823506206274033,
-0.20273232460021973,
-0.0759955570101738,
0.3264209032058716,
-0.0812571793794632,
0.027838990092277527,
0.14254266023635864,
0.2957102954387665,
0.18147283792495728,
0.41260722279548645,
-0.14151054620742798,
0.17160151898860931,
-0.15217897295951843,
-0.4780348241329193,
-0.15354087948799133,
0.17300580441951752,
-0.18358588218688965,
0.1002778634428978,
-0.0033968910574913025,
0.18500125408172607,
-0.18528999388217926,
-0.12254365533590317,
0.22183465957641602,
-0.1419370472431183,
-0.02476334199309349,
-0.0591181218624115,
0.16480831801891327,
0.08598820865154266,
-0.23178793489933014,
-0.2415516972541809,
0.15704168379306793,
0.24643570184707642,
0.16840925812721252,
0.09720145165920258,
0.043922603130340576,
0.3302314579486847,
-0.04166610911488533,
0.12208984792232513,
0.18692561984062195,
0.05194840580224991,
0.059201035648584366,
-0.10779295116662979,
0.3586030900478363,
-0.04189889505505562,
0.19052746891975403,
0.0802963525056839,
0.10389919579029083,
-0.3220553994178772,
0.05917777121067047,
0.04099391773343086,
-0.13178707659244537,
-0.4527028799057007,
0.18836383521556854,
-0.3185080885887146,
-0.3556966185569763,
-0.17261159420013428,
0.17866438627243042,
-0.24162918329238892,
0.008096404373645782,
0.2086091935634613,
0.07573478668928146,
-0.08612483739852905,
-0.20844444632530212,
0.3299955427646637,
0.5944768190383911,
-0.16107963025569916,
-0.09997409582138062,
-0.2164888232946396,
-0.13431845605373383,
-0.04171223193407059,
0.21092486381530762,
-0.0506250336766243,
0.05588778108358383,
-0.020484937354922295,
0.10245436429977417,
0.010112285614013672,
-0.35007089376449585,
-0.26029422879219055,
-0.0468183234333992,
-0.15360763669013977,
-0.03538709506392479,
0.07909384369850159,
0.18062281608581543,
-0.10739459842443466,
-0.0908079445362091,
-0.035952575504779816,
0.03086717799305916,
0.000520654022693634,
-0.08524452894926071,
-0.3125622868537903,
-0.3891198933124542,
0.026063552126288414,
0.014306742697954178,
-0.0739082545042038,
0.34700217843055725,
0.16222919523715973,
-0.2902589440345764,
0.25839176774024963,
-0.17020393908023834,
-0.0315408930182457,
0.4124394655227661,
0.5787876844406128,
0.07000662386417389,
0.015052055940032005,
0.04331759363412857,
-0.4493981599807739,
0.08136911690235138,
-0.21383622288703918,
0.38237708806991577,
-0.2618274688720703,
-0.3103589415550232,
-0.4002995193004608,
-0.01864188350737095,
0.150038480758667,
-0.47431477904319763,
0.08419540524482727,
-0.13550013303756714,
0.28012245893478394,
0.11533349752426147,
-0.13895052671432495,
0.29920509457588196,
0.0006328094750642776,
0.21379700303077698,
-0.4291975498199463,
0.1492035686969757,
-0.09507953375577927,
-0.021358337253332138,
0.36907637119293213,
0.2145184576511383,
0.11851532757282257,
-0.13792027533054352,
0.025446191430091858,
0.5660966634750366,
-0.06930044293403625,
0.44410818815231323,
0.5638936758041382,
0.4257848560810089,
0.347258597612381,
-0.010771576315164566,
0.272982120513916,
-0.11934617161750793,
0.061352431774139404,
0.030492983758449554,
-0.5344088673591614,
0.37124401330947876,
-0.21149776875972748,
0.15662109851837158,
0.1573423147201538,
0.2463969886302948,
0.06298672407865524,
0.22652098536491394,
-0.2491348385810852,
-0.003995291888713837,
-0.13616730272769928,
0.10068242251873016,
0.23121659457683563,
0.04165535047650337,
-0.5127973556518555,
0.22482749819755554,
0.02375079318881035,
-0.22644443809986115,
-0.22227901220321655,
0.32702475786209106,
-0.4630303978919983,
-0.16366049647331238,
0.4058666229248047,
0.34806159138679504,
0.10470083355903625,
0.22727122902870178,
-0.010911945253610611,
0.1717861443758011,
0.25240591168403625,
-0.12329784035682678,
0.3218126595020294,
0.20352661609649658,
-0.19048818945884705,
-0.25538820028305054,
0.1692812293767929,
0.2428087443113327,
-0.22870102524757385,
0.04554053023457527,
-0.1582135111093521,
0.15123732388019562,
-0.2233811765909195,
-0.08054803311824799,
0.06929301470518112,
-0.4180278182029724,
-0.2562137246131897,
0.12397829443216324,
-0.4829687476158142,
-0.3185683786869049,
-0.13712961971759796,
0.06162072718143463,
-0.10556186735630035,
0.06788545846939087,
-0.024174045771360397,
0.3342972695827484,
-0.15433171391487122,
-0.040444716811180115,
-0.27643489837646484,
-0.06945465505123138,
-0.04030047357082367,
0.09620137512683868,
0.11969427764415741,
0.12546490132808685,
0.42615532875061035,
-0.09772894531488419,
0.1262940913438797,
-0.48635333776474,
-0.5364238023757935,
0.043192505836486816,
-0.14060956239700317,
0.35860803723335266,
0.1961202323436737,
0.31005892157554626,
-0.09805308282375336,
0.0648045539855957,
0.05518708750605583,
-0.15142109990119934,
0.015915950760245323,
-0.3629387617111206,
-0.1526404172182083,
-0.03999621793627739,
-0.015328273177146912,
-0.29277294874191284,
-0.16027817130088806,
-0.0898769199848175,
0.5506942868232727,
0.09373797476291656,
0.05648360773921013,
0.20592407882213593,
0.11698819696903229,
-0.09037715941667557,
-0.1289120465517044,
-0.07482035458087921,
-0.10091016441583633,
-0.35350146889686584,
0.3189159035682678,
-0.15540747344493866,
-0.47751304507255554,
0.02847050502896309,
0.17396296560764313,
0.1253257840871811,
-0.28894132375717163,
-0.3194073438644409,
-0.3141017258167267,
-0.43867433071136475,
0.13854248821735382,
0.1424364298582077,
0.3768016993999481,
0.3760669231414795,
-0.023670120164752007,
-0.14282850921154022,
-0.09600552916526794,
-0.42816585302352905,
-0.2592426538467407,
0.23070001602172852,
0.11899158358573914,
-0.18175047636032104,
-0.2812540829181671,
-0.027971073985099792,
0.9298334121704102,
0.04009666666388512,
-0.0338752381503582,
-0.09564469754695892,
-0.12998460233211517,
0.2708820700645447,
0.02019985020160675,
-0.3125041127204895,
0.3370895981788635,
-0.17424118518829346,
0.09798312932252884,
0.3018556237220764,
0.24312588572502136,
0.3818458914756775,
-0.0008534640073776245,
0.06434288620948792,
-0.39050889015197754,
-0.19640246033668518,
-0.16413243114948273,
0.011052913963794708,
0.10590793937444687,
0.16316048800945282,
-0.14770342409610748,
-0.24933797121047974,
-0.0688699334859848,
0.1690116673707962,
0.3093600273132324,
0.1812087893486023,
0.08564174920320511,
-0.31475892663002014,
0.03459276631474495,
-0.6594234108924866,
0.3933963179588318,
-0.1651836484670639,
-0.18264783918857574,
-0.04258190095424652,
-0.07539723813533783,
0.13122311234474182,
0.06514279544353485,
0.621966540813446,
-0.2234705686569214,
-0.21876506507396698,
-0.011955451220273972,
-0.007946908473968506,
-0.2581506073474884,
0.1627410650253296,
-0.11359268426895142,
0.09287860989570618,
0.478525847196579,
0.22147873044013977,
-0.2654499411582947,
-0.31110095977783203,
0.11954997479915619,
0.11839402467012405,
0.09165622293949127,
0.23319478332996368,
-0.10354174673557281,
-0.29007330536842346,
-0.14474286139011383,
-0.2621452808380127,
-0.01687128096818924,
-0.03686829283833504,
-0.10002127289772034,
0.19030608236789703,
0.13508272171020508,
0.0020785685628652573,
0.22890658676624298,
0.04609766975045204,
0.2442634105682373,
0.1829410046339035,
-0.0046510715037584305,
0.3893857002258301,
0.09681309759616852,
0.12807412445545197,
0.4356868863105774,
-0.12518152594566345,
-0.2630378007888794,
-0.04097919166088104,
-0.09783464670181274,
0.21725505590438843,
0.3517824113368988,
0.0537206195294857,
0.08562464267015457,
0.4536275267601013,
0.34002602100372314,
-0.2403528392314911,
0.28150397539138794,
0.05276866257190704,
0.03257905691862106,
-0.2642410397529602,
-0.4618488550186157,
0.5030102133750916,
0.3260628879070282,
-0.37012577056884766,
0.2631378769874573,
0.5139731764793396,
-0.05657670646905899,
0.0787326991558075,
0.24330657720565796,
1.0592780113220215,
-0.24372853338718414,
0.1810193657875061,
0.06641951203346252,
-0.5193050503730774,
0.7468008995056152,
-0.07982032001018524,
0.0026949886232614517,
-0.27658578753471375,
-0.06612192094326019,
-0.031587641686201096,
0.015807967633008957,
0.3336232006549835,
-0.19078172743320465,
-0.22129109501838684,
0.3060905933380127,
0.08671292662620544,
-0.09218622744083405,
0.13334247469902039,
0.6834869384765625,
-0.06376830488443375,
-0.24514451622962952,
0.028884243220090866,
0.15437671542167664,
0.06770539283752441,
0.27336210012435913,
-0.04693419113755226,
-0.3334121108055115,
-0.30332666635513306,
-0.2784080505371094,
-0.42365092039108276,
-0.13758417963981628,
-0.35815170407295227,
-0.3926290273666382,
0.14990471303462982,
-0.4280257225036621,
0.22727817296981812,
0.39374226331710815,
0.4124482274055481,
0.01803152821958065,
-0.3948335647583008,
0.3754688799381256,
-0.24193871021270752,
0.022324848920106888,
0.10059775412082672,
0.07642880827188492,
-0.0017415191978216171,
-0.08215438574552536,
-0.07301938533782959,
-0.20726937055587769,
-0.059310004115104675,
-0.05203831195831299,
-0.2748449444770813,
-0.27324312925338745,
-0.19146054983139038,
-0.21421197056770325,
0.11767785251140594,
-0.019068419933319092,
-0.02999575436115265,
-0.30942878127098083,
0.1417073905467987,
0.08123759925365448,
0.1857292801141739,
-0.09103205054998398,
0.20000135898590088,
0.004773631691932678,
-0.2591330409049988,
0.3890469968318939,
0.09517256915569305,
-0.2510611414909363,
0.33861038088798523,
0.22458450496196747,
0.08972546458244324,
-0.27865663170814514,
-0.2519180476665497,
-0.34400293231010437,
-0.4056320786476135,
0.20005998015403748,
-0.040425390005111694,
-0.046334028244018555,
-0.30482175946235657,
0.42110562324523926,
0.16482926905155182,
0.11003659665584564,
0.22154538333415985,
-0.1731855273246765,
-0.10479535907506943,
0.18884867429733276,
-0.255790114402771,
0.1407644897699356,
-0.16454726457595825,
0.21943600475788116,
-0.01773740164935589,
0.08333078771829605,
-0.36775535345077515,
0.08208803087472916,
0.0823846161365509,
-0.22989341616630554,
0.39810100197792053,
0.013068381696939468,
0.29367437958717346,
-0.37726524472236633,
0.09880980849266052,
-0.25231969356536865,
-0.1576172262430191,
-0.13312233984470367,
-0.1655603051185608,
0.1214984729886055,
-0.07293092459440231,
-0.11028651148080826,
-0.024581845849752426,
0.17274396121501923,
-0.05783405527472496,
0.03352542966604233,
0.21651394665241241,
0.13905096054077148,
0.0039023905992507935,
0.14068125188350677,
-0.36087799072265625,
0.2295105755329132,
-0.06584824621677399,
-0.1927146315574646,
0.15961921215057373,
0.14564159512519836,
0.2425498217344284,
0.12283187359571457,
0.0370226688683033,
-0.0413627102971077,
0.18821877241134644,
0.18952956795692444,
0.016870498657226562,
0.01665785163640976,
0.31144770979881287,
0.052984289824962616,
-0.21447132527828217,
0.25770172476768494,
0.48605039715766907,
0.027836889028549194,
-0.17350541055202484,
-0.07486686110496521,
0.1374053657054901,
0.21628034114837646,
-0.19057677686214447,
0.05821659788489342,
0.06521739065647125,
-0.02557428553700447,
-0.03864561766386032,
0.29754480719566345,
0.38833874464035034,
0.12564153969287872,
-0.03529053181409836,
0.161250501871109,
0.4712632894515991,
0.016463393345475197,
0.49307316541671753,
-0.06572356820106506,
-0.015901431441307068,
-0.06779898703098297,
0.26399606466293335,
0.34751108288764954,
-0.05134537070989609,
-0.0434783473610878,
0.12197577953338623,
-0.061115436255931854,
-0.11851338297128677,
0.08737386763095856,
0.010692916810512543,
-0.27022692561149597,
0.4897191524505615,
0.18187440931797028,
0.13253434002399445,
0.0878741443157196,
-0.0756928026676178,
0.6670545935630798,
-0.10761839896440506,
-0.2506597340106964,
-0.12326973676681519,
0.16988162696361542,
0.23414456844329834,
-0.12495929002761841,
0.03932330012321472,
-0.23669055104255676,
0.17753881216049194,
-0.05991588532924652,
0.025424975901842117,
-0.2656185030937195,
0.29267317056655884,
-0.1754809319972992,
-0.19497497379779816,
-0.5111839175224304,
-0.10313840955495834,
0.02413049340248108,
0.47654828429222107,
0.10109294950962067,
-0.00118199922144413,
0.09683901816606522,
-0.2140398919582367,
0.1716049611568451,
0.3321954905986786,
0.3361045718193054,
-0.006827153265476227,
-0.04730420187115669,
0.2766433656215668,
-0.09357032179832458,
-0.08333402872085571,
0.24413233995437622,
-0.013774115592241287,
0.15231791138648987,
-0.001272585242986679,
0.15861977636814117,
0.17501762509346008,
-0.08636684715747833,
0.0936163067817688,
-0.06896728277206421,
0.43853339552879333,
-0.3567751348018646,
0.29803940653800964,
-0.30269649624824524,
-0.3025602102279663,
-0.015362236648797989,
0.015418797731399536,
-0.290040522813797,
-0.021105512976646423,
-0.19279538094997406,
-0.055119723081588745,
0.0292358361184597,
-0.11502810567617416,
0.08895229548215866,
0.12017135322093964,
0.4455469846725464,
0.4420098662376404,
0.1910865306854248,
-0.12136892229318619,
-0.22471202909946442,
-0.35871174931526184,
-0.22660306096076965,
0.14075928926467896,
-0.030728382989764214,
-0.04118746891617775,
-0.003549845889210701,
0.0035217031836509705,
-0.10790355503559113,
-0.0036676526069641113,
-0.21202412247657776,
-0.3354954719543457,
-0.11284740269184113,
-0.151419997215271,
-0.011674311012029648,
-0.47057443857192993,
0.17535708844661713,
0.13980957865715027,
0.20952779054641724,
0.09976401925086975,
-0.06927529722452164,
0.004973035305738449,
-0.10921265184879303,
0.17801304161548615,
-0.015484748408198357,
-0.21244052052497864,
0.32472583651542664,
0.2799309492111206,
0.153998464345932,
-0.11003842204809189,
-0.40777823328971863,
-0.15918070077896118,
-0.1423753947019577,
-0.28617438673973083,
0.2387039065361023,
-0.09795679152011871,
0.4708802402019501,
0.08859806507825851,
-0.4300311803817749,
-0.30810970067977905,
0.4030497074127197,
0.22427035868167877,
-0.11819355934858322,
-0.3933401107788086,
0.3088781535625458,
0.01921037584543228,
-0.05556492507457733,
0.05423864349722862,
0.10773946344852448,
-0.0422651469707489,
0.04869963228702545,
-0.37873905897140503,
-0.21906493604183197,
0.6983257532119751,
-0.2918163537979126,
0.027556221932172775,
0.046120621263980865,
0.3747471868991852,
-0.06571126729249954,
-0.11710622161626816,
-0.6519765853881836,
0.20626908540725708,
0.1633518785238266,
0.13097284734249115,
-0.21182161569595337,
0.2152029126882553,
-0.10695518553256989,
-0.2190627157688141,
-0.03844401612877846,
0.6719526052474976,
-0.14423319697380066,
-0.25238728523254395,
0.05403927341103554,
-0.10742828249931335
] |
https://github.com/huggingface/datasets/issues/1717 | SciFact dataset - minor changes | > I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
Sure ! Also feel free to ping us for reviews or if we can help :)
> It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
What makes you think that ?
Afaik there's no scifact on our google storage
| Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
Thanks,
Dave | 91 | SciFact dataset - minor changes
Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
Thanks,
Dave
> I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
Sure ! Also feel free to ping us for reviews or if we can help :)
> It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
What makes you think that ?
Afaik there's no scifact on our google storage
| [
0.1750962883234024,
-0.1627209186553955,
-0.1382710486650467,
0.16952311992645264,
0.17160175740718842,
-0.1054837703704834,
-0.01071905717253685,
0.03397069871425629,
0.21871837973594666,
0.04157564789056778,
-0.17465099692344666,
0.02215505950152874,
-0.0037151603028178215,
0.515471875667572,
0.16618235409259796,
-0.22118905186653137,
0.20494088530540466,
-0.14982753992080688,
-0.1490773856639862,
-0.30850839614868164,
-0.0934293195605278,
0.2177196890115738,
0.11056056618690491,
-0.19857566058635712,
-0.05389990285038948,
-0.14655032753944397,
-0.2876535654067993,
0.3299086093902588,
-0.341083288192749,
-0.2185068130493164,
0.005986174568533897,
0.2872893810272217,
-0.021382346749305725,
0.31501996517181396,
-0.00010204501450061798,
-0.10800746083259583,
0.3075104355812073,
-0.07063182443380356,
-0.21629586815834045,
-0.026465430855751038,
-0.10624045133590698,
-0.04360008239746094,
0.04157585650682449,
0.0017974525690078735,
-0.10290707647800446,
0.06010765582323074,
-0.07514048367738724,
-0.23099148273468018,
0.3554612994194031,
-0.031992107629776,
0.3132331669330597,
0.11853784322738647,
0.0779162049293518,
-0.17766980826854706,
0.07264405488967896,
0.28870147466659546,
-0.1335160881280899,
0.20084653794765472,
0.1898791640996933,
0.3068336844444275,
-0.1447356641292572,
0.6204873919487,
-0.021644752472639084,
-0.1450500637292862,
0.5957461595535278,
-0.03180847689509392,
-0.31596633791923523,
-0.4047899842262268,
0.14081542193889618,
0.308187872171402,
0.44572827219963074,
-0.25460007786750793,
-0.6352859735488892,
-0.22743383049964905,
0.114357590675354,
-0.10832661390304565,
-0.018452562391757965,
0.2890632748603821,
0.06861665844917297,
0.053512051701545715,
0.024359095841646194,
-0.45252275466918945,
-0.350742369890213,
-0.10817559063434601,
-0.047114357352256775,
0.10832753032445908,
-0.16574721038341522,
-0.044096775352954865,
0.0918247252702713,
-0.0021018721163272858,
-0.08410091698169708,
-0.18227165937423706,
-0.052944328635931015,
0.09496014565229416,
-0.18667513132095337,
-0.25853461027145386,
-0.15158405900001526,
0.2619607150554657,
0.05087970197200775,
0.36236274242401123,
0.15479068458080292,
0.082107312977314,
-0.11969961225986481,
-0.11578758805990219,
0.2962261140346527,
-0.036673568189144135,
0.023039735853672028,
0.015871454030275345,
0.2667607069015503,
0.060267265886068344,
0.3479250371456146,
-0.09178032726049423,
0.1576177030801773,
-0.13087360560894012,
-0.5323854684829712,
-0.16898778080940247,
0.06563560664653778,
-0.17061291635036469,
-0.01318107359111309,
-0.03496813774108887,
0.15276914834976196,
-0.13248738646507263,
-0.10009872168302536,
0.29382163286209106,
-0.09781593829393387,
-0.029558077454566956,
-0.05761061608791351,
0.21879856288433075,
0.0609583780169487,
-0.2394992560148239,
-0.33419016003608704,
0.20261870324611664,
0.19005674123764038,
0.082717165350914,
0.14758984744548798,
0.03908441215753555,
0.27589741349220276,
-0.08575741946697235,
0.021523550152778625,
0.23377391695976257,
0.13757221400737762,
-0.05560489743947983,
-0.02100040763616562,
0.38444629311561584,
-0.009799981489777565,
0.10583660751581192,
0.05180080235004425,
0.12024514377117157,
-0.29563209414482117,
-0.04098759591579437,
0.041621752083301544,
-0.11079075932502747,
-0.45230838656425476,
0.26385825872421265,
-0.3114069700241089,
-0.33106788992881775,
-0.191293865442276,
0.16484980285167694,
-0.18096527457237244,
0.062451135367155075,
0.11148800700902939,
0.1220204159617424,
-0.12122495472431183,
-0.2155524641275406,
0.22292648255825043,
0.4181409478187561,
-0.19548474252223969,
-0.18826737999916077,
-0.31584882736206055,
-0.15116052329540253,
0.014215320348739624,
0.21075962483882904,
0.046255890280008316,
0.025888711214065552,
-0.13774017989635468,
0.1400979459285736,
-0.0074028149247169495,
-0.302145779132843,
-0.2463248372077942,
0.04083146154880524,
-0.10639341175556183,
0.034238338470458984,
0.11060012131929398,
0.1690254807472229,
0.009778362698853016,
-0.03501537814736366,
-0.031087808310985565,
0.1615835577249527,
0.00884222611784935,
-0.07146234065294266,
-0.27663591504096985,
-0.4907865524291992,
0.0404328927397728,
0.026018470525741577,
0.06335378438234329,
0.15100963413715363,
0.18202157318592072,
-0.28561732172966003,
0.30232495069503784,
-0.19261038303375244,
-0.018312036991119385,
0.40994536876678467,
0.5346344113349915,
0.04295581206679344,
0.029597386717796326,
0.03176690638065338,
-0.5193306803703308,
0.14758378267288208,
-0.2187061756849289,
0.40713629126548767,
-0.28947025537490845,
-0.24361741542816162,
-0.26908570528030396,
-0.054145775735378265,
0.058800242841243744,
-0.4067017436027527,
0.20997968316078186,
-0.11518967151641846,
0.2097761631011963,
0.07880954444408417,
-0.04939041659235954,
0.29610705375671387,
0.0036830436438322067,
0.20468881726264954,
-0.43476593494415283,
0.19596630334854126,
-0.13531415164470673,
0.017451506108045578,
0.292926162481308,
0.15855133533477783,
0.07956547290086746,
-0.15011511743068695,
0.0340367890894413,
0.5016912221908569,
-0.029541408643126488,
0.4781923294067383,
0.5027616024017334,
0.3911728262901306,
0.40867239236831665,
-0.010706104338169098,
0.25042808055877686,
-0.032482780516147614,
0.02464563399553299,
-0.057297687977552414,
-0.49101224541664124,
0.2947304844856262,
-0.10370892286300659,
0.16604448854923248,
0.1834678202867508,
0.29791098833084106,
0.09810015559196472,
0.20082592964172363,
-0.2598775625228882,
-0.15616729855537415,
-0.09910613298416138,
0.08653850853443146,
0.20875364542007446,
0.05037905275821686,
-0.413637638092041,
0.29150596261024475,
0.07739631831645966,
-0.2357574701309204,
-0.09064451605081558,
0.2380048930644989,
-0.4635382890701294,
-0.24745109677314758,
0.425098717212677,
0.30640706419944763,
0.04934580624103546,
0.3404065668582916,
0.06353583186864853,
0.049497101455926895,
0.18914856016635895,
-0.15886925160884857,
0.401777446269989,
0.17434310913085938,
-0.03999580070376396,
-0.18245869874954224,
0.18185505270957947,
0.09836634993553162,
-0.3777606189250946,
-0.04503263533115387,
-0.2103865146636963,
0.07558458298444748,
-0.219305619597435,
-0.11370759457349777,
0.0073694828897714615,
-0.35833248496055603,
-0.13707344233989716,
0.09206700325012207,
-0.4101579189300537,
-0.4434778094291687,
-0.050721704959869385,
0.0759967640042305,
-0.24820691347122192,
0.03820598125457764,
-0.14084109663963318,
0.3447825312614441,
-0.032177411019802094,
0.004300398752093315,
-0.3078269362449646,
-0.08551950007677078,
0.003364160656929016,
0.19744694232940674,
0.14335159957408905,
0.11193473637104034,
0.4356262683868408,
-0.0864042267203331,
0.1355852633714676,
-0.4129347801208496,
-0.6301936507225037,
0.17478704452514648,
-0.20317360758781433,
0.35508689284324646,
0.22588369250297546,
0.2690945863723755,
-0.04626357927918434,
0.02705051749944687,
-0.01657378301024437,
-0.17914558947086334,
-0.040911540389060974,
-0.30506137013435364,
-0.149948388338089,
0.03508080542087555,
-0.08468149602413177,
-0.2805574834346771,
-0.16903381049633026,
-0.06375839561223984,
0.48559826612472534,
0.09596991539001465,
0.14874666929244995,
0.234414741396904,
0.1089550331234932,
-0.026642195880413055,
-0.10864438116550446,
0.011763577349483967,
-0.23093760013580322,
-0.3808625638484955,
0.2564820647239685,
-0.17072433233261108,
-0.45859992504119873,
-0.039109066128730774,
0.09076255559921265,
0.1902606338262558,
-0.24783150851726532,
-0.3297803997993469,
-0.207634836435318,
-0.4169567823410034,
0.09061425924301147,
0.11647416651248932,
0.2732016146183014,
0.3255665898323059,
0.006179551128298044,
-0.1889619082212448,
-0.13560408353805542,
-0.21094389259815216,
-0.14250707626342773,
0.18659991025924683,
0.09114599227905273,
-0.2945896089076996,
-0.35750165581703186,
0.08761721849441528,
0.8226944208145142,
-0.1608702838420868,
0.0603460930287838,
-0.11810415983200073,
-0.07386454194784164,
0.24429316818714142,
-0.019939035177230835,
-0.23848079144954681,
0.40083447098731995,
-0.21816778182983398,
0.0416642501950264,
0.28138113021850586,
0.24240559339523315,
0.2349337637424469,
0.03669518232345581,
0.15700560808181763,
-0.40960636734962463,
-0.1984178125858307,
-0.20515018701553345,
0.0737980380654335,
-0.016084283590316772,
0.1428355574607849,
-0.07530472427606583,
-0.10257452726364136,
-0.09528029710054398,
0.18166550993919373,
0.17020732164382935,
0.19589151442050934,
0.005495842080563307,
-0.29889968037605286,
0.02746797539293766,
-0.6712687015533447,
0.35660260915756226,
-0.1822199523448944,
-0.3079409897327423,
-0.04503069818019867,
-0.19912919402122498,
0.07337936758995056,
0.04785424843430519,
0.5412952303886414,
-0.1563112437725067,
-0.16679449379444122,
0.02073393389582634,
0.008411210030317307,
-0.36200758814811707,
0.16128496825695038,
-0.2475479394197464,
-0.022026177495718002,
0.500355064868927,
0.2489692121744156,
-0.16389112174510956,
-0.2980359196662903,
0.12684470415115356,
0.14875255525112152,
0.04038077965378761,
0.20642681419849396,
-0.03523901849985123,
-0.293926477432251,
-0.1500554084777832,
-0.2607954740524292,
-0.04508563503623009,
-0.008286407217383385,
-0.1854827105998993,
0.11894591152667999,
0.11849579215049744,
-0.01910921186208725,
0.2695918083190918,
0.013016130775213242,
0.2740364968776703,
0.058206383138895035,
0.014729522168636322,
0.3183833956718445,
0.22546027600765228,
0.10261938720941544,
0.4502180516719818,
-0.03420941159129143,
-0.12152270972728729,
0.06153082475066185,
-0.19341778755187988,
0.1519128680229187,
0.4016207754611969,
0.05329224094748497,
-0.03439217805862427,
0.2892882525920868,
0.27286872267723083,
-0.3131507635116577,
0.23365485668182373,
0.017141127958893776,
0.009943635202944279,
-0.1338873952627182,
-0.4116716980934143,
0.5648610591888428,
0.2755480706691742,
-0.33398205041885376,
0.2637113332748413,
0.45958101749420166,
-0.1668819785118103,
0.2503582835197449,
0.34320229291915894,
1.0519455671310425,
-0.18231619894504547,
0.19156615436077118,
0.27231359481811523,
-0.39750367403030396,
0.5669387578964233,
-0.1354917585849762,
0.12016833573579788,
-0.2444372922182083,
-0.11132955551147461,
-0.019898343831300735,
0.029467087239027023,
0.2397436797618866,
-0.06759278476238251,
-0.18366768956184387,
0.2452341467142105,
0.06359709799289703,
-0.07497191429138184,
0.048510968685150146,
0.529637336730957,
-0.18103641271591187,
-0.2435668706893921,
0.10272064059972763,
0.2484961450099945,
0.1063237339258194,
0.24014447629451752,
-0.048295941203832626,
-0.2501688003540039,
-0.21913021802902222,
-0.21069876849651337,
-0.3076815903186798,
-0.04654856026172638,
-0.31810128688812256,
-0.16967831552028656,
0.008106626570224762,
-0.37849628925323486,
0.06511783599853516,
0.2864223122596741,
0.3279697895050049,
0.012787364423274994,
-0.3710664212703705,
0.29808509349823,
-0.13204669952392578,
-0.005804978311061859,
0.1807524412870407,
0.11454608291387558,
0.10049118846654892,
-0.08662072569131851,
-0.07683354616165161,
-0.2526575028896332,
-0.02265707030892372,
-0.0901273638010025,
-0.2980685830116272,
-0.18589340150356293,
-0.2280789166688919,
-0.19899915158748627,
0.06389957666397095,
0.013801038265228271,
-0.09039019048213959,
-0.2950097322463989,
0.2060500681400299,
0.09224061667919159,
0.20220035314559937,
0.005708783864974976,
0.14397354423999786,
-0.10624020546674728,
-0.3203234374523163,
0.4124442934989929,
0.21024125814437866,
-0.23545598983764648,
0.33479899168014526,
0.2515662908554077,
0.01215897873044014,
-0.3820068836212158,
-0.1919417381286621,
-0.2965379059314728,
-0.30452507734298706,
0.230550616979599,
-0.13462452590465546,
-0.1379677802324295,
-0.3149486184120178,
0.42615562677383423,
0.12316029518842697,
0.10079150646924973,
0.14443925023078918,
-0.1644698828458786,
-0.06446044892072678,
0.3394777178764343,
-0.27320632338523865,
0.2789139747619629,
-0.1416912078857422,
0.16918550431728363,
-0.0875367671251297,
0.005595361813902855,
-0.47338059544563293,
0.08855296671390533,
0.11702428013086319,
-0.28361034393310547,
0.34473851323127747,
-0.02366725355386734,
0.28965646028518677,
-0.35830157995224,
0.21717694401741028,
-0.29099249839782715,
-0.16775748133659363,
-0.23916101455688477,
-0.08644402027130127,
0.07790398597717285,
-0.05982780456542969,
-0.07881323248147964,
0.04053772985935211,
0.18490587174892426,
-0.09282396733760834,
0.00879257544875145,
0.3291773498058319,
0.28939133882522583,
0.07510796934366226,
0.2261415272951126,
-0.4084891974925995,
0.1449999064207077,
0.10526871681213379,
-0.1523464173078537,
0.15493740141391754,
0.15195797383785248,
0.12982167303562164,
0.13770097494125366,
0.05834056809544563,
-0.060593754053115845,
0.23300951719284058,
0.19231882691383362,
-0.13661018013954163,
0.15162669122219086,
0.3314456045627594,
0.039477504789829254,
-0.19391310214996338,
0.31439098715782166,
0.42913979291915894,
-0.053707920014858246,
-0.16325341165065765,
-0.15344810485839844,
-0.018199367448687553,
0.35658568143844604,
-0.2972002923488617,
-0.08168520033359528,
-0.10468527674674988,
0.018793810158967972,
0.059388477355241776,
0.27916187047958374,
0.2986147999763489,
0.0432247519493103,
-0.01285611093044281,
0.21996769309043884,
0.43924927711486816,
0.028750866651535034,
0.4842641353607178,
-0.004122938960790634,
-0.09003344178199768,
-0.11075133085250854,
0.20437932014465332,
0.2356896549463272,
0.05027360841631889,
0.05562075600028038,
0.07248270511627197,
-0.05430427938699722,
-0.12269230931997299,
0.11646834015846252,
0.12265756726264954,
-0.24032428860664368,
0.3531135320663452,
0.265488862991333,
-0.04317517578601837,
0.1660892367362976,
-0.06416910886764526,
0.6414591073989868,
-0.12589192390441895,
-0.2579580843448639,
-0.13851997256278992,
0.1955433040857315,
0.14993396401405334,
-0.12868863344192505,
-0.002099905163049698,
-0.2624361217021942,
0.10952451825141907,
-0.0681488886475563,
-0.007744237780570984,
-0.26216256618499756,
0.2859225571155548,
-0.1656339019536972,
-0.1700383871793747,
-0.3744332790374756,
0.005364749580621719,
0.01918714866042137,
0.4165748655796051,
0.08137315511703491,
0.055862799286842346,
0.22203871607780457,
-0.14569661021232605,
0.14331604540348053,
0.33102527260780334,
0.2914966344833374,
-0.020554158836603165,
-0.10916785895824432,
0.14218954741954803,
-0.1004050076007843,
-0.1522553265094757,
0.09150482714176178,
-0.038296669721603394,
0.1382105052471161,
-0.09185989201068878,
0.3246214985847473,
0.24979913234710693,
-0.1418580710887909,
0.13872718811035156,
0.08316788822412491,
0.4113070070743561,
-0.22079998254776,
0.3107292354106903,
-0.24874603748321533,
-0.21012362837791443,
0.016669217497110367,
-0.046082787215709686,
-0.41957154870033264,
-0.1452142596244812,
-0.1362055391073227,
-0.09671428799629211,
0.10047608613967896,
-0.11050587147474289,
0.1494555026292801,
0.05615299567580223,
0.4306776821613312,
0.4445013999938965,
0.06643937528133392,
-0.085289865732193,
-0.19313368201255798,
-0.26949775218963623,
-0.23049411177635193,
0.0691065862774849,
0.050276897847652435,
-0.13498683273792267,
0.22316329181194305,
0.08941855281591415,
-0.06839004158973694,
0.07513705641031265,
-0.19295841455459595,
-0.36434170603752136,
-0.16951718926429749,
-0.23208428919315338,
0.050508469343185425,
-0.3001205325126648,
0.1985495239496231,
0.08231976628303528,
0.054489366710186005,
0.1448318064212799,
-0.15974551439285278,
0.08277904242277145,
-0.05868878960609436,
0.19427260756492615,
-0.046525947749614716,
-0.25980985164642334,
0.30935007333755493,
0.17889852821826935,
0.06176994740962982,
-0.20877009630203247,
-0.4297060966491699,
-0.1614365130662918,
-0.20235656201839447,
-0.25599777698516846,
0.2328844964504242,
-0.02714371308684349,
0.5041913986206055,
0.08602558821439743,
-0.3409912884235382,
-0.14156679809093475,
0.4344545900821686,
0.23167075216770172,
-0.114954374730587,
-0.47753965854644775,
0.35272401571273804,
-0.011172860860824585,
-0.04033643752336502,
-0.05794883146882057,
0.20952990651130676,
-0.09925654530525208,
0.04908953607082367,
-0.2914084792137146,
-0.3799436390399933,
0.6491059064865112,
-0.23039953410625458,
-0.04010247066617012,
-0.02369040995836258,
0.2893577814102173,
0.032320287078619,
0.002148119732737541,
-0.6299194693565369,
0.21459215879440308,
0.16571523249149323,
0.16490620374679565,
-0.139812633395195,
0.17875342071056366,
0.03409326821565628,
-0.1925085037946701,
-0.10097026824951172,
0.5130533576011658,
-0.018322963267564774,
-0.2909577488899231,
-0.03792019933462143,
-0.1867755949497223
] |
https://github.com/huggingface/datasets/issues/1717 | SciFact dataset - minor changes |
> > I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
>
> Sure ! Also feel free to ping us for reviews or if we can help :)
>
OK! We're organizing a [shared task](https://sdproc.org/2021/sharedtasks.html#sciver) based on the dataset, and I made some updates and changed the download URL - so the current code points to a dead URL. I'll update appropriately once the task is finalized and make a PR.
> > It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
>
> What makes you think that ?
> Afaik there's no scifact on our google storage
You're right, I had the data cached on my machine somewhere.
| Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
Thanks,
Dave | 152 | SciFact dataset - minor changes
Hi,
SciFact dataset creator here. First of all, thanks for adding the dataset to Huggingface, much appreciated!
I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
Thanks,
Dave
> > I'd like to make a few minor changes, including the citation information and the `_URL` from which to download the dataset. Can I submit a PR for this?
>
> Sure ! Also feel free to ping us for reviews or if we can help :)
>
OK! We're organizing a [shared task](https://sdproc.org/2021/sharedtasks.html#sciver) based on the dataset, and I made some updates and changed the download URL - so the current code points to a dead URL. I'll update appropriately once the task is finalized and make a PR.
> > It also looks like the dataset is being downloaded directly from Huggingface's Google cloud account rather than via the `_URL` in [scifact.py](https://github.com/huggingface/datasets/blob/master/datasets/scifact/scifact.py). Can you help me update the version on gcloud?
>
> What makes you think that ?
> Afaik there's no scifact on our google storage
You're right, I had the data cached on my machine somewhere.
| [
0.16592393815517426,
-0.1632084846496582,
-0.10141010582447052,
0.2528707981109619,
0.16676785051822662,
-0.11696124821901321,
-0.01176658645272255,
0.06558173894882202,
0.2560771107673645,
0.053932465612888336,
-0.15861570835113525,
0.03160109743475914,
0.022103747352957726,
0.42082446813583374,
0.1964266002178192,
-0.1602756530046463,
0.16908681392669678,
-0.19126614928245544,
-0.16925035417079926,
-0.2643747925758362,
-0.09588354080915451,
0.22508971393108368,
0.10938717424869537,
-0.23628340661525726,
-0.09884689748287201,
-0.12916113436222076,
-0.3391115963459015,
0.3356046974658966,
-0.24457870423793793,
-0.20941640436649323,
0.09592615067958832,
0.26445749402046204,
0.005523569881916046,
0.31049442291259766,
-0.00010090350406244397,
-0.10705237090587616,
0.3121141791343689,
-0.06702106446027756,
-0.26415368914604187,
0.013936668634414673,
-0.11895867437124252,
-0.03079254738986492,
0.03534344583749771,
-0.03418803960084915,
-0.14677470922470093,
0.09207532554864883,
-0.08427910506725311,
-0.30053454637527466,
0.35774463415145874,
-0.007656396366655827,
0.32155030965805054,
0.13904723525047302,
0.03387729451060295,
-0.10829801112413406,
0.024564970284700394,
0.20601578056812286,
-0.099937804043293,
0.21467886865139008,
0.179655522108078,
0.3415541350841522,
-0.1511782705783844,
0.624874472618103,
-0.013490580022335052,
-0.061541151255369186,
0.6073542833328247,
-0.002498340792953968,
-0.3729184567928314,
-0.3723895251750946,
0.1324511170387268,
0.2662906348705292,
0.44392481446266174,
-0.25536608695983887,
-0.5880434513092041,
-0.2767368257045746,
0.06779617816209793,
-0.11805368214845657,
0.08021920919418335,
0.220879927277565,
0.1082305908203125,
0.11055983603000641,
-0.0029322856571525335,
-0.37195470929145813,
-0.28124815225601196,
-0.09336844086647034,
-0.05729041248559952,
0.08833342790603638,
-0.23470886051654816,
-0.0069183409214019775,
-0.021921370178461075,
0.05059268698096275,
-0.0879136398434639,
-0.18712522089481354,
-0.05153980478644371,
0.0686974972486496,
-0.21707113087177277,
-0.22317811846733093,
-0.10663936287164688,
0.2603139877319336,
0.04734067618846893,
0.36776286363601685,
0.21382692456245422,
0.04271077364683151,
-0.10646191239356995,
-0.09911327809095383,
0.307183176279068,
0.060234230011701584,
-0.03344051539897919,
0.009523742832243443,
0.20982222259044647,
0.07120008021593094,
0.2411012351512909,
-0.11471451073884964,
0.14894555509090424,
-0.08091741055250168,
-0.4109897017478943,
-0.11424680799245834,
0.12765896320343018,
-0.21603333950042725,
-0.02069321647286415,
-0.030134014785289764,
0.16047877073287964,
-0.14871224761009216,
-0.10545799136161804,
0.29673007130622864,
-0.1989012509584427,
0.021017856895923615,
-0.06081263720989227,
0.1347530484199524,
0.027520501986145973,
-0.2565944194793701,
-0.35913994908332825,
0.13651901483535767,
0.1830500066280365,
0.16589106619358063,
0.1521867960691452,
0.026401234790682793,
0.2668237090110779,
-0.10018128901720047,
-0.058599233627319336,
0.09162437915802002,
0.19774262607097626,
-0.11099974811077118,
0.03471267968416214,
0.410737007856369,
0.02038402482867241,
0.16043198108673096,
0.10072607547044754,
0.13934437930583954,
-0.3201082646846771,
0.028254929929971695,
-0.03813997656106949,
-0.18324601650238037,
-0.35062721371650696,
0.2678080201148987,
-0.36602097749710083,
-0.32436996698379517,
-0.22458654642105103,
0.1378595232963562,
-0.07282502204179764,
0.054739829152822495,
0.10994845628738403,
0.07799438387155533,
-0.18059544265270233,
-0.232455313205719,
0.28966063261032104,
0.4897947311401367,
-0.15473578870296478,
-0.1970517635345459,
-0.3170630931854248,
-0.1309926062822342,
-0.013721108436584473,
0.22989298403263092,
0.01372078899294138,
0.08710242062807083,
-0.1730642020702362,
0.15071381628513336,
-0.07376839965581894,
-0.3053479790687561,
-0.3150308430194855,
0.03092728741466999,
-0.18640686571598053,
0.06801348924636841,
0.06838040053844452,
0.16496753692626953,
0.06058267503976822,
-0.11094636470079422,
0.005871474742889404,
0.21091006696224213,
0.022300925105810165,
-0.029438577592372894,
-0.3631426692008972,
-0.521873950958252,
0.0028262995183467865,
0.035595331341028214,
0.016077008098363876,
0.13262978196144104,
0.17740768194198608,
-0.25172001123428345,
0.24855080246925354,
-0.13640692830085754,
0.025525035336613655,
0.47756826877593994,
0.4186934530735016,
0.09622497856616974,
0.014295630156993866,
0.022513046860694885,
-0.5479567646980286,
0.1748359501361847,
-0.17049720883369446,
0.2987992763519287,
-0.21260608732700348,
-0.2755690813064575,
-0.2794927656650543,
-0.07678411900997162,
0.009192008525133133,
-0.45570048689842224,
0.20264245569705963,
-0.039611637592315674,
0.25553542375564575,
0.04746807739138603,
-0.05614597722887993,
0.42102038860321045,
-0.0011727381497621536,
0.15125390887260437,
-0.4600061774253845,
0.21110908687114716,
-0.1266431361436844,
-0.0034926580265164375,
0.2701086103916168,
0.1262536495923996,
0.12482557445764542,
-0.12921233475208282,
0.016234109178185463,
0.5227887630462646,
-0.04536374658346176,
0.4940943717956543,
0.4585261940956116,
0.35185953974723816,
0.33674317598342896,
-0.04838995635509491,
0.30756136775016785,
0.04827839881181717,
0.06407102197408676,
-0.03261597827076912,
-0.4407792389392853,
0.3130383789539337,
-0.14688213169574738,
0.15974736213684082,
0.17604762315750122,
0.24208760261535645,
0.09940743446350098,
0.14705483615398407,
-0.2510010302066803,
-0.1514701545238495,
-0.05453826114535332,
0.08682313561439514,
0.18155743181705475,
0.13769878447055817,
-0.4012313783168793,
0.3901750445365906,
0.18002958595752716,
-0.17998823523521423,
-0.07277261465787888,
0.25976186990737915,
-0.488336443901062,
-0.28884875774383545,
0.37664222717285156,
0.3128047287464142,
0.10281812399625778,
0.3079312741756439,
0.09666826575994492,
0.05932607501745224,
0.18948227167129517,
-0.1529342085123062,
0.3611399531364441,
0.12560226023197174,
0.001381325302645564,
-0.20547327399253845,
0.1876896768808365,
0.14874309301376343,
-0.28987523913383484,
-0.001274343580007553,
-0.14622315764427185,
0.06508209556341171,
-0.2821893095970154,
-0.028302328661084175,
-0.0673035979270935,
-0.3323262333869934,
-0.204574316740036,
0.14345403015613556,
-0.41087692975997925,
-0.4312402009963989,
-0.0501125231385231,
0.06960010528564453,
-0.23412616550922394,
0.010077230632305145,
-0.1702442765235901,
0.34443414211273193,
-0.08424980193376541,
-0.08887968957424164,
-0.31085002422332764,
-0.11667593568563461,
-0.07302418351173401,
0.1652178317308426,
0.12396043539047241,
0.12233291566371918,
0.44486039876937866,
-0.11311617493629456,
0.11817459762096405,
-0.39816737174987793,
-0.539910614490509,
0.11041560024023056,
-0.17318955063819885,
0.36967456340789795,
0.08539019525051117,
0.2747529149055481,
-0.06526684015989304,
-0.01635691709816456,
0.01843845471739769,
-0.2034551203250885,
-0.042291928082704544,
-0.31412482261657715,
-0.07594872266054153,
0.09652531147003174,
-0.08527819812297821,
-0.3394375741481781,
-0.17580920457839966,
-0.08716942369937897,
0.469740629196167,
0.11299195885658264,
0.15229612588882446,
0.23507589101791382,
0.09476544708013535,
0.01543488074094057,
-0.12389138340950012,
-0.021145252510905266,
-0.3138516843318939,
-0.4614567756652832,
0.23334936797618866,
-0.13573674857616425,
-0.44350722432136536,
-0.029107829555869102,
0.0915529653429985,
0.17810393869876862,
-0.22615960240364075,
-0.3716217279434204,
-0.2547498643398285,
-0.4176289439201355,
0.09938900172710419,
0.14672595262527466,
0.16829104721546173,
0.419836163520813,
-0.048039231449365616,
-0.20373384654521942,
-0.13063199818134308,
-0.22967679798603058,
-0.06896495074033737,
0.15449592471122742,
0.12452688813209534,
-0.24861985445022583,
-0.32275375723838806,
0.11434437334537506,
0.9150559902191162,
-0.1271842122077942,
0.033303506672382355,
-0.038428813219070435,
-0.003431316465139389,
0.2881447970867157,
-0.054304830729961395,
-0.18766120076179504,
0.4380381405353546,
-0.23774391412734985,
-0.013957297429442406,
0.2795518636703491,
0.2706630825996399,
0.22900788486003876,
0.00039829686284065247,
0.06203167513012886,
-0.45522651076316833,
-0.2427370548248291,
-0.14211754500865936,
0.05537872388958931,
0.010233201086521149,
0.19229361414909363,
-0.09752097725868225,
-0.12007363140583038,
-0.16998371481895447,
0.16814838349819183,
0.2204689085483551,
0.2204892635345459,
0.061126645654439926,
-0.29555973410606384,
0.038102686405181885,
-0.6430659890174866,
0.3647664189338684,
-0.18194441497325897,
-0.23964723944664001,
-0.10972802340984344,
-0.20548588037490845,
0.11550875008106232,
-0.030319109559059143,
0.5701808929443359,
-0.15146461129188538,
-0.07344655692577362,
0.013719137758016586,
-0.02910158783197403,
-0.3352384567260742,
0.14642846584320068,
-0.16879472136497498,
-0.058175522834062576,
0.4786727726459503,
0.19870531558990479,
-0.16542385518550873,
-0.2544856667518616,
0.08978525549173355,
0.17460349202156067,
-0.0013531632721424103,
0.23432856798171997,
-0.08819140493869781,
-0.37384358048439026,
-0.17297135293483734,
-0.2486252784729004,
-0.0005543828010559082,
-0.07441412657499313,
-0.18334320187568665,
0.14328652620315552,
0.040320079773664474,
0.016845688223838806,
0.16937075555324554,
-0.0254957377910614,
0.292974591255188,
0.05883358418941498,
0.08622834086418152,
0.3918728232383728,
0.21549905836582184,
0.06291002780199051,
0.4492221474647522,
-0.03860035166144371,
-0.08048743009567261,
0.07850895076990128,
-0.15237198770046234,
0.07217997312545776,
0.4211021661758423,
0.04375166445970535,
-0.03888728469610214,
0.3254598379135132,
0.23814627528190613,
-0.33178475499153137,
0.2668030858039856,
-0.03109108842909336,
0.05077209696173668,
-0.12068606913089752,
-0.4809463322162628,
0.531793475151062,
0.3323584794998169,
-0.3395457863807678,
0.3411291539669037,
0.33440184593200684,
-0.17513170838356018,
0.17916584014892578,
0.3307555615901947,
1.1044718027114868,
-0.23962534964084625,
0.2183927744626999,
0.27138862013816833,
-0.36751699447631836,
0.5915099382400513,
-0.15889716148376465,
0.12155352532863617,
-0.2350538969039917,
-0.1532122939825058,
-0.01782100461423397,
0.02886323258280754,
0.22043541073799133,
-0.1250162571668625,
-0.17212547361850739,
0.295315682888031,
0.02364397794008255,
-0.05867186561226845,
0.06111691892147064,
0.5449420213699341,
-0.2023492157459259,
-0.23325972259044647,
0.030331991612911224,
0.27920812368392944,
0.024679597467184067,
0.3005768358707428,
-0.04896445944905281,
-0.1885952353477478,
-0.2500043511390686,
-0.16837263107299805,
-0.2956949472427368,
0.022244848310947418,
-0.29253384470939636,
-0.16541174054145813,
-0.034094344824552536,
-0.3455652594566345,
-0.03268367052078247,
0.28271666169166565,
0.3265955448150635,
0.011117774993181229,
-0.36776408553123474,
0.36162298917770386,
-0.1643996238708496,
0.049118731170892715,
0.23890353739261627,
0.049826133996248245,
0.2165530025959015,
-0.07734448462724686,
-0.05852244049310684,
-0.2473367154598236,
-0.0336187407374382,
-0.11776861548423767,
-0.2782149612903595,
-0.14539575576782227,
-0.18034811317920685,
-0.19174180924892426,
0.0384255088865757,
0.01675860583782196,
-0.08608625829219818,
-0.28525203466415405,
0.21134339272975922,
0.10218839347362518,
0.20834067463874817,
0.000963844358921051,
0.0876169353723526,
-0.15392188727855682,
-0.3013569712638855,
0.4673444926738739,
0.19775304198265076,
-0.19469435513019562,
0.3502906262874603,
0.2066468447446823,
0.0243973545730114,
-0.35062578320503235,
-0.1857435405254364,
-0.31867486238479614,
-0.34796229004859924,
0.2132839560508728,
-0.18858398497104645,
-0.08669465035200119,
-0.29874366521835327,
0.44826894998550415,
0.10461018234491348,
0.07589207589626312,
0.11900676786899567,
-0.21712596714496613,
-0.05842331051826477,
0.2973366379737854,
-0.2570817768573761,
0.20738808810710907,
-0.07031900435686111,
0.1772552728652954,
-0.04773055762052536,
0.010926826857030392,
-0.4741082489490509,
0.11446404457092285,
0.017137153074145317,
-0.23852545022964478,
0.35693779587745667,
-0.07191348820924759,
0.36549970507621765,
-0.3403913974761963,
0.19268499314785004,
-0.237571582198143,
-0.16103705763816833,
-0.2635546326637268,
-0.11178693175315857,
0.0725865289568901,
-0.06225106865167618,
-0.08501666784286499,
-0.0649639368057251,
0.07516749203205109,
-0.02959362044930458,
-0.0352814681828022,
0.27824845910072327,
0.26399633288383484,
0.08750715851783752,
0.12050947546958923,
-0.43456679582595825,
0.15509232878684998,
0.06516844779253006,
-0.08557568490505219,
0.06992369890213013,
0.14932000637054443,
0.05386955663561821,
0.12946292757987976,
0.024077225476503372,
-0.010343961417675018,
0.16732361912727356,
0.12166673690080643,
-0.08647041022777557,
0.159672811627388,
0.37951332330703735,
0.013469554483890533,
-0.20885199308395386,
0.24684511125087738,
0.418621689081192,
-0.050296373665332794,
-0.1933387666940689,
-0.21124427020549774,
-0.0423816442489624,
0.35104241967201233,
-0.18979550898075104,
0.01182083785533905,
-0.07554389536380768,
0.016623862087726593,
0.02035544440150261,
0.2811971604824066,
0.2679561674594879,
0.08520203828811646,
0.04838615655899048,
0.2590623199939728,
0.5885541439056396,
0.026047518476843834,
0.41866791248321533,
-0.01347917690873146,
-0.03872404992580414,
-0.03106529638171196,
0.2673400342464447,
0.2800256609916687,
0.06785863637924194,
0.060522761195898056,
0.12411027401685715,
-0.04152128845453262,
-0.11501245945692062,
0.15077342092990875,
0.01757781207561493,
-0.305345743894577,
0.35496920347213745,
0.23495841026306152,
-0.09472440183162689,
0.1808711737394333,
-0.0853520929813385,
0.6152274012565613,
-0.1651923507452011,
-0.2626313269138336,
-0.13131435215473175,
0.19521181285381317,
0.1257757544517517,
-0.11310014128684998,
0.05715160071849823,
-0.22518357634544373,
0.14472654461860657,
-0.009966131299734116,
0.00005383789539337158,
-0.3066886067390442,
0.33396244049072266,
-0.11955668032169342,
-0.2409219592809677,
-0.4610391855239868,
0.019427858293056488,
0.050797976553440094,
0.4381588399410248,
0.03390674665570259,
0.13440556824207306,
0.150223970413208,
-0.10413457453250885,
0.1403132677078247,
0.30330690741539,
0.30243924260139465,
-0.026798199862241745,
-0.10262098908424377,
0.16786716878414154,
-0.004272621124982834,
-0.1526670604944229,
0.036304693669080734,
-0.022542838007211685,
0.15877097845077515,
-0.14401736855506897,
0.31652361154556274,
0.2696395516395569,
-0.15813052654266357,
0.15107129514217377,
0.06170261651277542,
0.4713740646839142,
-0.2484210878610611,
0.32480621337890625,
-0.28688132762908936,
-0.1645696610212326,
-0.027421195060014725,
-0.008862540125846863,
-0.4613204002380371,
-0.1099577471613884,
-0.17381906509399414,
-0.11941040307283401,
0.16117075085639954,
-0.09613842517137527,
0.14788447320461273,
0.058398474007844925,
0.42965346574783325,
0.4756166934967041,
0.0601961612701416,
-0.1230812594294548,
-0.16936033964157104,
-0.40519624948501587,
-0.21418169140815735,
0.06677801162004471,
-0.00014781206846237183,
-0.12947234511375427,
0.25603076815605164,
0.039441611617803574,
-0.07518093287944794,
0.012517735362052917,
-0.129862979054451,
-0.29124534130096436,
-0.17122112214565277,
-0.20547689497470856,
0.01740332692861557,
-0.37145400047302246,
0.22988146543502808,
0.08863159269094467,
-0.03775778040289879,
0.1739332377910614,
-0.1348356157541275,
0.08825957030057907,
-0.06561053544282913,
0.08633796870708466,
0.004494145512580872,
-0.21291613578796387,
0.3346935510635376,
0.15693284571170807,
0.06031728908419609,
-0.14782580733299255,
-0.3977348208427429,
-0.2031397819519043,
-0.18295374512672424,
-0.23690007627010345,
0.20226642489433289,
-0.08101613819599152,
0.44069358706474304,
0.02772887609899044,
-0.27901360392570496,
-0.2162276655435562,
0.4099102020263672,
0.2423657327890396,
-0.04967077821493149,
-0.40714091062545776,
0.3173883557319641,
-0.05220048502087593,
-0.014954544603824615,
0.044626202434301376,
0.26179662346839905,
-0.09121736884117126,
0.07752865552902222,
-0.3626359701156616,
-0.29510053992271423,
0.5989772081375122,
-0.23971883952617645,
-0.019343063235282898,
-0.031800735741853714,
0.37085428833961487,
0.03630185127258301,
-0.07631504535675049,
-0.5933423638343811,
0.202423095703125,
0.23999445140361786,
0.16329726576805115,
-0.16350658237934113,
0.16743887960910797,
-0.008094651624560356,
-0.14460189640522003,
-0.08835221081972122,
0.49261224269866943,
-0.039909400045871735,
-0.24025532603263855,
0.005329277366399765,
-0.13683556020259857
] |
https://github.com/huggingface/datasets/issues/1713 | Installation using conda | Great! Did you guys have a timeframe in mind for the next release?
Thank you for all the great work in developing this library. | Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience. | 24 | Installation using conda
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience.
Great! Did you guys have a timeframe in mind for the next release?
Thank you for all the great work in developing this library. | [
-0.053956709802150726,
-0.03765827417373657,
-0.18016164004802704,
0.17618227005004883,
0.19111689925193787,
-0.17411237955093384,
0.16255295276641846,
-0.06701374053955078,
-0.327097624540329,
-0.2211776226758957,
-0.22946639358997345,
0.0597519725561142,
-0.18898925185203552,
0.5104843974113464,
0.329740971326828,
-0.2775566577911377,
0.23368078470230103,
0.18604135513305664,
-0.6403383016586304,
-0.09712275862693787,
0.11601556837558746,
0.36199650168418884,
-0.23954296112060547,
-0.1564275473356247,
-0.3490128219127655,
-0.09342353790998459,
-0.13800488412380219,
-0.14151546359062195,
-0.16762122511863708,
-0.24645212292671204,
0.5433067083358765,
0.19907350838184357,
0.21373024582862854,
0.6924843788146973,
-0.00011733339488273486,
-0.24752621352672577,
0.2480921894311905,
-0.003050178289413452,
-0.25021466612815857,
-0.03998878598213196,
-0.22816085815429688,
-0.3681683838367462,
0.03778349608182907,
0.05284898728132248,
-0.01986384391784668,
0.06767228245735168,
-0.05762443691492081,
-0.02612195536494255,
0.4012191891670227,
-0.08574151992797852,
0.16772529482841492,
0.3654800355434418,
0.2736258804798126,
-0.09472506493330002,
-0.1673789620399475,
0.43383562564849854,
-0.38442766666412354,
-0.17025521397590637,
0.2569202780723572,
0.08088130503892899,
0.44327425956726074,
0.06679622828960419,
0.047878608107566833,
-0.21241551637649536,
0.33216750621795654,
0.198741152882576,
-0.2067476212978363,
-0.32781779766082764,
-0.23501911759376526,
0.2532397508621216,
0.8008562922477722,
-0.20844456553459167,
-0.6760146617889404,
-0.20625576376914978,
-0.13490331172943115,
-0.022096488624811172,
-0.08453872054815292,
-0.1256479024887085,
-0.1271616518497467,
0.15946146845817566,
-0.328205406665802,
-0.6029964685440063,
-0.32839301228523254,
0.02343122661113739,
-0.09058699011802673,
0.5560169219970703,
-0.14072756469249725,
-0.007335111498832703,
0.20141549408435822,
-0.08118432760238647,
0.3116426169872284,
0.011775854974985123,
-0.08643314242362976,
0.295662522315979,
-0.07356959581375122,
-0.3632635772228241,
-0.17125141620635986,
0.3323935270309448,
0.2996614873409271,
0.24406938254833221,
-0.3743332326412201,
-0.08309225738048553,
-0.16688184440135956,
-0.19107243418693542,
0.36623457074165344,
0.13677985966205597,
0.013464845716953278,
0.3916069567203522,
0.27310091257095337,
-0.08278296142816544,
0.5417615175247192,
-0.08683563768863678,
0.03892809525132179,
0.053568944334983826,
-0.3300040066242218,
-0.32090693712234497,
-0.03403044864535332,
-0.3715231418609619,
0.18572589755058289,
-0.30581799149513245,
0.6140984892845154,
-0.30563557147979736,
0.018126746639609337,
0.24749988317489624,
-0.16498269140720367,
0.25722551345825195,
0.002193175256252289,
0.19156904518604279,
0.2798497676849365,
0.2018957883119583,
-0.07062521576881409,
-0.054398681968450546,
-0.14380645751953125,
0.10625632852315903,
0.24309410154819489,
-0.18900802731513977,
0.11644259840250015,
-0.18185454607009888,
0.4081995487213135,
0.35989534854888916,
-0.09979139268398285,
0.18336991965770721,
-0.10327450186014175,
0.4986632466316223,
-0.419885516166687,
0.1544225662946701,
-0.3225458264350891,
0.15154539048671722,
-0.28464221954345703,
0.06176840513944626,
0.15927115082740784,
-0.011685281991958618,
-0.25676387548446655,
0.00460291700437665,
-0.2204417586326599,
-0.2602280378341675,
-0.2112773358821869,
-0.04649517312645912,
-0.2655155062675476,
-0.05556653439998627,
-0.07407950609922409,
0.23847980797290802,
0.20928338170051575,
-0.06309371441602707,
0.12369311600923538,
0.2759694457054138,
-0.3500559628009796,
-0.2852528691291809,
0.1542486846446991,
-0.4082535207271576,
-0.1795656979084015,
0.10583721101284027,
-0.11412440985441208,
-0.08694431930780411,
-0.057933539152145386,
-0.343919575214386,
0.425066202878952,
-0.5070247054100037,
-0.19914144277572632,
0.013026135973632336,
0.083528071641922,
0.12365613132715225,
-0.030774302780628204,
0.283564031124115,
0.2991233170032501,
-0.057978153228759766,
-0.1886734962463379,
0.35497599840164185,
0.07314866036176682,
-0.31443214416503906,
0.011868525296449661,
-0.29864925146102905,
0.12097466737031937,
0.19033190608024597,
0.2920551002025604,
0.2932099401950836,
-0.09729772061109543,
-0.030468106269836426,
0.19069533050060272,
0.14255429804325104,
0.09835917502641678,
0.2162647545337677,
0.44234633445739746,
0.32993537187576294,
0.19884636998176575,
-0.19869166612625122,
-0.4077664911746979,
0.04728016257286072,
0.12829864025115967,
0.09971580654382706,
-0.07272766530513763,
-0.1881214678287506,
0.02181844413280487,
0.1400580108165741,
0.044940199702978134,
-0.19369563460350037,
-0.04727841913700104,
-0.19081005454063416,
0.44572576880455017,
-0.1792609542608261,
-0.45184773206710815,
0.8676207661628723,
0.4596750736236572,
0.3349502384662628,
-0.15564459562301636,
0.2536656856536865,
-0.11426027864217758,
0.027367960661649704,
-0.10458352416753769,
0.2058418095111847,
-0.07777487486600876,
-0.3490957021713257,
0.19659867882728577,
0.1790526807308197,
-0.11737585067749023,
-0.07381199300289154,
0.3485862612724304,
0.20916999876499176,
0.4061681032180786,
-0.031808435916900635,
0.2890363037586212,
-0.20300637185573578,
-0.007736316882073879,
0.10844441503286362,
-0.15071645379066467,
-0.12622582912445068,
-0.20827388763427734,
-0.05732714384794235,
0.10942067205905914,
0.13365019857883453,
0.3417792022228241,
0.12572665512561798,
-0.2899385392665863,
0.0026722103357315063,
-0.04033604636788368,
-0.003916990011930466,
0.14214156568050385,
-0.049362435936927795,
-0.11593976616859436,
-0.14465254545211792,
0.06481337547302246,
-0.26779377460479736,
-0.12726598978042603,
0.2468550205230713,
-0.10778441280126572,
0.3799976110458374,
0.30272436141967773,
0.2017105370759964,
0.30153143405914307,
0.15533407032489777,
0.06416627764701843,
-0.15559068322181702,
-0.06441666930913925,
-0.004702359437942505,
0.01923711597919464,
0.17640075087547302,
0.026912782341241837,
-0.19740432500839233,
-0.26201775670051575,
0.129423588514328,
0.00048086419701576233,
-0.27593499422073364,
-0.39554697275161743,
-0.12323139607906342,
0.038863714784383774,
-0.08891904354095459,
-0.014214902184903622,
-0.025791723281145096,
-0.17412613332271576,
-0.43351438641548157,
-0.2850688397884369,
0.061809174716472626,
-0.012849468737840652,
-0.2115720510482788,
0.32948413491249084,
0.1963207721710205,
-0.09359040856361389,
0.40066856145858765,
-0.2807404696941376,
-0.18986022472381592,
-0.23903842270374298,
0.23195476830005646,
-0.032419487833976746,
0.11552375555038452,
0.0665082260966301,
-0.1564193069934845,
0.18686307966709137,
-0.05079014599323273,
0.3589329123497009,
-0.17144490778446198,
-0.5654633641242981,
0.11696373671293259,
-0.1695115715265274,
0.3379514813423157,
-0.02290400117635727,
0.1532604843378067,
0.1153145432472229,
-0.13321688771247864,
-0.09623536467552185,
-0.17141729593276978,
0.08745773136615753,
-0.32370656728744507,
-0.07885836064815521,
-0.284044086933136,
-0.1743180751800537,
-0.18603765964508057,
-0.425168514251709,
-0.1508769541978836,
0.60547935962677,
0.19387464225292206,
-0.1933218389749527,
0.07012491673231125,
0.024651747196912766,
0.029738381505012512,
-0.2609933912754059,
0.2217419296503067,
0.021142300218343735,
-0.20427708327770233,
0.47792544960975647,
-0.1709120124578476,
-0.2292919009923935,
0.004092257469892502,
-0.0835772156715393,
0.3345167636871338,
-0.046314455568790436,
-0.39695513248443604,
0.13888472318649292,
0.004213524982333183,
0.041526470333337784,
0.18890739977359772,
0.24914968013763428,
0.547753095626831,
0.05936582759022713,
0.16540901362895966,
-0.01354428380727768,
-0.37468698620796204,
-0.238565593957901,
0.01326923817396164,
0.23138421773910522,
-0.018550604581832886,
0.020250264555215836,
-0.2800438404083252,
0.3675198554992676,
0.21294553577899933,
-0.0010250844061374664,
0.039109714329242706,
0.3218262493610382,
0.5508817434310913,
0.08006265759468079,
-0.2101370245218277,
-0.004352009389549494,
0.09927064180374146,
0.11643226444721222,
-0.05257788300514221,
0.34054845571517944,
-0.2252735048532486,
-0.5008479356765747,
0.12658649682998657,
-0.24867120385169983,
0.09931829571723938,
-0.14322249591350555,
0.05972323939204216,
0.1643361747264862,
0.0505354069173336,
-0.01243291050195694,
0.014908555895090103,
0.04440391808748245,
0.027314428240060806,
0.29391855001449585,
0.1508590579032898,
-0.018182532861828804,
-0.29385748505592346,
-0.036776479333639145,
-0.4289729595184326,
0.05414460226893425,
-0.12248662859201431,
0.03307170420885086,
-0.058218784630298615,
0.07722257077693939,
-0.06724223494529724,
0.009362858720123768,
0.8861728310585022,
0.0370960533618927,
-0.6259447336196899,
-0.10340970754623413,
-0.04538800194859505,
-0.20858292281627655,
0.12881751358509064,
-0.07197541743516922,
-0.09697253257036209,
0.2236470729112625,
0.36097463965415955,
-0.1424889713525772,
-0.2381034642457962,
0.3552711606025696,
0.10138589143753052,
-0.04923687130212784,
-0.2747235894203186,
-0.0755077451467514,
-0.12563414871692657,
-0.20780712366104126,
-0.1424301266670227,
-0.043145377188920975,
-0.17830424010753632,
-0.13769745826721191,
-0.37079450488090515,
-0.009129075333476067,
-0.02581772580742836,
0.20595115423202515,
0.0582745261490345,
0.18967849016189575,
-0.1677897721529007,
0.31849226355552673,
0.49297720193862915,
0.008495409041643143,
0.03502571955323219,
0.12881264090538025,
-0.19332025945186615,
-0.15487974882125854,
0.03420354425907135,
0.05202706903219223,
0.43945881724357605,
0.2427341192960739,
0.004582582041621208,
-0.2955557405948639,
0.022340184077620506,
0.07676186412572861,
-0.13495764136314392,
-0.3483431041240692,
0.33321332931518555,
0.28004834055900574,
-0.5669629573822021,
-0.43294188380241394,
0.3519964814186096,
0.30974623560905457,
-0.04463852941989899,
0.427844762802124,
0.4177294373512268,
-0.048013754189014435,
-0.02204328402876854,
-0.020461075007915497,
1.0245959758758545,
-0.34118127822875977,
0.22250312566757202,
-0.05267605930566788,
-0.2719835042953491,
0.5038928389549255,
-0.42345768213272095,
-0.048570141196250916,
-0.177278533577919,
-0.033552102744579315,
-0.23660631477832794,
-0.19371280074119568,
0.3874114751815796,
0.18292266130447388,
-0.4559367597103119,
0.35848093032836914,
-0.017502501606941223,
0.005554337054491043,
-0.08838764578104019,
0.19981169700622559,
0.07866715639829636,
-0.3554798364639282,
-0.15255309641361237,
0.14924941956996918,
0.17975211143493652,
0.3967002332210541,
-0.3227909803390503,
-0.05228631570935249,
-0.20294979214668274,
-0.15124553442001343,
-0.24409112334251404,
0.014850497245788574,
0.2328120619058609,
0.030546247959136963,
0.5970538258552551,
-0.0776577889919281,
0.12343136966228485,
0.34570804238319397,
0.424324095249176,
0.17357617616653442,
-0.3065687119960785,
0.23443426191806793,
-0.37201666831970215,
-0.15907534956932068,
0.0074739037081599236,
0.20299701392650604,
0.0571402832865715,
-0.1579744815826416,
-0.25444477796554565,
-0.09216896444559097,
-0.08920590579509735,
-0.28495103120803833,
-0.008586093783378601,
0.02152213454246521,
0.06550147384405136,
-0.17759360373020172,
0.13319413363933563,
0.37831851840019226,
0.16340269148349762,
0.04403967782855034,
0.14530780911445618,
0.431988000869751,
-0.164571151137352,
0.45808160305023193,
0.21185444295406342,
0.06540203094482422,
-0.28801313042640686,
0.16928955912590027,
0.060129377990961075,
-0.5256131887435913,
-0.06204986572265625,
0.050922226160764694,
-0.4061177372932434,
-0.1486797332763672,
-0.25371304154396057,
-0.14268487691879272,
-0.16997578740119934,
-0.18926824629306793,
0.15665383636951447,
-0.24827998876571655,
-0.130225270986557,
0.09563381969928741,
0.18597719073295593,
-0.21490073204040527,
-0.31243813037872314,
-0.1637180745601654,
-0.3465149998664856,
0.299014151096344,
-0.08153809607028961,
0.36167415976524353,
0.027760684490203857,
0.07515521347522736,
0.30915749073028564,
-0.01290888898074627,
-0.2013929933309555,
-0.1603127419948578,
0.11591318994760513,
-0.12459208071231842,
0.4493321478366852,
0.07993225753307343,
0.2086566835641861,
-0.08969128131866455,
-0.0049089714884757996,
0.0538301020860672,
-0.1456172615289688,
-0.052028656005859375,
-0.06609676778316498,
0.15190036594867706,
0.07791046053171158,
-0.28375184535980225,
-0.09837418794631958,
0.015778377652168274,
-0.12962032854557037,
0.03329308331012726,
0.04581349715590477,
0.050220586359500885,
0.17372888326644897,
0.09624150395393372,
0.2442908138036728,
-0.021837100386619568,
-0.05500088632106781,
0.2851760685443878,
0.4928344190120697,
0.11179722100496292,
0.370240181684494,
0.22095155715942383,
-0.031852878630161285,
-0.01802215725183487,
-0.0638200044631958,
0.3279290795326233,
0.13350728154182434,
0.10077323019504547,
0.3453575670719147,
-0.14378173649311066,
0.1954512745141983,
0.29430481791496277,
0.40655672550201416,
0.15747079253196716,
0.050061337649822235,
0.13223011791706085,
0.37683749198913574,
0.11300557851791382,
-0.14389604330062866,
-0.4009782373905182,
0.05341446399688721,
0.22226238250732422,
-0.2158796787261963,
0.3926512598991394,
0.05793303623795509,
0.12950550019741058,
0.6797934770584106,
0.19437789916992188,
0.22262661159038544,
-0.0924270898103714,
0.5110804438591003,
0.1530337631702423,
-0.012219518423080444,
0.02181452140212059,
0.3314877152442932,
0.37037748098373413,
0.04343640059232712,
0.31975430250167847,
-0.39816203713417053,
0.005864964798092842,
-0.3019346296787262,
0.24942736327648163,
0.16401351988315582,
-0.0950118899345398,
-0.12127524614334106,
-0.24907788634300232,
0.1495940387248993,
-0.10245037823915482,
-0.09663119912147522,
0.37264883518218994,
-0.20066997408866882,
-0.1357128769159317,
-0.4122929871082306,
0.02260746993124485,
-0.1376245617866516,
-0.09671734273433685,
0.5791197419166565,
-0.17890115082263947,
0.22597366571426392,
-0.13297350704669952,
0.142604261636734,
-0.34918123483657837,
0.3758728504180908,
-0.053137630224227905,
0.16821983456611633,
-0.1773204505443573,
0.3211000859737396,
0.03251447156071663,
-0.06887779384851456,
0.23822155594825745,
0.23181284964084625,
0.01083294302225113,
-0.04224320501089096,
-0.1797047257423401,
0.1846616268157959,
0.20922327041625977,
0.027041831985116005,
0.20103658735752106,
0.2089029848575592,
-0.20733307301998138,
-0.039122581481933594,
0.0013761147856712341,
0.41934099793434143,
0.0021668076515197754,
0.11578135192394257,
-0.12552769482135773,
0.12153838574886322,
-0.06403306871652603,
0.039058882743120193,
-0.13131040334701538,
0.29160788655281067,
-0.37926244735717773,
0.4246212840080261,
-0.19832013547420502,
-0.24849072098731995,
-0.2704581618309021,
0.08281932771205902,
-0.3937571942806244,
-0.007676386274397373,
0.3037279546260834,
-0.25598034262657166,
-0.1656372845172882,
-0.11141245812177658,
0.025609757751226425,
0.13602639734745026,
0.27566707134246826,
0.04751153290271759,
0.6115581393241882,
-0.05797465890645981,
-0.33209866285324097,
-0.3333340585231781,
-0.21722716093063354,
0.046339813619852066,
0.2531861364841461,
-0.17669589817523956,
-0.06111671030521393,
-0.03393212705850601,
0.19577449560165405,
0.12870408594608307,
-0.2622005045413971,
0.05663464963436127,
-0.3625943660736084,
-0.15610620379447937,
0.07386265695095062,
-0.1369578242301941,
0.34649503231048584,
0.13734346628189087,
-0.08832322061061859,
-0.07585227489471436,
0.08456207066774368,
-0.17943733930587769,
-0.09959745407104492,
0.26753127574920654,
-0.09159846603870392,
-0.13050223886966705,
0.19731053709983826,
-0.10030508786439896,
0.4405747950077057,
0.1412247121334076,
-0.1319751888513565,
-0.1559741050004959,
-0.4620080590248108,
0.015122399665415287,
-0.03263837844133377,
0.03458303213119507,
-0.05835213139653206,
-0.4577644169330597,
-0.19613352417945862,
-0.18829429149627686,
-0.007362188771367073,
-0.013591445982456207,
0.024683909490704536,
-0.1915993094444275,
-0.06960044056177139,
-0.2155490219593048,
-0.02285761758685112,
0.18137148022651672,
0.231633722782135,
-0.14429126679897308,
0.010661842301487923,
-0.0916074737906456,
0.1752527803182602,
0.5658096075057983,
0.005552724935114384,
-0.13277873396873474,
-0.0999862477183342,
-0.37898802757263184,
0.04435475915670395,
-0.3548320233821869,
-0.7771005034446716,
0.2319706678390503,
0.07482316344976425,
0.06853720545768738,
0.023521102964878082,
0.3077083230018616,
0.2624306380748749,
-0.2073734551668167,
-0.16779795289039612,
0.5492645502090454,
-0.058169424533843994,
0.02572365291416645,
0.10977062582969666,
0.04908837378025055
] |
https://github.com/huggingface/datasets/issues/1713 | Installation using conda | I think we can have `datasets` on conda by next week. Will see what I can do! | Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience. | 17 | Installation using conda
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience.
I think we can have `datasets` on conda by next week. Will see what I can do! | [
-0.014953665435314178,
-0.0426131933927536,
-0.12364748120307922,
0.15627019107341766,
0.25407838821411133,
-0.009232945740222931,
0.12768535315990448,
-0.13031810522079468,
-0.2962278127670288,
-0.21112625300884247,
-0.23478998243808746,
0.08092211186885834,
-0.14033818244934082,
0.6276564598083496,
0.4649845361709595,
-0.1856296956539154,
0.19984816014766693,
0.22955204546451569,
-0.5902292728424072,
-0.0625072717666626,
0.13728421926498413,
0.2634812891483307,
-0.188532292842865,
-0.19608397781848907,
-0.3598087430000305,
-0.05989205837249756,
-0.11354611814022064,
-0.19685697555541992,
-0.03245358169078827,
-0.26042744517326355,
0.552412748336792,
0.15946635603904724,
0.24787163734436035,
0.5726003050804138,
-0.00011832700693048537,
-0.07961781322956085,
0.17541107535362244,
-0.06487786024808884,
-0.35437560081481934,
0.024802029132843018,
-0.34008777141571045,
-0.3828354477882385,
-0.01464735809713602,
0.07582180947065353,
-0.00001198798418045044,
0.04361829161643982,
0.00593220442533493,
-0.08159592747688293,
0.32285523414611816,
-0.013468283228576183,
0.16261173784732819,
0.399232417345047,
0.20947884023189545,
-0.10163643211126328,
-0.18310555815696716,
0.4471346139907837,
-0.3012717068195343,
-0.1141192615032196,
0.1077054888010025,
0.07914181798696518,
0.5704075694084167,
0.023409796878695488,
0.022134656086564064,
-0.1581074595451355,
0.1740735024213791,
0.21977660059928894,
-0.22782933712005615,
-0.2767648994922638,
-0.16181060671806335,
0.23514193296432495,
0.7575777173042297,
-0.3252030909061432,
-0.6390730738639832,
-0.2428075075149536,
0.005580177530646324,
-0.012707010842859745,
-0.19008982181549072,
-0.0598195418715477,
-0.17367035150527954,
0.24468712508678436,
-0.24710150063037872,
-0.6649014353752136,
-0.22451288998126984,
0.10409857332706451,
-0.06167246028780937,
0.4285607635974884,
-0.11064501851797104,
0.0321357436478138,
0.20540162920951843,
0.03258536010980606,
0.2649051547050476,
-0.08499422669410706,
-0.0678415596485138,
0.14059311151504517,
-0.08551959693431854,
-0.23672376573085785,
-0.22319045662879944,
0.3559318780899048,
0.3252634108066559,
0.16999390721321106,
-0.37035971879959106,
-0.16425296664237976,
-0.20217391848564148,
-0.18129387497901917,
0.24017708003520966,
0.0896567851305008,
0.08045264333486557,
0.48210617899894714,
0.1383991837501526,
-0.12845788896083832,
0.4942328929901123,
-0.06220594793558121,
-0.025639038532972336,
0.08399971574544907,
-0.20750010013580322,
-0.359690397977829,
-0.10008217394351959,
-0.2758505344390869,
0.05023309588432312,
-0.3096505403518677,
0.5556653738021851,
-0.1498747169971466,
0.1206120029091835,
0.2145172357559204,
-0.013904347084462643,
0.1138213500380516,
-0.01199667900800705,
0.3075069785118103,
0.36155933141708374,
0.03304287791252136,
-0.07565048336982727,
-0.1224212646484375,
-0.0381387397646904,
0.16365915536880493,
0.26130661368370056,
-0.2416057586669922,
0.14325858652591705,
-0.22399351000785828,
0.3553832173347473,
0.3323238790035248,
-0.06169559806585312,
0.22171328961849213,
-0.17989426851272583,
0.4900628924369812,
-0.3739979565143585,
0.2030823677778244,
-0.2409488707780838,
0.20284844934940338,
-0.28403228521347046,
0.01019153743982315,
0.0449463427066803,
-0.037401922047138214,
-0.16174854338169098,
-0.030419182032346725,
-0.12718430161476135,
-0.34483855962753296,
-0.3084506094455719,
-0.05534524843096733,
-0.2809702754020691,
-0.14887826144695282,
-0.06351173669099808,
0.24922823905944824,
0.16576418280601501,
-0.0337955541908741,
0.18683037161827087,
0.38341134786605835,
-0.41517767310142517,
-0.3715122938156128,
0.10711772739887238,
-0.45126524567604065,
-0.1253461241722107,
0.019636988639831543,
-0.048480331897735596,
-0.03704226016998291,
-0.12077085673809052,
-0.34463346004486084,
0.4303438663482666,
-0.4813026785850525,
-0.2709697484970093,
-0.03501034528017044,
0.04573143273591995,
0.1971796452999115,
-0.11975228041410446,
0.3125361204147339,
0.23280280828475952,
0.034163232892751694,
-0.03030354529619217,
0.34532153606414795,
0.007070351392030716,
-0.3574681878089905,
0.1885865330696106,
-0.21123798191547394,
0.12069620192050934,
0.24602718651294708,
0.22266414761543274,
0.3194247782230377,
-0.14410188794136047,
-0.13592028617858887,
0.10346908867359161,
0.13623972237110138,
0.13483121991157532,
0.24351853132247925,
0.37391161918640137,
0.32333117723464966,
0.16270241141319275,
-0.2956457734107971,
-0.4294297993183136,
0.06841016560792923,
0.1442987471818924,
0.021106474101543427,
-0.15362302958965302,
-0.22095845639705658,
-0.03522834554314613,
0.1679527461528778,
0.07123952358961105,
-0.1438245177268982,
-0.06198641657829285,
-0.1933833658695221,
0.4818264842033386,
-0.18699683248996735,
-0.38302597403526306,
0.9310393333435059,
0.4141561686992645,
0.32145994901657104,
0.033568140119314194,
0.2666041851043701,
-0.06733761727809906,
0.04618784412741661,
-0.03735024482011795,
0.25094014406204224,
-0.07178220897912979,
-0.26592937111854553,
0.21645936369895935,
0.16635042428970337,
-0.17066329717636108,
-0.14842909574508667,
0.38068610429763794,
0.14410804212093353,
0.21869497001171112,
0.01651068404316902,
0.16519300639629364,
-0.1783973127603531,
-0.08535058051347733,
0.07035838812589645,
-0.0803256407380104,
-0.2433672696352005,
-0.11899641156196594,
-0.055551327764987946,
0.06456912308931351,
0.29351696372032166,
0.36725544929504395,
0.22799062728881836,
-0.189362570643425,
-0.1606578826904297,
-0.09337851405143738,
-0.01783905178308487,
0.2225298136472702,
-0.03404206037521362,
-0.11807513982057571,
-0.1797718107700348,
-0.05532984808087349,
-0.28796955943107605,
0.011367570608854294,
0.300176203250885,
-0.24511617422103882,
0.5096587538719177,
0.2987686097621918,
0.22402097284793854,
0.304392546415329,
0.21227970719337463,
0.10095719248056412,
-0.2046416699886322,
-0.0767456442117691,
-0.006380838342010975,
-0.025397591292858124,
0.17296704649925232,
0.05678214132785797,
-0.24545347690582275,
-0.2457568645477295,
0.05041209235787392,
0.02756132185459137,
-0.2938053011894226,
-0.3847326636314392,
-0.09107793867588043,
-0.10327748954296112,
-0.10198083519935608,
-0.17785225808620453,
-0.033346034586429596,
-0.21135303378105164,
-0.2985105514526367,
-0.17746445536613464,
0.09045727550983429,
-0.02754637971520424,
-0.22836729884147644,
0.3074944317340851,
0.17810599505901337,
-0.18511542677879333,
0.4231056571006775,
-0.29119986295700073,
-0.321271687746048,
-0.12361452728509903,
0.23004183173179626,
-0.07255882769823074,
0.08760681748390198,
0.0645357072353363,
-0.12757433950901031,
0.13659770786762238,
-0.14871497452259064,
0.42953401803970337,
-0.21956457197666168,
-0.46382883191108704,
0.11576926708221436,
-0.12114579975605011,
0.3696661591529846,
-0.05180564522743225,
0.17170760035514832,
0.07283816486597061,
-0.054717402905225754,
-0.03720587119460106,
-0.001568203791975975,
0.15163609385490417,
-0.23170106112957,
0.0019125929102301598,
-0.3008608818054199,
-0.2050744593143463,
-0.10112165659666061,
-0.5442740321159363,
-0.10781855881214142,
0.5183228850364685,
0.1308666467666626,
-0.22030191123485565,
-0.06086384505033493,
0.041527148336172104,
0.06096653267741203,
-0.2225184589624405,
0.26331523060798645,
0.05442925915122032,
-0.1433718055486679,
0.5334439277648926,
-0.13558167219161987,
-0.18882107734680176,
-0.05157310143113136,
-0.17658807337284088,
0.35946178436279297,
0.07560814917087555,
-0.4208942651748657,
0.20935766398906708,
0.07040153443813324,
0.11922971904277802,
0.1845211237668991,
0.18985234200954437,
0.5759532451629639,
0.03687896206974983,
0.23183389008045197,
-0.033494651317596436,
-0.3571572005748749,
-0.1830795407295227,
-0.06637097150087357,
0.20510739088058472,
-0.074530690908432,
0.0747416615486145,
-0.3267489969730377,
0.2876845598220825,
0.18678432703018188,
-0.05315480753779411,
0.10467102378606796,
0.21026185154914856,
0.6634016036987305,
0.12464272230863571,
-0.19615963101387024,
-0.0709327980875969,
0.10211353003978729,
0.13746026158332825,
-0.08298686146736145,
0.34839993715286255,
-0.1684519648551941,
-0.4113771915435791,
0.06303524971008301,
-0.2537769675254822,
0.11282217502593994,
-0.19116412103176117,
-0.00008109211921691895,
0.1922033280134201,
0.06698338687419891,
-0.07011111825704575,
-0.06747713685035706,
0.052796319127082825,
-0.016311874613165855,
0.3288463354110718,
0.07690244913101196,
-0.03154255449771881,
-0.30074653029441833,
-0.1023319810628891,
-0.37688159942626953,
0.012738607823848724,
-0.06853277236223221,
0.1878640353679657,
-0.13665279746055603,
0.17296990752220154,
-0.1371849775314331,
0.11107082664966583,
0.8732085227966309,
-0.06081496924161911,
-0.6852089166641235,
-0.21193577349185944,
0.12073120474815369,
-0.32597729563713074,
0.07691961526870728,
-0.05452153459191322,
-0.07727120071649551,
0.15029753744602203,
0.37446385622024536,
-0.25021278858184814,
-0.11537443846464157,
0.3510662913322449,
0.1523093581199646,
-0.031095663085579872,
-0.312196284532547,
-0.08447203785181046,
-0.1266288161277771,
-0.1468067318201065,
-0.16615629196166992,
-0.06065665930509567,
-0.20595994591712952,
-0.06257577240467072,
-0.38698479533195496,
-0.07855447381734848,
0.0194125697016716,
0.28171101212501526,
0.06504911184310913,
0.15919041633605957,
-0.08884410560131073,
0.3104569613933563,
0.4042412042617798,
0.007245182991027832,
0.15043184161186218,
0.1684996336698532,
-0.14282184839248657,
-0.2978862226009369,
-0.10263177007436752,
0.05005459114909172,
0.44981512427330017,
0.015663206577301025,
-0.05868809297680855,
-0.2625068426132202,
0.03500139340758324,
0.0037452727556228638,
-0.14597316086292267,
-0.2563105821609497,
0.35638195276260376,
0.3056091368198395,
-0.5959270596504211,
-0.42137277126312256,
0.40661174058914185,
0.3207869529724121,
-0.03493591025471687,
0.38286909461021423,
0.39807695150375366,
-0.09528722614049911,
-0.13339971005916595,
-0.11305979639291763,
0.7541905045509338,
-0.3667331337928772,
0.29545164108276367,
0.037112798541784286,
-0.29316896200180054,
0.5418282747268677,
-0.3917776346206665,
-0.056568071246147156,
0.012272734194993973,
-0.09468583017587662,
-0.2348124384880066,
-0.11592836678028107,
0.2900247573852539,
0.31450337171554565,
-0.4339357912540436,
0.39822497963905334,
-0.08986169099807739,
0.05778534337878227,
-0.003834899514913559,
0.06130088120698929,
0.16514696180820465,
-0.3159347176551819,
-0.0855446383357048,
0.1321151703596115,
0.13463884592056274,
0.4040127992630005,
-0.33010798692703247,
0.05015077441930771,
-0.24125149846076965,
-0.1461053043603897,
-0.25972992181777954,
0.042053572833538055,
0.19503499567508698,
0.08091689646244049,
0.6092469096183777,
-0.007831558585166931,
0.042280878871679306,
0.40764886140823364,
0.359923779964447,
0.13512364029884338,
-0.3579598069190979,
0.1633003056049347,
-0.39228931069374084,
-0.16849063336849213,
0.05495903640985489,
0.21801595389842987,
-0.009659478440880775,
-0.05501510202884674,
-0.3342306911945343,
0.0008060857653617859,
-0.029492344707250595,
-0.26818937063217163,
0.05399167537689209,
0.023907765746116638,
0.023601815104484558,
-0.11694865673780441,
-0.016598012298345566,
0.42512503266334534,
0.2843790650367737,
0.025388967245817184,
0.10490165650844574,
0.28313708305358887,
-0.1061256006360054,
0.39617136120796204,
0.15564540028572083,
0.08992600440979004,
-0.300647497177124,
0.16091430187225342,
0.03597211837768555,
-0.40823283791542053,
0.05160773918032646,
-0.04232937842607498,
-0.36998212337493896,
-0.12155770510435104,
-0.2851472496986389,
-0.1596376746892929,
-0.04467065632343292,
-0.24766452610492706,
0.18409840762615204,
-0.21890142560005188,
-0.22160658240318298,
-0.113811194896698,
0.13858507573604584,
-0.2929536700248718,
-0.29622310400009155,
-0.20433223247528076,
-0.36749833822250366,
0.2221289724111557,
-0.06788882613182068,
0.29099807143211365,
0.08430521190166473,
0.15161588788032532,
0.17190437018871307,
0.013941632583737373,
-0.13818764686584473,
-0.21023836731910706,
0.08889319747686386,
-0.1440105140209198,
0.5395692586898804,
0.27889111638069153,
0.25114914774894714,
-0.07778403162956238,
-0.0063119567930698395,
-0.04436230659484863,
0.052785586565732956,
-0.010928932577371597,
0.03456500545144081,
0.1527852863073349,
0.08178529888391495,
-0.25355440378189087,
-0.04044467955827713,
-0.009140435606241226,
-0.12373746931552887,
-0.08650241792201996,
0.05153821036219597,
0.062067240476608276,
0.14881715178489685,
0.10539011657238007,
0.182298481464386,
0.0029105767607688904,
-0.11663476377725601,
0.3144988417625427,
0.3794344365596771,
0.03708011284470558,
0.2952951192855835,
0.19853995740413666,
-0.0022335031535476446,
0.07928133010864258,
-0.11642197519540787,
0.3607226312160492,
0.20533418655395508,
0.07796186208724976,
0.36097145080566406,
-0.15400563180446625,
0.26336342096328735,
0.3500869870185852,
0.20618736743927002,
0.016716573387384415,
0.05208665877580643,
0.16771292686462402,
0.4607205390930176,
0.0702989399433136,
-0.1447553038597107,
-0.3850228488445282,
0.21373945474624634,
0.28929319977760315,
-0.15527085959911346,
0.4751919209957123,
-0.05961854010820389,
0.1794528067111969,
0.5779339075088501,
0.15425744652748108,
0.10144546627998352,
0.005222702398896217,
0.5116178393363953,
0.14666533470153809,
0.1921701282262802,
0.09614935517311096,
0.2661859095096588,
0.2873876690864563,
0.040882647037506104,
0.2661750912666321,
-0.4669790267944336,
0.01062673982232809,
-0.32580819725990295,
0.14984534680843353,
0.1935587227344513,
-0.1626448780298233,
-0.17305991053581238,
-0.22166487574577332,
0.24434761703014374,
-0.0009259134531021118,
-0.13467079401016235,
0.4199361205101013,
-0.24466706812381744,
-0.08258099853992462,
-0.43583571910858154,
-0.02764679118990898,
-0.1879345178604126,
-0.11622792482376099,
0.5522987246513367,
-0.1528676450252533,
0.29512885212898254,
-0.12902550399303436,
0.2824721038341522,
-0.4773635268211365,
0.33762866258621216,
-0.11060318350791931,
0.12528514862060547,
-0.15944507718086243,
0.35579806566238403,
0.15888944268226624,
-0.15235894918441772,
0.2873929738998413,
0.12300416827201843,
-0.07856535911560059,
-0.07966890931129456,
-0.02362235262989998,
0.1602332890033722,
0.1859249621629715,
0.06332612037658691,
0.3489510715007782,
0.15197382867336273,
-0.1436859369277954,
-0.02843553200364113,
-0.08212928473949432,
0.3014133870601654,
-0.0404597669839859,
0.12270529568195343,
-0.1453840285539627,
0.13888342678546906,
-0.032817158848047256,
-0.0558733306825161,
-0.033165041357278824,
0.35009509325027466,
-0.35571303963661194,
0.3076310157775879,
-0.3255293369293213,
-0.20901164412498474,
-0.27502959966659546,
0.08530569821596146,
-0.28946223855018616,
0.1206173524260521,
0.38486990332603455,
-0.24470672011375427,
-0.19134020805358887,
-0.052765462547540665,
0.014120455831289291,
0.06586553156375885,
0.30584391951560974,
0.08390580117702484,
0.49522271752357483,
-0.04732983931899071,
-0.23409642279148102,
-0.3490593135356903,
-0.2356705665588379,
-0.15908294916152954,
0.027262387797236443,
-0.1302267611026764,
-0.14999085664749146,
-0.011166088283061981,
0.11917218565940857,
0.07776038348674774,
-0.08038471639156342,
0.03923388943076134,
-0.43720611929893494,
-0.1903403103351593,
-0.1089533120393753,
-0.23775474727153778,
0.3689500391483307,
0.19631409645080566,
-0.11960655450820923,
-0.06473095715045929,
0.09641621261835098,
-0.20484930276870728,
-0.04128284007310867,
0.3441525399684906,
-0.21052780747413635,
-0.17691652476787567,
0.2914230525493622,
-0.20446710288524628,
0.520604133605957,
0.06564777344465256,
-0.057359106838703156,
-0.1465383619070053,
-0.41697627305984497,
-0.05283929035067558,
0.03702130913734436,
-0.05839361622929573,
-0.0895739495754242,
-0.6124731302261353,
-0.1727396547794342,
-0.1507423371076584,
0.03678923845291138,
0.04236503690481186,
-0.020198475569486618,
-0.13752876222133636,
0.004137609153985977,
-0.24977698922157288,
-0.013519485481083393,
0.23833565413951874,
0.1118285059928894,
-0.17662322521209717,
0.028508691117167473,
0.08099818229675293,
0.20657695829868317,
0.49095216393470764,
-0.010552975349128246,
-0.032265473157167435,
-0.015569331124424934,
-0.3327310383319855,
0.07789111882448196,
-0.40097853541374207,
-0.6961489915847778,
0.21368807554244995,
0.1357451230287552,
0.12627917528152466,
0.05788644775748253,
0.30856433510780334,
0.1707361340522766,
-0.13967502117156982,
-0.13162679970264435,
0.5406718254089355,
-0.16378679871559143,
-0.004968410357832909,
0.14895252883434296,
0.08534993976354599
] |
https://github.com/huggingface/datasets/issues/1713 | Installation using conda | `datasets` has been added to the huggingface channel thanks to @LysandreJik :)
It depends on conda-forge though
```
conda install -c huggingface -c conda-forge datasets
``` | Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience. | 26 | Installation using conda
Will a conda package for installing datasets be added to the huggingface conda channel? I have installed transformers using conda and would like to use the datasets library to use some of the scripts in the transformers/examples folder but am unable to do so at the moment as datasets can only be installed using pip and using pip in a conda environment is generally a bad idea in my experience.
`datasets` has been added to the huggingface channel thanks to @LysandreJik :)
It depends on conda-forge though
```
conda install -c huggingface -c conda-forge datasets
``` | [
-0.02960401028394699,
-0.039974115788936615,
-0.10899737477302551,
0.18604162335395813,
0.23940691351890564,
-0.04451925307512283,
0.11317110806703568,
-0.10590031743049622,
-0.3314248323440552,
-0.3028704524040222,
-0.2650924026966095,
0.10409091413021088,
-0.1357482373714447,
0.5306630730628967,
0.36885637044906616,
-0.07582724094390869,
0.20950154960155487,
0.2115163952112198,
-0.6172255277633667,
-0.02988000214099884,
0.1432555466890335,
0.2838035821914673,
-0.19708940386772156,
-0.15030428767204285,
-0.36426812410354614,
0.056296512484550476,
-0.07382701337337494,
-0.18423476815223694,
0.026697687804698944,
-0.21157875657081604,
0.5577282905578613,
0.16359511017799377,
0.21851542592048645,
0.5203500390052795,
-0.00012088735093129799,
-0.03546090051531792,
0.21301554143428802,
-0.07749739289283752,
-0.3361150324344635,
-0.010166168212890625,
-0.3893670439720154,
-0.27922701835632324,
-0.030175242573022842,
0.058016352355480194,
0.009717833250761032,
0.06615473330020905,
0.021105937659740448,
-0.13836395740509033,
0.3403494358062744,
0.05808066204190254,
0.15155565738677979,
0.35574859380722046,
0.2534595727920532,
-0.024150922894477844,
-0.16755551099777222,
0.49020183086395264,
-0.2422240823507309,
-0.07130371034145355,
0.08695969730615616,
0.09849926084280014,
0.5578449368476868,
0.006527275778353214,
-0.034713562577962875,
-0.10036882758140564,
0.29969295859336853,
0.174514040350914,
-0.33990055322647095,
-0.2819994390010834,
-0.05111227184534073,
0.2685145437717438,
0.7587831020355225,
-0.3713589906692505,
-0.6890050172805786,
-0.3122139275074005,
-0.027915816754102707,
0.10895948112010956,
-0.1525975465774536,
-0.10763990134000778,
-0.1356344372034073,
0.21491555869579315,
-0.29016685485839844,
-0.6198325157165527,
-0.1621970236301422,
0.11244910210371017,
-0.0005173943936824799,
0.38892248272895813,
-0.16202212870121002,
0.07774995267391205,
0.21133993566036224,
-0.055719174444675446,
0.17132706940174103,
-0.09979400038719177,
-0.03256796672940254,
0.17617352306842804,
-0.1066196858882904,
-0.17058463394641876,
-0.2545807361602783,
0.40829160809516907,
0.2948686182498932,
0.2181316614151001,
-0.41945457458496094,
-0.13575729727745056,
-0.23693136870861053,
-0.1831279695034027,
0.19292421638965607,
0.06340526044368744,
0.10548678785562515,
0.4957331717014313,
0.0893852561712265,
-0.14456786215305328,
0.43280839920043945,
-0.03995368629693985,
-0.04601821303367615,
0.01618034392595291,
-0.2737438380718231,
-0.3993256688117981,
-0.08913213759660721,
-0.2870236039161682,
0.006403302773833275,
-0.2886555790901184,
0.450045108795166,
-0.19299699366092682,
0.18218880891799927,
0.2403700351715088,
0.03207653760910034,
0.13226096332073212,
-0.0038802623748779297,
0.2970757484436035,
0.3454449474811554,
0.061012011021375656,
-0.08381390571594238,
-0.088142529129982,
-0.01994229108095169,
0.11406049877405167,
0.23090948164463043,
-0.3153800666332245,
0.1855081021785736,
-0.2256004959344864,
0.43081432580947876,
0.3417767584323883,
-0.06384065002202988,
0.2185712456703186,
-0.09551442414522171,
0.44557374715805054,
-0.3512631952762604,
0.25019076466560364,
-0.14072242379188538,
0.1761867254972458,
-0.29221829771995544,
-0.01090356707572937,
0.07058203965425491,
-0.004938460886478424,
-0.08553379029035568,
-0.04918083921074867,
-0.17088252305984497,
-0.2739295959472656,
-0.2653609812259674,
-0.10155746340751648,
-0.21993833780288696,
-0.1350843906402588,
0.028136342763900757,
0.22815507650375366,
0.1965712606906891,
-0.024177828803658485,
0.2415093183517456,
0.4308137893676758,
-0.32043567299842834,
-0.4266449213027954,
0.07835805416107178,
-0.4344705641269684,
-0.15416395664215088,
-0.03254338726401329,
-0.06737964600324631,
-0.11044976860284805,
-0.1799427568912506,
-0.36620157957077026,
0.39995789527893066,
-0.527458906173706,
-0.3011988401412964,
0.02175152115523815,
0.10337559878826141,
0.23968537151813507,
-0.11321007460355759,
0.24345579743385315,
0.15893079340457916,
0.08020158857107162,
0.027239639312028885,
0.2447114884853363,
0.014504851773381233,
-0.32804277539253235,
0.20432455837726593,
-0.23499928414821625,
0.10634291172027588,
0.2239689975976944,
0.19526176154613495,
0.30226990580558777,
-0.14204144477844238,
-0.09183299541473389,
0.15574882924556732,
0.13828836381435394,
0.155551016330719,
0.26772215962409973,
0.3016321361064911,
0.28843510150909424,
0.08321662247180939,
-0.30935654044151306,
-0.37111735343933105,
0.11306753009557724,
0.15074646472930908,
0.0016275085508823395,
-0.12911689281463623,
-0.23517659306526184,
-0.04628334194421768,
0.14617882668972015,
0.09644672274589539,
-0.17165058851242065,
-0.07754045724868774,
-0.09915103018283844,
0.4647378921508789,
-0.22032491862773895,
-0.34219685196876526,
0.9912436604499817,
0.46889156103134155,
0.3277895152568817,
-0.09093077480792999,
0.24030087888240814,
-0.047502681612968445,
0.07405843585729599,
-0.05322214588522911,
0.27778175473213196,
-0.038689255714416504,
-0.2761130928993225,
0.23256376385688782,
0.20868057012557983,
-0.1758490800857544,
-0.08121515810489655,
0.2773842513561249,
0.19350410997867584,
0.1843612939119339,
-0.003529217094182968,
0.12181548774242401,
-0.22649414837360382,
-0.07398207485675812,
0.05712485313415527,
0.03180815279483795,
-0.22044844925403595,
-0.12567533552646637,
0.019560493528842926,
0.09848654270172119,
0.31179141998291016,
0.31373313069343567,
0.2109014391899109,
-0.2605001926422119,
-0.274713397026062,
-0.0778353214263916,
-0.0633033961057663,
0.26342740654945374,
-0.013122936710715294,
-0.05890016257762909,
-0.22669455409049988,
-0.11915051937103271,
-0.1861940324306488,
-0.02108718454837799,
0.3124914765357971,
-0.2640957534313202,
0.48553186655044556,
0.2817257046699524,
0.20359958708286285,
0.34542912244796753,
0.196316659450531,
0.07885860651731491,
-0.18513360619544983,
-0.02954212948679924,
0.0008035693317651749,
0.015745043754577637,
0.2013028860092163,
0.015525752678513527,
-0.302240252494812,
-0.33828410506248474,
0.053907040506601334,
0.07798325270414352,
-0.29435551166534424,
-0.4199886918067932,
-0.0840439423918724,
-0.18850114941596985,
-0.05860138684511185,
-0.20476847887039185,
-0.032572850584983826,
-0.2585754096508026,
-0.3729179799556732,
-0.23933261632919312,
0.04930763691663742,
-0.16058708727359772,
-0.23978978395462036,
0.29366928339004517,
0.16998742520809174,
-0.2903738021850586,
0.32412683963775635,
-0.30409476161003113,
-0.4081709086894989,
-0.15803653001785278,
0.2665274143218994,
-0.061330318450927734,
0.06689620018005371,
0.05226918309926987,
-0.08402512967586517,
0.12964172661304474,
-0.1698676198720932,
0.455024778842926,
-0.16986024379730225,
-0.44437068700790405,
0.10273946821689606,
-0.1414862871170044,
0.36940422654151917,
0.02767876535654068,
0.10132274031639099,
0.09700806438922882,
-0.08394640684127808,
-0.010479233227670193,
-0.004447290673851967,
0.1619693785905838,
-0.24437324702739716,
0.007665994577109814,
-0.29090434312820435,
-0.18088312447071075,
-0.021443746984004974,
-0.5090832114219666,
-0.11759725213050842,
0.5027696490287781,
0.13875199854373932,
-0.2172672301530838,
-0.029248297214508057,
0.014408561401069164,
0.1492462307214737,
-0.19997240602970123,
0.2633717954158783,
0.033401284366846085,
-0.08732049912214279,
0.5326377749443054,
-0.10551995784044266,
-0.11745002865791321,
-0.02645641565322876,
-0.15321685373783112,
0.4213300049304962,
0.09376803785562515,
-0.33018016815185547,
0.19152173399925232,
-0.011430950835347176,
0.05601521208882332,
0.18471160531044006,
0.17810584604740143,
0.5187992453575134,
0.0392143689095974,
0.24650706350803375,
-0.023792749270796776,
-0.339836984872818,
-0.17185181379318237,
-0.16005414724349976,
0.2083532214164734,
-0.07104246318340302,
0.06305404752492905,
-0.27134594321250916,
0.28383827209472656,
0.214246466755867,
-0.11296485364437103,
0.042144738137722015,
0.18318960070610046,
0.6972620487213135,
0.17816327512264252,
-0.28195059299468994,
0.01306090410798788,
0.13709880411624908,
0.1438923180103302,
-0.054872602224349976,
0.32156217098236084,
-0.02952764742076397,
-0.441206157207489,
0.09633509814739227,
-0.27443185448646545,
0.05281258746981621,
-0.25210312008857727,
-0.10828956961631775,
0.19607168436050415,
0.08798885345458984,
-0.04577898606657982,
-0.0036040423437952995,
0.056031376123428345,
-0.013768790289759636,
0.36637628078460693,
0.08020918816328049,
-0.0026432345621287823,
-0.32990890741348267,
-0.0756881907582283,
-0.4199194610118866,
0.0691903829574585,
-0.0577952079474926,
0.21986091136932373,
-0.11036969721317291,
0.11334169656038284,
-0.16467736661434174,
0.10277967154979706,
0.8495227098464966,
0.003357280045747757,
-0.6551266312599182,
-0.1627010852098465,
0.14939604699611664,
-0.411164253950119,
0.06710809469223022,
-0.0011657066643238068,
-0.06021289899945259,
0.21155332028865814,
0.4190407991409302,
-0.22093448042869568,
-0.11011914908885956,
0.26967716217041016,
0.12218891829252243,
0.03978936746716499,
-0.22756023705005646,
-0.1750156432390213,
-0.1402868628501892,
-0.15965034067630768,
-0.18988975882530212,
-0.04255746304988861,
-0.16423051059246063,
-0.03890690207481384,
-0.3055097460746765,
-0.08762183785438538,
-0.04321867227554321,
0.38342708349227905,
0.0878399908542633,
0.1816129982471466,
-0.105007603764534,
0.32206910848617554,
0.48071393370628357,
-0.031069740653038025,
0.16528910398483276,
0.22426597774028778,
-0.16922244429588318,
-0.32399073243141174,
-0.16587534546852112,
0.10070205479860306,
0.443879097700119,
-0.03652343153953552,
-0.09407258778810501,
-0.23659485578536987,
0.034346774220466614,
-0.028723210096359253,
-0.1314881443977356,
-0.20292101800441742,
0.31949764490127563,
0.27877262234687805,
-0.5626210570335388,
-0.43468016386032104,
0.33675435185432434,
0.2931683361530304,
-0.05571310222148895,
0.384572297334671,
0.3917357325553894,
-0.1271842122077942,
-0.1787937581539154,
-0.057655446231365204,
0.737873375415802,
-0.2793723940849304,
0.3199296295642853,
-0.015067309141159058,
-0.35072582960128784,
0.5631980895996094,
-0.3242431879043579,
-0.09289730340242386,
-0.0035473890602588654,
-0.09914740175008774,
-0.22838789224624634,
-0.17828351259231567,
0.3458285331726074,
0.3576597571372986,
-0.4025152623653412,
0.33773431181907654,
-0.0428243912756443,
0.08836808800697327,
0.027002546936273575,
0.005971901118755341,
0.1837407946586609,
-0.276279479265213,
-0.006865067407488823,
0.11973163485527039,
0.11887915432453156,
0.44030120968818665,
-0.29375046491622925,
0.07856816053390503,
-0.2915750741958618,
-0.19454263150691986,
-0.3028695583343506,
0.021962720900774002,
0.1288803517818451,
0.031429387629032135,
0.7062222361564636,
-0.007783852517604828,
0.13504266738891602,
0.4751843214035034,
0.4399009346961975,
0.13918882608413696,
-0.37514621019363403,
0.196690171957016,
-0.3600429594516754,
-0.14979290962219238,
0.058949247002601624,
0.17022569477558136,
-0.06355256587266922,
0.018489371985197067,
-0.30945879220962524,
0.029692769050598145,
-0.022729437798261642,
-0.27719709277153015,
0.05505000054836273,
0.05957935005426407,
0.0061593689024448395,
-0.08397236466407776,
-0.07940265536308289,
0.4485951066017151,
0.2781929671764374,
0.018707629293203354,
0.07484845072031021,
0.24595953524112701,
-0.09436273574829102,
0.3475069999694824,
0.0646577924489975,
0.0322732999920845,
-0.2667601406574249,
0.29426097869873047,
-0.08988092839717865,
-0.3779764175415039,
0.08361779153347015,
-0.10844723880290985,
-0.35938721895217896,
-0.06699420511722565,
-0.2827807664871216,
-0.18745191395282745,
-0.07432937622070312,
-0.3029496967792511,
0.2483578622341156,
-0.2350660264492035,
-0.1800592690706253,
-0.15118226408958435,
0.08051997423171997,
-0.21666741371154785,
-0.2099401354789734,
-0.1750633865594864,
-0.41398492455482483,
0.21043291687965393,
-0.11201328039169312,
0.270907461643219,
0.08445359021425247,
0.12680046260356903,
0.19094911217689514,
0.07396857440471649,
-0.11193856596946716,
-0.21985001862049103,
0.1207057312130928,
-0.20332437753677368,
0.5632284879684448,
0.2070675790309906,
0.2890436053276062,
-0.11984267830848694,
-0.01633903756737709,
0.02014569193124771,
0.051964983344078064,
0.015574511140584946,
-0.008082009851932526,
0.17269232869148254,
0.12153905630111694,
-0.31048583984375,
-0.049125295132398605,
-0.0010916907340288162,
-0.09938390552997589,
-0.14207638800144196,
0.11402676999568939,
0.177816241979599,
0.13410905003547668,
0.09222441911697388,
0.08150361478328705,
-0.031892068684101105,
-0.18645161390304565,
0.23202937841415405,
0.33018118143081665,
0.0387171246111393,
0.33003926277160645,
0.21742050349712372,
-0.027683792635798454,
0.05366756021976471,
-0.14365887641906738,
0.3325992226600647,
0.23576276004314423,
0.07204803824424744,
0.3016223907470703,
-0.11899769306182861,
0.21524515748023987,
0.3758436441421509,
0.24863234162330627,
0.021829750388860703,
0.053137101233005524,
0.1425355225801468,
0.4835515320301056,
0.048756182193756104,
-0.13275590538978577,
-0.36149993538856506,
0.12823304533958435,
0.25274458527565,
-0.13299418985843658,
0.43603023886680603,
-0.06524228304624557,
0.1486799716949463,
0.5753985643386841,
0.10462156683206558,
0.13972744345664978,
0.006667865440249443,
0.5112199783325195,
0.17814455926418304,
0.22389064729213715,
0.08526170253753662,
0.31254836916923523,
0.267050564289093,
0.1331120729446411,
0.23726525902748108,
-0.5011430382728577,
0.016952916979789734,
-0.38796037435531616,
0.1621541678905487,
0.1834343671798706,
-0.20915955305099487,
-0.2089092880487442,
-0.18605661392211914,
0.18954986333847046,
0.029195640236139297,
-0.17040753364562988,
0.42489394545555115,
-0.22978809475898743,
-0.07887782156467438,
-0.3636816740036011,
-0.01462232694029808,
-0.1618773639202118,
-0.19841842353343964,
0.6090631484985352,
-0.18540500104427338,
0.23823866248130798,
-0.1670902669429779,
0.24372433125972748,
-0.5002303719520569,
0.31454986333847046,
-0.13895148038864136,
0.14497190713882446,
-0.2091699093580246,
0.29957348108291626,
0.14650265872478485,
-0.19552209973335266,
0.23232463002204895,
0.06757762283086777,
-0.06335453689098358,
-0.0797557383775711,
0.045309342443943024,
0.12636426091194153,
0.22394298017024994,
0.041708122938871384,
0.4054311513900757,
0.13060003519058228,
-0.17689822614192963,
0.03125682473182678,
-0.10929621011018753,
0.3131624162197113,
-0.0671943724155426,
0.08794713020324707,
-0.08785046637058258,
0.12419174611568451,
-0.04672885686159134,
-0.0821818858385086,
-0.039166051894426346,
0.3811216950416565,
-0.4036623537540436,
0.37501177191734314,
-0.3935602903366089,
-0.20291471481323242,
-0.2238677442073822,
0.1519767940044403,
-0.2924768030643463,
0.13694924116134644,
0.3565065860748291,
-0.2550806701183319,
-0.17901626229286194,
-0.07884170860052109,
-0.0024690665304660797,
0.11638540029525757,
0.342187762260437,
0.05149143561720848,
0.49538320302963257,
-0.0071959299966692924,
-0.2586134076118469,
-0.409902423620224,
-0.23291486501693726,
-0.12033964693546295,
0.054678671061992645,
-0.11331295967102051,
-0.20078176259994507,
0.018547803163528442,
0.00366998091340065,
0.051091521978378296,
-0.10769323259592056,
0.06087374687194824,
-0.43402379751205444,
-0.06943737715482712,
-0.09793739020824432,
-0.3268854022026062,
0.3197919428348541,
0.24936071038246155,
-0.1238715797662735,
-0.0955597460269928,
0.1234004944562912,
-0.20384341478347778,
-0.09076722711324692,
0.2887510657310486,
-0.14593346416950226,
-0.13779403269290924,
0.3056757152080536,
-0.18735362589359283,
0.5309540629386902,
0.0637582540512085,
-0.029003139585256577,
-0.13589522242546082,
-0.34693679213523865,
-0.022898241877555847,
0.05542784556746483,
-0.15855953097343445,
-0.05672133341431618,
-0.6374245882034302,
-0.18209680914878845,
-0.1938544064760208,
0.04091291502118111,
0.07529718428850174,
-0.08102089911699295,
-0.15241223573684692,
0.030028527602553368,
-0.31140199303627014,
0.02137126959860325,
0.20458661019802094,
0.17566314339637756,
-0.165617898106575,
0.05599822849035263,
0.0426127165555954,
0.18597102165222168,
0.5106599926948547,
-0.09498649835586548,
0.0254286490380764,
-0.0068092746660113335,
-0.24249419569969177,
0.05632776767015457,
-0.4501662254333496,
-0.6654909253120422,
0.21032214164733887,
0.21452513337135315,
0.15542829036712646,
0.08289332687854767,
0.2265336513519287,
0.1486230194568634,
-0.10021571069955826,
-0.15325677394866943,
0.5758810043334961,
-0.13832074403762817,
0.028621776029467583,
0.26537570357322693,
0.11049269139766693
] |
https://github.com/huggingface/datasets/issues/1710 | IsADirectoryError when trying to download C4 | I haven't tested C4 on my side so there so there may be a few bugs in the code/adjustments to make.
Here it looks like in c4.py, line 190 one of the `files_to_download` is `'/'` which is invalid.
Valid files are paths to local files or URLs to remote files. | **TLDR**:
I fail to download C4 and see a stacktrace originating in `IsADirectoryError` as an explanation for failure.
How can the problem be fixed?
**VERBOSE**:
I use Python version 3.7 and have the following dependencies listed in my project:
```
datasets==1.2.0
apache-beam==2.26.0
```
When running the following code, where `/data/huggingface/unpacked/` contains a single unzipped `wet.paths` file manually downloaded as per the instructions for C4:
```
from datasets import load_dataset
load_dataset("c4", "en", data_dir="/data/huggingface/unpacked", beam_runner='DirectRunner')
```
I get the following stacktrace:
```
/Users/fredriko/venv/misc/bin/python /Users/fredriko/source/misc/main.py
Downloading and preparing dataset c4/en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /Users/fredriko/.cache/huggingface/datasets/c4/en/2.3.0/8304cf264cc42bdebcb13fca4b9cb36368a96f557d36f9dc969bebbe2568b283...
Traceback (most recent call last):
File "/Users/fredriko/source/misc/main.py", line 3, in <module>
load_dataset("c4", "en", data_dir="/data/huggingface/unpacked", beam_runner='DirectRunner')
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/load.py", line 612, in load_dataset
ignore_verifications=ignore_verifications,
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 527, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 1066, in _download_and_prepare
pipeline=pipeline,
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 582, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/Users/fredriko/.cache/huggingface/modules/datasets_modules/datasets/c4/8304cf264cc42bdebcb13fca4b9cb36368a96f557d36f9dc969bebbe2568b283/c4.py", line 190, in _split_generators
file_paths = dl_manager.download_and_extract(files_to_download)
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 258, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 189, in download
self._record_sizes_checksums(url_or_urls, downloaded_path_or_paths)
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 117, in _record_sizes_checksums
self._recorded_sizes_checksums[str(url)] = get_size_checksum_dict(path)
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 80, in get_size_checksum_dict
with open(path, "rb") as f:
IsADirectoryError: [Errno 21] Is a directory: '/'
Process finished with exit code 1
``` | 50 | IsADirectoryError when trying to download C4
**TLDR**:
I fail to download C4 and see a stacktrace originating in `IsADirectoryError` as an explanation for failure.
How can the problem be fixed?
**VERBOSE**:
I use Python version 3.7 and have the following dependencies listed in my project:
```
datasets==1.2.0
apache-beam==2.26.0
```
When running the following code, where `/data/huggingface/unpacked/` contains a single unzipped `wet.paths` file manually downloaded as per the instructions for C4:
```
from datasets import load_dataset
load_dataset("c4", "en", data_dir="/data/huggingface/unpacked", beam_runner='DirectRunner')
```
I get the following stacktrace:
```
/Users/fredriko/venv/misc/bin/python /Users/fredriko/source/misc/main.py
Downloading and preparing dataset c4/en (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /Users/fredriko/.cache/huggingface/datasets/c4/en/2.3.0/8304cf264cc42bdebcb13fca4b9cb36368a96f557d36f9dc969bebbe2568b283...
Traceback (most recent call last):
File "/Users/fredriko/source/misc/main.py", line 3, in <module>
load_dataset("c4", "en", data_dir="/data/huggingface/unpacked", beam_runner='DirectRunner')
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/load.py", line 612, in load_dataset
ignore_verifications=ignore_verifications,
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 527, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 1066, in _download_and_prepare
pipeline=pipeline,
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/builder.py", line 582, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/Users/fredriko/.cache/huggingface/modules/datasets_modules/datasets/c4/8304cf264cc42bdebcb13fca4b9cb36368a96f557d36f9dc969bebbe2568b283/c4.py", line 190, in _split_generators
file_paths = dl_manager.download_and_extract(files_to_download)
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 258, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 189, in download
self._record_sizes_checksums(url_or_urls, downloaded_path_or_paths)
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 117, in _record_sizes_checksums
self._recorded_sizes_checksums[str(url)] = get_size_checksum_dict(path)
File "/Users/fredriko/venv/misc/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 80, in get_size_checksum_dict
with open(path, "rb") as f:
IsADirectoryError: [Errno 21] Is a directory: '/'
Process finished with exit code 1
```
I haven't tested C4 on my side so there so there may be a few bugs in the code/adjustments to make.
Here it looks like in c4.py, line 190 one of the `files_to_download` is `'/'` which is invalid.
Valid files are paths to local files or URLs to remote files. | [
-0.21100063621997833,
-0.016683094203472137,
0.0020138155668973923,
0.23881179094314575,
0.30036354064941406,
0.011594243347644806,
0.087931789457798,
0.24226373434066772,
-0.10572361946105957,
0.09686139225959778,
-0.19106698036193848,
-0.09682247787714005,
-0.3083794116973877,
-0.03788003325462341,
0.04636872187256813,
-0.07067345082759857,
-0.17713886499404907,
0.24132654070854187,
-0.49239739775657654,
0.14209000766277313,
-0.014867192134261131,
0.415452778339386,
-0.15277749300003052,
0.024850063025951385,
-0.09491351991891861,
-0.10576239973306656,
-0.044862087815999985,
0.23980730772018433,
-0.004304243251681328,
-0.4316815435886383,
0.6017950177192688,
0.22954846918582916,
0.12453512847423553,
0.48743975162506104,
-0.00012129638344049454,
0.29819661378860474,
0.317119836807251,
-0.1303759515285492,
-0.3978932499885559,
-0.2918587923049927,
-0.06634527444839478,
-0.03881850093603134,
0.33563297986984253,
-0.1701166033744812,
0.13118085265159607,
0.035083115100860596,
0.084141306579113,
-0.37200137972831726,
0.29277148842811584,
0.24903953075408936,
0.15614748001098633,
0.40782392024993896,
0.2956754267215729,
0.046112727373838425,
0.1961442530155182,
-0.07394570112228394,
0.025871949270367622,
0.3925037384033203,
-0.32684198021888733,
0.21905958652496338,
-0.10653834789991379,
0.15515369176864624,
0.06170456111431122,
0.003220699727535248,
0.5413604974746704,
-0.20763841271400452,
0.18804579973220825,
-0.03095848113298416,
0.14103540778160095,
0.03951510041952133,
0.6169295907020569,
-0.367305189371109,
-0.22736598551273346,
0.022646859288215637,
0.048532623797655106,
-0.04809696972370148,
0.5799093246459961,
0.028688810765743256,
-0.1914096623659134,
0.15998752415180206,
-0.3129754662513733,
0.0555076077580452,
-0.2554160952568054,
0.180970698595047,
-0.27909594774246216,
-0.21638381481170654,
-0.12132205069065094,
0.1668667197227478,
0.35394224524497986,
0.15938301384449005,
0.07218887656927109,
-0.15228837728500366,
0.09508803486824036,
0.10238981992006302,
-0.3253188729286194,
0.13249538838863373,
-0.07984117418527603,
0.444947212934494,
-0.058874666690826416,
-0.13521403074264526,
-0.03231225162744522,
-0.08949583768844604,
-0.1571262776851654,
0.07715214788913727,
-0.09983514249324799,
0.5191344618797302,
-0.1745389997959137,
-0.057901933789253235,
0.19163404405117035,
0.12990160286426544,
0.025129232555627823,
0.09347791969776154,
-0.06176428496837616,
-0.2957741320133209,
-0.39964842796325684,
0.19835001230239868,
-0.03088422119617462,
-0.14651639759540558,
-0.5061503052711487,
-0.05114780366420746,
-0.6028205156326294,
0.0617651641368866,
-0.04868874326348305,
0.4410612881183624,
-0.21568229794502258,
0.2982069253921509,
0.4271639585494995,
0.11720281094312668,
-0.07775229960680008,
-0.16001832485198975,
-0.046446792781353,
0.18215586245059967,
-0.3387566804885864,
-0.21754057705402374,
0.14654599130153656,
-0.3067019581794739,
0.05651604384183884,
-0.0572502538561821,
0.12428993731737137,
0.11984731256961823,
-0.13131669163703918,
0.08329999446868896,
-0.3962433934211731,
0.32495853304862976,
-0.056918591260910034,
0.35333800315856934,
0.14195239543914795,
-0.2476043999195099,
-0.04191833734512329,
-0.2503637671470642,
-0.02889230102300644,
-0.16892403364181519,
-0.0059050824493169785,
0.06250040233135223,
-0.26217353343963623,
-0.01863981783390045,
-0.023985378444194794,
-0.370290070772171,
-0.08805599063634872,
-0.025087930262088776,
-0.306953489780426,
-0.3325377106666565,
0.04036680981516838,
-0.3879479169845581,
0.28678521513938904,
0.7887272834777832,
-0.3730827271938324,
-0.062372755259275436,
-0.3939862847328186,
-0.32072752714157104,
-0.08863767236471176,
0.15976792573928833,
0.00839162152260542,
0.46834254264831543,
-0.3715883493423462,
-0.0817713811993599,
0.034998275339603424,
-0.4308701157569885,
-0.38265952467918396,
0.4031054377555847,
-0.2026178538799286,
0.1814247965812683,
0.2387690544128418,
-0.15938569605350494,
-0.037930313497781754,
-0.049159929156303406,
0.03923780471086502,
0.07379086315631866,
0.10098934918642044,
-0.21469390392303467,
-0.3035179674625397,
-0.0859721377491951,
0.03479193150997162,
0.18369251489639282,
0.188991978764534,
0.12379993498325348,
0.2890424132347107,
0.023836597800254822,
0.42526674270629883,
-0.15448643267154694,
0.1230122447013855,
0.43588322401046753,
0.3003920316696167,
0.0804162323474884,
-0.22774241864681244,
0.2824690043926239,
-0.7021691203117371,
0.13698968291282654,
-0.06885320693254471,
-0.052557408809661865,
-0.18831618130207062,
0.05658853054046631,
-0.3794921636581421,
0.10984756797552109,
-0.26815152168273926,
-0.05080446973443031,
0.04274061322212219,
0.21536894142627716,
0.025101225823163986,
0.22533418238162994,
0.054554883390665054,
0.9237931966781616,
-0.02912614308297634,
0.24124589562416077,
-0.11774227023124695,
0.28890106081962585,
-0.12395995110273361,
-0.0006957817822694778,
0.23601898550987244,
0.0590987391769886,
0.28105801343917847,
-0.2603558301925659,
-0.016430893912911415,
0.44961926341056824,
-0.30321547389030457,
0.2257034033536911,
-0.23567089438438416,
0.23740996420383453,
0.14095383882522583,
-0.4850708842277527,
0.24378851056098938,
0.18263429403305054,
0.015550554729998112,
0.07949461787939072,
0.30245745182037354,
0.037396885454654694,
-0.01110200583934784,
0.29447275400161743,
0.2611163258552551,
0.20772334933280945,
0.10513117909431458,
-0.16970627009868622,
0.18628187477588654,
0.005612991750240326,
0.45107215642929077,
-0.08532589673995972,
0.6482316851615906,
-0.23580898344516754,
-0.04862203449010849,
0.07109962403774261,
-0.02945079281926155,
-0.08530369400978088,
-0.24019798636436462,
0.16998964548110962,
-0.1940019428730011,
0.13191676139831543,
0.3667607307434082,
0.2274276465177536,
0.3210945725440979,
0.13861298561096191,
-0.06407427787780762,
0.17763391137123108,
-0.035429198294878006,
-0.0930110365152359,
0.19746363162994385,
0.014387965202331543,
-0.1937517523765564,
0.11275024712085724,
-0.03377342224121094,
0.07117722928524017,
-0.2204747498035431,
-0.3273622393608093,
-0.10830142349004745,
0.09169039875268936,
-0.5798998475074768,
0.08779960125684738,
-0.3344513475894928,
-0.150152787566185,
-0.42755889892578125,
0.1584729701280594,
-0.13266469538211823,
-0.384199321269989,
-0.25355225801467896,
0.3956749439239502,
-0.15534326434135437,
0.07453865557909012,
-0.05246571823954582,
-0.3114846348762512,
-0.042909033596515656,
-0.3456937074661255,
-0.22961261868476868,
0.11665347218513489,
-0.36468473076820374,
-0.018813006579875946,
0.2823856770992279,
-0.16342581808567047,
0.14777687191963196,
-0.38273683190345764,
0.1993679702281952,
-0.3894244134426117,
-0.19309327006340027,
0.3145964741706848,
-0.10970628261566162,
-0.11747953295707703,
0.2981436252593994,
0.20714162290096283,
-0.18095488846302032,
-0.3646032512187958,
0.000978938303887844,
0.02553512342274189,
-0.1015319749712944,
0.18815897405147552,
0.007154312916100025,
-0.0530274398624897,
-0.22069308161735535,
-0.32394129037857056,
-0.3468903601169586,
-0.43730875849723816,
0.2280205488204956,
-0.20747530460357666,
-0.02894127368927002,
0.36828479170799255,
0.11059969663619995,
0.2621779441833496,
-0.1250935047864914,
0.035554394125938416,
0.21266166865825653,
0.09515386819839478,
0.15807628631591797,
0.030946355313062668,
-0.2959897518157959,
0.11056207120418549,
-0.188384011387825,
0.11259864270687103,
0.42327797412872314,
-0.6604570150375366,
0.36218833923339844,
-0.16098852455615997,
0.23376405239105225,
-0.11735956370830536,
0.23081861436367035,
0.34784191846847534,
0.055245380848646164,
0.04764585196971893,
-0.16261222958564758,
0.03299326449632645,
0.05541806295514107,
-0.24115914106369019,
0.35278961062431335,
0.020057590678334236,
0.14074832201004028,
0.10692070424556732,
0.742190957069397,
0.1976405829191208,
-0.37731432914733887,
0.5262415409088135,
0.220574751496315,
0.5429072380065918,
-0.0232982337474823,
-0.18626603484153748,
-0.03341177478432655,
0.0498199537396431,
0.08569365739822388,
0.1664588302373886,
-0.04401315748691559,
-0.060138069093227386,
-0.2190626859664917,
0.15066759288311005,
-0.3889394700527191,
-0.28938227891921997,
-0.10512448847293854,
-0.015478402376174927,
0.31317418813705444,
0.0800834447145462,
-0.002858579158782959,
0.24765458703041077,
-0.1807793378829956,
0.19716636836528778,
0.4520081877708435,
-0.08933878690004349,
0.07269253581762314,
0.32285991311073303,
-0.26422733068466187,
-0.38160526752471924,
0.4794577956199646,
0.11055701971054077,
0.07210960984230042,
0.05692317709326744,
-0.011797687038779259,
-0.0023615509271621704,
0.09842287003993988,
0.556862473487854,
0.10643163323402405,
0.12376206368207932,
0.128756582736969,
-0.1111193597316742,
-0.5451618432998657,
-0.08212737739086151,
-0.13113805651664734,
-0.049254052340984344,
0.18023861944675446,
0.09574291110038757,
-0.5184879899024963,
-0.1800268292427063,
0.06255438178777695,
0.3143157958984375,
-0.028527919203042984,
-0.15510548651218414,
-0.0741233304142952,
-0.3765133023262024,
-0.08482490479946136,
-0.1324586272239685,
-0.11404582113027573,
0.14280803501605988,
0.1670544594526291,
0.1341441571712494,
0.07629350572824478,
-0.3344877064228058,
0.1570645272731781,
-0.15013179183006287,
0.2978229224681854,
-0.02408686652779579,
0.2143876701593399,
0.22633162140846252,
0.33322247862815857,
0.1846713274717331,
0.26437288522720337,
-0.1563521772623062,
0.24815087020397186,
0.14764517545700073,
0.08531633019447327,
0.07806667685508728,
0.2647041082382202,
-0.15149207413196564,
-0.12448746711015701,
-0.15313467383384705,
0.10622844099998474,
0.002688072621822357,
0.4056754410266876,
0.11809330433607101,
-0.20319412648677826,
-0.1693195253610611,
-0.0508996956050396,
0.27506130933761597,
-0.33772197365760803,
-0.14458082616329193,
0.14536422491073608,
0.45612072944641113,
-0.17143549025058746,
-0.05929195135831833,
-0.0010154694318771362,
0.9429736137390137,
-0.074918732047081,
0.09960021078586578,
0.4034031331539154,
-0.20989066362380981,
-0.03257601335644722,
-0.6176767349243164,
-0.09891412407159805,
-0.144477978348732,
0.26075074076652527,
-0.003960169851779938,
-0.13883671164512634,
-0.020516693592071533,
0.053241752088069916,
-0.2829585373401642,
0.3608721196651459,
0.12141342461109161,
0.05404118821024895,
0.2724376618862152,
0.07291421294212341,
-0.06147976964712143,
-0.048499662429094315,
-0.27341195940971375,
0.09394574910402298,
0.10574553161859512,
0.431422621011734,
-0.3022378087043762,
-0.16294477880001068,
0.009723450988531113,
-0.35248488187789917,
-0.24097348749637604,
0.13568517565727234,
-0.46104133129119873,
0.1396101713180542,
-0.01709885522723198,
-0.18496960401535034,
0.2507362365722656,
0.16172941029071808,
0.16632279753684998,
0.27267059683799744,
-0.19780509173870087,
0.07398480921983719,
-0.31889215111732483,
-0.14787213504314423,
0.1963871270418167,
0.06696664541959763,
0.13577702641487122,
-0.16487529873847961,
0.06871940940618515,
0.015435844659805298,
-0.23537825047969818,
-0.21152600646018982,
0.28920605778694153,
-0.04978466033935547,
-0.0397082194685936,
-0.12744541466236115,
0.27221113443374634,
0.13786491751670837,
0.11897626519203186,
-0.04470806196331978,
0.05130106955766678,
-0.08271272480487823,
-0.05930652096867561,
-0.003794550895690918,
-0.12421536445617676,
-0.24379462003707886,
0.016390100121498108,
0.5655061602592468,
-0.06920506805181503,
-0.1749802678823471,
0.2817898392677307,
0.10252681374549866,
-0.3069685101509094,
-0.1783805787563324,
-0.06492377817630768,
0.057409629225730896,
-0.5497655868530273,
0.09124958515167236,
-0.24430295825004578,
0.048415735363960266,
-0.1836189329624176,
0.20628853142261505,
0.20452086627483368,
0.09748010337352753,
0.030248422175645828,
-0.18795225024223328,
-0.35079267621040344,
0.16645002365112305,
-0.2784712612628937,
0.14199607074260712,
-0.08139000087976456,
0.3665921688079834,
0.19491074979305267,
-0.18604671955108643,
-0.20325514674186707,
-0.07422152161598206,
-0.15852372348308563,
-0.08748316764831543,
0.4411340653896332,
0.014997191727161407,
0.5713109374046326,
0.1639358103275299,
0.157179594039917,
0.1715366393327713,
-0.32531166076660156,
-0.049253255128860474,
-0.07361971586942673,
0.18733243644237518,
0.09404119104146957,
0.07913028448820114,
0.37533190846443176,
-0.007754789665341377,
-0.13746047019958496,
0.047367434948682785,
0.22244250774383545,
0.11462666839361191,
-0.1991398185491562,
0.003650391474366188,
-0.0742262452840805,
0.3938070237636566,
-0.3645930886268616,
0.02754739113152027,
0.056928761303424835,
0.23761053383350372,
0.08230524510145187,
-0.005456790328025818,
-0.14026829600334167,
-0.1004241406917572,
-0.008901082910597324,
0.027792442589998245,
0.0635286271572113,
-0.059094108641147614,
0.1621926724910736,
-0.13620217144489288,
-0.08090908825397491,
-0.22638855874538422,
0.18276163935661316,
0.021526075899600983,
-0.12954124808311462,
-0.07245122641324997,
0.3625158369541168,
0.09963323920965195,
-0.05107567459344864,
0.3101760745048523,
0.13566738367080688,
-0.02713034674525261,
-0.02725258842110634,
0.06728070974349976,
-0.09069599211215973,
-0.24506643414497375,
0.49722713232040405,
0.20034554600715637,
0.31163907051086426,
0.2572152018547058,
-0.13200902938842773,
0.2532205581665039,
-0.03582816570997238,
0.09296400845050812,
0.10726295411586761,
-0.15080583095550537,
0.29523909091949463,
0.4780043363571167,
-0.6502735614776611,
-0.019551480188965797,
-0.4387218654155731,
-0.08711495995521545,
0.1716146171092987,
-0.31943660974502563,
0.021031782031059265,
0.27447253465652466,
0.24898399412631989,
0.17907407879829407,
-0.034538596868515015,
0.593659520149231,
-0.17863155901432037,
0.028816569596529007,
-0.38050657510757446,
0.15563137829303741,
-0.04634292423725128,
0.1890699714422226,
0.032989904284477234,
-0.3242683410644531,
-0.34193676710128784,
0.14873473346233368,
-0.06663508713245392,
-0.2571845054626465,
0.5585411787033081,
0.35942739248275757,
-0.009763732552528381,
-0.41679146885871887,
-0.004722956568002701,
0.07747045159339905,
0.07783184945583344,
-0.14524567127227783,
0.1495109498500824,
0.2501823902130127,
0.00416930764913559,
0.06493979692459106,
0.1351974904537201,
0.3599378764629364,
0.04887736216187477,
-0.023633290082216263,
-0.16531632840633392,
0.053755950182676315,
0.017595259472727776,
-0.11011023074388504,
0.2040829360485077,
-0.04556979238986969,
0.42314207553863525,
0.35868144035339355,
0.06612171232700348,
-0.22730593383312225,
-0.013710830360651016,
-0.08687305450439453,
0.25723597407341003,
-0.2923276126384735,
0.252544641494751,
-0.36960750818252563,
0.022628121078014374,
-0.09296216070652008,
0.01153111457824707,
-0.5672215819358826,
0.16959799826145172,
0.14680828154087067,
-0.018360132351517677,
-0.004947936162352562,
-0.02860211580991745,
0.04674480855464935,
-0.15301500260829926,
0.4417676329612732,
0.4194592237472534,
0.28565970063209534,
-0.3929919898509979,
-0.37800395488739014,
-0.5556576251983643,
0.29370781779289246,
-0.18137656152248383,
0.14561237394809723,
-0.20256876945495605,
0.06017155200242996,
0.12347657978534698,
0.11001468449831009,
0.3431587219238281,
0.19594335556030273,
0.19138570129871368,
-0.099611297249794,
-0.16895738244056702,
-0.1098523885011673,
0.22267314791679382,
-0.2226104587316513,
0.05521402508020401,
-0.45272117853164673,
-0.0296640507876873,
-0.08000709861516953,
0.07211953401565552,
-0.048337116837501526,
0.08720570802688599,
0.11026547849178314,
-0.42627382278442383,
0.4338589310646057,
0.02669786661863327,
0.5156462788581848,
0.06752588599920273,
-0.4733673334121704,
-0.23565205931663513,
-0.1582622081041336,
-0.02807530388236046,
-0.27841436862945557,
-0.024800673127174377,
0.582554817199707,
-0.15245960652828217,
-0.07134763896465302,
-0.38789838552474976,
0.5314273238182068,
0.37240052223205566,
0.2315787374973297,
-0.29523468017578125,
0.29692041873931885,
-0.5836753249168396,
0.27547338604927063,
0.04807909578084946,
0.26408690214157104,
0.11512499302625656,
0.14233209192752838,
-0.6405690312385559,
-0.5447106957435608,
0.5251246690750122,
-0.682335615158081,
-0.11402605473995209,
0.28988850116729736,
0.2478710561990738,
0.034503042697906494,
-0.1271549016237259,
-0.527839183807373,
0.12671568989753723,
0.176258385181427,
-0.1000831350684166,
-0.32459142804145813,
0.0069524310529232025,
-0.18208344280719757,
-0.12201380729675293,
0.1465667486190796,
0.2175285816192627,
0.28761816024780273,
-0.2172272652387619,
0.06934194266796112,
-0.2737218737602234
] |
https://github.com/huggingface/datasets/issues/1706 | Error when downloading a large dataset on slow connection. | Hi ! Is this an issue you have with `openwebtext` specifically or also with other datasets ?
It looks like the downloaded file is corrupted and can't be extracted using `tarfile`.
Could you try loading it again with
```python
import datasets
datasets.load_dataset("openwebtext", download_mode="force_redownload")
``` | I receive the following error after about an hour trying to download the `openwebtext` dataset.
The code used is:
```python
import datasets
datasets.load_dataset("openwebtext")
```
> Traceback (most recent call last): [4/28]
> File "<stdin>", line 1, in <module>
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/load.py", line 610, in load_dataset
> ignore_verifications=ignore_verifications,
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/builder.py", line 515, in download_and_prepare
> dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/builder.py", line 570, in _download_and_prepare
> split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
> File "/home/lucadiliello/.cache/huggingface/modules/datasets_modules/datasets/openwebtext/5c636399c7155da97c982d0d70ecdce30fbca66a4eb4fc768ad91f8331edac02/openwebtext.py", line 62, in _split_generators
> dl_dir = dl_manager.download_and_extract(_URL)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 254, in download_and_extract
> return self.extract(self.download(url_or_urls))
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 235, in extract
> num_proc=num_proc,
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
> return function(data_struct)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 343, in cached_path
> tar_file.extractall(output_path_extracted)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2000, in extractall
> numeric_owner=numeric_owner)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2042, in extract
> numeric_owner=numeric_owner)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2112, in _extract_member
> self.makefile(tarinfo, targetpath)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2161, in makefile
> copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 253, in copyfileobj
> buf = src.read(remainder)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/lzma.py", line 200, in read
> return self._buffer.read(size)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/_compression.py", line 68, in readinto
> data = self.read(len(byte_view))
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/_compression.py", line 99, in read
> raise EOFError("Compressed file ended before the "
> EOFError: Compressed file ended before the end-of-stream marker was reached
| 44 | Error when downloading a large dataset on slow connection.
I receive the following error after about an hour trying to download the `openwebtext` dataset.
The code used is:
```python
import datasets
datasets.load_dataset("openwebtext")
```
> Traceback (most recent call last): [4/28]
> File "<stdin>", line 1, in <module>
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/load.py", line 610, in load_dataset
> ignore_verifications=ignore_verifications,
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/builder.py", line 515, in download_and_prepare
> dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/builder.py", line 570, in _download_and_prepare
> split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
> File "/home/lucadiliello/.cache/huggingface/modules/datasets_modules/datasets/openwebtext/5c636399c7155da97c982d0d70ecdce30fbca66a4eb4fc768ad91f8331edac02/openwebtext.py", line 62, in _split_generators
> dl_dir = dl_manager.download_and_extract(_URL)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 254, in download_and_extract
> return self.extract(self.download(url_or_urls))
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 235, in extract
> num_proc=num_proc,
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/py_utils.py", line 225, in map_nested
> return function(data_struct)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 343, in cached_path
> tar_file.extractall(output_path_extracted)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2000, in extractall
> numeric_owner=numeric_owner)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2042, in extract
> numeric_owner=numeric_owner)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2112, in _extract_member
> self.makefile(tarinfo, targetpath)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 2161, in makefile
> copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/tarfile.py", line 253, in copyfileobj
> buf = src.read(remainder)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/lzma.py", line 200, in read
> return self._buffer.read(size)
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/_compression.py", line 68, in readinto
> data = self.read(len(byte_view))
> File "/home/lucadiliello/anaconda3/envs/nlp/lib/python3.7/_compression.py", line 99, in read
> raise EOFError("Compressed file ended before the "
> EOFError: Compressed file ended before the end-of-stream marker was reached
Hi ! Is this an issue you have with `openwebtext` specifically or also with other datasets ?
It looks like the downloaded file is corrupted and can't be extracted using `tarfile`.
Could you try loading it again with
```python
import datasets
datasets.load_dataset("openwebtext", download_mode="force_redownload")
``` | [
-0.49100765585899353,
0.027840077877044678,
-0.10269321501255035,
0.21930857002735138,
0.2197146862745285,
0.11000131815671921,
0.1182747632265091,
0.4798278212547302,
0.053742144256830215,
0.005826979875564575,
-0.16624662280082703,
-0.10805194079875946,
-0.020688220858573914,
0.09193411469459534,
-0.22185048460960388,
-0.11430911719799042,
-0.3376923203468323,
0.25187766551971436,
-0.11982400715351105,
-0.013228986412286758,
-0.2608828842639923,
0.10146327316761017,
-0.14543113112449646,
0.09043586254119873,
0.028651589527726173,
-0.19736061990261078,
0.28136759996414185,
0.09576350450515747,
-0.329817533493042,
-0.32420313358306885,
0.11824961006641388,
-0.07706137001514435,
-0.15717053413391113,
0.19789215922355652,
-0.00010390645184088498,
0.10978086292743683,
0.319787859916687,
-0.012775917537510395,
-0.26225313544273376,
-0.012641564011573792,
-0.5175207257270813,
-0.4060269892215729,
-0.10653548687696457,
-0.23283478617668152,
0.14296367764472961,
-0.32054734230041504,
-0.03690379858016968,
-0.40103256702423096,
0.20275059342384338,
0.3491779565811157,
0.31929680705070496,
0.41040101647377014,
0.2654624581336975,
-0.15681397914886475,
0.2949919104576111,
-0.35274451971054077,
-0.14033372700214386,
0.024208415299654007,
0.09668175876140594,
0.18455223739147186,
0.015871047973632812,
-0.025406742468476295,
-0.09778203815221786,
0.3270842134952545,
0.08583760261535645,
-0.11590399593114853,
0.13125793635845184,
-0.14677423238754272,
0.2332092523574829,
0.3168924152851105,
0.6235707402229309,
0.11867887526750565,
-0.20031479001045227,
-0.09855519235134125,
-0.13089600205421448,
-0.05561656132340431,
0.1518605351448059,
0.3498472571372986,
-0.2633360028266907,
0.16817054152488708,
-0.0905275046825409,
-0.19822204113006592,
-0.11848920583724976,
0.13735546171665192,
-0.23899152874946594,
0.2095348834991455,
-0.11983023583889008,
0.16062116622924805,
0.08374709635972977,
-0.03401675820350647,
0.18189474940299988,
-0.22364094853401184,
0.005741685628890991,
-0.019328098744153976,
-0.3181527554988861,
0.08715319633483887,
0.15870821475982666,
0.0071563199162483215,
0.15760639309883118,
0.15614674985408783,
0.18068547546863556,
-0.0814056396484375,
-0.14556138217449188,
0.03432929515838623,
0.24853071570396423,
0.1881302148103714,
-0.2394283413887024,
-0.18370474874973297,
0.3369808793067932,
0.009760202839970589,
0.0863562822341919,
-0.024599183350801468,
-0.05611182376742363,
-0.4480533003807068,
0.06911677122116089,
-0.0665593072772026,
0.41850852966308594,
-0.05008283630013466,
-0.6267601847648621,
0.08475939929485321,
0.01715914160013199,
0.09170200675725937,
0.09746178239583969,
0.13478229939937592,
-0.33482494950294495,
0.17655110359191895,
0.2755550146102905,
-0.08549889177083969,
-0.21780158579349518,
-0.25561821460723877,
-0.2875708043575287,
-0.024829398840665817,
-0.00039889663457870483,
-0.15892943739891052,
0.08779025077819824,
-0.053948838263750076,
0.19522978365421295,
-0.14222486317157745,
-0.09105964004993439,
-0.05169430002570152,
-0.011624992825090885,
-0.2797980010509491,
-0.04724126309156418,
0.42050880193710327,
-0.11708362400531769,
0.217013418674469,
0.07140310853719711,
0.06809616088867188,
-0.1618654727935791,
0.09302081167697906,
-0.14813879132270813,
-0.5448228716850281,
-0.20401304960250854,
0.29175126552581787,
-0.16077329218387604,
-0.11633701622486115,
0.06747238337993622,
-0.17781738936901093,
0.06017206609249115,
-0.06220583990216255,
-0.23688125610351562,
-0.1359257996082306,
-0.3001925051212311,
-0.06435144692659378,
0.17001719772815704,
0.47602546215057373,
-0.14761988818645477,
0.11281141638755798,
-0.1583244353532791,
-0.09009653329849243,
0.1099366843700409,
0.3871321380138397,
-0.2834584712982178,
0.3439685106277466,
-0.16083009541034698,
-0.03276829048991203,
0.4121796190738678,
-0.2027585506439209,
-0.4505097568035126,
0.4190318286418915,
-0.21335285902023315,
-0.017549049109220505,
-0.01509471982717514,
-0.015598897822201252,
0.24755968153476715,
-0.24890214204788208,
0.06000923365354538,
0.40462732315063477,
-0.2269217073917389,
0.18323196470737457,
-0.28773507475852966,
-0.3469764292240143,
0.04459061846137047,
0.31404465436935425,
0.15437385439872742,
-0.09752701967954636,
0.07386013120412827,
0.3041228652000427,
0.10834749042987823,
0.24218611419200897,
0.18196067214012146,
0.20645849406719208,
-0.013302948325872421,
0.0129644013941288,
-0.28032270073890686,
0.09755728393793106,
-0.2467363178730011,
0.22624105215072632,
0.20034150779247284,
0.12436442077159882,
-0.12025687098503113,
0.04992973804473877,
-0.5512595772743225,
-0.006460389122366905,
-0.10389766097068787,
0.20975926518440247,
0.1960364580154419,
-0.04587049037218094,
0.14511854946613312,
0.28511372208595276,
0.132997527718544,
0.22758884727954865,
0.052090734243392944,
-0.05024907737970352,
-0.05800322815775871,
0.08377663046121597,
-0.05319177359342575,
0.0655418261885643,
0.3550401031970978,
-0.22054901719093323,
-0.029208414256572723,
-0.07982558757066727,
-0.2772212624549866,
0.25788742303848267,
-0.17337161302566528,
0.03562236204743385,
-0.023228555917739868,
0.14711423218250275,
0.1160379946231842,
-0.16420690715312958,
0.06791054457426071,
0.10627368092536926,
0.39603662490844727,
-0.060612380504608154,
0.19692552089691162,
-0.03385856747627258,
0.11030161380767822,
-0.05911720544099808,
0.04357531666755676,
0.07123762369155884,
0.31670036911964417,
-0.13126343488693237,
0.2426617443561554,
0.07664251327514648,
0.21932528913021088,
0.1795303374528885,
0.10726827383041382,
-0.05420156568288803,
0.08306826651096344,
0.004687517881393433,
0.4841129183769226,
-0.04649803787469864,
0.04741109907627106,
0.2676333785057068,
0.05865861475467682,
-0.10773227363824844,
-0.2526249289512634,
0.40302371978759766,
0.482799232006073,
0.08380051702260971,
0.2591087818145752,
0.04535730183124542,
0.12627725303173065,
-0.27975454926490784,
0.3492491543292999,
0.3568131923675537,
0.2874477803707123,
0.28964412212371826,
0.030117366462945938,
-0.12305600196123123,
-0.2845940589904785,
-0.3535313308238983,
0.3476914167404175,
0.6082856059074402,
-0.12310783565044403,
-0.07094349712133408,
-0.12473488599061966,
-0.07888849824666977,
0.12088799476623535,
0.04402340576052666,
-0.03775837644934654,
-0.42968377470970154,
-0.015417970716953278,
0.04850899428129196,
-0.1434430629014969,
0.143975168466568,
-0.16383902728557587,
0.22403013706207275,
0.4131111204624176,
0.09951646625995636,
-0.12924975156784058,
-0.192510724067688,
-0.15325775742530823,
0.1184123307466507,
0.36958104372024536,
-0.018959028646349907,
0.23071140050888062,
-0.2334081083536148,
-0.07125763595104218,
-0.33125415444374084,
0.12311429530382156,
-0.01869255304336548,
0.04266178980469704,
0.010076328180730343,
0.2998988628387451,
0.4455485939979553,
0.15326789021492004,
-0.2030157595872879,
0.27088046073913574,
-0.21019385755062103,
0.03256027400493622,
0.13564272224903107,
0.02612411044538021,
0.06465288251638412,
0.030995752662420273,
-0.2389446198940277,
-0.34995415806770325,
-0.6167089939117432,
0.14164018630981445,
-0.1712806075811386,
0.14455446600914001,
0.01563345640897751,
-0.11973758786916733,
0.12467916309833527,
0.06425721943378448,
0.08570831269025803,
-0.1934940367937088,
-0.5720280408859253,
0.3628086447715759,
-0.15449519455432892,
-0.34719210863113403,
-0.027420980855822563,
0.19020907580852509,
0.15653228759765625,
-0.022583480924367905,
-0.5953270196914673,
0.07838958501815796,
-0.44605687260627747,
0.08879327774047852,
-0.2679099440574646,
0.06846310198307037,
0.11310400068759918,
-0.09093711525201797,
-0.2421577274799347,
-0.036553021520376205,
0.06054623797535896,
0.10368585586547852,
-0.047047652304172516,
0.1688968390226364,
-0.11970392614603043,
0.3804697096347809,
0.16184966266155243,
0.08384239673614502,
0.2322375774383545,
-0.0005097053945064545,
0.37638017535209656,
0.19728513062000275,
0.14738120138645172,
-0.06270457059144974,
-0.11184472590684891,
-0.06378287822008133,
-0.11939540505409241,
0.07315865904092789,
0.2853549122810364,
0.02056298404932022,
-0.04016551375389099,
-0.3821673095226288,
-0.16346953809261322,
-0.08309251070022583,
-0.4175006151199341,
-0.05793141573667526,
-0.12601032853126526,
0.10068601369857788,
0.0835849791765213,
-0.04980866611003876,
-0.1936890035867691,
-0.11251465231180191,
-0.004255115985870361,
0.0742681473493576,
-0.04596821218729019,
-0.09274628013372421,
0.15160873532295227,
0.3976323902606964,
-0.7130664587020874,
0.17379248142242432,
-0.0037280377000570297,
0.4163467288017273,
0.005200576037168503,
0.07768867909908295,
0.1122407615184784,
-0.06666643917560577,
0.3629687428474426,
-0.0977148711681366,
0.3858885169029236,
0.04328319802880287,
0.145528182387352,
-0.3521086275577545,
-0.023700127378106117,
-0.056103408336639404,
0.13757798075675964,
0.4362490177154541,
-0.23925530910491943,
-0.5605274438858032,
-0.0402190275490284,
0.3201284110546112,
0.1238597109913826,
-0.13074249029159546,
-0.23064859211444855,
-0.028774769976735115,
-0.6097214221954346,
-0.21581058204174042,
-0.15194779634475708,
0.2367379516363144,
0.2336743175983429,
0.1370490938425064,
-0.05509817227721214,
-0.09798253327608109,
0.012119889259338379,
0.03480329364538193,
-0.2681638300418854,
-0.08247410506010056,
-0.01905176043510437,
0.5001140236854553,
-0.01271650567650795,
0.013765010982751846,
0.1625990867614746,
0.6605309844017029,
0.14514978229999542,
-0.30087515711784363,
0.04131132364273071,
0.20783689618110657,
-0.13938376307487488,
0.2565184235572815,
-0.0801175907254219,
-0.030429519712924957,
-0.08601382374763489,
0.4644860029220581,
-0.024819601327180862,
0.31331345438957214,
0.3565271198749542,
-0.15735819935798645,
-0.3542943298816681,
-0.32286083698272705,
0.4364983141422272,
-0.07546211779117584,
0.06383080780506134,
0.4427601993083954,
0.09642438590526581,
0.052407070994377136,
0.06020034849643707,
-0.14925777912139893,
0.7682138085365295,
-0.11165733635425568,
-0.004782296717166901,
0.14781615138053894,
-0.20760247111320496,
0.30531051754951477,
-0.19137760996818542,
0.025693772360682487,
-0.13359226286411285,
-0.4322044253349304,
0.07879829406738281,
-0.04268823191523552,
0.022835828363895416,
0.12234842032194138,
-0.1477639377117157,
0.01696467399597168,
0.0007751211524009705,
-0.21426796913146973,
0.03147437423467636,
0.49073201417922974,
-0.5565983057022095,
-0.11662845313549042,
-0.12702350318431854,
0.2256367802619934,
-0.25514161586761475,
0.309259831905365,
-0.12858407199382782,
-0.09009411931037903,
0.12200053036212921,
-0.2126542329788208,
-0.41878920793533325,
0.034732889384031296,
-0.2291085571050644,
0.40831708908081055,
-0.2946041226387024,
0.06522007286548615,
0.3361535668373108,
-0.06996229290962219,
0.037186384201049805,
0.19323602318763733,
-0.29726043343544006,
0.3335827887058258,
-0.26973122358322144,
-0.08724762499332428,
0.18527856469154358,
0.09799186140298843,
0.16249756515026093,
-0.20262748003005981,
-0.16561102867126465,
0.09420458972454071,
-0.16516059637069702,
-0.20598919689655304,
0.3227597773075104,
0.022929716855287552,
0.19065089523792267,
-0.25751522183418274,
-0.20882685482501984,
-0.07848037779331207,
-0.1530333310365677,
-0.1943640559911728,
0.17327164113521576,
0.3055019676685333,
-0.14999258518218994,
0.3735974133014679,
-0.04565681889653206,
-0.4248388409614563,
-0.06517775356769562,
0.3925416171550751,
-0.21787309646606445,
0.12653641402721405,
0.40352240204811096,
0.10352000594139099,
-0.31736475229263306,
-0.19183191657066345,
0.2314172387123108,
-0.12026382982730865,
-0.5844942927360535,
0.35712334513664246,
-0.2624915540218353,
0.28455066680908203,
0.030675426125526428,
0.40459904074668884,
0.1726703643798828,
0.12688393890857697,
0.18246188759803772,
-0.4925784468650818,
-0.06164451688528061,
-0.0679735392332077,
-0.08234438300132751,
0.18015947937965393,
-0.025283876806497574,
0.20499849319458008,
0.011921266093850136,
0.035807620733976364,
-0.3645217716693878,
0.3533165752887726,
-0.35218220949172974,
0.0474165603518486,
0.08719202876091003,
-0.34614649415016174,
0.3602367341518402,
0.1056680679321289,
0.15464997291564941,
0.05807504802942276,
-0.30065444111824036,
-0.27259767055511475,
-0.08072644472122192,
0.14277596771717072,
0.017848892137408257,
-0.43662193417549133,
0.24754878878593445,
-0.39798516035079956,
-0.24334284663200378,
0.17063990235328674,
0.039160728454589844,
0.07200628519058228,
-0.10029511153697968,
-0.24054987728595734,
0.01056605577468872,
-0.02523549646139145,
-0.018758075311779976,
0.23667065799236298,
-0.19873470067977905,
0.3995853662490845,
0.13087481260299683,
0.2940325140953064,
0.0873841717839241,
-0.15303578972816467,
-0.2370467483997345,
0.07446281611919403,
0.0038515478372573853,
-0.10785415023565292,
0.5733605623245239,
-0.30866068601608276,
-0.01971488632261753,
0.18998442590236664,
0.38392192125320435,
0.352433979511261,
-0.011895781382918358,
-0.14055052399635315,
0.17007976770401,
0.2697324752807617,
-0.248519629240036,
-0.17764514684677124,
0.06306169927120209,
0.12714803218841553,
0.11009383201599121,
0.01880212128162384,
-0.016113486140966415,
-0.09893403947353363,
-0.3694087862968445,
-0.0019300319254398346,
0.41170603036880493,
0.33020657300949097,
-0.02875717356801033,
0.5262479782104492,
0.0035626664757728577,
-0.06398433446884155,
0.05947770178318024,
0.11783325672149658,
0.3483617901802063,
0.39445173740386963,
-0.24729886651039124,
0.3183896839618683,
-0.07963579148054123,
0.19705842435359955,
-0.28978464007377625,
-0.5639089345932007,
0.1555328369140625,
0.11428260803222656,
-0.11373643577098846,
0.05186031758785248,
0.07507648319005966,
0.14442303776741028,
-0.2696661651134491,
0.0964280515909195,
-0.39301279187202454,
0.5118334889411926,
0.04613090679049492,
-0.07318060100078583,
0.20719458162784576,
-0.07552292943000793,
-0.10881791263818741,
0.1645207405090332,
-0.013795621693134308,
-0.03833457827568054,
0.0655362606048584,
0.17506013810634613,
0.1009363979101181,
-0.18918472528457642,
-0.030468285083770752,
-0.15904447436332703,
0.07753404974937439,
-0.3614945411682129,
0.035659659653902054,
0.3301439881324768,
-0.17943286895751953,
-0.10933703184127808,
0.5390258431434631,
0.4203195571899414,
0.3193344175815582,
-0.005500985309481621,
0.08225316554307938,
0.020513998344540596,
0.027241965755820274,
-0.17746096849441528,
0.06285012513399124,
0.19288668036460876,
0.262874573469162,
0.49815014004707336,
0.09664064645767212,
-0.21125800907611847,
-0.21730361878871918,
-0.011819262057542801,
-0.1849783957004547,
-0.04128742963075638,
0.1881117820739746,
-0.013040553778409958,
-0.05958522483706474,
-0.37634941935539246,
0.03290530666708946,
-0.08464794605970383,
0.08205250650644302,
-0.000893542543053627,
-0.35238099098205566,
0.20535817742347717,
-0.12162232398986816,
0.11467638611793518,
-0.3505582809448242,
0.6454349756240845,
0.21025371551513672,
0.15615954995155334,
-0.23876351118087769,
-0.3794481158256531,
-0.47238078713417053,
0.11779908835887909,
-0.2668834626674652,
-0.1449929177761078,
0.13560868799686432,
0.2898339331150055,
-0.22546377778053284,
0.15015797317028046,
0.09571677446365356,
0.4053814113140106,
-0.17343249917030334,
0.05575786903500557,
-0.3363557755947113,
-0.25135546922683716,
0.1509876251220703,
-0.09583846479654312,
-0.023181628435850143,
-0.4900800287723541,
0.24470841884613037,
-0.3484026789665222,
0.19981375336647034,
-0.24019844830036163,
-0.007663857191801071,
-0.12589359283447266,
0.007981639355421066,
0.37058010697364807,
0.15788708627223969,
0.20457813143730164,
0.07001891732215881,
-0.14509494602680206,
-0.08369499444961548,
-0.25956615805625916,
-0.12919332087039948,
0.19425678253173828,
0.15673992037773132,
0.016439590603113174,
0.06627378612756729,
0.16532014310359955,
-0.1236552745103836,
0.3453647792339325,
-0.19537240266799927,
0.39097949862480164,
-0.21614156663417816,
-0.1557777374982834,
-0.1425408273935318,
0.2317114770412445,
0.26006248593330383,
0.011815089732408524,
-0.10515554249286652,
0.06640225648880005,
-0.3719688057899475,
-0.45350417494773865,
0.5555470585823059,
0.10171276330947876,
-0.25954610109329224,
-0.16648611426353455,
0.2619670629501343,
0.11531469970941544,
0.049431756138801575,
-0.25186145305633545,
0.2396022379398346,
0.33479756116867065,
-0.04651440680027008,
-0.4082004427909851,
0.2329716831445694,
-0.014588484540581703,
-0.16790901124477386,
0.1108664721250534,
0.25594228506088257,
-0.06745514273643494,
-0.4843255281448364,
0.009041883051395416,
-0.03404585272073746
] |
https://github.com/huggingface/datasets/issues/1701 | Some datasets miss dataset_infos.json or dummy_data.zip | Thanks for reporting.
We should indeed add all the missing dummy_data.zip and also the dataset_infos.json at least for lm1b, reclor and wikihow.
For c4 I haven't tested the script and I think we'll require some optimizations regarding beam datasets before processing it.
| While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json :
```
c4
lm1b
reclor
wikihow
```
And some does not have a dummy_data.zip :
```
kor_nli
math_dataset
mlqa
ms_marco
newsgroup
qa4mre
qangaroo
reddit_tifu
super_glue
trivia_qa
web_of_science
wmt14
wmt15
wmt16
wmt17
wmt18
wmt19
xtreme
```
But it seems that some of those last do have a "dummy" directory .
| 42 | Some datasets miss dataset_infos.json or dummy_data.zip
While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json :
```
c4
lm1b
reclor
wikihow
```
And some does not have a dummy_data.zip :
```
kor_nli
math_dataset
mlqa
ms_marco
newsgroup
qa4mre
qangaroo
reddit_tifu
super_glue
trivia_qa
web_of_science
wmt14
wmt15
wmt16
wmt17
wmt18
wmt19
xtreme
```
But it seems that some of those last do have a "dummy" directory .
Thanks for reporting.
We should indeed add all the missing dummy_data.zip and also the dataset_infos.json at least for lm1b, reclor and wikihow.
For c4 I haven't tested the script and I think we'll require some optimizations regarding beam datasets before processing it.
| [
0.13598956167697906,
0.2731490135192871,
-0.046183887869119644,
0.24015362560749054,
0.2858273386955261,
0.34397271275520325,
0.21809351444244385,
0.0033975504338741302,
-0.04679132252931595,
0.031294502317905426,
0.19417902827262878,
0.06412871927022934,
-0.007530602626502514,
0.1257326304912567,
0.1229170635342598,
-0.0037486255168914795,
0.3180769383907318,
0.15518401563167572,
0.0810287594795227,
-0.30364495515823364,
-0.6437275409698486,
0.2897525429725647,
-0.2662017345428467,
-0.26825958490371704,
-0.3690704107284546,
0.2852798104286194,
-0.16640901565551758,
0.10718487203121185,
-0.07662038505077362,
-0.25844061374664307,
0.13005642592906952,
0.06214413046836853,
0.12418271601200104,
0.22002723813056946,
-0.00012188691471237689,
-0.1835249662399292,
0.33589690923690796,
-0.3184472620487213,
-0.6375691294670105,
0.13917289674282074,
-0.24617892503738403,
-0.5139752626419067,
-0.2116565704345703,
-0.033793989568948746,
0.08507096022367477,
-0.32837438583374023,
0.2760595679283142,
-0.436784952878952,
0.025254301726818085,
0.28785210847854614,
0.1385960429906845,
0.010871365666389465,
0.005456104874610901,
0.019353855401277542,
0.4706350266933441,
0.5881889462471008,
-0.03611544147133827,
0.023469937965273857,
-0.03086816519498825,
0.18765699863433838,
0.16875723004341125,
0.31286242604255676,
-0.00003187544643878937,
-0.0429408885538578,
0.2564953863620758,
0.06671686470508575,
-0.08036410063505173,
-0.31391972303390503,
0.09290416538715363,
0.036784827709198,
0.5615600347518921,
-0.37028348445892334,
-0.5764217376708984,
-0.43741363286972046,
0.24429522454738617,
-0.014152253046631813,
0.2991721034049988,
0.18978038430213928,
0.24583828449249268,
-0.04969039186835289,
-0.1133863627910614,
-0.2367793321609497,
0.23062822222709656,
0.11290553957223892,
0.2745581567287445,
0.3560720682144165,
-0.013902326114475727,
0.13808226585388184,
-0.3792665898799896,
0.05093725398182869,
0.5013102293014526,
-0.6761807203292847,
-0.07218794524669647,
-0.0376383438706398,
-0.04088921472430229,
0.001707717776298523,
-0.2982949912548065,
-0.03232360631227493,
0.01268940418958664,
-0.028791386634111404,
-0.05225574970245361,
-0.0006031133234500885,
-0.057611219584941864,
0.015918292105197906,
-0.06563247740268707,
0.0639258623123169,
0.2777884006500244,
0.4664542078971863,
0.09378178417682648,
-0.21958452463150024,
0.27407899498939514,
-0.09367870539426804,
-0.14244453608989716,
-0.08494950830936432,
-0.12786483764648438,
0.334812194108963,
-0.2248755246400833,
0.07161910831928253,
-0.30748215317726135,
0.0207020603120327,
-0.19012770056724548,
-0.1387442946434021,
-0.13898307085037231,
0.02082046866416931,
-0.09317183494567871,
0.5326837301254272,
0.054150283336639404,
0.15079405903816223,
0.05785533785820007,
-0.47119149565696716,
-0.1495305895805359,
0.04605144262313843,
-0.24539639055728912,
0.2048981636762619,
0.26019683480262756,
0.26857614517211914,
0.5244523286819458,
-0.099432572722435,
-0.25921010971069336,
0.043418340384960175,
0.32551613450050354,
0.18513458967208862,
-0.02683643251657486,
0.2875717580318451,
0.009490054100751877,
0.3180416226387024,
-0.19787734746932983,
0.0012946128845214844,
0.001215606927871704,
0.27541449666023254,
-0.29698893427848816,
-0.1893899142742157,
-0.18476532399654388,
0.13888226449489594,
-0.20816834270954132,
0.05841546505689621,
-0.4075927436351776,
0.027292661368846893,
0.043687622994184494,
-0.23901315033435822,
0.043733302503824234,
-0.12278985977172852,
0.019875582307577133,
-0.27037712931632996,
0.13944204151630402,
0.4934491515159607,
-0.3240857422351837,
-0.06441131979227066,
-0.353826105594635,
0.1564728170633316,
0.3093663454055786,
-0.12110209465026855,
0.039109911769628525,
0.1585639864206314,
-0.5670546293258667,
-0.11003322154283524,
0.3649951219558716,
-0.4209956228733063,
0.051569364964962006,
-0.04617355763912201,
0.16969506442546844,
0.037889666855335236,
0.2327093780040741,
0.2033320516347885,
-0.21294251084327698,
-0.0323861762881279,
-0.18977880477905273,
-0.02800651267170906,
-0.09735381603240967,
-0.014575449749827385,
-0.26130977272987366,
-0.13723750412464142,
0.20122429728507996,
0.3041262626647949,
0.09365949034690857,
0.07708558440208435,
-0.07928157597780228,
-0.1432592123746872,
0.08901695162057877,
-0.035811375826597214,
0.19865475594997406,
0.307597279548645,
-0.3370240330696106,
0.11967135965824127,
0.3427753746509552,
0.22895827889442444,
-0.9142369627952576,
0.13897132873535156,
-0.04757703095674515,
-0.1395033746957779,
0.02722383290529251,
-0.34272390604019165,
-0.06932444125413895,
-0.2794782817363739,
-0.04911278560757637,
-0.25039416551589966,
0.008754696696996689,
0.45855793356895447,
0.25934040546417236,
-0.13260096311569214,
-0.2570735216140747,
0.030509386211633682,
-0.1728772222995758,
0.25103759765625,
-0.5224630236625671,
0.37184253334999084,
0.0041797105222940445,
0.1032610759139061,
0.19181862473487854,
0.10107563436031342,
0.12006276845932007,
-0.17719107866287231,
0.011364310048520565,
0.36517587304115295,
0.13793359696865082,
0.0009052008390426636,
0.2633715569972992,
0.21097217500209808,
0.08766496181488037,
-0.07072798907756805,
0.19874697923660278,
0.11730831861495972,
0.055815689265728,
-0.14349380135536194,
-0.008681051433086395,
0.27171990275382996,
-0.1113150417804718,
0.017773248255252838,
-0.15005898475646973,
-0.02674585022032261,
0.2357836365699768,
0.06850282847881317,
0.18844857811927795,
-0.27203425765037537,
0.05740468204021454,
0.30310991406440735,
0.34980088472366333,
0.0565030574798584,
-0.12954413890838623,
0.09570091962814331,
0.48595988750457764,
-0.3183693587779999,
-0.027659647166728973,
-0.02123744785785675,
-0.3904751241207123,
-0.044518984854221344,
0.22288252413272858,
0.27443185448646545,
0.47919392585754395,
0.2456195205450058,
-0.2215273678302765,
-0.18029116094112396,
0.11413551867008209,
-0.3648470640182495,
0.19159722328186035,
0.09797598421573639,
-0.15539973974227905,
0.3336871862411499,
0.05213009938597679,
0.037467747926712036,
-0.40761321783065796,
-0.030066264793276787,
0.39217445254325867,
0.15415309369564056,
-0.3328438997268677,
-0.290615439414978,
-0.09372211247682571,
-0.23018378019332886,
-0.08030007779598236,
0.27704668045043945,
-0.1640731543302536,
-0.577150285243988,
0.22778478264808655,
0.014821089804172516,
-0.3227026164531708,
0.3482871949672699,
0.25427088141441345,
0.06878387928009033,
-0.3534526824951172,
0.07685337960720062,
-0.6138680577278137,
-0.0036769811995327473,
-0.2684158384799957,
0.030139263719320297,
0.13929998874664307,
0.10425850749015808,
0.1292714625597,
-0.721015214920044,
0.16491197049617767,
-0.5698035359382629,
-0.2802165150642395,
0.05808427184820175,
-0.007290985435247421,
0.18892955780029297,
0.25993090867996216,
0.0986853763461113,
-0.0037962496280670166,
-0.12080103904008865,
0.07121738791465759,
0.12653036415576935,
-0.17687326669692993,
0.06779277324676514,
-0.011405819095671177,
-0.01212108600884676,
-0.1999921351671219,
-0.3856358826160431,
-0.2595991790294647,
-0.22407689690589905,
-0.16738653182983398,
-0.1362226903438568,
0.021226059645414352,
0.03383538872003555,
-0.13631229102611542,
-0.03335784375667572,
0.026316290721297264,
-0.1303359568119049,
-0.15729379653930664,
-0.4554777145385742,
0.5669628381729126,
-0.16288360953330994,
-0.046244245022535324,
0.20967558026313782,
-0.387575626373291,
0.009236011654138565,
-0.03415267914533615,
-0.6006202697753906,
-0.2145354449748993,
0.036567024886608124,
0.060616228729486465,
-0.09029686450958252,
0.049713779240846634,
0.38131237030029297,
0.31260472536087036,
0.09705078601837158,
-0.2882062792778015,
-0.19562338292598724,
-0.06777050346136093,
-0.13741859793663025,
0.4222307503223419,
-0.27938663959503174,
-0.02241506427526474,
-0.35710781812667847,
0.3981362581253052,
0.24774077534675598,
-0.10565881431102753,
0.10831743478775024,
0.11538750678300858,
0.43755316734313965,
-0.017189115285873413,
0.06051860749721527,
0.05672048404812813,
-0.012633979320526123,
0.20052382349967957,
0.3110229969024658,
0.07854711264371872,
0.1835682988166809,
-0.02567457966506481,
0.12847959995269775,
-0.36044466495513916,
-0.18204253911972046,
0.023263735696673393,
-0.11964307725429535,
0.09113442897796631,
0.20045845210552216,
0.08881761878728867,
-0.23280887305736542,
-0.19619429111480713,
0.09465458989143372,
0.20797498524188995,
0.5585260391235352,
0.050357166677713394,
-0.41743168234825134,
-0.18665307760238647,
-0.010708697140216827,
0.40251368284225464,
0.15004125237464905,
0.26763206720352173,
0.2401701658964157,
0.2874741554260254,
-0.24475274980068207,
0.21707643568515778,
0.5383942723274231,
-1.0103070735931396,
-0.20034624636173248,
0.04669320210814476,
0.6165085434913635,
-0.2542079985141754,
-0.11709228157997131,
0.025624092668294907,
0.08292408287525177,
0.01345384493470192,
0.1802128553390503,
-0.21288180351257324,
-0.16152971982955933,
0.26554059982299805,
0.45860710740089417,
0.017991144210100174,
-0.24471637606620789,
-0.07810647040605545,
-0.055466875433921814,
-0.28016138076782227,
-0.4896795153617859,
-0.0010655131191015244,
-0.2761233150959015,
-0.009052392095327377,
-0.20399904251098633,
0.02778460830450058,
-0.22883450984954834,
0.1820271909236908,
-0.010015057399868965,
0.2276189625263214,
0.3038014769554138,
0.3169380724430084,
0.11772532761096954,
0.24443770945072174,
0.558623194694519,
0.5635818243026733,
-0.30339762568473816,
-0.3029632568359375,
0.15038612484931946,
-0.13437139987945557,
0.3772442936897278,
0.21454279124736786,
0.06837548315525055,
-0.0693167969584465,
-0.2652710974216461,
-0.0362345427274704,
-0.284591943025589,
0.17707191407680511,
0.1645658016204834,
0.05340749770402908,
-0.30912476778030396,
-0.40640488266944885,
0.2014538049697876,
0.05411851778626442,
-0.12484338134527206,
0.33891013264656067,
0.13464176654815674,
-0.37465816736221313,
0.3007405400276184,
-0.11529145389795303,
1.0027068853378296,
0.12773360311985016,
0.08366776257753372,
-0.09475837647914886,
0.011590458452701569,
0.6359566450119019,
-0.315410852432251,
0.12331902980804443,
-0.1249525249004364,
0.07111882418394089,
-0.010000845417380333,
-0.009377676993608475,
0.14714786410331726,
0.3722658157348633,
-0.032872676849365234,
0.5601643919944763,
0.09387557208538055,
0.4175257682800293,
-0.0544888898730278,
0.2500442862510681,
-0.25376197695732117,
-0.18093274533748627,
0.27397534251213074,
0.016203001141548157,
-0.042695097625255585,
0.08294525742530823,
0.05953558534383774,
-0.024552252143621445,
-0.14293842017650604,
-0.007843535393476486,
-0.2475021630525589,
-0.028225326910614967,
-0.33086228370666504,
-0.12775494158267975,
-0.028909411281347275,
-0.07251118123531342,
-0.006776142865419388,
0.16891631484031677,
0.5375506281852722,
0.27030685544013977,
-0.062144286930561066,
0.2709714472293854,
-0.08192046731710434,
0.09225384145975113,
0.04116964340209961,
-0.07404248416423798,
-0.10286891460418701,
0.05627785623073578,
-0.07442449033260345,
-0.00798877328634262,
-0.41212528944015503,
0.005262240767478943,
-0.4038647711277008,
-0.46670812368392944,
0.20694813132286072,
-0.17760510742664337,
0.26083704829216003,
0.09410449117422104,
-0.21161001920700073,
-0.3247475326061249,
0.06879353523254395,
-0.02424897998571396,
0.21170081198215485,
-0.020902059972286224,
-0.3105005621910095,
-0.1551167219877243,
-0.4754321277141571,
0.12536606192588806,
0.17703911662101746,
-0.10098017752170563,
0.4011857807636261,
-0.17096085846424103,
-0.11627645790576935,
-0.16600584983825684,
0.2657419443130493,
0.12737172842025757,
-0.2822159230709076,
0.07177890092134476,
-0.051641784608364105,
-0.2686136066913605,
-0.04922245815396309,
0.060231320559978485,
0.2299054116010666,
-0.021454326808452606,
0.16002726554870605,
-0.4466025233268738,
-0.26356253027915955,
0.18150044977664948,
0.160343736410141,
0.10724358260631561,
-0.19572246074676514,
-0.15327437222003937,
-0.03342130780220032,
0.023511376231908798,
-0.20372962951660156,
-0.0890064388513565,
-0.01808103919029236,
0.31679871678352356,
0.08869464695453644,
0.2731161415576935,
0.15226590633392334,
-0.1340782791376114,
0.0058692749589681625,
0.024239132180809975,
0.02098822593688965,
-0.00470782071352005,
0.032096270471811295,
0.2049374133348465,
0.12477930635213852,
-0.09576182067394257,
0.2437930703163147,
-0.0666896402835846,
-0.14847345650196075,
-0.2659059166908264,
-0.2623092532157898,
-0.11231387406587601,
-0.0013644173741340637,
0.4972842335700989,
0.11438168585300446,
0.044869422912597656,
-0.07638731598854065,
0.05793413519859314,
-0.06577827036380768,
0.5421608090400696,
-0.17338445782661438,
0.20780763030052185,
0.318831205368042,
0.042280279099941254,
-0.18317502737045288,
-0.09309593588113785,
-0.23731659352779388,
0.10441339015960693,
0.435682475566864,
-0.2738850712776184,
0.12214541435241699,
0.27563637495040894,
-0.007941205985844135,
0.3427305817604065,
-0.24106642603874207,
-0.06177794933319092,
0.27704232931137085,
0.11772601306438446,
-0.37035271525382996,
-0.1771063655614853,
0.24788279831409454,
0.30927574634552,
0.06488378345966339,
0.15927663445472717,
0.1337839961051941,
-0.2467016726732254,
0.2583225965499878,
0.13628408312797546,
0.3094515800476074,
-0.06715057790279388,
0.3148545026779175,
0.2230912148952484,
0.19646327197551727,
0.21418358385562897,
-0.043370284140110016,
0.01410689577460289,
-0.07171759754419327,
0.5559012293815613,
0.1422373652458191,
0.6019517779350281,
0.19850781559944153,
0.07062476873397827,
0.07549579441547394,
-0.3192104697227478,
0.3439369201660156,
0.5413240790367126,
-0.06922337412834167,
0.29225078225135803,
0.18457479774951935,
-0.01804150640964508,
-0.12180284410715103,
0.14676323533058167,
-0.18064558506011963,
-0.0021916180849075317,
-0.17442023754119873,
0.04319983348250389,
-0.21662555634975433,
-0.06618915498256683,
-0.2614702582359314,
0.0260346420109272,
0.045484911650419235,
-0.2277485877275467,
0.20867642760276794,
0.006415277719497681,
-0.15408775210380554,
-0.1541650891304016,
0.4206678867340088,
0.11756515502929688,
0.36432236433029175,
-0.2271982878446579,
0.22313670814037323,
0.3812366724014282,
-0.3172610402107239,
0.4052359461784363,
0.33394208550453186,
0.22213685512542725,
0.07244440168142319,
-0.01969023048877716,
-0.11729513853788376,
0.014567679725587368,
-0.07873175293207169,
0.08019492030143738,
0.4763059616088867,
-0.08631697297096252,
-0.3060057461261749,
0.1655382513999939,
0.11671985685825348,
-0.12390779703855515,
-0.1751878559589386,
0.2372307926416397,
-0.14472869038581848,
-0.27332785725593567,
0.3208118677139282,
-0.2983165681362152,
-0.07900883257389069,
-0.10847063362598419,
-0.017569370567798615,
-0.3955311179161072,
-0.3162435293197632,
0.3800293803215027,
0.02968033030629158,
-0.05071432888507843,
-0.21181464195251465,
0.03168817237019539,
-0.26149195432662964,
0.44478875398635864,
0.41536617279052734,
-0.09510079771280289,
-0.33221814036369324,
-0.29515570402145386,
-0.25137314200401306,
0.0417654886841774,
-0.05126025900244713,
0.005200156942009926,
-0.10527049005031586,
-0.12976586818695068,
0.16191306710243225,
0.012168729677796364,
-0.10802397131919861,
0.3831101357936859,
0.10304390639066696,
0.231224924325943,
-0.4300254285335541,
-0.33573564887046814,
-0.08542372286319733,
0.09871812164783478,
0.08124098181724548,
-0.46914297342300415,
0.2824626564979553,
0.12354056537151337,
-0.10034216940402985,
0.03339054435491562,
0.000654757022857666,
0.489904522895813,
0.37785616517066956,
0.4759446084499359,
0.16563984751701355,
0.46706637740135193,
-0.25720128417015076,
-0.2580903172492981,
0.08035163581371307,
-0.24683283269405365,
-0.042141277343034744,
0.3837556540966034,
0.01604892686009407,
0.32034680247306824,
-0.3290709853172302,
0.12578602135181427,
-0.16649048030376434,
-0.2041880339384079,
-0.059520479291677475,
0.39033788442611694,
-0.5664525032043457,
0.37646934390068054,
-0.1835465282201767,
0.20386239886283875,
0.12118394672870636,
-0.1135697141289711,
0.021994061768054962,
0.10335449129343033,
-0.2140752524137497,
-0.22906024754047394,
0.30759042501449585,
-0.221780464053154,
-0.08555250614881516,
-0.008397839963436127,
0.1346280574798584,
-0.1375504732131958,
0.20288871228694916,
-0.5929298400878906,
-0.021100327372550964,
0.516875147819519,
0.2246752381324768,
0.05593959614634514,
-0.01970653608441353,
0.1601095199584961,
-0.12290477752685547,
-0.007344517856836319,
0.13207781314849854,
0.05315708369016647,
-0.3395537734031677,
0.16376952826976776,
-0.2539938986301422
] |
https://github.com/huggingface/datasets/issues/1701 | Some datasets miss dataset_infos.json or dummy_data.zip | Closing since the dummy data generation is deprecated now (and the issue with missing metadata seems to be addressed). | While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json :
```
c4
lm1b
reclor
wikihow
```
And some does not have a dummy_data.zip :
```
kor_nli
math_dataset
mlqa
ms_marco
newsgroup
qa4mre
qangaroo
reddit_tifu
super_glue
trivia_qa
web_of_science
wmt14
wmt15
wmt16
wmt17
wmt18
wmt19
xtreme
```
But it seems that some of those last do have a "dummy" directory .
| 19 | Some datasets miss dataset_infos.json or dummy_data.zip
While working on dataset REAME generation script at https://github.com/madlag/datasets_readme_generator , I noticed that some datasets miss a dataset_infos.json :
```
c4
lm1b
reclor
wikihow
```
And some does not have a dummy_data.zip :
```
kor_nli
math_dataset
mlqa
ms_marco
newsgroup
qa4mre
qangaroo
reddit_tifu
super_glue
trivia_qa
web_of_science
wmt14
wmt15
wmt16
wmt17
wmt18
wmt19
xtreme
```
But it seems that some of those last do have a "dummy" directory .
Closing since the dummy data generation is deprecated now (and the issue with missing metadata seems to be addressed). | [
0.10084174573421478,
0.2014358639717102,
-0.06180889904499054,
0.2740955352783203,
0.21796120703220367,
0.3563678562641144,
0.2315734177827835,
0.1075761616230011,
-0.18372099101543427,
-0.037730976939201355,
0.174531951546669,
0.09594347327947617,
0.09989146143198013,
-0.015732936561107635,
0.08394990861415863,
0.12796670198440552,
0.20089611411094666,
0.1002475693821907,
-0.02552289515733719,
-0.25226861238479614,
-0.5786685943603516,
0.2764494717121124,
-0.20381884276866913,
-0.15507470071315765,
-0.3396795094013214,
0.3615078032016754,
-0.22519464790821075,
0.1563636064529419,
-0.11307913810014725,
-0.21183359622955322,
0.19813093543052673,
0.015627847984433174,
0.0017349962145090103,
0.23172809183597565,
-0.00011576028191484511,
-0.11038918793201447,
0.3629639148712158,
-0.26849767565727234,
-0.7095441818237305,
0.019183449447155,
-0.2297748625278473,
-0.4034143388271332,
-0.29348093271255493,
-0.027252227067947388,
0.06716762483119965,
-0.18352694809436798,
0.2606693506240845,
-0.37211376428604126,
-0.12340734899044037,
0.24118396639823914,
0.2048032432794571,
-0.07014001905918121,
0.0266433022916317,
-0.1328379064798355,
0.27133888006210327,
0.7627503871917725,
-0.13013213872909546,
0.10120807588100433,
-0.08379209041595459,
0.08108663558959961,
0.2898888885974884,
0.21895526349544525,
-0.14243827760219574,
0.12448029220104218,
0.1859358847141266,
0.1713339388370514,
0.0868779718875885,
-0.22508671879768372,
0.25096485018730164,
0.10344759374856949,
0.6794852018356323,
-0.3670791983604431,
-0.6015873551368713,
-0.336404949426651,
0.05846061185002327,
-0.01748720556497574,
0.29544156789779663,
0.33692851662635803,
0.1564386636018753,
0.12601225078105927,
-0.05940147861838341,
-0.14975011348724365,
0.2393413484096527,
0.0806579664349556,
0.043433040380477905,
0.3907248377799988,
-0.06857791543006897,
-0.029286906123161316,
-0.4563567042350769,
-0.03976529836654663,
0.35873526334762573,
-0.6422601342201233,
-0.03915999457240105,
0.07139304280281067,
0.2543618679046631,
-0.03947872668504715,
-0.25879672169685364,
-0.22575190663337708,
0.18760329484939575,
0.01750963181257248,
-0.06541193276643753,
-0.06171806901693344,
-0.23824432492256165,
0.10219801962375641,
0.003711314871907234,
-0.22662341594696045,
0.2310236096382141,
0.5372278690338135,
0.09830568730831146,
-0.11372590810060501,
0.33031201362609863,
-0.12561166286468506,
-0.11792125552892685,
0.10793782025575638,
0.04383015260100365,
0.2710784077644348,
0.00035488978028297424,
-0.005852371454238892,
-0.36242443323135376,
0.15053419768810272,
-0.22180449962615967,
-0.11840652674436569,
-0.21209365129470825,
-0.0800233855843544,
-0.1508069932460785,
0.3134678304195404,
-0.012267053127288818,
0.10276718437671661,
0.02525840885937214,
-0.3107234239578247,
-0.210609570145607,
-0.015410475432872772,
-0.09155692160129547,
0.21068964898586273,
0.28100383281707764,
0.2829156816005707,
0.5603536367416382,
-0.012541557662189007,
-0.36508458852767944,
-0.010846465826034546,
0.418882817029953,
0.06401298940181732,
-0.03422417491674423,
0.39226359128952026,
-0.05311831831932068,
0.289883017539978,
-0.05804045870900154,
-0.05438673123717308,
-0.12301784753799438,
0.25702860951423645,
-0.29011207818984985,
-0.10522507131099701,
-0.18908147513866425,
0.23646150529384613,
-0.08056871592998505,
0.012532399967312813,
-0.1790665090084076,
0.060319684445858,
0.045727815479040146,
-0.33369913697242737,
0.013721942901611328,
0.0497015044093132,
-0.10498353838920593,
-0.24314750730991364,
0.08116723597049713,
0.546572744846344,
-0.41391828656196594,
-0.0869915634393692,
-0.29358363151550293,
0.2688322365283966,
0.22175893187522888,
-0.10631638765335083,
0.03911583125591278,
0.15141448378562927,
-0.5384065508842468,
-0.021153204143047333,
0.19486667215824127,
-0.3565283417701721,
0.1034664511680603,
-0.004212321247905493,
0.23740620911121368,
0.0773463323712349,
0.16171087324619293,
0.08034132421016693,
-0.2337719202041626,
-0.04359835386276245,
-0.13067440688610077,
0.02251327782869339,
-0.017008593305945396,
-0.09529314935207367,
-0.1815139800310135,
-0.2429320365190506,
0.10132721811532974,
0.18350113928318024,
0.10271690785884857,
0.03727177157998085,
-0.11421499401330948,
-0.20104068517684937,
0.07964754104614258,
0.03357661888003349,
0.18750762939453125,
0.4579142928123474,
-0.23392434418201447,
0.0904497355222702,
0.17576973140239716,
0.058690302073955536,
-0.8310457468032837,
0.1500031054019928,
0.04508402198553085,
-0.0006727650761604309,
-0.06835819780826569,
-0.3221808075904846,
-0.09778300672769547,
-0.24606361985206604,
0.07426212728023529,
-0.19173423945903778,
0.11915503442287445,
0.4170263707637787,
0.15987876057624817,
-0.02769116498529911,
-0.14196129143238068,
-0.017002129927277565,
0.11163389682769775,
0.31444209814071655,
-0.5011571645736694,
0.3681378960609436,
-0.013095347210764885,
0.14877521991729736,
0.13294412195682526,
0.07311347126960754,
0.06651056557893753,
-0.08721479773521423,
0.008334753103554249,
0.3204912543296814,
0.13710808753967285,
-0.10114417970180511,
0.23143625259399414,
0.2629632353782654,
0.17432160675525665,
0.006861057132482529,
0.08944230526685715,
0.2748120427131653,
0.09976067394018173,
-0.17861497402191162,
-0.29368269443511963,
0.22117140889167786,
0.055813707411289215,
-0.0564081147313118,
-0.06987564265727997,
-0.040954433381557465,
0.3821674585342407,
0.07789167761802673,
0.1840580254793167,
-0.4128077030181885,
-0.008160367608070374,
0.40939363837242126,
0.3993743360042572,
0.13219088315963745,
-0.1305057853460312,
0.11715859919786453,
0.37057480216026306,
-0.3185494542121887,
0.14462685585021973,
-0.01231309026479721,
-0.40926435589790344,
-0.0879281610250473,
0.07721714675426483,
0.09192612767219543,
0.582292377948761,
0.1682225614786148,
-0.010060373693704605,
-0.17422106862068176,
-0.029341019690036774,
-0.356330931186676,
0.26207542419433594,
0.0016884058713912964,
-0.2630002200603485,
0.21694093942642212,
-0.005641226191073656,
0.009114468470215797,
-0.319541335105896,
0.008738398551940918,
0.41958120465278625,
0.15534254908561707,
-0.27557650208473206,
-0.20898018777370453,
-0.28830522298812866,
-0.09552717953920364,
0.083002969622612,
-0.04305122420191765,
-0.2786143124103546,
-0.529367208480835,
0.19534793496131897,
0.10138116776943207,
-0.2773602306842804,
0.27584484219551086,
0.09608444571495056,
0.054309964179992676,
-0.27696895599365234,
0.0680287629365921,
-0.5633991360664368,
0.002674773335456848,
-0.2155839204788208,
0.0981016606092453,
0.13309787213802338,
0.1435050517320633,
0.15624721348285675,
-0.6202072501182556,
0.0562467947602272,
-0.6032322645187378,
-0.2131197452545166,
0.08400082588195801,
0.05500096082687378,
0.20174027979373932,
0.32111191749572754,
0.12806303799152374,
0.04294218868017197,
0.019757039844989777,
0.17808619141578674,
0.10514494776725769,
-0.14350415766239166,
0.04508524388074875,
-0.03287649527192116,
-0.05415915325284004,
-0.24091854691505432,
-0.3319491744041443,
-0.22528211772441864,
-0.16429737210273743,
-0.10966439545154572,
-0.08758757263422012,
0.021644260734319687,
0.2886465787887573,
-0.12664027512073517,
-0.05716970935463905,
0.0517132431268692,
-0.10924128443002701,
-0.3454260528087616,
-0.6069295406341553,
0.47470489144325256,
-0.1564330756664276,
0.02284056320786476,
0.21038883924484253,
-0.24582627415657043,
0.1219642162322998,
-0.0490080900490284,
-0.5534994006156921,
-0.25095874071121216,
0.06720618903636932,
0.17294180393218994,
-0.09339439868927002,
-0.036443062126636505,
0.34987080097198486,
0.2745014727115631,
-0.0056557804346084595,
-0.29564371705055237,
-0.2750030755996704,
-0.07057067006826401,
-0.1913384199142456,
0.3521946370601654,
-0.3338601291179657,
0.059639282524585724,
-0.25596174597740173,
0.3605586886405945,
0.04229283705353737,
-0.023204009979963303,
0.010797280818223953,
0.14748598635196686,
0.49621114134788513,
0.0037179887294769287,
0.0944475457072258,
-0.1630004197359085,
-0.0683780163526535,
0.1523297131061554,
0.4041404128074646,
0.10367310047149658,
0.13242007791996002,
0.013540524989366531,
0.23085880279541016,
-0.3128597140312195,
-0.1534540355205536,
-0.041549526154994965,
-0.012983635067939758,
0.10105045139789581,
0.26223382353782654,
0.1414979100227356,
-0.35096603631973267,
-0.08451979607343674,
0.04979880154132843,
0.20967096090316772,
0.4806212782859802,
0.06693905591964722,
-0.4810485243797302,
-0.048225585371255875,
0.033237989991903305,
0.24725602567195892,
0.10259490460157394,
0.2836800217628479,
0.0801076591014862,
0.2857416570186615,
-0.27958887815475464,
0.2253355085849762,
0.28902313113212585,
-0.8405537009239197,
-0.09769454598426819,
0.1665920466184616,
0.5426318049430847,
-0.2649189531803131,
-0.19259020686149597,
0.013486534357070923,
0.1282617598772049,
0.1295424848794937,
0.3605649173259735,
-0.3172965943813324,
-0.15531671047210693,
0.22953182458877563,
0.269595742225647,
-0.02156708389520645,
-0.240049347281456,
-0.16143763065338135,
-0.13836771249771118,
-0.12507379055023193,
-0.4362351894378662,
0.158469557762146,
-0.302346795797348,
-0.07147632539272308,
-0.1871071606874466,
0.03450321406126022,
-0.1436622142791748,
0.17709195613861084,
-0.07001687586307526,
0.14216658473014832,
0.1714966595172882,
0.3261294364929199,
0.21640799939632416,
0.3206620514392853,
0.6216188073158264,
0.6245130896568298,
-0.23509880900382996,
-0.43456655740737915,
0.15035143494606018,
-0.1905999332666397,
0.3152916729450226,
0.13622285425662994,
0.16335034370422363,
0.03412369266152382,
-0.20715706050395966,
-0.14095012843608856,
-0.3580329120159149,
-0.004528207704424858,
0.1977068930864334,
-0.04812311753630638,
-0.3362104892730713,
-0.437626451253891,
0.35177701711654663,
0.11249129474163055,
-0.06810218095779419,
0.3172625005245209,
-0.15282079577445984,
-0.3597733676433563,
0.14152783155441284,
-0.07491893321275711,
0.8882550001144409,
0.20592762529850006,
0.2088499516248703,
-0.14407116174697876,
-0.04550502449274063,
0.45650529861450195,
-0.20845411717891693,
0.12040296941995621,
-0.29761284589767456,
-0.015583212487399578,
-0.07196103036403656,
-0.031067466363310814,
0.15317463874816895,
0.45755714178085327,
-0.12178505957126617,
0.488555908203125,
-0.08485150337219238,
0.49205467104911804,
0.09044113755226135,
0.13449044525623322,
-0.2230944186449051,
-0.14165477454662323,
0.29945603013038635,
0.13475966453552246,
0.01531561091542244,
0.07565435767173767,
-0.0793975442647934,
0.04985233396291733,
-0.15440548956394196,
0.0690472200512886,
-0.28969839215278625,
-0.07674212753772736,
-0.27726489305496216,
0.00394030287861824,
0.07813409715890884,
0.03264216333627701,
-0.16432300209999084,
-0.06285202503204346,
0.47749197483062744,
0.3751087486743927,
-0.18141646683216095,
0.16933739185333252,
-0.20395851135253906,
0.1445385068655014,
0.02701527625322342,
-0.02130788378417492,
-0.11164237558841705,
0.14729231595993042,
-0.057352107018232346,
0.047903187572956085,
-0.4372459948062897,
0.04552625119686127,
-0.4059985280036926,
-0.48110705614089966,
0.14347809553146362,
-0.23720379173755646,
0.22472873330116272,
-0.09497140347957611,
-0.1653347909450531,
-0.3517569899559021,
0.12268230319023132,
0.12842948734760284,
0.25819793343544006,
-0.06869632750749588,
-0.23807217180728912,
-0.22368432581424713,
-0.4683528244495392,
0.2476755976676941,
0.08140138536691666,
0.06448958069086075,
0.3661337196826935,
-0.2628333866596222,
-0.15258082747459412,
-0.21136069297790527,
0.35509926080703735,
-0.03838372230529785,
-0.08580582588911057,
0.12444665282964706,
-0.011949335224926472,
-0.20915038883686066,
0.03598006069660187,
-0.07683509588241577,
0.25555503368377686,
-0.1837913691997528,
-0.013399653136730194,
-0.5442156791687012,
-0.17089825868606567,
0.11009740829467773,
0.16348782181739807,
0.09735865890979767,
-0.17535772919654846,
-0.23466528952121735,
-0.014044268056750298,
-0.03851272910833359,
-0.27842241525650024,
0.01423631701618433,
-0.02386341243982315,
0.12991032004356384,
0.04063833877444267,
0.20299074053764343,
-0.007021564990282059,
-0.10784120857715607,
0.0646388828754425,
-0.003469947725534439,
0.06006471812725067,
-0.09347571432590485,
-0.08643113076686859,
0.18011988699436188,
0.08446241170167923,
-0.11943481117486954,
0.2983317971229553,
-0.055812232196331024,
-0.14408184587955475,
-0.21572622656822205,
-0.3095187246799469,
0.04814687371253967,
0.05334299057722092,
0.4157746732234955,
0.12392674386501312,
0.14875027537345886,
-0.20488891005516052,
0.1572245955467224,
0.007994800806045532,
0.4448903799057007,
-0.22616514563560486,
0.12971597909927368,
0.17108698189258575,
0.058935776352882385,
-0.09772562235593796,
-0.09630934149026871,
-0.23431573808193207,
0.08319712430238724,
0.5081132650375366,
-0.29461175203323364,
0.22707313299179077,
0.4013240933418274,
-0.0033313753083348274,
0.30785390734672546,
-0.17710764706134796,
0.07371797412633896,
0.3003407418727875,
0.23024846613407135,
-0.3244149386882782,
-0.3677367568016052,
0.14670127630233765,
0.28351908922195435,
0.05533403530716896,
0.06682874262332916,
0.1961105465888977,
-0.20819620788097382,
0.14785975217819214,
0.10715285688638687,
0.3246577978134155,
0.06115381792187691,
0.186469167470932,
0.4051096737384796,
0.19756819307804108,
0.22504326701164246,
0.06330609321594238,
0.016338665038347244,
0.05801211670041084,
0.44527238607406616,
0.36877602338790894,
0.48940470814704895,
0.29527515172958374,
-0.03831629827618599,
0.06819268316030502,
-0.32323816418647766,
0.2350151389837265,
0.44196227192878723,
-0.08905979990959167,
0.28917196393013,
0.07083665579557419,
-0.009115338325500488,
-0.3848581612110138,
0.24223273992538452,
-0.3212868273258209,
-0.0671212375164032,
-0.19062381982803345,
-0.07731865346431732,
-0.12117915600538254,
-0.041873201727867126,
-0.120872363448143,
-0.06136085093021393,
0.029165983200073242,
-0.25040608644485474,
0.15001893043518066,
-0.14924614131450653,
-0.05846627056598663,
-0.10645368695259094,
0.24906355142593384,
0.12634387612342834,
0.17593932151794434,
-0.26676836609840393,
0.08512694388628006,
0.370910108089447,
-0.35175514221191406,
0.24094423651695251,
0.3918483555316925,
0.31292155385017395,
0.042449451982975006,
-0.06305155158042908,
-0.20744086802005768,
-0.18482983112335205,
-0.07831893116235733,
0.010670579969882965,
0.5346324443817139,
-0.06271696090698242,
-0.43179047107696533,
0.13350233435630798,
0.1637853980064392,
-0.1225675642490387,
-0.10296329855918884,
0.3699914216995239,
-0.21700036525726318,
-0.25308725237846375,
0.3189569413661957,
-0.3231135308742523,
-0.18406933546066284,
0.12136195600032806,
0.011044524610042572,
-0.2428138554096222,
-0.31709855794906616,
0.6192482113838196,
0.07426159828901291,
0.05839916318655014,
-0.060814473778009415,
0.06774163246154785,
-0.20817838609218597,
0.39854416251182556,
0.48704299330711365,
-0.33944255113601685,
-0.15717092156410217,
-0.18336522579193115,
-0.3191227912902832,
0.07703542709350586,
-0.24981054663658142,
-0.03529522567987442,
-0.09646115452051163,
-0.12007301300764084,
0.2072274535894394,
0.001942664384841919,
-0.14039956033229828,
0.25775256752967834,
0.09926850348711014,
0.2925361692905426,
-0.4010705351829529,
-0.39615142345428467,
-0.08449700474739075,
0.08364648371934891,
0.006044574081897736,
-0.5413683652877808,
0.20735390484333038,
0.08740204572677612,
-0.017880834639072418,
-0.0536990761756897,
0.1239805668592453,
0.47535842657089233,
0.5680567026138306,
0.3395025432109833,
0.17676493525505066,
0.44884130358695984,
-0.1925051212310791,
-0.2965094745159149,
0.030097581446170807,
-0.12137669324874878,
0.08313095569610596,
0.474059522151947,
-0.07201522588729858,
0.2043142020702362,
-0.2860562205314636,
0.04090236499905586,
-0.09624782204627991,
-0.1264198124408722,
0.008374478667974472,
0.26388129591941833,
-0.6627076864242554,
0.3501327335834503,
-0.2547528147697449,
0.10410628467798233,
0.10007128864526749,
-0.009517565369606018,
-0.09538787603378296,
0.09041524678468704,
-0.04146869108080864,
-0.2673308253288269,
0.2630992829799652,
-0.08206599205732346,
-0.151995450258255,
-0.19724348187446594,
0.07924710214138031,
-0.19522309303283691,
0.29613760113716125,
-0.37929606437683105,
-0.028006792068481445,
0.6424658298492432,
0.17652317881584167,
-0.011198513209819794,
-0.13881684839725494,
0.19605065882205963,
-0.033670298755168915,
-0.033998504281044006,
0.37718629837036133,
0.05768008157610893,
-0.34355470538139343,
0.2178346812725067,
-0.18312419950962067
] |
https://github.com/huggingface/datasets/issues/1687 | Question: Shouldn't .info be a part of DatasetDict? | We could do something. There is a part of `.info` which is split specific (cache files, split instructions) but maybe if could be made to work. | Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset("conll2002", "es")
>>> ds.info
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'DatasetDict' object has no attribute 'info'
```
I could imagine that this wouldn't work for datasets dicts which hold entirely different datasets (multimodal datasets), but it seems odd that splits of the same dataset is treated the same as what is essentially different datasets.
Intuitively it would also make sense that if a dataset is supplied via. the load_dataset that is have a common .info which covers the entire dataset.
It is entirely possible that I am missing another perspective | 26 | Question: Shouldn't .info be a part of DatasetDict?
Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset("conll2002", "es")
>>> ds.info
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'DatasetDict' object has no attribute 'info'
```
I could imagine that this wouldn't work for datasets dicts which hold entirely different datasets (multimodal datasets), but it seems odd that splits of the same dataset is treated the same as what is essentially different datasets.
Intuitively it would also make sense that if a dataset is supplied via. the load_dataset that is have a common .info which covers the entire dataset.
It is entirely possible that I am missing another perspective
We could do something. There is a part of `.info` which is split specific (cache files, split instructions) but maybe if could be made to work. | [
0.09181241691112518,
-0.1329856961965561,
-0.06010321155190468,
0.3179156184196472,
0.11598163098096848,
0.28523099422454834,
0.4842661917209625,
0.10404066741466522,
0.11709009110927582,
-0.02107362449169159,
0.11989392340183258,
-0.012208393774926662,
0.11281285434961319,
0.5723269581794739,
-0.06620277464389801,
-0.16418252885341644,
-0.07059911638498306,
0.14871543645858765,
0.400866836309433,
-0.21728700399398804,
-0.03505098819732666,
-0.0796019434928894,
-0.28389906883239746,
0.06978350877761841,
-0.5201460719108582,
0.16023440659046173,
-0.1704636514186859,
0.11482411623001099,
0.15875427424907684,
-0.217179074883461,
0.3359515368938446,
0.07911735773086548,
0.22340577840805054,
0.09510164707899094,
-0.00011842330422950909,
0.0710313618183136,
0.41728758811950684,
-0.10055617988109589,
-0.585829496383667,
-0.051112204790115356,
-0.49218645691871643,
-0.2075822651386261,
0.2555396556854248,
-0.38762009143829346,
0.11474547535181046,
-0.030514083802700043,
0.019840437918901443,
-0.38702449202537537,
-0.13678587973117828,
0.042501725256443024,
0.09134630858898163,
0.2089172601699829,
0.07812492549419403,
0.12497584521770477,
0.42831742763519287,
0.44086962938308716,
-0.0037697646766901016,
-0.07384452223777771,
0.007728345692157745,
0.30800509452819824,
0.12723958492279053,
0.3423570990562439,
-0.023212432861328125,
0.1337551772594452,
0.3417026102542877,
0.13278205692768097,
0.11550524085760117,
-0.059151239693164825,
0.14762799441814423,
0.22836720943450928,
0.722996175289154,
-0.142196387052536,
-0.5014351606369019,
-0.4906576871871948,
0.009536828845739365,
-0.06058519333600998,
0.04519377648830414,
0.249872088432312,
0.10051397979259491,
0.2560996115207672,
-0.00963278766721487,
-0.2655452787876129,
0.009119100868701935,
0.05909358337521553,
-0.3169504404067993,
0.2660662531852722,
-0.2420032024383545,
0.3724735677242279,
-0.14990869164466858,
0.2580590844154358,
0.3194071650505066,
-0.42239344120025635,
-0.15932458639144897,
-0.3487670123577118,
0.09910134971141815,
-0.14850863814353943,
-0.31746581196784973,
0.058565687388181686,
0.22378656268119812,
0.0928342416882515,
-0.10942277312278748,
0.12333031743764877,
-0.3389117121696472,
0.1974084973335266,
0.6273679733276367,
-0.13405917584896088,
0.4555550515651703,
0.31317874789237976,
0.4928692579269409,
-0.2206748127937317,
-0.17825312912464142,
-0.07309424877166748,
0.03297000750899315,
0.14715394377708435,
0.059896212071180344,
-0.08459296822547913,
0.33741700649261475,
-0.16482146084308624,
-0.3835940361022949,
-0.1304863691329956,
-0.15275239944458008,
-0.24346958100795746,
0.1898401975631714,
-0.005065701901912689,
0.14008326828479767,
0.2932535707950592,
-0.12798869609832764,
0.03538544476032257,
0.22713349759578705,
-0.42268896102905273,
-0.12937167286872864,
-0.23589704930782318,
-0.03858279436826706,
0.3673233985900879,
-0.19748790562152863,
-0.16806817054748535,
0.34833788871765137,
-0.14820551872253418,
-0.07173234224319458,
-0.051119059324264526,
0.08086259663105011,
-0.19570700824260712,
0.06543189287185669,
0.3250561058521271,
-0.08243479579687119,
0.3903430104255676,
0.10308285057544708,
-0.1345703899860382,
-0.26616907119750977,
0.15044443309307098,
-0.6408157348632812,
-0.4634263217449188,
0.22435632348060608,
0.05304999276995659,
-0.13586941361427307,
0.22092404961585999,
-0.11077501624822617,
0.26322901248931885,
0.31346631050109863,
-0.09082639217376709,
0.15319675207138062,
-0.13566462695598602,
-0.29644107818603516,
-0.1926666647195816,
0.28331130743026733,
0.21046820282936096,
-0.3970859944820404,
-0.21362821757793427,
-0.1504444032907486,
-0.1436149924993515,
0.0299903005361557,
0.1212649792432785,
-0.3859352469444275,
0.28410574793815613,
-0.2248266041278839,
-0.3534814119338989,
0.33479389548301697,
-0.19461148977279663,
-0.11446872353553772,
0.4579930007457733,
0.18612416088581085,
0.03810887783765793,
0.10505470633506775,
0.2736823558807373,
-0.05854292958974838,
0.07131793349981308,
0.10393531620502472,
0.2583708167076111,
-0.23530209064483643,
-0.27409735321998596,
0.00029576197266578674,
-0.11380768567323685,
0.3105774521827698,
0.21310916543006897,
-0.11594481766223907,
-0.03846476227045059,
-0.23444870114326477,
0.21092699468135834,
0.3655131757259369,
-0.02728123590350151,
0.09555891901254654,
0.014059092849493027,
0.10287153720855713,
0.4357924461364746,
0.2865963876247406,
-0.2845994532108307,
-0.49040985107421875,
0.13116487860679626,
0.16550491750240326,
-0.3954726755619049,
0.12041088938713074,
-0.4200783371925354,
0.08002346009016037,
-0.17824941873550415,
-0.15725034475326538,
-0.37464460730552673,
-0.0022304970771074295,
-0.15081635117530823,
-0.1624034345149994,
-0.17775607109069824,
-0.42355552315711975,
0.42395448684692383,
-0.24992157518863678,
0.11527515202760696,
-0.2289770245552063,
0.23946978151798248,
0.038787294179201126,
0.2098435014486313,
-0.1989642232656479,
0.2727728486061096,
-0.06571877747774124,
-0.04917900636792183,
0.11073662340641022,
0.3047858476638794,
0.5942275524139404,
-0.28613418340682983,
0.10419614613056183,
0.020360633730888367,
-0.01669314317405224,
-0.11246201395988464,
0.1144106388092041,
-0.061898235231637955,
0.07063869386911392,
-0.29375892877578735,
-0.10927107185125351,
0.16071008145809174,
-0.15806977450847626,
0.3453451693058014,
0.05437702685594559,
0.17434190213680267,
0.1691737323999405,
-0.040646977722644806,
-0.21758517622947693,
-0.3095989227294922,
-0.27819862961769104,
-0.283496230840683,
0.3399202525615692,
0.3674309253692627,
-0.14796461164951324,
0.15539555251598358,
0.22274468839168549,
0.057675737887620926,
0.14809738099575043,
-0.18314725160598755,
-0.46561723947525024,
0.02503959834575653,
-0.08948927372694016,
0.17941316962242126,
0.3915218114852905,
0.19904868304729462,
0.15483488142490387,
-0.07847188413143158,
0.3370194435119629,
-0.19430416822433472,
-0.07235454767942429,
0.4055979251861572,
0.16908761858940125,
-0.1283869445323944,
-0.2659933269023895,
0.09115557372570038,
0.16914543509483337,
-0.1398744136095047,
-0.07539020478725433,
-0.128914013504982,
-0.25896739959716797,
0.18734827637672424,
-0.2755746841430664,
-0.15450400114059448,
-0.205154150724411,
-0.145330011844635,
-0.3799348771572113,
-0.48964807391166687,
-0.0038611553609371185,
-0.05419951304793358,
-0.25096508860588074,
0.01671002432703972,
-0.3541566729545593,
0.2501595616340637,
-0.026181979104876518,
-0.12556181848049164,
0.027677662670612335,
-0.34487810730934143,
-0.06405466049909592,
0.010014064610004425,
0.06908475607633591,
0.48203182220458984,
0.15585117042064667,
-0.2240111231803894,
-0.05505485087633133,
-0.4028353691101074,
-0.17288726568222046,
-0.041476935148239136,
-0.17496350407600403,
0.010377257131040096,
0.1427566260099411,
0.08353499323129654,
0.028057388961315155,
-0.13471412658691406,
0.03002823516726494,
0.05228777974843979,
-0.013128099963068962,
-0.10291764885187149,
0.15307290852069855,
-0.2047078013420105,
-0.11258392035961151,
-0.14195755124092102,
-0.57716965675354,
-0.23681403696537018,
0.22380344569683075,
-0.16350489854812622,
0.057862963527441025,
0.11839697510004044,
-0.2589977979660034,
0.08798273652791977,
0.038426537066698074,
0.21315215528011322,
-0.16504248976707458,
-0.15544047951698303,
0.12443451583385468,
-0.09113804996013641,
-0.07398039102554321,
0.05017940327525139,
-0.16040600836277008,
0.06838655471801758,
0.1043669581413269,
-0.47069627046585083,
0.2623695433139801,
-0.3920532464981079,
0.012837175279855728,
0.09925717115402222,
0.20850533246994019,
0.22228026390075684,
-0.07093152403831482,
0.14646025002002716,
-0.0629282146692276,
-0.2990630567073822,
-0.004191137850284576,
-0.2204361855983734,
-0.038482971489429474,
0.057974498718976974,
-0.08157020807266235,
-0.14453482627868652,
0.5173144340515137,
0.1857021301984787,
0.03030340187251568,
-0.13863028585910797,
0.15644200146198273,
0.45144036412239075,
-0.27101266384124756,
-0.24261300265789032,
0.10047290474176407,
0.07469925284385681,
-0.23695215582847595,
0.24849022924900055,
-0.001176951453089714,
0.2600427269935608,
-0.19339528679847717,
-0.2747226059436798,
0.027401700615882874,
-0.37841159105300903,
0.10797702521085739,
-0.3394283056259155,
0.12288528680801392,
-0.061063095927238464,
0.027921974658966064,
0.06994017958641052,
0.03135887533426285,
-0.04730881378054619,
0.686991810798645,
0.21254348754882812,
-0.05445246025919914,
-0.760141909122467,
-0.5233811736106873,
0.3629414737224579,
0.13292822241783142,
0.06490430980920792,
0.372558057308197,
-0.05142350494861603,
-0.13177677989006042,
-0.13356751203536987,
0.2957073152065277,
0.30872678756713867,
0.0008374843746423721,
-0.43875986337661743,
0.032047923654317856,
-0.20633146166801453,
-0.44289109110832214,
-0.18685850501060486,
-0.010660160332918167,
0.40960898995399475,
-0.005682375282049179,
0.1989186704158783,
-0.2873961627483368,
-0.13823099434375763,
0.477605402469635,
0.4554178714752197,
-0.133991077542305,
-0.3033164441585541,
-0.21949978172779083,
0.17716455459594727,
0.12136848270893097,
-0.47841066122055054,
0.020773427560925484,
-0.26038694381713867,
-0.16035419702529907,
0.040470752865076065,
-0.04513169825077057,
0.01734069734811783,
0.18644557893276215,
-0.027152538299560547,
0.14375907182693481,
-0.1432802528142929,
0.10595011711120605,
0.34731873869895935,
0.27606701850891113,
0.24970802664756775,
0.6773900985717773,
-0.12116961181163788,
-0.6218706965446472,
0.05524642392992973,
-0.21080522239208221,
0.6216720938682556,
0.15410442650318146,
-0.08653464913368225,
-0.005395814776420593,
0.006876147352159023,
-0.28757715225219727,
-0.31539809703826904,
-0.09317158162593842,
0.08034689724445343,
-0.06884194165468216,
-0.5808683633804321,
-0.7927821278572083,
0.3102199137210846,
0.16766440868377686,
-0.01588144153356552,
0.4327213764190674,
0.315571665763855,
-0.16722965240478516,
0.25040560960769653,
-0.43886202573776245,
0.6755132675170898,
0.14445458352565765,
0.15064309537410736,
-0.277252733707428,
0.27731961011886597,
0.5739861726760864,
0.03572654724121094,
0.086361363530159,
-0.3134250044822693,
-0.47996267676353455,
-0.0779709741473198,
-0.24388858675956726,
0.14874626696109772,
0.15415334701538086,
-0.041894905269145966,
0.21847079694271088,
-0.11952076852321625,
0.05416698753833771,
-0.1822514683008194,
0.3473968207836151,
0.007618946023285389,
0.039656419306993484,
0.02603158727288246,
-0.03040265291929245,
0.05072515830397606,
0.20011763274669647,
0.2681595981121063,
0.04718815162777901,
-0.32819119095802307,
-0.03868620842695236,
-0.22913403809070587,
-0.31291472911834717,
0.1777765303850174,
0.4434981942176819,
0.002486247569322586,
-0.1892048865556717,
0.1715146005153656,
0.13042190670967102,
0.6694788336753845,
0.018758567050099373,
-0.20688524842262268,
0.01306179165840149,
-0.10048504918813705,
0.0997362956404686,
0.007352239452302456,
0.0586407408118248,
0.2492210417985916,
0.2794007360935211,
-0.17245203256607056,
0.07201345264911652,
-0.17359133064746857,
-0.2988305687904358,
-0.3996565341949463,
0.10617408901453018,
0.3400159478187561,
-0.449611097574234,
0.02724694460630417,
0.09217240661382675,
0.07656905055046082,
-0.20176857709884644,
0.013920029625296593,
0.1829656958580017,
0.033484939485788345,
0.21778607368469238,
-0.06989583373069763,
-0.3221409320831299,
-0.12186408042907715,
-0.07853659242391586,
0.31856608390808105,
0.006492450833320618,
0.24770617485046387,
-0.21551531553268433,
-0.2510910630226135,
-0.06432630866765976,
0.543302059173584,
0.10612308233976364,
0.23117193579673767,
-0.06365403532981873,
0.18373875319957733,
0.15245060622692108,
-0.2490392029285431,
-0.07815121114253998,
0.009597107768058777,
-0.0820411965250969,
-0.23332759737968445,
-0.24435070157051086,
-0.2849210202693939,
0.5344144105911255,
-0.12396995723247528,
0.31368353962898254,
0.09727341681718826,
0.1149892807006836,
-0.026420745998620987,
0.2563060224056244,
-0.15719366073608398,
-0.13781613111495972,
0.3991808295249939,
0.24933433532714844,
0.13715693354606628,
0.20599296689033508,
0.16757610440254211,
0.042662668973207474,
-0.00965421088039875,
-0.31321829557418823,
0.2585718631744385,
-0.07661984860897064,
-0.021098293364048004,
0.2216660976409912,
0.18441861867904663,
0.15188676118850708,
-0.05727749317884445,
-0.26698392629623413,
-0.020633280277252197,
-0.27137643098831177,
0.4246799349784851,
0.36466899514198303,
0.15370211005210876,
0.6921373009681702,
0.2261843979358673,
0.2610786557197571,
-0.27245190739631653,
0.4252394139766693,
-0.03518643230199814,
0.32603657245635986,
0.06112782284617424,
0.10714680701494217,
-0.2512072026729584,
0.1255653202533722,
-0.27185243368148804,
0.009148664772510529,
-0.21184928715229034,
0.056106455624103546,
-0.1930883228778839,
-0.07509751617908478,
0.4025205969810486,
0.08029551804065704,
0.10004429519176483,
0.7510887980461121,
-0.2151397168636322,
0.16510939598083496,
0.1358082890510559,
0.039668865501880646,
0.0208546444773674,
0.12995491921901703,
0.33496734499931335,
0.046306535601615906,
0.05961817875504494,
0.28906646370887756,
-0.0499841570854187,
0.11846615374088287,
0.11005278676748276,
-0.0038775745779275894,
0.43585899472236633,
0.06542463600635529,
0.38645580410957336,
0.3260371685028076,
0.17697890102863312,
0.06647199392318726,
0.07233196496963501,
0.3067260682582855,
0.21183732151985168,
0.5174102187156677,
-0.0414486899971962,
0.04698985069990158,
0.319352388381958,
-0.11492782831192017,
0.4228000342845917,
-0.07837533950805664,
-0.11032301187515259,
0.14620442688465118,
-0.039997681975364685,
-0.33432769775390625,
0.008881822228431702,
0.28505274653434753,
-0.41102853417396545,
-0.1561281383037567,
0.13675427436828613,
-0.4379037022590637,
-0.131636381149292,
0.07498133182525635,
0.0354776456952095,
-0.014055535197257996,
0.15067262947559357,
-0.27569958567619324,
-0.016029544174671173,
-0.1391405165195465,
0.2499791383743286,
-0.17853011190891266,
-0.20560269057750702,
-0.20833900570869446,
0.38193488121032715,
0.18373072147369385,
0.11918748915195465,
-0.0517098531126976,
-0.21242967247962952,
-0.08640654385089874,
0.14725945889949799,
0.5784413814544678,
0.044054627418518066,
-0.05097607150673866,
0.3064544200897217,
0.22589249908924103,
-0.17777572572231293,
-0.07011067867279053,
-0.27066105604171753,
-0.08725957572460175,
0.21078738570213318,
-0.26080963015556335,
-0.12770351767539978,
0.2905161380767822,
0.14100247621536255,
0.07920587062835693,
-0.006776358932256699,
0.3692655861377716,
0.3378591239452362,
-0.521064281463623,
0.35816413164138794,
-0.04351017624139786,
-0.20124751329421997,
0.28087788820266724,
0.011415995657444,
-0.21163684129714966,
-0.35101038217544556,
0.15089133381843567,
0.06673307716846466,
0.04624504968523979,
0.04430423304438591,
0.018386971205472946,
-0.041602712124586105,
0.08275257050991058,
0.41150471568107605,
0.1575247347354889,
-0.1438448578119278,
0.08594463765621185,
-0.45094260573387146,
0.0690576434135437,
-0.2467595934867859,
-0.27334076166152954,
0.12122225761413574,
0.16754880547523499,
0.14722663164138794,
0.22368277609348297,
-0.08847124874591827,
0.004635313991457224,
0.0026609888300299644,
-0.4381084442138672,
-0.18625600636005402,
-0.4560612440109253,
-0.24292396008968353,
0.11882717162370682,
-0.007245644927024841,
-0.3560097813606262,
0.19225499033927917,
0.16536836326122284,
-0.14720246195793152,
0.013118097558617592,
-0.12309436500072479,
0.5838449001312256,
0.6622908115386963,
0.10865245014429092,
-0.06029606610536575,
0.5134741067886353,
0.13881513476371765,
0.00803123228251934,
-0.23330137133598328,
-0.31231871247291565,
-0.18142029643058777,
0.4386743903160095,
0.036112960427999496,
-0.10867245495319366,
-0.41489145159721375,
-0.22177277505397797,
-0.14126092195510864,
0.5059245824813843,
-0.10265153646469116,
-0.08806274831295013,
-0.09339475631713867,
0.24474439024925232,
-0.11110915243625641,
0.2183566391468048,
0.15614226460456848,
0.08367632329463959,
-0.06927111744880676,
-0.2627573311328888,
-0.007328346371650696,
-0.038581158965826035,
0.3029502034187317,
-0.03980819508433342,
-0.13377493619918823,
0.1064072921872139,
0.22775626182556152,
0.1762738823890686,
0.026291655376553535,
-0.45922738313674927,
-0.22888687252998352,
0.6860067844390869,
-0.08363518118858337,
-0.02155524492263794,
-0.2875184416770935,
0.16003355383872986,
-0.14287464320659637,
-0.23434001207351685,
0.20043303072452545,
-0.10495167225599289,
-0.3920254409313202,
0.04543985053896904,
-0.11858924478292465
] |
https://github.com/huggingface/datasets/issues/1687 | Question: Shouldn't .info be a part of DatasetDict? | Yes this was kinda the idea I was going for. DatasetDict.info would be the shared info amongs the datasets (maybe even some info on how they differ). | Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset("conll2002", "es")
>>> ds.info
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'DatasetDict' object has no attribute 'info'
```
I could imagine that this wouldn't work for datasets dicts which hold entirely different datasets (multimodal datasets), but it seems odd that splits of the same dataset is treated the same as what is essentially different datasets.
Intuitively it would also make sense that if a dataset is supplied via. the load_dataset that is have a common .info which covers the entire dataset.
It is entirely possible that I am missing another perspective | 27 | Question: Shouldn't .info be a part of DatasetDict?
Currently, only `Dataset` contains the .info or .features, but as many datasets contains standard splits (train, test) and thus the underlying information is the same (or at least should be) across the datasets.
For instance:
```
>>> ds = datasets.load_dataset("conll2002", "es")
>>> ds.info
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'DatasetDict' object has no attribute 'info'
```
I could imagine that this wouldn't work for datasets dicts which hold entirely different datasets (multimodal datasets), but it seems odd that splits of the same dataset is treated the same as what is essentially different datasets.
Intuitively it would also make sense that if a dataset is supplied via. the load_dataset that is have a common .info which covers the entire dataset.
It is entirely possible that I am missing another perspective
Yes this was kinda the idea I was going for. DatasetDict.info would be the shared info amongs the datasets (maybe even some info on how they differ). | [
0.10923467576503754,
-0.18634077906608582,
-0.052232421934604645,
0.32486391067504883,
0.1043856292963028,
0.23965105414390564,
0.4616638720035553,
0.018087157979607582,
0.07692889869213104,
0.019750215113162994,
0.1676875650882721,
0.0010696012759581208,
0.09683933854103088,
0.5461278557777405,
-0.0978989228606224,
-0.10379965603351593,
-0.05942731350660324,
0.13888688385486603,
0.3905676603317261,
-0.25159454345703125,
-0.0007192790508270264,
-0.09108135849237442,
-0.259604811668396,
0.0988156646490097,
-0.5232894420623779,
0.1915978342294693,
-0.188144251704216,
0.09199198335409164,
0.13260644674301147,
-0.28782179951667786,
0.3615061044692993,
0.15953968465328217,
0.19737467169761658,
0.11363445967435837,
-0.00011835651093861088,
0.0224602073431015,
0.40107035636901855,
-0.06241520494222641,
-0.5887030959129333,
-0.05240577459335327,
-0.48480483889579773,
-0.2119043469429016,
0.3201882243156433,
-0.38652923703193665,
0.12115690857172012,
-0.0696781575679779,
0.0017123725265264511,
-0.4104650020599365,
-0.25617462396621704,
0.023412369191646576,
0.08370333909988403,
0.20948468148708344,
0.07823872566223145,
0.11118510365486145,
0.37844327092170715,
0.4335740804672241,
0.009616872295737267,
0.007067946717143059,
0.032076720148324966,
0.2960720956325531,
0.12555022537708282,
0.33084815740585327,
-0.053394876420497894,
0.11169131100177765,
0.4069632887840271,
0.14609114825725555,
0.12548084557056427,
-0.06380651891231537,
0.11056765913963318,
0.21881520748138428,
0.7944614291191101,
-0.16077464818954468,
-0.48646387457847595,
-0.4499762952327728,
0.01718781888484955,
-0.05386640131473541,
0.04818829149007797,
0.20490676164627075,
0.10582910478115082,
0.20542995631694794,
-0.029415462166070938,
-0.2366989552974701,
-0.0012190043926239014,
0.08744248002767563,
-0.31068941950798035,
0.23556289076805115,
-0.2511017918586731,
0.36706623435020447,
-0.1846858263015747,
0.21129554510116577,
0.26177316904067993,
-0.4690438210964203,
-0.10363173484802246,
-0.3024093210697174,
0.12253740429878235,
-0.1447334885597229,
-0.26776307821273804,
0.04108254984021187,
0.19646376371383667,
0.08164168149232864,
-0.08824145793914795,
0.078685462474823,
-0.3459380269050598,
0.1982536017894745,
0.6331499218940735,
-0.16915211081504822,
0.4581497013568878,
0.30497077107429504,
0.4819130301475525,
-0.21129517257213593,
-0.16445909440517426,
-0.08885066956281662,
0.0035897381603717804,
0.16209889948368073,
0.11405503749847412,
-0.09382059425115585,
0.38558369874954224,
-0.17985503375530243,
-0.3533095419406891,
-0.06742458790540695,
-0.1632727086544037,
-0.263900488615036,
0.20293650031089783,
-0.022761516273021698,
0.10988521575927734,
0.27478525042533875,
-0.08845016360282898,
-0.032044798135757446,
0.20306278765201569,
-0.3814786374568939,
-0.14358288049697876,
-0.2690339982509613,
-0.06917044520378113,
0.3542397916316986,
-0.20171064138412476,
-0.15125127136707306,
0.3689919710159302,
-0.1425231248140335,
0.01166248694062233,
-0.052138444036245346,
0.05363697558641434,
-0.15615759789943695,
0.06428292393684387,
0.30081266164779663,
-0.15648213028907776,
0.42822265625,
0.0956929475069046,
-0.1618206799030304,
-0.2783506214618683,
0.1801874339580536,
-0.6619877815246582,
-0.4488369822502136,
0.20475544035434723,
0.06135896220803261,
-0.15768484771251678,
0.1795574277639389,
-0.14158600568771362,
0.240654855966568,
0.2539418637752533,
-0.07230483740568161,
0.19069018959999084,
-0.15919236838817596,
-0.2682466208934784,
-0.2610306441783905,
0.2825262248516083,
0.2337578535079956,
-0.3897711932659149,
-0.22973692417144775,
-0.08047940582036972,
-0.14729371666908264,
-0.0020092278718948364,
0.06970901787281036,
-0.4143722355365753,
0.27568137645721436,
-0.21693351864814758,
-0.3133247494697571,
0.31936150789260864,
-0.2567071318626404,
-0.12791591882705688,
0.4607943296432495,
0.21088014543056488,
0.08026581257581711,
0.12238668650388718,
0.31236010789871216,
-0.10632207244634628,
0.04547973349690437,
0.15130434930324554,
0.2537454664707184,
-0.1846105009317398,
-0.25930389761924744,
-0.04275597631931305,
-0.047800201922655106,
0.3199852705001831,
0.21069519221782684,
-0.17839764058589935,
-0.0691637471318245,
-0.21706622838974,
0.13887371122837067,
0.4230903685092926,
-0.04629264399409294,
0.05334559082984924,
0.05406641215085983,
0.19881965219974518,
0.4479036331176758,
0.296883225440979,
-0.2312650978565216,
-0.46896469593048096,
0.15596503019332886,
0.18944242596626282,
-0.359491765499115,
0.12580400705337524,
-0.4240338206291199,
0.09223774075508118,
-0.14447154104709625,
-0.1887960433959961,
-0.38900846242904663,
-0.008208319544792175,
-0.13563783466815948,
-0.22308731079101562,
-0.17894688248634338,
-0.4328572452068329,
0.40742507576942444,
-0.2873840630054474,
0.10646438598632812,
-0.2504107356071472,
0.2724047601222992,
0.04332396388053894,
0.21232514083385468,
-0.1825287789106369,
0.28047069907188416,
-0.06117640435695648,
-0.018420463427901268,
0.11085700243711472,
0.3228790760040283,
0.5905704498291016,
-0.2544254660606384,
0.09543785452842712,
0.08688371628522873,
-0.007046954706311226,
-0.13137470185756683,
0.18718630075454712,
-0.06393961608409882,
0.08439122885465622,
-0.2608760595321655,
-0.1119740679860115,
0.20042213797569275,
-0.16594339907169342,
0.26598137617111206,
0.0471607968211174,
0.15016140043735504,
0.1141621470451355,
0.013063076883554459,
-0.2590411901473999,
-0.22807404398918152,
-0.24095897376537323,
-0.2200494259595871,
0.36444902420043945,
0.39602938294410706,
-0.1986415535211563,
0.17614200711250305,
0.2211502492427826,
0.03664805367588997,
0.09904087334871292,
-0.18732741475105286,
-0.4361336827278137,
0.04043211787939072,
-0.10346366465091705,
0.18638864159584045,
0.42618322372436523,
0.18742488324642181,
0.13636288046836853,
-0.0564795583486557,
0.294838547706604,
-0.16217082738876343,
-0.056969769299030304,
0.3631014823913574,
0.1800800859928131,
-0.17101159691810608,
-0.24775418639183044,
0.1055668294429779,
0.17760014533996582,
-0.22682982683181763,
-0.11989545822143555,
-0.11884830892086029,
-0.26353782415390015,
0.193154975771904,
-0.22762781381607056,
-0.12557955086231232,
-0.22388261556625366,
-0.16744080185890198,
-0.4080669581890106,
-0.4708373546600342,
-0.041249558329582214,
-0.09149229526519775,
-0.22655744850635529,
0.03242990002036095,
-0.35026276111602783,
0.22023776173591614,
-0.027290770784020424,
-0.1370193362236023,
0.0849737823009491,
-0.34110650420188904,
-0.06848490238189697,
-0.0016225427389144897,
0.01992129534482956,
0.47723618149757385,
0.1395876258611679,
-0.14375099539756775,
0.02970590442419052,
-0.37831583619117737,
-0.23705172538757324,
-0.06765703111886978,
-0.20399759709835052,
0.04279686510562897,
0.17393717169761658,
0.10566495358943939,
0.00460553914308548,
-0.12119456380605698,
0.036304011940956116,
0.09519069641828537,
-0.008557206951081753,
-0.0960078313946724,
0.144993394613266,
-0.26099634170532227,
-0.0785544365644455,
-0.14922630786895752,
-0.5878080129623413,
-0.2085360586643219,
0.2513510584831238,
-0.14428065717220306,
0.060581911355257034,
0.18405373394489288,
-0.18937060236930847,
0.07946246862411499,
0.08907440304756165,
0.27948907017707825,
-0.15440505743026733,
-0.22274544835090637,
0.10439202189445496,
-0.08261589705944061,
-0.08370840549468994,
0.0354144312441349,
-0.14928600192070007,
0.11612991988658905,
0.06252536177635193,
-0.5031929016113281,
0.196387380361557,
-0.3549005091190338,
0.04716992750763893,
0.08232134580612183,
0.2206011861562729,
0.22165752947330475,
-0.04331618547439575,
0.13327622413635254,
-0.07047776132822037,
-0.30336064100265503,
-0.03737641125917435,
-0.20831075310707092,
-0.058610014617443085,
0.09156695753335953,
-0.111666239798069,
-0.19121520221233368,
0.4794415235519409,
0.1923931986093521,
0.03431931883096695,
-0.15831758081912994,
0.14794732630252838,
0.4536730945110321,
-0.22558888792991638,
-0.2565920352935791,
0.08393383771181107,
0.11569373309612274,
-0.23116515576839447,
0.20089931786060333,
-0.007788302376866341,
0.308876633644104,
-0.1947282999753952,
-0.30630767345428467,
0.03880791366100311,
-0.3404156565666199,
0.10313555598258972,
-0.38276076316833496,
0.1496533900499344,
-0.09746342897415161,
-0.016376104205846786,
0.024298761039972305,
0.054492950439453125,
-0.062305133789777756,
0.6804857850074768,
0.15003906190395355,
-0.07917548716068268,
-0.7875329852104187,
-0.5043074488639832,
0.35435181856155396,
0.11034568399190903,
0.033801108598709106,
0.3633686602115631,
-0.047957465052604675,
-0.08587056398391724,
-0.1417989581823349,
0.294887512922287,
0.3043973445892334,
-0.015317359939217567,
-0.41809213161468506,
0.0420071966946125,
-0.18482954800128937,
-0.4713217318058014,
-0.20005588233470917,
-0.024344267323613167,
0.36791110038757324,
-0.032253000885248184,
0.1814921796321869,
-0.2694959342479706,
-0.17317605018615723,
0.4519660472869873,
0.42221084237098694,
-0.16934733092784882,
-0.3046566843986511,
-0.26617860794067383,
0.17010226845741272,
0.12484855949878693,
-0.5041339993476868,
-0.0035556573420763016,
-0.20791170001029968,
-0.19491958618164062,
0.11030875146389008,
-0.01611279882490635,
0.08829176425933838,
0.20644429326057434,
-0.04235004261136055,
0.16365909576416016,
-0.15934360027313232,
0.12321200966835022,
0.3756867051124573,
0.2779027819633484,
0.2583456039428711,
0.6850102543830872,
-0.09845860302448273,
-0.6121305227279663,
0.007861915044486523,
-0.2490336000919342,
0.6869458556175232,
0.1279267966747284,
-0.09002161026000977,
-0.0067451223731040955,
-0.016008157283067703,
-0.2697269916534424,
-0.3494410216808319,
-0.12171757966279984,
0.11198995262384415,
-0.060516923666000366,
-0.564488410949707,
-0.7933294177055359,
0.3231038749217987,
0.1790107637643814,
-0.032859399914741516,
0.4560074508190155,
0.35600000619888306,
-0.201115682721138,
0.23514750599861145,
-0.3832598328590393,
0.69130939245224,
0.1769031286239624,
0.18618077039718628,
-0.23619017004966736,
0.2525370121002197,
0.5729827880859375,
0.06311988830566406,
0.027686549350619316,
-0.3370054364204407,
-0.4901945888996124,
-0.07378993928432465,
-0.27072522044181824,
0.17269685864448547,
0.13074859976768494,
-0.055737029761075974,
0.21151115000247955,
-0.10618475079536438,
0.029245320707559586,
-0.17815068364143372,
0.344063937664032,
0.030604148283600807,
0.0739402323961258,
0.006291116587817669,
-0.03239838778972626,
0.048462267965078354,
0.18836747109889984,
0.24160698056221008,
0.024222396314144135,
-0.3567383587360382,
-0.069910429418087,
-0.2014043629169464,
-0.32207047939300537,
0.18406075239181519,
0.4327129125595093,
0.13498325645923615,
-0.16797560453414917,
0.16621728241443634,
0.15722054243087769,
0.6592186093330383,
0.022241603583097458,
-0.23076391220092773,
-0.021297529339790344,
-0.12789902091026306,
0.1114325001835823,
-0.014333571307361126,
0.016169529408216476,
0.2778164744377136,
0.2751944661140442,
-0.19268140196800232,
0.10456128418445587,
-0.1761862337589264,
-0.23309744894504547,
-0.3902469277381897,
0.0741933137178421,
0.3489203453063965,
-0.48223012685775757,
0.025033988058567047,
0.11011981964111328,
0.04087994620203972,
-0.17839019000530243,
0.012005096301436424,
0.24668672680854797,
-0.005420348607003689,
0.20953676104545593,
-0.01637059822678566,
-0.29438069462776184,
-0.07409624755382538,
-0.06915020197629929,
0.3758610486984253,
-0.04443880543112755,
0.2839975357055664,
-0.22569385170936584,
-0.2468978315591812,
-0.03458627685904503,
0.5593050718307495,
0.1610974222421646,
0.20066049695014954,
-0.09099601209163666,
0.22911733388900757,
0.1600695699453354,
-0.237039253115654,
-0.008788909763097763,
-0.008673306554555893,
-0.061208419501781464,
-0.19658780097961426,
-0.24282954633235931,
-0.29285597801208496,
0.5185012221336365,
-0.10557077825069427,
0.3687823712825775,
0.010460257530212402,
0.0972033143043518,
0.021542178466916084,
0.19434580206871033,
-0.17040634155273438,
-0.10123825818300247,
0.38571661710739136,
0.24599425494670868,
0.20750634372234344,
0.19779115915298462,
0.13953755795955658,
0.034586865454912186,
0.0011126808822154999,
-0.33331751823425293,
0.2167118936777115,
-0.0601823627948761,
-0.07145889103412628,
0.22726081311702728,
0.18719279766082764,
0.12927058339118958,
-0.041213106364011765,
-0.2895895838737488,
0.012708446010947227,
-0.24252527952194214,
0.3665848672389984,
0.37019336223602295,
0.1453300565481186,
0.7033873796463013,
0.21301984786987305,
0.2670081555843353,
-0.23006226122379303,
0.42680254578590393,
-0.00530620664358139,
0.32818499207496643,
0.11753824353218079,
0.06648709625005722,
-0.3007630407810211,
0.11757084727287292,
-0.25193536281585693,
0.06089393049478531,
-0.2561262845993042,
0.09254492819309235,
-0.17491403222084045,
-0.0935116857290268,
0.4097740054130554,
0.07510402053594589,
0.125978022813797,
0.7074722647666931,
-0.26280438899993896,
0.15441980957984924,
0.06972745060920715,
0.05291757360100746,
0.04448965936899185,
0.07541897147893906,
0.3436789810657501,
0.09365721791982651,
0.015505794435739517,
0.25822392106056213,
-0.04606890678405762,
0.12427239120006561,
0.08246158808469772,
-0.0076018935069441795,
0.40433356165885925,
0.04790659621357918,
0.35482481122016907,
0.2216268926858902,
0.16963225603103638,
0.046290211379528046,
0.1006653755903244,
0.36537981033325195,
0.190957710146904,
0.51541668176651,
-0.029335111379623413,
0.04514680057764053,
0.3739590048789978,
-0.15801075100898743,
0.38264328241348267,
-0.09606721997261047,
-0.01354677602648735,
0.14422105252742767,
-0.057490065693855286,
-0.38080716133117676,
0.0007178634405136108,
0.19231374561786652,
-0.3736926019191742,
-0.1198178306221962,
0.1813124120235443,
-0.4378456175327301,
-0.15170052647590637,
0.03723845258355141,
0.04338325560092926,
-0.040842317044734955,
0.1608285754919052,
-0.267953485250473,
-0.01944444701075554,
-0.16176047921180725,
0.24874047935009003,
-0.21490247547626495,
-0.18196089565753937,
-0.24878360331058502,
0.3825959861278534,
0.1977817714214325,
0.14540274441242218,
-0.06493916362524033,
-0.22164027392864227,
-0.05435335636138916,
0.15355122089385986,
0.574005663394928,
0.07583510875701904,
0.005193687975406647,
0.3431330621242523,
0.20815721154212952,
-0.1150471642613411,
-0.05582565441727638,
-0.25079792737960815,
-0.051607243716716766,
0.18428772687911987,
-0.24086952209472656,
-0.11992627382278442,
0.28515467047691345,
0.14477863907814026,
0.0790029913187027,
0.014863617718219757,
0.3991677463054657,
0.319959431886673,
-0.5323266386985779,
0.30437347292900085,
-0.056500524282455444,
-0.22608381509780884,
0.2637321352958679,
0.043934572488069534,
-0.2527673542499542,
-0.3791944980621338,
0.23228107392787933,
0.14505760371685028,
0.059551358222961426,
0.013289578258991241,
0.019511010497808456,
-0.0589778907597065,
0.08860951662063599,
0.48712798953056335,
0.1757129579782486,
-0.20868223905563354,
0.05017763376235962,
-0.4910959005355835,
0.0962909609079361,
-0.19974271953105927,
-0.3158706724643707,
0.13602709770202637,
0.17355632781982422,
0.16286323964595795,
0.21085834503173828,
-0.08238784968852997,
0.035961005836725235,
-0.058514997363090515,
-0.442592978477478,
-0.2030196636915207,
-0.5107287764549255,
-0.2458578497171402,
0.08232387155294418,
-0.022978520020842552,
-0.26092004776000977,
0.15121488273143768,
0.12735596299171448,
-0.11514545232057571,
-0.030660875141620636,
-0.11795035749673843,
0.5505138635635376,
0.7200510501861572,
0.11105888336896896,
-0.09581837803125381,
0.5151231288909912,
0.1796167492866516,
-0.06435739248991013,
-0.17982664704322815,
-0.3064325153827667,
-0.10490703582763672,
0.47209203243255615,
-0.0040372759103775024,
-0.057627853006124496,
-0.3662101626396179,
-0.21385006606578827,
-0.1761781871318817,
0.4629443883895874,
-0.07400155067443848,
-0.13507692515850067,
-0.08802959322929382,
0.26228567957878113,
-0.07070312649011612,
0.19252486526966095,
0.09889111667871475,
0.08817313611507416,
-0.04897766560316086,
-0.18411634862422943,
0.02272087335586548,
-0.017322860658168793,
0.3316032290458679,
-0.0744464248418808,
-0.09240837395191193,
0.07562348246574402,
0.23436027765274048,
0.10368917882442474,
0.07048746198415756,
-0.5209987163543701,
-0.1857077181339264,
0.7407816648483276,
-0.09805520623922348,
-0.0945291519165039,
-0.24072778224945068,
0.11908788979053497,
-0.1634678840637207,
-0.20998157560825348,
0.23389945924282074,
-0.14947351813316345,
-0.3507016897201538,
0.05449073389172554,
-0.10846029967069626
] |
https://github.com/huggingface/datasets/issues/1686 | Dataset Error: DaNE contains empty samples at the end | One the PR is merged the fix will be available in the next release of `datasets`.
If you don't want to wait the next release you can still load the script from the master branch with
```python
load_dataset("dane", script_version="master")
``` | The dataset DaNE, contains empty samples at the end. It is naturally easy to remove using a filter but should probably not be there, to begin with as it can cause errors.
```python
>>> import datasets
[...]
>>> dataset = datasets.load_dataset("dane")
[...]
>>> dataset["test"][-1]
{'dep_ids': [], 'dep_labels': [], 'lemmas': [], 'morph_tags': [], 'ner_tags': [], 'pos_tags': [], 'sent_id': '', 'text': '', 'tok_ids': [], 'tokens': []}
>>> dataset["train"][-1]
{'dep_ids': [], 'dep_labels': [], 'lemmas': [], 'morph_tags': [], 'ner_tags': [], 'pos_tags': [], 'sent_id': '', 'text': '', 'tok_ids': [], 'tokens': []}
```
Best,
Kenneth | 40 | Dataset Error: DaNE contains empty samples at the end
The dataset DaNE, contains empty samples at the end. It is naturally easy to remove using a filter but should probably not be there, to begin with as it can cause errors.
```python
>>> import datasets
[...]
>>> dataset = datasets.load_dataset("dane")
[...]
>>> dataset["test"][-1]
{'dep_ids': [], 'dep_labels': [], 'lemmas': [], 'morph_tags': [], 'ner_tags': [], 'pos_tags': [], 'sent_id': '', 'text': '', 'tok_ids': [], 'tokens': []}
>>> dataset["train"][-1]
{'dep_ids': [], 'dep_labels': [], 'lemmas': [], 'morph_tags': [], 'ner_tags': [], 'pos_tags': [], 'sent_id': '', 'text': '', 'tok_ids': [], 'tokens': []}
```
Best,
Kenneth
One the PR is merged the fix will be available in the next release of `datasets`.
If you don't want to wait the next release you can still load the script from the master branch with
```python
load_dataset("dane", script_version="master")
``` | [
-0.12326878309249878,
-0.15057727694511414,
-0.2077825516462326,
-0.06342296302318573,
0.2767203748226166,
0.13470736145973206,
0.3861129879951477,
0.34644925594329834,
0.22405356168746948,
0.2550486624240875,
0.14272966980934143,
0.24621157348155975,
-0.10214123129844666,
0.12055381387472153,
-0.059454575181007385,
-0.18904352188110352,
0.07127507030963898,
0.23003746569156647,
-0.21164807677268982,
-0.21632704138755798,
-0.1598128229379654,
0.054527558386325836,
-0.2814106345176697,
-0.029499568045139313,
-0.25296977162361145,
-0.008691398426890373,
-0.07326885312795639,
0.0009031407535076141,
-0.18156668543815613,
-0.33936139941215515,
0.1875906139612198,
0.05533883720636368,
-0.022188853472471237,
0.47224289178848267,
-0.00009670976578490809,
0.0357762947678566,
0.2746003270149231,
0.009065503254532814,
-0.20734766125679016,
-0.18689264357089996,
-0.2046448290348053,
-0.10327546298503876,
0.01647673361003399,
-0.2946445345878601,
-0.09482742846012115,
-0.11907915025949478,
-0.12174668908119202,
-0.2512134909629822,
0.27615320682525635,
0.3788674771785736,
0.35103216767311096,
-0.02036038599908352,
-0.11334098130464554,
-0.23360733687877655,
0.09381211549043655,
0.018680613487958908,
0.006726833060383797,
0.008038707077503204,
0.1170283854007721,
-0.15800741314888,
0.17154526710510254,
0.37331530451774597,
-0.13565786182880402,
-0.03989605978131294,
0.1303146928548813,
0.07440218329429626,
0.35524222254753113,
-0.3960345387458801,
0.12254640460014343,
0.1647951602935791,
0.47621944546699524,
-0.23594698309898376,
-0.20520146191120148,
-0.09529434889554977,
0.09288293868303299,
-0.3406408131122589,
0.027856141328811646,
0.08264799416065216,
-0.18923167884349823,
0.13565726578235626,
-0.18322871625423431,
0.12521205842494965,
-0.029615722596645355,
0.1406729817390442,
-0.22200506925582886,
0.29244160652160645,
0.1040625274181366,
0.010555066168308258,
0.03525734692811966,
-0.16169095039367676,
-0.007253857329487801,
-0.17558395862579346,
-0.09924626350402832,
0.12622611224651337,
-0.17596441507339478,
-0.17813538014888763,
0.11043088138103485,
-0.3320736587047577,
0.09222295135259628,
0.23413139581680298,
0.05492287501692772,
-0.07286125421524048,
0.07247710973024368,
0.20501172542572021,
0.389007031917572,
0.1582600325345993,
0.11836013942956924,
0.18600626289844513,
0.043100256472826004,
0.03929414972662926,
-0.07926441729068756,
0.06880895048379898,
-0.03005872666835785,
-0.39394405484199524,
0.21656031906604767,
0.07296232879161835,
0.12353125214576721,
-0.03280782699584961,
-0.31636399030685425,
0.1423438936471939,
0.05720973759889603,
0.105277419090271,
-0.009974674321711063,
0.3338145613670349,
-0.073282890021801,
0.19196951389312744,
-0.029699869453907013,
0.10663479566574097,
-0.13253702223300934,
0.08751285821199417,
-0.33421066403388977,
0.14764051139354706,
-0.192499577999115,
-0.4847509264945984,
0.13935117423534393,
0.13993416726589203,
0.25988876819610596,
0.11225766688585281,
-0.08756725490093231,
0.04380011558532715,
0.23657912015914917,
-0.22994861006736755,
0.15960992872714996,
0.27116793394088745,
0.20730005204677582,
0.10329831391572952,
0.1049729436635971,
-0.3105362057685852,
-0.09684943407773972,
0.1971830129623413,
-0.24143439531326294,
-0.12705771625041962,
-0.2391120344400406,
0.4493573009967804,
-0.01925143599510193,
-0.13670198619365692,
-0.35144010186195374,
0.1592814326286316,
0.022565200924873352,
-0.19228428602218628,
-0.07440363615751266,
-0.12132593989372253,
-0.09715306013822556,
-0.1482299268245697,
0.31347888708114624,
0.2801155745983124,
-0.3103981912136078,
-0.1445906162261963,
0.03924327716231346,
-0.18230503797531128,
0.16209135949611664,
0.2586767077445984,
-0.1053343340754509,
0.13413682579994202,
-0.2297564148902893,
0.10658341646194458,
0.36050868034362793,
-0.3388747274875641,
-0.19522014260292053,
0.1234813779592514,
-0.018993470817804337,
-0.0715915858745575,
-0.11977788060903549,
-0.018919188529253006,
0.03683260828256607,
0.15001778304576874,
0.1854105293750763,
0.23629650473594666,
-0.05058841407299042,
-0.024335216730833054,
-0.1854703426361084,
-0.05532233417034149,
0.28800925612449646,
0.14498604834079742,
0.09852922707796097,
0.035712551325559616,
-0.14255806803703308,
0.14477181434631348,
0.25073128938674927,
-0.07886260747909546,
0.005078147165477276,
0.46192073822021484,
0.4397904872894287,
0.0230414941906929,
-0.008234426379203796,
-0.09324051439762115,
-0.17995208501815796,
0.0302312970161438,
0.12753690779209137,
0.24581050872802734,
-0.01259150356054306,
-0.18201100826263428,
-0.28930893540382385,
-0.14394475519657135,
-0.21319924294948578,
-0.1518135815858841,
0.3282751441001892,
0.014956392347812653,
-0.09919559955596924,
0.058525729924440384,
-0.2611061632633209,
0.17581799626350403,
-0.14643409848213196,
0.12126052379608154,
-0.2127426117658615,
0.3394412100315094,
-0.25131362676620483,
0.008037153631448746,
-0.014949090778827667,
0.12999029457569122,
0.11788181960582733,
0.025140289217233658,
-0.024143081158399582,
0.25962409377098083,
0.16667300462722778,
-0.03319062292575836,
0.13012060523033142,
-0.16008220613002777,
0.09455222636461258,
-0.1683373600244522,
-0.12870439887046814,
0.32378458976745605,
0.12938104569911957,
-0.032608844339847565,
-0.24797746539115906,
0.10319574177265167,
0.10673941671848297,
0.19042623043060303,
0.1538410186767578,
0.05038311332464218,
0.1857273280620575,
-0.2024238109588623,
0.11656803637742996,
-0.24066993594169617,
0.13672196865081787,
-0.11522696912288666,
0.11161530017852783,
-0.03300569951534271,
-0.1394120156764984,
-0.08110032230615616,
0.33976832032203674,
0.06977100670337677,
0.2045668363571167,
0.14777182042598724,
-0.1715923249721527,
0.04665254056453705,
0.024466726928949356,
0.31081506609916687,
0.27993372082710266,
0.31055477261543274,
0.06698340177536011,
0.08633221685886383,
0.09670340269804001,
-0.025954335927963257,
0.15240661799907684,
0.057631734758615494,
-0.048842791467905045,
0.267712265253067,
0.04492693394422531,
0.03684169426560402,
-0.2552140951156616,
-0.24408495426177979,
0.00020318478345870972,
0.33636271953582764,
-0.17593900859355927,
-0.026741251349449158,
-0.3138720989227295,
-0.1280578225851059,
0.014875614084303379,
0.19959421455860138,
-0.07804180681705475,
-0.31773877143859863,
0.22363325953483582,
0.004746053367853165,
-0.3061588406562805,
0.2955164611339569,
-0.01620832085609436,
0.09668269008398056,
0.19276072084903717,
-0.02932565100491047,
-0.1610545665025711,
-0.26296883821487427,
-0.2341374158859253,
0.28381985425949097,
0.08357284963130951,
0.29286783933639526,
0.23474812507629395,
-0.2635473310947418,
-0.1672598272562027,
-0.043928489089012146,
-0.4346902072429657,
0.049269113689661026,
-0.14625009894371033,
0.2544343173503876,
0.22267623245716095,
0.3057716488838196,
-0.21775075793266296,
-0.26300302147865295,
0.2211739718914032,
-0.2390861213207245,
-0.2774769067764282,
0.09022446721792221,
0.12394934892654419,
-0.07325439155101776,
-0.2961524426937103,
-0.5132991075515747,
-0.2596698999404907,
-0.3618588149547577,
-0.105788454413414,
0.10254405438899994,
-0.00047690048813819885,
0.09698928892612457,
0.32177847623825073,
0.01936158910393715,
-0.02499985881149769,
0.028933044523000717,
-0.16929900646209717,
-0.26692625880241394,
0.3266659677028656,
-0.2702934145927429,
-0.37255412340164185,
0.13848042488098145,
-0.180938258767128,
0.2575160562992096,
-0.2692219614982605,
-0.453655481338501,
-0.13163483142852783,
-0.019488709047436714,
-0.011439073830842972,
-0.05741315335035324,
0.037980467081069946,
0.1411525458097458,
0.1345512419939041,
-0.27272164821624756,
-0.17009364068508148,
-0.07690995186567307,
0.019612811505794525,
-0.1201295480132103,
0.24992850422859192,
-0.2742263376712799,
0.32239705324172974,
0.0168701633810997,
0.234981507062912,
0.24563950300216675,
-0.17568443715572357,
0.07393084466457367,
-0.18611343204975128,
0.2673368453979492,
-0.13000935316085815,
-0.39652442932128906,
0.04418827220797539,
0.05979767441749573,
0.029484357684850693,
0.10887136310338974,
-0.02786252647638321,
-0.1776435375213623,
-0.24931366741657257,
0.18629887700080872,
-0.18510708212852478,
-0.18968306481838226,
0.02008339948952198,
0.014573879539966583,
-0.013882726430892944,
-0.03015127405524254,
0.12864580750465393,
-0.31621861457824707,
0.009684957563877106,
-0.039082612842321396,
0.1935117244720459,
-0.04545482248067856,
-0.052726130932569504,
-0.5001694560050964,
0.25494444370269775,
-0.3457238972187042,
0.16188108921051025,
-0.06315181404352188,
0.05989738181233406,
-0.08769430965185165,
0.044564127922058105,
-0.1042466014623642,
0.0018431185744702816,
0.5315635204315186,
-0.3192276954650879,
-0.07051827013492584,
0.09819827973842621,
0.2009631246328354,
-0.1757177859544754,
0.09948201477527618,
-0.33738410472869873,
-0.1074298620223999,
0.29644566774368286,
0.08239403367042542,
-0.22765600681304932,
-0.1090289056301117,
0.35783499479293823,
0.0679270327091217,
-0.1750817447900772,
-0.11128674447536469,
-0.3121807277202606,
-0.35356733202934265,
-0.3516397774219513,
-0.06498915702104568,
0.24226252734661102,
0.1737552136182785,
-0.21005696058273315,
-0.21187792718410492,
-0.052268750965595245,
-0.06216420605778694,
0.31210246682167053,
0.1146017462015152,
0.40496817231178284,
0.054835833609104156,
0.1624942570924759,
-0.11409644782543182,
0.1351616084575653,
0.38038352131843567,
0.4657445251941681,
-0.04919165000319481,
-0.20405280590057373,
0.12827980518341064,
-0.18266797065734863,
0.31368666887283325,
0.056962400674819946,
-0.016924846917390823,
0.033780328929424286,
-0.3138435482978821,
0.25002002716064453,
-0.1137785091996193,
0.38451531529426575,
0.4363158643245697,
0.12385892122983932,
-0.20794913172721863,
-0.3572324812412262,
0.28426122665405273,
0.052402351051568985,
0.029996179044246674,
0.1809985190629959,
0.05032999441027641,
-0.3033677935600281,
0.410702109336853,
-0.013790860772132874,
0.8179672956466675,
0.2246253341436386,
0.09454803168773651,
0.26026231050491333,
0.028795599937438965,
0.22763940691947937,
-0.11388914287090302,
0.09623131155967712,
-0.2584104537963867,
-0.058095067739486694,
-0.02272954210639,
-0.034143708646297455,
0.0731227844953537,
0.3025132417678833,
-0.3570846617221832,
0.1366192251443863,
-0.17383097112178802,
0.16115912795066833,
-0.1448453813791275,
0.20150218904018402,
-0.020319437608122826,
0.03944309428334236,
-0.12722283601760864,
0.33404356241226196,
-0.013476662337779999,
0.10127194225788116,
-0.059825751930475235,
-0.1300126314163208,
-0.0954313576221466,
-0.19655729830265045,
-0.033577024936676025,
0.09275317192077637,
0.1977062225341797,
0.20409899950027466,
-0.11115780472755432,
-0.26271238923072815,
0.0110585056245327,
0.28479906916618347,
0.2877001166343689,
0.2532494068145752,
0.04565591737627983,
0.3643514811992645,
0.23675251007080078,
0.06860319525003433,
0.015425420366227627,
0.1436346024274826,
0.24378696084022522,
-0.15748223662376404,
-0.37938782572746277,
0.12413133680820465,
-0.049214210361242294,
-0.23876799643039703,
-0.08663123846054077,
-0.07656781375408173,
0.07071205228567123,
-0.46950966119766235,
-0.16924631595611572,
0.15638992190361023,
-0.021886002272367477,
-0.32711315155029297,
0.31781357526779175,
0.0043691471219062805,
-0.29891666769981384,
0.1441241204738617,
0.06388828158378601,
-0.14072509109973907,
-0.03777747228741646,
0.2160802185535431,
0.13021457195281982,
-0.25454044342041016,
0.549044132232666,
-0.053842950612306595,
-0.14504174888134003,
-0.389069139957428,
0.051538027822971344,
0.35088202357292175,
-0.31297409534454346,
0.27274811267852783,
-0.014698375947773457,
0.015026569366455078,
0.1346292644739151,
0.18280047178268433,
-0.013668876141309738,
0.04248901829123497,
0.06781087815761566,
-0.2157607525587082,
-0.4011377990245819,
0.26928043365478516,
-0.0394165925681591,
0.3781546354293823,
0.029361404478549957,
0.15487493574619293,
-0.037504516541957855,
-0.021558145061135292,
-0.5434962511062622,
0.05682724714279175,
-0.33893898129463196,
0.09992355853319168,
-0.1396113932132721,
-0.1531352996826172,
-0.15976229310035706,
-0.1850292682647705,
0.34478074312210083,
0.07668454945087433,
-0.04548266530036926,
-0.4464409053325653,
-0.026719680055975914,
0.03717370331287384,
-0.0955546498298645,
-0.07477089762687683,
0.1484636813402176,
0.005172492936253548,
-0.3181421756744385,
-0.05778709053993225,
0.08857320249080658,
0.08496882021427155,
0.0727112889289856,
0.30119410157203674,
0.1814301311969757,
0.1627575159072876,
-0.08635202795267105,
-0.1732783019542694,
0.10439231991767883,
0.11384241282939911,
-0.005346599500626326,
0.04602761194109917,
-0.0707833394408226,
-0.02947455644607544,
0.2215913087129593,
0.028280138969421387,
0.024787910282611847,
0.1064959466457367,
0.3007611632347107,
-0.40336257219314575,
0.13340458273887634,
0.032399922609329224,
0.22793054580688477,
0.2114892303943634,
-0.4869912564754486,
0.12960727512836456,
0.29890409111976624,
0.45390784740448,
-0.49493253231048584,
0.002194677945226431,
0.13489437103271484,
0.20981962978839874,
0.21414777636528015,
-0.022702790796756744,
-0.020530082285404205,
0.01910458505153656,
-0.024296313524246216,
0.28471091389656067,
0.14921149611473083,
-0.18376845121383667,
0.22550839185714722,
0.5618137121200562,
-0.15655271708965302,
-0.05209985747933388,
-0.08357556164264679,
0.11970256268978119,
0.05321408063173294,
0.6409167051315308,
-0.021349415183067322,
0.5188949704170227,
-0.020863816142082214,
0.05305520445108414,
0.017941713333129883,
-0.19455422461032867,
0.02413354255259037,
0.11587335169315338,
-0.1578848958015442,
0.1754607856273651,
0.17905494570732117,
0.12700796127319336,
-0.1554495096206665,
-0.32452550530433655,
-0.24164074659347534,
0.06619799137115479,
-0.3337955176830292,
-0.04920816794037819,
-0.4465230405330658,
-0.05489625036716461,
-0.23356539011001587,
-0.07683859765529633,
0.10067608952522278,
-0.24839462339878082,
0.03780107945203781,
0.02753477543592453,
-0.16040273010730743,
-0.15887102484703064,
-0.13908523321151733,
0.04297463595867157,
0.1881638467311859,
-0.05697894096374512,
0.10251595824956894,
0.44379985332489014,
-0.12851865589618683,
0.07981085032224655,
0.28662899136543274,
0.4394795000553131,
0.211887925863266,
-0.02608078345656395,
0.06071343645453453,
0.019935688003897667,
-0.2901848256587982,
-0.05702457204461098,
0.31671789288520813,
0.23166076838970184,
0.06527324765920639,
0.28549471497535706,
0.33372893929481506,
-0.3265679180622101,
0.0426010936498642,
0.1756022721529007,
0.15069074928760529,
-0.2586568295955658,
0.25945356488227844,
0.049782730638980865,
-0.05807964876294136,
-0.4016958773136139,
-0.16706928610801697,
-0.35396909713745117,
-0.13253362476825714,
0.5236924290657043,
0.10748936235904694,
0.1265448033809662,
-0.21045604348182678,
0.18517200648784637,
-0.0609450526535511,
0.2532323896884918,
0.14998184144496918,
0.15763482451438904,
-0.3179417550563812,
-0.23239165544509888,
-0.6231600046157837,
0.09028232097625732,
-0.16516442596912384,
-0.13864301145076752,
-0.07924351096153259,
0.04113516956567764,
-0.015872150659561157,
0.13608911633491516,
-0.004347503185272217,
0.09329622983932495,
0.04313572868704796,
0.09181017428636551,
-0.48636117577552795,
-0.14562122523784637,
-0.19958774745464325,
0.090072862803936,
0.1656545251607895,
-0.32192471623420715,
-0.001983433961868286,
-0.17304815351963043,
0.22411119937896729,
0.09280280768871307,
-0.043155111372470856,
0.04219207540154457,
0.24340839684009552,
0.18962344527244568,
0.04401515796780586,
0.4735172986984253,
-0.1255480796098709,
0.07087653130292892,
-0.09931690990924835,
-0.39054450392723083,
-0.18660257756710052,
0.21001091599464417,
0.3252285420894623,
0.39093127846717834,
-0.07346463948488235,
0.05942754074931145,
-0.022949527949094772,
0.01770384982228279,
0.25305068492889404,
-0.32883888483047485,
-0.38712891936302185,
0.11729993671178818,
0.23031622171401978,
0.17718100547790527,
0.045013025403022766,
0.2078753113746643,
-0.06942957639694214,
-0.019122004508972168,
-0.21180537343025208,
-0.5480451583862305,
0.5345566272735596,
-0.29427844285964966,
-0.24839188158512115,
-0.26667118072509766,
0.07527700066566467,
0.28752246499061584,
-0.05744946002960205,
-0.6307255625724792,
0.04872662574052811,
0.22574542462825775,
0.050362326204776764,
-0.2204592227935791,
0.26300233602523804,
-0.15387843549251556,
0.03207409754395485,
-0.0350458025932312,
0.16976763308048248,
0.11941741406917572,
-0.08986777067184448,
0.08525092899799347,
-0.4025443196296692
] |
https://github.com/huggingface/datasets/issues/1683 | `ArrowInvalid` occurs while running `Dataset.map()` function for DPRContext | Looks like the mapping function returns a dictionary with a 768-dim array in the `embeddings` field. Since the map is batched, we actually expect the `embeddings` field to be an array of shape (batch_size, 768) to have one embedding per example in the batch.
To fix that can you try to remove one of the `[0]` ? In my opinion you only need one of them, not two. | It seems to fail the final batch ):
steps to reproduce:
```
from datasets import load_dataset
from elasticsearch import Elasticsearch
import torch
from transformers import file_utils, set_seed
from transformers import DPRContextEncoder, DPRContextEncoderTokenizerFast
MAX_SEQ_LENGTH = 256
ctx_encoder = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base", cache_dir="../datasets/")
ctx_tokenizer = DPRContextEncoderTokenizerFast.from_pretrained(
"facebook/dpr-ctx_encoder-single-nq-base",
cache_dir="..datasets/"
)
dataset = load_dataset('text',
data_files='data/raw/ARC_Corpus.txt',
cache_dir='../datasets')
torch.set_grad_enabled(False)
ds_with_embeddings = dataset.map(
lambda example: {
'embeddings': ctx_encoder(
**ctx_tokenizer(
example["text"],
padding='max_length',
truncation=True,
max_length=MAX_SEQ_LENGTH,
return_tensors="pt"
)
)[0][0].numpy(),
},
batched=True,
load_from_cache_file=False,
batch_size=1000
)
```
ARC Corpus can be obtained from [here](https://ai2-datasets.s3-us-west-2.amazonaws.com/arc/ARC-V1-Feb2018.zip)
And then the error:
```
---------------------------------------------------------------------------
ArrowInvalid Traceback (most recent call last)
<ipython-input-13-67d139bb2ed3> in <module>
14 batched=True,
15 load_from_cache_file=False,
---> 16 batch_size=1000
17 )
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/dataset_dict.py in map(self, function, with_indices, input_columns, batched, batch_size, remove_columns, keep_in_memory, load_from_cache_file, cache_file_names, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc)
301 num_proc=num_proc,
302 )
--> 303 for k, dataset in self.items()
304 }
305 )
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/dataset_dict.py in <dictcomp>(.0)
301 num_proc=num_proc,
302 )
--> 303 for k, dataset in self.items()
304 }
305 )
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint)
1257 fn_kwargs=fn_kwargs,
1258 new_fingerprint=new_fingerprint,
-> 1259 update_data=update_data,
1260 )
1261 else:
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs)
155 }
156 # apply actual function
--> 157 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
158 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out]
159 # re-apply format to the output
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs)
161 # Call actual function
162
--> 163 out = func(self, *args, **kwargs)
164
165 # Update fingerprint of in-place transforms + update in-place history of transforms
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, update_data)
1526 if update_data:
1527 batch = cast_to_python_objects(batch)
-> 1528 writer.write_batch(batch)
1529 if update_data:
1530 writer.finalize() # close_stream=bool(buf_writer is None)) # We only close if we are writing in a file
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_writer.py in write_batch(self, batch_examples, writer_batch_size)
276 typed_sequence = TypedSequence(batch_examples[col], type=col_type, try_type=col_try_type)
277 typed_sequence_examples[col] = typed_sequence
--> 278 pa_table = pa.Table.from_pydict(typed_sequence_examples)
279 self.write_table(pa_table)
280
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_pydict()
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_arrays()
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.validate()
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status()
ArrowInvalid: Column 1 named text expected length 768 but got length 1000
``` | 68 | `ArrowInvalid` occurs while running `Dataset.map()` function for DPRContext
It seems to fail the final batch ):
steps to reproduce:
```
from datasets import load_dataset
from elasticsearch import Elasticsearch
import torch
from transformers import file_utils, set_seed
from transformers import DPRContextEncoder, DPRContextEncoderTokenizerFast
MAX_SEQ_LENGTH = 256
ctx_encoder = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base", cache_dir="../datasets/")
ctx_tokenizer = DPRContextEncoderTokenizerFast.from_pretrained(
"facebook/dpr-ctx_encoder-single-nq-base",
cache_dir="..datasets/"
)
dataset = load_dataset('text',
data_files='data/raw/ARC_Corpus.txt',
cache_dir='../datasets')
torch.set_grad_enabled(False)
ds_with_embeddings = dataset.map(
lambda example: {
'embeddings': ctx_encoder(
**ctx_tokenizer(
example["text"],
padding='max_length',
truncation=True,
max_length=MAX_SEQ_LENGTH,
return_tensors="pt"
)
)[0][0].numpy(),
},
batched=True,
load_from_cache_file=False,
batch_size=1000
)
```
ARC Corpus can be obtained from [here](https://ai2-datasets.s3-us-west-2.amazonaws.com/arc/ARC-V1-Feb2018.zip)
And then the error:
```
---------------------------------------------------------------------------
ArrowInvalid Traceback (most recent call last)
<ipython-input-13-67d139bb2ed3> in <module>
14 batched=True,
15 load_from_cache_file=False,
---> 16 batch_size=1000
17 )
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/dataset_dict.py in map(self, function, with_indices, input_columns, batched, batch_size, remove_columns, keep_in_memory, load_from_cache_file, cache_file_names, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc)
301 num_proc=num_proc,
302 )
--> 303 for k, dataset in self.items()
304 }
305 )
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/dataset_dict.py in <dictcomp>(.0)
301 num_proc=num_proc,
302 )
--> 303 for k, dataset in self.items()
304 }
305 )
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in map(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, num_proc, suffix_template, new_fingerprint)
1257 fn_kwargs=fn_kwargs,
1258 new_fingerprint=new_fingerprint,
-> 1259 update_data=update_data,
1260 )
1261 else:
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in wrapper(*args, **kwargs)
155 }
156 # apply actual function
--> 157 out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
158 datasets: List["Dataset"] = list(out.values()) if isinstance(out, dict) else [out]
159 # re-apply format to the output
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/fingerprint.py in wrapper(*args, **kwargs)
161 # Call actual function
162
--> 163 out = func(self, *args, **kwargs)
164
165 # Update fingerprint of in-place transforms + update in-place history of transforms
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_dataset.py in _map_single(self, function, with_indices, input_columns, batched, batch_size, drop_last_batch, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, features, disable_nullable, fn_kwargs, new_fingerprint, rank, offset, update_data)
1526 if update_data:
1527 batch = cast_to_python_objects(batch)
-> 1528 writer.write_batch(batch)
1529 if update_data:
1530 writer.finalize() # close_stream=bool(buf_writer is None)) # We only close if we are writing in a file
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/datasets/arrow_writer.py in write_batch(self, batch_examples, writer_batch_size)
276 typed_sequence = TypedSequence(batch_examples[col], type=col_type, try_type=col_try_type)
277 typed_sequence_examples[col] = typed_sequence
--> 278 pa_table = pa.Table.from_pydict(typed_sequence_examples)
279 self.write_table(pa_table)
280
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_pydict()
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_arrays()
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.validate()
~/.cache/pypoetry/virtualenvs/masters-utTTC0p8-py3.7/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status()
ArrowInvalid: Column 1 named text expected length 768 but got length 1000
```
Looks like the mapping function returns a dictionary with a 768-dim array in the `embeddings` field. Since the map is batched, we actually expect the `embeddings` field to be an array of shape (batch_size, 768) to have one embedding per example in the batch.
To fix that can you try to remove one of the `[0]` ? In my opinion you only need one of them, not two. | [
-0.5113660097122192,
-0.34073764085769653,
-0.126272052526474,
0.060849640518426895,
0.07763795554637909,
0.1417669653892517,
-0.018711987882852554,
0.26980695128440857,
-0.2622150182723999,
0.04919612407684326,
0.11080671846866608,
0.5883793234825134,
-0.030782576650381088,
-0.13176779448986053,
-0.4038943946361542,
-0.09057439863681793,
-0.06165722757577896,
0.12190568447113037,
0.24245592951774597,
-0.08993569761514664,
-0.3668370544910431,
0.08830869942903519,
-0.2699970602989197,
-0.10032270848751068,
-0.17185744643211365,
-0.23219749331474304,
0.23139190673828125,
-0.03771412372589111,
0.0033010095357894897,
-0.6815324425697327,
0.6883985996246338,
-0.2978190779685974,
0.24296796321868896,
0.16276761889457703,
-0.00011839860962936655,
0.21314962208271027,
0.45000123977661133,
0.011198004707694054,
-0.006567754782736301,
0.08025838434696198,
-0.24032506346702576,
0.19477735459804535,
0.08558499068021774,
-0.16381874680519104,
0.08585678786039352,
-0.03536875545978546,
-0.044178493320941925,
-0.42770835757255554,
0.38084572553634644,
0.1953350305557251,
0.10143116861581802,
0.2174217849969864,
0.051474619656801224,
-0.015188269317150116,
-0.06874524801969528,
0.1960488259792328,
-0.13333000242710114,
-0.22559212148189545,
0.2797703742980957,
0.18103644251823425,
0.1458379030227661,
0.5812528133392334,
-0.048261433839797974,
0.26924070715904236,
0.15762847661972046,
-0.19725757837295532,
0.05797389894723892,
-0.33316493034362793,
0.19153743982315063,
-0.11217338591814041,
0.20941925048828125,
-0.2229379117488861,
-0.25140759348869324,
0.1366560459136963,
-0.19580170512199402,
-0.3983703553676605,
0.16236984729766846,
-0.13681747019290924,
0.05195697024464607,
0.036536119878292084,
-0.14554119110107422,
0.13983969390392303,
-0.22714798152446747,
0.24814993143081665,
-0.15955033898353577,
0.1587269902229309,
-0.03636334091424942,
0.312362402677536,
-0.01616542413830757,
-0.1319187730550766,
0.17960301041603088,
0.12993530929088593,
-0.12331338226795197,
0.09104610979557037,
-0.23467443883419037,
-0.15034303069114685,
-0.27612602710723877,
-0.3692835569381714,
0.02134116366505623,
-0.15421347320079803,
-0.10898645967245102,
0.1875859498977661,
0.5407518744468689,
0.14123031497001648,
0.0859375149011612,
0.11324244737625122,
0.24261516332626343,
0.8317356705665588,
-0.05357174575328827,
-0.6531263589859009,
0.06782062351703644,
0.07014396786689758,
-0.03380485624074936,
-0.35240888595581055,
0.256862610578537,
0.15014183521270752,
0.14747264981269836,
0.034966979175806046,
-0.2799462378025055,
0.14070996642112732,
-0.4381653070449829,
0.007740923669189215,
-0.21342122554779053,
0.3998953700065613,
0.2957153022289276,
-0.14977282285690308,
0.22244100272655487,
0.13311511278152466,
0.1421475112438202,
-0.10576996207237244,
-0.005941491574048996,
-0.08938620984554291,
-0.18928803503513336,
-0.14793570339679718,
0.14258001744747162,
-0.19671520590782166,
0.21726804971694946,
-0.22648721933364868,
-0.01133798062801361,
-0.08503937721252441,
0.3367851972579956,
0.06559592485427856,
0.43265703320503235,
0.21800878643989563,
0.023151271045207977,
0.22970540821552277,
-0.010406237095594406,
0.19109587371349335,
-0.11350595206022263,
-0.07931970804929733,
-0.15786659717559814,
-0.33099132776260376,
-0.36548200249671936,
0.15617211163043976,
0.39523595571517944,
-0.02829568088054657,
-0.07041066139936447,
0.0058601535856723785,
0.558266818523407,
-0.01227862574160099,
0.3374226689338684,
-0.23782210052013397,
0.1193179339170456,
0.0060362303629517555,
-0.08632706850767136,
0.18486949801445007,
-0.34994810819625854,
-0.052505847066640854,
0.031724199652671814,
0.2806779444217682,
0.048246510326862335,
0.04913223534822464,
-0.36389410495758057,
0.09155715256929398,
-0.12234082818031311,
0.5995522141456604,
0.44064468145370483,
-0.7461099624633789,
-0.39607229828834534,
0.5548930168151855,
0.000023193657398223877,
-0.27478429675102234,
-0.020293742418289185,
-0.06123347952961922,
0.41943249106407166,
-0.128651425242424,
0.1339128315448761,
0.08151409029960632,
-0.0028017479926347733,
0.06026832014322281,
-0.07690458744764328,
0.01753108762204647,
0.20588871836662292,
0.13035334646701813,
0.0866856575012207,
-0.016872435808181763,
0.266899049282074,
-0.03381241112947464,
-0.08745966106653214,
0.01373152807354927,
0.3313800096511841,
0.46299588680267334,
-0.11803047358989716,
-0.10435369610786438,
0.2504342198371887,
0.01641787961125374,
-0.34727931022644043,
0.1601370871067047,
-0.16808201372623444,
-0.01685517281293869,
-0.3434422016143799,
-0.2692347764968872,
-0.1579744517803192,
0.18760688602924347,
-0.3379361629486084,
-0.2994129955768585,
0.05451091378927231,
0.023709747940301895,
-0.023136120289564133,
-0.15069694817066193,
-0.23487623035907745,
-0.3109048306941986,
-0.003126535564661026,
0.01292886957526207,
-0.3710360825061798,
-0.08105925470590591,
-0.10287594050168991,
-0.16665004193782806,
-0.22295783460140228,
-0.08238094300031662,
0.19442805647850037,
-0.18687011301517487,
-0.2059347927570343,
0.3810170590877533,
-0.3576885163784027,
0.1575227826833725,
-0.20363768935203552,
0.03534434735774994,
0.09658710658550262,
-0.7572343349456787,
-0.193538099527359,
-0.08539338409900665,
0.022656351327896118,
-0.14363694190979004,
0.29737356305122375,
0.03320463001728058,
0.45316654443740845,
0.32563623785972595,
-0.23011381924152374,
0.042342111468315125,
0.10646101832389832,
-0.06333643198013306,
-0.16954158246517181,
-0.2364446520805359,
-0.1860891580581665,
-0.19816280901432037,
0.1607283651828766,
-0.02866332419216633,
-0.1010628342628479,
0.03360249102115631,
0.10055024921894073,
0.03284827992320061,
0.05183085799217224,
0.0886937826871872,
-0.30162957310676575,
0.11394067853689194,
0.21147413551807404,
0.1100960224866867,
0.142083078622818,
0.07934194058179855,
0.08463884890079498,
0.058550700545310974,
-0.04048900678753853,
0.07006809860467911,
0.3686753511428833,
0.2179717719554901,
-0.028167346492409706,
0.2577044665813446,
0.010633675381541252,
0.31537893414497375,
-0.2567853331565857,
-0.22523100674152374,
0.20958289504051208,
0.07086199522018433,
-0.2471296638250351,
0.170272096991539,
-0.10327934473752975,
-0.12203288078308105,
0.0348457470536232,
-0.1799590289592743,
0.2601112723350525,
-0.09455426037311554,
-0.05040530115365982,
0.010241806507110596,
-0.06119443103671074,
0.45477280020713806,
-0.058141618967056274,
-0.07826225459575653,
0.3865164518356323,
-0.18648497760295868,
-0.2859801650047302,
-0.188499316573143,
-0.24622666835784912,
-0.10403476655483246,
0.05070006847381592,
0.009210387244820595,
0.2503570020198822,
0.1913103461265564,
0.0721682459115982,
-0.33184248208999634,
-0.23221641778945923,
0.33743542432785034,
-0.05109970271587372,
-0.39571255445480347,
0.1137750893831253,
-0.24943967163562775,
-0.3829236626625061,
-0.45150864124298096,
0.1395195722579956,
0.15347391366958618,
-0.21974706649780273,
0.11521092057228088,
-0.10876104980707169,
-0.22306250035762787,
0.14892210066318512,
-0.5410328507423401,
-0.22870486974716187,
-0.21455779671669006,
-0.0828818827867508,
-0.3405640721321106,
-0.038674481213092804,
0.182748943567276,
0.1774793565273285,
0.0308762788772583,
-0.020928582176566124,
-0.050605595111846924,
-0.18196380138397217,
0.1995987594127655,
0.23291897773742676,
-0.37835800647735596,
0.019890394061803818,
-0.040856197476387024,
-0.1620059609413147,
0.3158459961414337,
0.5299434661865234,
-0.1742088794708252,
0.4087522327899933,
-0.09358516335487366,
0.04158744588494301,
-0.36942991614341736,
0.14195840060710907,
0.5250948667526245,
0.2435425966978073,
-0.08900053799152374,
-0.07979665696620941,
0.12145033478736877,
0.05656136944890022,
-0.16461268067359924,
0.23313704133033752,
-0.14329969882965088,
0.5282086133956909,
0.023046422749757767,
0.7464091181755066,
0.1865096390247345,
-0.6531714200973511,
0.34721317887306213,
-0.00850759632885456,
-0.027338583022356033,
0.08295010030269623,
-0.18879184126853943,
-0.0942961722612381,
-0.18317389488220215,
0.0802026093006134,
-0.1202501654624939,
-0.1443750262260437,
-0.5767662525177002,
0.19312673807144165,
0.09031584858894348,
-0.4708712100982666,
0.07252572476863861,
0.009893304668366909,
-0.2897832691669464,
0.45279088616371155,
0.026334073394536972,
0.13065460324287415,
-0.053032808005809784,
0.09122385829687119,
0.15451273322105408,
-0.2886975407600403,
0.014781810343265533,
-0.04378822445869446,
-0.06545156240463257,
-0.21739248931407928,
-0.3671257495880127,
0.4868406057357788,
0.2577662169933319,
0.34798166155815125,
-0.11464394629001617,
0.16268298029899597,
0.05579892918467522,
0.18536613881587982,
0.4528122544288635,
-0.4465715289115906,
0.10912084579467773,
0.007496468722820282,
-0.1906972974538803,
-0.2724781930446625,
0.09426762163639069,
-0.060569241642951965,
0.5769729018211365,
0.41454869508743286,
0.4333515167236328,
-0.14631199836730957,
-0.012141851708292961,
0.09913599491119385,
-0.2778379023075104,
0.061490196734666824,
-0.009180232882499695,
0.002079647034406662,
-0.16594013571739197,
-0.28918570280075073,
0.07461626827716827,
0.5696232318878174,
0.04756045341491699,
0.3033527731895447,
-0.30709248781204224,
-0.579047441482544,
-0.03922266885638237,
-0.22695563733577728,
0.0006711017340421677,
0.2106073498725891,
-0.03645983710885048,
0.15299001336097717,
-0.009676024317741394,
0.3127458989620209,
0.5661597847938538,
0.1893273890018463,
-0.03595581278204918,
-0.17882606387138367,
0.14386583864688873,
-0.08968378603458405,
0.09971579164266586,
0.11434653401374817,
-0.1353587508201599,
-0.14749541878700256,
0.04935373365879059,
-0.05271390080451965,
-0.09715671837329865,
-0.011167634278535843,
0.2810414731502533,
0.13373032212257385,
-0.3588027358055115,
0.02942757122218609,
0.2876642644405365,
-0.1065140813589096,
-0.02214759588241577,
0.5833808779716492,
0.12081924825906754,
-0.3441369831562042,
0.5862818360328674,
0.43612515926361084,
0.6721879243850708,
0.2287108302116394,
-0.10585415363311768,
-0.09882206469774246,
0.2796192765235901,
-0.016795564442873,
-0.0684402734041214,
0.16139304637908936,
-0.2341504693031311,
0.16171035170555115,
-0.06677479296922684,
-0.10776552557945251,
-0.053300641477108,
0.2654420733451843,
-0.21071258187294006,
-0.10097890347242355,
0.1353294998407364,
-0.22782954573631287,
-0.09185027331113815,
0.09102734923362732,
-0.03537774831056595,
-0.24078786373138428,
0.26444578170776367,
0.07889291644096375,
0.13084784150123596,
0.1920497566461563,
-0.11144428700208664,
-0.14725926518440247,
0.06683562695980072,
-0.3950742483139038,
-0.2338782399892807,
0.06559500843286514,
-0.42764461040496826,
0.6017537713050842,
0.19601325690746307,
-0.18621793389320374,
0.24366149306297302,
0.2843462824821472,
0.2751021981239319,
-0.22134537994861603,
-0.09983190894126892,
0.2911042273044586,
0.4625075161457062,
-0.21952147781848907,
0.08965914696455002,
-0.11842278391122818,
0.13194243609905243,
0.017137978225946426,
-0.08147908002138138,
0.2218266725540161,
-0.1132742315530777,
-0.3836537003517151,
0.14498165249824524,
0.013660915195941925,
-0.11290179193019867,
-0.2023659646511078,
0.004282087087631226,
-0.06830485165119171,
-0.3333324193954468,
-0.17131954431533813,
0.022209350019693375,
-0.1941099911928177,
-0.1613929122686386,
0.1137864962220192,
0.08622480928897858,
-0.33747729659080505,
0.2519738972187042,
0.6712546944618225,
-0.15565061569213867,
-0.3268621563911438,
0.47413140535354614,
-0.013780161738395691,
-0.18991543352603912,
-0.2256556749343872,
0.07543577998876572,
0.5069119930267334,
-0.5794175267219543,
0.08277539163827896,
-0.3235071003437042,
0.010247766971588135,
0.15713205933570862,
0.5728722810745239,
0.03564397990703583,
0.3189883232116699,
-0.1937943696975708,
-0.06539170444011688,
-0.26302680373191833,
0.02302909642457962,
-0.07552862167358398,
0.422547310590744,
-0.11403577774763107,
0.1403529793024063,
-0.06592698395252228,
0.03106440231204033,
-0.21264222264289856,
-0.03435575217008591,
-0.22498410940170288,
0.03714235872030258,
-0.11691004037857056,
0.14963918924331665,
0.05205630883574486,
0.10606810450553894,
-0.03316478431224823,
0.4258900284767151,
-0.17060557007789612,
-0.09957338869571686,
0.09344503283500671,
0.15738722681999207,
0.16905295848846436,
-0.10386084765195847,
-0.24774008989334106,
-0.1066063940525055,
-0.2969985008239746,
-0.055475056171417236,
0.13365495204925537,
0.09641803056001663,
-0.024532407522201538,
0.16795781254768372,
-0.05600588396191597,
0.00310448557138443,
0.04171808809041977,
-0.2056286782026291,
0.11201323568820953,
0.1913030594587326,
-0.09874607622623444,
0.24295112490653992,
0.07120031863451004,
-0.010220393538475037,
-0.1499938815832138,
-0.04073738306760788,
0.08042663335800171,
0.03915000706911087,
0.2788164019584656,
-0.490985631942749,
-0.2165829837322235,
0.13410058617591858,
0.15859773755073547,
0.08857551217079163,
-0.5477800965309143,
-0.23364336788654327,
-0.020024290308356285,
0.2141944319009781,
-0.05384720861911774,
0.038383156061172485,
-0.11847303807735443,
0.1434018760919571,
0.04515684023499489,
-0.028205670416355133,
0.16231875121593475,
-0.09659948199987411,
0.15332594513893127,
0.2675465941429138,
0.38099202513694763,
-0.4468236565589905,
0.05747583881020546,
0.24889664351940155,
-0.1121353805065155,
0.06730616837739944,
0.15936392545700073,
0.31474652886390686,
0.5915932655334473,
0.30264919996261597,
-0.10688004642724991,
0.6875780820846558,
0.23599901795387268,
0.17130319774150848,
0.05905485153198242,
-0.02960970252752304,
0.05596838891506195,
-0.13446921110153198,
0.10468483716249466,
0.252094566822052,
0.2909660339355469,
0.19313445687294006,
-0.0982566773891449,
-0.2824081778526306,
0.006294732913374901,
0.02275160886347294,
-0.1574302613735199,
-0.14675620198249817,
-0.37185901403427124,
0.034834057092666626,
0.023777611553668976,
-0.04852142557501793,
-0.13885560631752014,
0.3094591498374939,
0.281220018863678,
0.09362448751926422,
-0.38404321670532227,
-0.11808612942695618,
0.13152772188186646,
-0.01058473065495491,
0.16340875625610352,
-0.20398922264575958,
0.2102380245923996,
0.09128892421722412,
-0.1629299372434616,
0.05082642287015915,
0.5249249339103699,
0.38738110661506653,
0.23209592700004578,
-0.33608344197273254,
0.04964171350002289,
0.06347733736038208,
-0.08558069914579391,
0.03243716061115265,
0.26871800422668457,
0.00396990031003952,
-0.00993897020816803,
0.09813712537288666,
0.05937885493040085,
-0.08467482030391693,
-0.026117559522390366,
0.16434215009212494,
0.4865003228187561,
0.3900394141674042,
-0.08449374884366989,
-0.17988498508930206,
-0.11793577671051025,
0.060887083411216736,
0.10914382338523865,
-0.44641223549842834,
0.1287888139486313,
0.4633156359195709,
-0.1877118945121765,
0.0811692327260971,
0.01298042107373476,
0.046770185232162476,
-0.17539717257022858,
0.44791412353515625,
0.4729484021663666,
-0.13101032376289368,
-0.24273326992988586,
-0.12543055415153503,
-0.11558903753757477,
0.45753341913223267,
-0.10923898220062256,
-0.02735963463783264,
0.36443668603897095,
0.36412253975868225,
0.1350465565919876,
0.031227275729179382,
0.20693688094615936,
0.01611664704978466,
-0.26880815625190735,
0.40638405084609985,
-0.00022576004266738892,
-0.02507765218615532,
-0.0781736820936203,
0.11124016344547272,
0.15478184819221497,
-0.2695213854312897,
0.06357098370790482,
0.26078659296035767,
0.026718109846115112,
-0.389484167098999,
-0.26698029041290283,
0.13523483276367188,
-0.25950613617897034,
0.6943306922912598,
0.029942262917757034,
0.07025215774774551,
-0.2511700987815857,
0.07539022713899612,
-0.2062067687511444,
-0.3413658142089844,
0.009822619147598743,
-0.008407004177570343,
0.2645086348056793,
0.2744283080101013,
-0.09392692893743515,
-0.09269526600837708,
-0.3260193169116974,
-0.28672170639038086,
-0.0668516606092453,
-0.21048441529273987,
-0.2775959074497223,
0.30505073070526123,
-0.29555049538612366,
0.17996348440647125,
-0.15101125836372375,
0.17110700905323029,
0.2621456980705261,
0.2405257672071457,
-0.36419790983200073,
-0.5881090760231018,
0.5087834596633911,
-0.33976662158966064,
-0.3331581950187683,
0.30332717299461365,
0.02899136394262314,
0.611228883266449,
0.1801217794418335,
-0.5372479557991028,
0.009709209203720093,
0.19045475125312805,
-0.08976156264543533,
-0.4189182221889496,
-0.21749788522720337,
0.16010794043540955,
0.09646771848201752,
-0.09957538545131683,
0.3238029479980469,
0.10502076148986816,
0.11338512599468231,
-0.25569212436676025,
-0.3263610601425171
] |
https://github.com/huggingface/datasets/issues/1681 | Dataset "dane" missing | Hi @KennethEnevoldsen ,
I think the issue might be that this dataset was added during the community sprint and has not been released yet. It will be available with the v2 of datasets.
For now, you should be able to load the datasets after installing the latest (master) version of datasets using pip:
pip install git+https://github.com/huggingface/datasets.git@master | the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```python
>>> datasets.load_dataset("dane")
Traceback (most recent call last):
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path
output_path = get_from_cache(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path
output_path = get_from_cache(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 588, in load_dataset
module_path, hash = prepare_module(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 280, in prepare_module
raise FileNotFoundError(
FileNotFoundError: Couldn't find file locally at dane/dane.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py
```
This issue might be relevant to @ophelielacroix from the Alexandra Institut whom created the data. | 56 | Dataset "dane" missing
the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```python
>>> datasets.load_dataset("dane")
Traceback (most recent call last):
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path
output_path = get_from_cache(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path
output_path = get_from_cache(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 588, in load_dataset
module_path, hash = prepare_module(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 280, in prepare_module
raise FileNotFoundError(
FileNotFoundError: Couldn't find file locally at dane/dane.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py
```
This issue might be relevant to @ophelielacroix from the Alexandra Institut whom created the data.
Hi @KennethEnevoldsen ,
I think the issue might be that this dataset was added during the community sprint and has not been released yet. It will be available with the v2 of datasets.
For now, you should be able to load the datasets after installing the latest (master) version of datasets using pip:
pip install git+https://github.com/huggingface/datasets.git@master | [
-0.006652709096670151,
-0.06125648692250252,
-0.09929953515529633,
0.1284520924091339,
0.26583385467529297,
0.2934040427207947,
0.4646621644496918,
0.14870202541351318,
0.28402286767959595,
0.08272865414619446,
0.13032913208007812,
0.040858954191207886,
-0.09202359616756439,
-0.12458792328834534,
0.2971785068511963,
-0.27934694290161133,
0.22021757066249847,
0.051297929137945175,
0.18371674418449402,
-0.14759749174118042,
-0.23699739575386047,
0.2542140483856201,
-0.28885921835899353,
-0.09003910422325134,
-0.09242262691259384,
0.08238448947668076,
-0.10188794881105423,
0.13978181779384613,
-0.06495290994644165,
-0.6014866232872009,
0.6427772641181946,
0.04177077114582062,
0.37910905480384827,
0.4024260938167572,
-0.00011106582678621635,
0.05408294498920441,
0.2432837188243866,
0.02351132594048977,
-0.48698773980140686,
-0.3152086138725281,
-0.6912314295768738,
-0.478956401348114,
0.16588790714740753,
-0.14663565158843994,
-0.06420566141605377,
0.1301179975271225,
0.07345527410507202,
-0.4600996673107147,
0.044069863855838776,
0.2021566480398178,
0.25130659341812134,
0.09741055220365524,
0.18385975062847137,
-0.25886479020118713,
0.030778612941503525,
0.2624583840370178,
-0.15203885734081268,
0.1597360521554947,
0.18504613637924194,
0.19875681400299072,
0.34879469871520996,
0.30788466334342957,
0.14899486303329468,
0.019394580274820328,
0.28770744800567627,
0.15531443059444427,
0.28713515400886536,
-0.16411496698856354,
-0.00701141357421875,
0.06313732266426086,
0.6540957093238831,
-0.140773206949234,
-0.7040758728981018,
-0.35330283641815186,
0.14857418835163116,
-0.3803807199001312,
0.18377915024757385,
-0.13973766565322876,
-0.12420320510864258,
0.1525912880897522,
-0.2222139537334442,
-0.24556684494018555,
0.02954310178756714,
0.26103878021240234,
-0.29169103503227234,
0.3245617151260376,
-0.1398501694202423,
-0.021706990897655487,
-0.20660914480686188,
-0.05920950323343277,
-0.024795852601528168,
-0.11592093110084534,
0.11396379768848419,
0.2741004228591919,
-0.24916322529315948,
-0.06744693219661713,
0.11850044131278992,
-0.2061505913734436,
-0.032799456268548965,
0.14981937408447266,
0.017395053058862686,
-0.17190590500831604,
-0.006373284384608269,
0.100696861743927,
0.3534802198410034,
0.24970971047878265,
0.19845083355903625,
-0.01597587577998638,
0.2575177550315857,
0.36056604981422424,
0.18646486103534698,
-0.1657254993915558,
-0.20603841543197632,
-0.24009352922439575,
0.22699622809886932,
0.09620719403028488,
0.2703239917755127,
-0.057591862976551056,
-0.23052279651165009,
-0.020862560719251633,
0.36524733901023865,
-0.14992479979991913,
-0.043933529406785965,
0.11242222040891647,
-0.09773868322372437,
0.364330917596817,
-0.08032207190990448,
0.17358683049678802,
-0.1319596916437149,
0.0310799740254879,
-0.24839764833450317,
-0.07314379513263702,
-0.076191745698452,
-0.3178834319114685,
0.22059233486652374,
-0.17940030992031097,
0.4029649794101715,
-0.010443896055221558,
-0.27018821239471436,
0.15504801273345947,
-0.06781280040740967,
0.029077664017677307,
-0.11389803141355515,
0.267290860414505,
-0.021840449422597885,
0.154804065823555,
0.05225234106183052,
-0.4291961193084717,
-0.17392286658287048,
-0.05616298317909241,
-0.2590440809726715,
-0.183990016579628,
-0.5109387040138245,
0.22616572678089142,
-0.1876501590013504,
-0.32967573404312134,
-0.4136568009853363,
0.17090235650539398,
-0.08669745177030563,
-0.28881919384002686,
-0.039389096200466156,
-0.14225700497627258,
-0.3087977170944214,
-0.16362960636615753,
0.3612360656261444,
0.42547380924224854,
-0.37540483474731445,
-0.2220776528120041,
-0.2986677289009094,
-0.13793368637561798,
0.05248251184821129,
0.03779960796236992,
-0.18711000680923462,
0.1209375262260437,
-0.29085925221443176,
-0.1904943883419037,
0.5775370001792908,
-0.5136829018592834,
-0.2738465666770935,
0.06129012256860733,
0.1417580246925354,
0.12545497715473175,
0.03902345150709152,
-0.19629418849945068,
0.09341055154800415,
-0.08336345851421356,
0.060337379574775696,
0.408660352230072,
0.016741082072257996,
-0.1915557086467743,
0.08782212436199188,
-0.09139522910118103,
-0.008583743125200272,
0.21262088418006897,
0.15179264545440674,
0.056902579963207245,
0.18128672242164612,
0.07667601108551025,
0.1600446105003357,
0.09151037037372589,
0.04946785420179367,
0.4845327138900757,
0.1955733597278595,
0.3065836429595947,
0.038520697504282,
-0.05490522459149361,
-0.5542677640914917,
0.4240737557411194,
0.3048121929168701,
-0.13091178238391876,
-0.15903238952159882,
0.03356769680976868,
-0.29351335763931274,
-0.003920929506421089,
-0.26102274656295776,
-0.17017191648483276,
0.09454484283924103,
0.21767458319664001,
0.1462024301290512,
0.21579445898532867,
-0.3023061156272888,
0.1623963564634323,
0.1202043741941452,
0.20678943395614624,
-0.2911314070224762,
0.18847525119781494,
-0.0311721358448267,
0.044326942414045334,
0.02203429490327835,
0.27097266912460327,
0.10228709876537323,
-0.033004358410835266,
-0.05594167113304138,
0.17774170637130737,
0.19012227654457092,
0.21248400211334229,
0.2953178882598877,
-0.19234274327754974,
0.24996671080589294,
-0.02797684632241726,
0.12962466478347778,
0.032872725278139114,
0.08249711245298386,
0.011544644832611084,
-0.25627657771110535,
0.015594929456710815,
0.14737331867218018,
0.1286749392747879,
0.08729031682014465,
0.25362128019332886,
0.2938045859336853,
-0.022227749228477478,
0.36963003873825073,
-0.3660772144794464,
0.08226709067821503,
-0.14616751670837402,
0.4610932171344757,
-0.14353130757808685,
-0.05179522931575775,
0.1415269523859024,
0.3431420922279358,
-0.06484830379486084,
0.0488346591591835,
0.24751192331314087,
-0.21299678087234497,
0.04666999727487564,
0.14239317178726196,
0.5272799134254456,
0.6025568842887878,
0.2355482280254364,
0.3136325478553772,
-0.18582627177238464,
0.08779693394899368,
-0.09847624599933624,
0.10367400199174881,
0.1213468462228775,
0.09155203402042389,
-0.02368208020925522,
0.13333351910114288,
0.0904911458492279,
-0.19854852557182312,
-0.18324068188667297,
0.055504292249679565,
0.13267070055007935,
-0.07419343292713165,
0.06342554092407227,
-0.3686578869819641,
-0.035140976309776306,
-0.12541618943214417,
0.11489361524581909,
-0.24662035703659058,
-0.44669511914253235,
-0.0464516207575798,
-0.07945956289768219,
0.08446769416332245,
0.0710713192820549,
-0.18705274164676666,
0.08093000948429108,
-0.10142301023006439,
-0.08421280235052109,
-0.29597577452659607,
-0.1488332599401474,
-0.29966992139816284,
0.07205450534820557,
0.09461715817451477,
-0.11815361678600311,
0.19330830872058868,
-0.36825132369995117,
0.17600592970848083,
-0.41417619585990906,
-0.4692051410675049,
-0.003107123076915741,
-0.08487347513437271,
0.3349464535713196,
0.4064880311489105,
0.026953503489494324,
-0.21451187133789062,
-0.144441157579422,
0.2156667560338974,
-0.24214357137680054,
-0.1893729716539383,
0.09099660068750381,
-0.04894770309329033,
-0.004045945592224598,
0.055147986859083176,
-0.2715992033481598,
-0.5440983176231384,
-0.21312421560287476,
0.08588017523288727,
0.2569322884082794,
-0.061295874416828156,
0.14132271707057953,
0.04558251425623894,
0.16042789816856384,
-0.05331695079803467,
0.31353265047073364,
-0.20541627705097198,
-0.45135223865509033,
0.35605481266975403,
-0.29460278153419495,
-0.2575351297855377,
0.28067123889923096,
-0.1606234610080719,
0.41649746894836426,
-0.2432592660188675,
-0.5850549936294556,
0.30267393589019775,
-0.16464872658252716,
0.25750499963760376,
-0.06041911989450455,
0.18009565770626068,
0.3521585464477539,
-0.01639467664062977,
-0.06789708137512207,
-0.26600000262260437,
-0.3340034484863281,
-0.2347370684146881,
-0.01021900400519371,
0.4603376090526581,
-0.09615536034107208,
0.38726964592933655,
0.03909796103835106,
0.549621045589447,
0.19559381902217865,
-0.05512112006545067,
0.1557835340499878,
-0.0753045380115509,
0.34234026074409485,
0.012890264391899109,
-0.32611390948295593,
0.1782969981431961,
0.07546695321798325,
0.20752249658107758,
0.09822289645671844,
0.2704724669456482,
-0.21669255197048187,
-0.3083971440792084,
-0.08378340303897858,
-0.1627887487411499,
-0.1371242254972458,
-0.2482924610376358,
-0.18632546067237854,
0.13934671878814697,
0.10612387955188751,
0.16690385341644287,
-0.4805335998535156,
-0.14983969926834106,
-0.0822560042142868,
0.4817936420440674,
0.2816622257232666,
0.2097395360469818,
-0.17985448241233826,
0.13776671886444092,
-0.6376326084136963,
0.17119678854942322,
-0.09448177367448807,
0.4824330508708954,
-0.026046250015497208,
0.041807301342487335,
-0.03714923560619354,
0.22259092330932617,
0.43434953689575195,
-0.45814427733421326,
-0.09525749087333679,
0.11601315438747406,
-0.1704673022031784,
-0.325985312461853,
0.005824126303195953,
0.08228887617588043,
-0.1273270845413208,
0.12124615907669067,
0.3126388192176819,
-0.08875691145658493,
-0.20109790563583374,
0.3699718117713928,
0.1298402100801468,
-0.20011721551418304,
-0.21462947130203247,
-0.32232505083084106,
-0.26843202114105225,
-0.19738559424877167,
-0.36382177472114563,
-0.1186072826385498,
0.06794264167547226,
0.14556533098220825,
0.03682456538081169,
-0.2880837917327881,
0.10538158565759659,
0.0948719009757042,
0.1589985489845276,
0.2666432857513428,
0.24331578612327576,
0.1687091439962387,
0.40352001786231995,
0.11859841644763947,
0.18260754644870758,
0.48787978291511536,
-0.10878396034240723,
-0.47136473655700684,
0.13599902391433716,
0.000855153426527977,
0.40827715396881104,
0.08062843233346939,
-0.15432725846767426,
-0.03148782253265381,
0.008495872840285301,
0.04523072764277458,
-0.32034191489219666,
-0.004698192700743675,
0.39448562264442444,
0.16070140898227692,
-0.11583913117647171,
-0.3708449900150299,
0.3312443792819977,
0.12041772902011871,
0.09846805036067963,
0.3976604640483856,
0.11055639386177063,
-0.3682604432106018,
0.11731798201799393,
-0.04342644661664963,
0.5109541416168213,
0.05182249844074249,
0.21174567937850952,
0.1790180504322052,
-0.19954536855220795,
0.4608462452888489,
0.20425738394260406,
0.062488947063684464,
-0.07960471510887146,
-0.05778800696134567,
-0.1564309448003769,
-0.14970766007900238,
0.24996080994606018,
0.14469555020332336,
-0.09420725703239441,
0.3691316246986389,
0.07459878921508789,
0.25233542919158936,
0.01446200255304575,
0.2626572847366333,
-0.18127666413784027,
-0.14767242968082428,
-0.2805742025375366,
0.1734197735786438,
-0.0306047722697258,
0.45704635977745056,
-0.176651269197464,
0.01821814849972725,
-0.026284312829375267,
-0.06356997042894363,
-0.2283397912979126,
-0.14563515782356262,
0.08647076785564423,
0.36769771575927734,
0.026939697563648224,
-0.6471765041351318,
0.22230079770088196,
0.3653702437877655,
0.4824868440628052,
0.0132815632969141,
-0.3053213059902191,
0.3802862763404846,
0.08097721636295319,
0.14923091232776642,
0.04992712661623955,
0.09527914971113205,
0.27673274278640747,
-0.08684895932674408,
-0.25058940052986145,
0.11214673519134521,
-0.201872780919075,
-0.3773932456970215,
-0.07069814205169678,
-0.017187096178531647,
-0.12374156713485718,
-0.03890269622206688,
-0.012935515493154526,
-0.026110567152500153,
0.18247243762016296,
-0.3737735152244568,
0.15262426435947418,
0.2982403635978699,
0.004371692426502705,
-0.05549538880586624,
-0.19572269916534424,
-0.1303304135799408,
-0.13793139159679413,
0.4166831076145172,
-0.09229325503110886,
-0.40695735812187195,
0.5085176229476929,
0.12034085392951965,
-0.17834420502185822,
-0.14311465620994568,
0.1727578043937683,
0.06488171964883804,
-0.18872973322868347,
0.002065099775791168,
-0.19861368834972382,
0.2678205370903015,
0.08572817593812943,
-0.017883989959955215,
0.10395216941833496,
-0.48788708448410034,
0.0685083419084549,
-0.5261337757110596,
-0.3209863305091858,
0.20499831438064575,
-0.21841178834438324,
0.13944773375988007,
0.029786229133605957,
-0.21150463819503784,
0.046366311609745026,
-0.26182758808135986,
-0.31481945514678955,
0.09663339704275131,
-0.17123612761497498,
-0.16769914329051971,
-0.18002158403396606,
0.027400659397244453,
0.11571280658245087,
-0.19356048107147217,
0.24238550662994385,
-0.30699098110198975,
0.008360552601516247,
-0.19541716575622559,
-0.12883301079273224,
0.11487456411123276,
-0.14860913157463074,
-0.12684987485408783,
0.11865776032209396,
-0.05552632361650467,
-0.29696229100227356,
-0.09200718998908997,
0.19062957167625427,
0.15117675065994263,
-0.015637949109077454,
0.30369558930397034,
0.012205343693494797,
0.0471307635307312,
0.00903143361210823,
-0.09792675077915192,
0.14983345568180084,
0.28716522455215454,
0.09778321534395218,
0.18789437413215637,
0.05805537477135658,
0.09730145335197449,
0.04982556402683258,
0.025133434683084488,
-0.41330331563949585,
0.17370012402534485,
0.5069932341575623,
-0.4505012035369873,
0.18444478511810303,
0.12849237024784088,
0.14114010334014893,
0.21691733598709106,
-0.2787761092185974,
0.3034454882144928,
0.1904481053352356,
0.22459334135055542,
-0.40179121494293213,
-0.22377368807792664,
0.1278611421585083,
0.35681408643722534,
0.05669234320521355,
0.03967193514108658,
0.1326606124639511,
-0.10311498492956161,
-0.05634000897407532,
0.2900170087814331,
0.2105327546596527,
-0.20176175236701965,
0.33085501194000244,
0.5534645318984985,
0.09512661397457123,
0.07246582210063934,
0.01775958575308323,
0.2613465189933777,
-0.03229299932718277,
0.6142638325691223,
-0.07033001631498337,
0.3135184645652771,
-0.2665214240550995,
0.17897215485572815,
0.031190495938062668,
-0.4226338565349579,
0.14401988685131073,
-0.11504599452018738,
-0.181940495967865,
0.014298893511295319,
-0.0033602043986320496,
0.36015206575393677,
-0.4505879580974579,
-0.0028725373558700085,
-0.29315489530563354,
-0.036446649581193924,
-0.2229076325893402,
0.0485660694539547,
-0.1677599996328354,
-0.04638372361660004,
-0.04063218832015991,
-0.054050374776124954,
-0.042116302996873856,
-0.3212352991104126,
0.127552792429924,
0.07585503906011581,
-0.05389982461929321,
-0.4687041938304901,
0.014498522505164146,
0.11125922203063965,
0.17540055513381958,
-0.1473204642534256,
0.2805134356021881,
0.2702253460884094,
-0.23246726393699646,
0.16336296498775482,
0.5229644179344177,
0.3031778931617737,
-0.005832746624946594,
0.20031023025512695,
-0.10275408625602722,
0.03872917592525482,
-0.2582165002822876,
-0.10505841672420502,
0.3067099452018738,
0.0261484757065773,
0.2868373692035675,
0.14299555122852325,
0.19978965818881989,
-0.020755454897880554,
-0.010835938155651093,
0.1403166502714157,
0.029224978759884834,
-0.46822866797447205,
0.5080540180206299,
-0.4775100648403168,
0.02106228470802307,
-0.07228027284145355,
0.2686326801776886,
-0.35050076246261597,
-0.0773351639509201,
0.5598428845405579,
0.22193479537963867,
0.0016676150262355804,
-0.16375315189361572,
0.07240104675292969,
0.029187966138124466,
0.1771843433380127,
0.2654811143875122,
-0.08426762372255325,
-0.1829136312007904,
-0.2766016721725464,
-0.6952943801879883,
-0.07478158921003342,
0.029075391590595245,
-0.32846078276634216,
0.17518402636051178,
0.05191337317228317,
-0.046881236135959625,
0.05379948019981384,
0.2827134132385254,
0.17167063057422638,
0.02516017109155655,
-0.006263040006160736,
-0.4210507571697235,
-0.5237389206886292,
-0.004674822092056274,
-0.0143312718719244,
-0.13159406185150146,
-0.20261147618293762,
0.16788223385810852,
-0.1786527782678604,
-0.022126734256744385,
-0.1578671932220459,
0.07301409542560577,
0.15287500619888306,
0.15022650361061096,
0.2609066069126129,
-0.017013465985655785,
0.26801425218582153,
0.015707343816757202,
-0.09423255175352097,
-0.2700979709625244,
-0.34988266229629517,
-0.11199188977479935,
0.3450048863887787,
-0.30225783586502075,
0.46501973271369934,
-0.28939205408096313,
-0.08774523437023163,
-0.09730136394500732,
0.18853063881397247,
0.17593328654766083,
-0.1363106071949005,
-0.3141354024410248,
0.324310839176178,
-0.11081688106060028,
0.24021603167057037,
0.525100588798523,
0.19497844576835632,
-0.10349483788013458,
-0.03058120422065258,
-0.16081413626670837,
-0.21332401037216187,
0.3224266767501831,
-0.34694862365722656,
-0.19734413921833038,
-0.26579535007476807,
-0.016337677836418152,
0.24874907732009888,
-0.17274799942970276,
-0.5405057072639465,
0.18578332662582397,
0.4451215863227844,
0.14556631445884705,
-0.13685676455497742,
0.328061580657959,
0.022509600967168808,
0.08004714548587799,
0.01729457825422287,
0.4166647791862488,
-0.07152572274208069,
-0.11977718025445938,
-0.033553414046764374,
0.02914707362651825
] |
https://github.com/huggingface/datasets/issues/1681 | Dataset "dane" missing | The `dane` dataset was added recently, that's why it wasn't available yet. We did an intermediate release today just before the v2.0.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `dane` with
```python
from datasets import load_dataset
dataset = load_dataset("dane")
``` | the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```python
>>> datasets.load_dataset("dane")
Traceback (most recent call last):
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path
output_path = get_from_cache(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path
output_path = get_from_cache(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 588, in load_dataset
module_path, hash = prepare_module(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 280, in prepare_module
raise FileNotFoundError(
FileNotFoundError: Couldn't find file locally at dane/dane.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py
```
This issue might be relevant to @ophelielacroix from the Alexandra Institut whom created the data. | 52 | Dataset "dane" missing
the `dane` dataset appear to be missing in the latest version (1.1.3).
```python
>>> import datasets
>>> datasets.__version__
'1.1.3'
>>> "dane" in datasets.list_datasets()
True
```
As we can see it should be present, but doesn't seem to be findable when using `load_dataset`.
```python
>>> datasets.load_dataset("dane")
Traceback (most recent call last):
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path
output_path = get_from_cache(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 300, in cached_path
output_path = get_from_cache(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 588, in load_dataset
module_path, hash = prepare_module(
File "/home/kenneth/.Envs/EDP/lib/python3.8/site-packages/datasets/load.py", line 280, in prepare_module
raise FileNotFoundError(
FileNotFoundError: Couldn't find file locally at dane/dane.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dane/dane.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dane/dane.py
```
This issue might be relevant to @ophelielacroix from the Alexandra Institut whom created the data.
The `dane` dataset was added recently, that's why it wasn't available yet. We did an intermediate release today just before the v2.0.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `dane` with
```python
from datasets import load_dataset
dataset = load_dataset("dane")
``` | [
-0.006652709096670151,
-0.06125648692250252,
-0.09929953515529633,
0.1284520924091339,
0.26583385467529297,
0.2934040427207947,
0.4646621644496918,
0.14870202541351318,
0.28402286767959595,
0.08272865414619446,
0.13032913208007812,
0.040858954191207886,
-0.09202359616756439,
-0.12458792328834534,
0.2971785068511963,
-0.27934694290161133,
0.22021757066249847,
0.051297929137945175,
0.18371674418449402,
-0.14759749174118042,
-0.23699739575386047,
0.2542140483856201,
-0.28885921835899353,
-0.09003910422325134,
-0.09242262691259384,
0.08238448947668076,
-0.10188794881105423,
0.13978181779384613,
-0.06495290994644165,
-0.6014866232872009,
0.6427772641181946,
0.04177077114582062,
0.37910905480384827,
0.4024260938167572,
-0.00011106582678621635,
0.05408294498920441,
0.2432837188243866,
0.02351132594048977,
-0.48698773980140686,
-0.3152086138725281,
-0.6912314295768738,
-0.478956401348114,
0.16588790714740753,
-0.14663565158843994,
-0.06420566141605377,
0.1301179975271225,
0.07345527410507202,
-0.4600996673107147,
0.044069863855838776,
0.2021566480398178,
0.25130659341812134,
0.09741055220365524,
0.18385975062847137,
-0.25886479020118713,
0.030778612941503525,
0.2624583840370178,
-0.15203885734081268,
0.1597360521554947,
0.18504613637924194,
0.19875681400299072,
0.34879469871520996,
0.30788466334342957,
0.14899486303329468,
0.019394580274820328,
0.28770744800567627,
0.15531443059444427,
0.28713515400886536,
-0.16411496698856354,
-0.00701141357421875,
0.06313732266426086,
0.6540957093238831,
-0.140773206949234,
-0.7040758728981018,
-0.35330283641815186,
0.14857418835163116,
-0.3803807199001312,
0.18377915024757385,
-0.13973766565322876,
-0.12420320510864258,
0.1525912880897522,
-0.2222139537334442,
-0.24556684494018555,
0.02954310178756714,
0.26103878021240234,
-0.29169103503227234,
0.3245617151260376,
-0.1398501694202423,
-0.021706990897655487,
-0.20660914480686188,
-0.05920950323343277,
-0.024795852601528168,
-0.11592093110084534,
0.11396379768848419,
0.2741004228591919,
-0.24916322529315948,
-0.06744693219661713,
0.11850044131278992,
-0.2061505913734436,
-0.032799456268548965,
0.14981937408447266,
0.017395053058862686,
-0.17190590500831604,
-0.006373284384608269,
0.100696861743927,
0.3534802198410034,
0.24970971047878265,
0.19845083355903625,
-0.01597587577998638,
0.2575177550315857,
0.36056604981422424,
0.18646486103534698,
-0.1657254993915558,
-0.20603841543197632,
-0.24009352922439575,
0.22699622809886932,
0.09620719403028488,
0.2703239917755127,
-0.057591862976551056,
-0.23052279651165009,
-0.020862560719251633,
0.36524733901023865,
-0.14992479979991913,
-0.043933529406785965,
0.11242222040891647,
-0.09773868322372437,
0.364330917596817,
-0.08032207190990448,
0.17358683049678802,
-0.1319596916437149,
0.0310799740254879,
-0.24839764833450317,
-0.07314379513263702,
-0.076191745698452,
-0.3178834319114685,
0.22059233486652374,
-0.17940030992031097,
0.4029649794101715,
-0.010443896055221558,
-0.27018821239471436,
0.15504801273345947,
-0.06781280040740967,
0.029077664017677307,
-0.11389803141355515,
0.267290860414505,
-0.021840449422597885,
0.154804065823555,
0.05225234106183052,
-0.4291961193084717,
-0.17392286658287048,
-0.05616298317909241,
-0.2590440809726715,
-0.183990016579628,
-0.5109387040138245,
0.22616572678089142,
-0.1876501590013504,
-0.32967573404312134,
-0.4136568009853363,
0.17090235650539398,
-0.08669745177030563,
-0.28881919384002686,
-0.039389096200466156,
-0.14225700497627258,
-0.3087977170944214,
-0.16362960636615753,
0.3612360656261444,
0.42547380924224854,
-0.37540483474731445,
-0.2220776528120041,
-0.2986677289009094,
-0.13793368637561798,
0.05248251184821129,
0.03779960796236992,
-0.18711000680923462,
0.1209375262260437,
-0.29085925221443176,
-0.1904943883419037,
0.5775370001792908,
-0.5136829018592834,
-0.2738465666770935,
0.06129012256860733,
0.1417580246925354,
0.12545497715473175,
0.03902345150709152,
-0.19629418849945068,
0.09341055154800415,
-0.08336345851421356,
0.060337379574775696,
0.408660352230072,
0.016741082072257996,
-0.1915557086467743,
0.08782212436199188,
-0.09139522910118103,
-0.008583743125200272,
0.21262088418006897,
0.15179264545440674,
0.056902579963207245,
0.18128672242164612,
0.07667601108551025,
0.1600446105003357,
0.09151037037372589,
0.04946785420179367,
0.4845327138900757,
0.1955733597278595,
0.3065836429595947,
0.038520697504282,
-0.05490522459149361,
-0.5542677640914917,
0.4240737557411194,
0.3048121929168701,
-0.13091178238391876,
-0.15903238952159882,
0.03356769680976868,
-0.29351335763931274,
-0.003920929506421089,
-0.26102274656295776,
-0.17017191648483276,
0.09454484283924103,
0.21767458319664001,
0.1462024301290512,
0.21579445898532867,
-0.3023061156272888,
0.1623963564634323,
0.1202043741941452,
0.20678943395614624,
-0.2911314070224762,
0.18847525119781494,
-0.0311721358448267,
0.044326942414045334,
0.02203429490327835,
0.27097266912460327,
0.10228709876537323,
-0.033004358410835266,
-0.05594167113304138,
0.17774170637130737,
0.19012227654457092,
0.21248400211334229,
0.2953178882598877,
-0.19234274327754974,
0.24996671080589294,
-0.02797684632241726,
0.12962466478347778,
0.032872725278139114,
0.08249711245298386,
0.011544644832611084,
-0.25627657771110535,
0.015594929456710815,
0.14737331867218018,
0.1286749392747879,
0.08729031682014465,
0.25362128019332886,
0.2938045859336853,
-0.022227749228477478,
0.36963003873825073,
-0.3660772144794464,
0.08226709067821503,
-0.14616751670837402,
0.4610932171344757,
-0.14353130757808685,
-0.05179522931575775,
0.1415269523859024,
0.3431420922279358,
-0.06484830379486084,
0.0488346591591835,
0.24751192331314087,
-0.21299678087234497,
0.04666999727487564,
0.14239317178726196,
0.5272799134254456,
0.6025568842887878,
0.2355482280254364,
0.3136325478553772,
-0.18582627177238464,
0.08779693394899368,
-0.09847624599933624,
0.10367400199174881,
0.1213468462228775,
0.09155203402042389,
-0.02368208020925522,
0.13333351910114288,
0.0904911458492279,
-0.19854852557182312,
-0.18324068188667297,
0.055504292249679565,
0.13267070055007935,
-0.07419343292713165,
0.06342554092407227,
-0.3686578869819641,
-0.035140976309776306,
-0.12541618943214417,
0.11489361524581909,
-0.24662035703659058,
-0.44669511914253235,
-0.0464516207575798,
-0.07945956289768219,
0.08446769416332245,
0.0710713192820549,
-0.18705274164676666,
0.08093000948429108,
-0.10142301023006439,
-0.08421280235052109,
-0.29597577452659607,
-0.1488332599401474,
-0.29966992139816284,
0.07205450534820557,
0.09461715817451477,
-0.11815361678600311,
0.19330830872058868,
-0.36825132369995117,
0.17600592970848083,
-0.41417619585990906,
-0.4692051410675049,
-0.003107123076915741,
-0.08487347513437271,
0.3349464535713196,
0.4064880311489105,
0.026953503489494324,
-0.21451187133789062,
-0.144441157579422,
0.2156667560338974,
-0.24214357137680054,
-0.1893729716539383,
0.09099660068750381,
-0.04894770309329033,
-0.004045945592224598,
0.055147986859083176,
-0.2715992033481598,
-0.5440983176231384,
-0.21312421560287476,
0.08588017523288727,
0.2569322884082794,
-0.061295874416828156,
0.14132271707057953,
0.04558251425623894,
0.16042789816856384,
-0.05331695079803467,
0.31353265047073364,
-0.20541627705097198,
-0.45135223865509033,
0.35605481266975403,
-0.29460278153419495,
-0.2575351297855377,
0.28067123889923096,
-0.1606234610080719,
0.41649746894836426,
-0.2432592660188675,
-0.5850549936294556,
0.30267393589019775,
-0.16464872658252716,
0.25750499963760376,
-0.06041911989450455,
0.18009565770626068,
0.3521585464477539,
-0.01639467664062977,
-0.06789708137512207,
-0.26600000262260437,
-0.3340034484863281,
-0.2347370684146881,
-0.01021900400519371,
0.4603376090526581,
-0.09615536034107208,
0.38726964592933655,
0.03909796103835106,
0.549621045589447,
0.19559381902217865,
-0.05512112006545067,
0.1557835340499878,
-0.0753045380115509,
0.34234026074409485,
0.012890264391899109,
-0.32611390948295593,
0.1782969981431961,
0.07546695321798325,
0.20752249658107758,
0.09822289645671844,
0.2704724669456482,
-0.21669255197048187,
-0.3083971440792084,
-0.08378340303897858,
-0.1627887487411499,
-0.1371242254972458,
-0.2482924610376358,
-0.18632546067237854,
0.13934671878814697,
0.10612387955188751,
0.16690385341644287,
-0.4805335998535156,
-0.14983969926834106,
-0.0822560042142868,
0.4817936420440674,
0.2816622257232666,
0.2097395360469818,
-0.17985448241233826,
0.13776671886444092,
-0.6376326084136963,
0.17119678854942322,
-0.09448177367448807,
0.4824330508708954,
-0.026046250015497208,
0.041807301342487335,
-0.03714923560619354,
0.22259092330932617,
0.43434953689575195,
-0.45814427733421326,
-0.09525749087333679,
0.11601315438747406,
-0.1704673022031784,
-0.325985312461853,
0.005824126303195953,
0.08228887617588043,
-0.1273270845413208,
0.12124615907669067,
0.3126388192176819,
-0.08875691145658493,
-0.20109790563583374,
0.3699718117713928,
0.1298402100801468,
-0.20011721551418304,
-0.21462947130203247,
-0.32232505083084106,
-0.26843202114105225,
-0.19738559424877167,
-0.36382177472114563,
-0.1186072826385498,
0.06794264167547226,
0.14556533098220825,
0.03682456538081169,
-0.2880837917327881,
0.10538158565759659,
0.0948719009757042,
0.1589985489845276,
0.2666432857513428,
0.24331578612327576,
0.1687091439962387,
0.40352001786231995,
0.11859841644763947,
0.18260754644870758,
0.48787978291511536,
-0.10878396034240723,
-0.47136473655700684,
0.13599902391433716,
0.000855153426527977,
0.40827715396881104,
0.08062843233346939,
-0.15432725846767426,
-0.03148782253265381,
0.008495872840285301,
0.04523072764277458,
-0.32034191489219666,
-0.004698192700743675,
0.39448562264442444,
0.16070140898227692,
-0.11583913117647171,
-0.3708449900150299,
0.3312443792819977,
0.12041772902011871,
0.09846805036067963,
0.3976604640483856,
0.11055639386177063,
-0.3682604432106018,
0.11731798201799393,
-0.04342644661664963,
0.5109541416168213,
0.05182249844074249,
0.21174567937850952,
0.1790180504322052,
-0.19954536855220795,
0.4608462452888489,
0.20425738394260406,
0.062488947063684464,
-0.07960471510887146,
-0.05778800696134567,
-0.1564309448003769,
-0.14970766007900238,
0.24996080994606018,
0.14469555020332336,
-0.09420725703239441,
0.3691316246986389,
0.07459878921508789,
0.25233542919158936,
0.01446200255304575,
0.2626572847366333,
-0.18127666413784027,
-0.14767242968082428,
-0.2805742025375366,
0.1734197735786438,
-0.0306047722697258,
0.45704635977745056,
-0.176651269197464,
0.01821814849972725,
-0.026284312829375267,
-0.06356997042894363,
-0.2283397912979126,
-0.14563515782356262,
0.08647076785564423,
0.36769771575927734,
0.026939697563648224,
-0.6471765041351318,
0.22230079770088196,
0.3653702437877655,
0.4824868440628052,
0.0132815632969141,
-0.3053213059902191,
0.3802862763404846,
0.08097721636295319,
0.14923091232776642,
0.04992712661623955,
0.09527914971113205,
0.27673274278640747,
-0.08684895932674408,
-0.25058940052986145,
0.11214673519134521,
-0.201872780919075,
-0.3773932456970215,
-0.07069814205169678,
-0.017187096178531647,
-0.12374156713485718,
-0.03890269622206688,
-0.012935515493154526,
-0.026110567152500153,
0.18247243762016296,
-0.3737735152244568,
0.15262426435947418,
0.2982403635978699,
0.004371692426502705,
-0.05549538880586624,
-0.19572269916534424,
-0.1303304135799408,
-0.13793139159679413,
0.4166831076145172,
-0.09229325503110886,
-0.40695735812187195,
0.5085176229476929,
0.12034085392951965,
-0.17834420502185822,
-0.14311465620994568,
0.1727578043937683,
0.06488171964883804,
-0.18872973322868347,
0.002065099775791168,
-0.19861368834972382,
0.2678205370903015,
0.08572817593812943,
-0.017883989959955215,
0.10395216941833496,
-0.48788708448410034,
0.0685083419084549,
-0.5261337757110596,
-0.3209863305091858,
0.20499831438064575,
-0.21841178834438324,
0.13944773375988007,
0.029786229133605957,
-0.21150463819503784,
0.046366311609745026,
-0.26182758808135986,
-0.31481945514678955,
0.09663339704275131,
-0.17123612761497498,
-0.16769914329051971,
-0.18002158403396606,
0.027400659397244453,
0.11571280658245087,
-0.19356048107147217,
0.24238550662994385,
-0.30699098110198975,
0.008360552601516247,
-0.19541716575622559,
-0.12883301079273224,
0.11487456411123276,
-0.14860913157463074,
-0.12684987485408783,
0.11865776032209396,
-0.05552632361650467,
-0.29696229100227356,
-0.09200718998908997,
0.19062957167625427,
0.15117675065994263,
-0.015637949109077454,
0.30369558930397034,
0.012205343693494797,
0.0471307635307312,
0.00903143361210823,
-0.09792675077915192,
0.14983345568180084,
0.28716522455215454,
0.09778321534395218,
0.18789437413215637,
0.05805537477135658,
0.09730145335197449,
0.04982556402683258,
0.025133434683084488,
-0.41330331563949585,
0.17370012402534485,
0.5069932341575623,
-0.4505012035369873,
0.18444478511810303,
0.12849237024784088,
0.14114010334014893,
0.21691733598709106,
-0.2787761092185974,
0.3034454882144928,
0.1904481053352356,
0.22459334135055542,
-0.40179121494293213,
-0.22377368807792664,
0.1278611421585083,
0.35681408643722534,
0.05669234320521355,
0.03967193514108658,
0.1326606124639511,
-0.10311498492956161,
-0.05634000897407532,
0.2900170087814331,
0.2105327546596527,
-0.20176175236701965,
0.33085501194000244,
0.5534645318984985,
0.09512661397457123,
0.07246582210063934,
0.01775958575308323,
0.2613465189933777,
-0.03229299932718277,
0.6142638325691223,
-0.07033001631498337,
0.3135184645652771,
-0.2665214240550995,
0.17897215485572815,
0.031190495938062668,
-0.4226338565349579,
0.14401988685131073,
-0.11504599452018738,
-0.181940495967865,
0.014298893511295319,
-0.0033602043986320496,
0.36015206575393677,
-0.4505879580974579,
-0.0028725373558700085,
-0.29315489530563354,
-0.036446649581193924,
-0.2229076325893402,
0.0485660694539547,
-0.1677599996328354,
-0.04638372361660004,
-0.04063218832015991,
-0.054050374776124954,
-0.042116302996873856,
-0.3212352991104126,
0.127552792429924,
0.07585503906011581,
-0.05389982461929321,
-0.4687041938304901,
0.014498522505164146,
0.11125922203063965,
0.17540055513381958,
-0.1473204642534256,
0.2805134356021881,
0.2702253460884094,
-0.23246726393699646,
0.16336296498775482,
0.5229644179344177,
0.3031778931617737,
-0.005832746624946594,
0.20031023025512695,
-0.10275408625602722,
0.03872917592525482,
-0.2582165002822876,
-0.10505841672420502,
0.3067099452018738,
0.0261484757065773,
0.2868373692035675,
0.14299555122852325,
0.19978965818881989,
-0.020755454897880554,
-0.010835938155651093,
0.1403166502714157,
0.029224978759884834,
-0.46822866797447205,
0.5080540180206299,
-0.4775100648403168,
0.02106228470802307,
-0.07228027284145355,
0.2686326801776886,
-0.35050076246261597,
-0.0773351639509201,
0.5598428845405579,
0.22193479537963867,
0.0016676150262355804,
-0.16375315189361572,
0.07240104675292969,
0.029187966138124466,
0.1771843433380127,
0.2654811143875122,
-0.08426762372255325,
-0.1829136312007904,
-0.2766016721725464,
-0.6952943801879883,
-0.07478158921003342,
0.029075391590595245,
-0.32846078276634216,
0.17518402636051178,
0.05191337317228317,
-0.046881236135959625,
0.05379948019981384,
0.2827134132385254,
0.17167063057422638,
0.02516017109155655,
-0.006263040006160736,
-0.4210507571697235,
-0.5237389206886292,
-0.004674822092056274,
-0.0143312718719244,
-0.13159406185150146,
-0.20261147618293762,
0.16788223385810852,
-0.1786527782678604,
-0.022126734256744385,
-0.1578671932220459,
0.07301409542560577,
0.15287500619888306,
0.15022650361061096,
0.2609066069126129,
-0.017013465985655785,
0.26801425218582153,
0.015707343816757202,
-0.09423255175352097,
-0.2700979709625244,
-0.34988266229629517,
-0.11199188977479935,
0.3450048863887787,
-0.30225783586502075,
0.46501973271369934,
-0.28939205408096313,
-0.08774523437023163,
-0.09730136394500732,
0.18853063881397247,
0.17593328654766083,
-0.1363106071949005,
-0.3141354024410248,
0.324310839176178,
-0.11081688106060028,
0.24021603167057037,
0.525100588798523,
0.19497844576835632,
-0.10349483788013458,
-0.03058120422065258,
-0.16081413626670837,
-0.21332401037216187,
0.3224266767501831,
-0.34694862365722656,
-0.19734413921833038,
-0.26579535007476807,
-0.016337677836418152,
0.24874907732009888,
-0.17274799942970276,
-0.5405057072639465,
0.18578332662582397,
0.4451215863227844,
0.14556631445884705,
-0.13685676455497742,
0.328061580657959,
0.022509600967168808,
0.08004714548587799,
0.01729457825422287,
0.4166647791862488,
-0.07152572274208069,
-0.11977718025445938,
-0.033553414046764374,
0.02914707362651825
] |
https://github.com/huggingface/datasets/issues/1679 | Can't import cc100 dataset | cc100 was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `cc100` with
```python
from datasets import load_dataset
lang = "en"
dataset = load_dataset("cc100", lang=lang, split="train")
``` | There is some issue to import cc100 dataset.
```
from datasets import load_dataset
dataset = load_dataset("cc100")
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/cc100/cc100.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
280 raise FileNotFoundError(
281 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 282 combined_path, github_file_path, file_path
283 )
284 )
FileNotFoundError: Couldn't find file locally at cc100/cc100.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/cc100/cc100.py | 45 | Can't import cc100 dataset
There is some issue to import cc100 dataset.
```
from datasets import load_dataset
dataset = load_dataset("cc100")
```
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/cc100/cc100.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
280 raise FileNotFoundError(
281 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 282 combined_path, github_file_path, file_path
283 )
284 )
FileNotFoundError: Couldn't find file locally at cc100/cc100.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/cc100/cc100.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/cc100/cc100.py
cc100 was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `cc100` with
```python
from datasets import load_dataset
lang = "en"
dataset = load_dataset("cc100", lang=lang, split="train")
``` | [
-0.2749530076980591,
-0.34881591796875,
-0.16288621723651886,
0.23452994227409363,
0.37639713287353516,
0.1457456648349762,
0.08866598457098007,
0.024639606475830078,
0.015882328152656555,
0.2067762017250061,
-0.12557534873485565,
0.05841481313109398,
0.022704986855387688,
0.31943655014038086,
0.09838110208511353,
-0.005402415990829468,
0.12964536249637604,
0.1373707801103592,
-0.34527474641799927,
0.014620423316955566,
-0.08077174425125122,
0.2495070844888687,
-0.08530809730291367,
-0.15742026269435883,
-0.2753780782222748,
-0.1641574501991272,
-0.05140125751495361,
0.1796361356973648,
-0.3012574315071106,
-0.4615066647529602,
0.6025827527046204,
0.1790025681257248,
0.2557297945022583,
0.4899490475654602,
-0.00010458071483299136,
0.04612284153699875,
0.3770824074745178,
0.023994898423552513,
-0.44188475608825684,
-0.30795639753341675,
-0.2751539647579193,
-0.26395097374916077,
0.18359868228435516,
-0.04366732016205788,
-0.13475021719932556,
0.20198529958724976,
-0.1778896003961563,
-0.21380028128623962,
0.30102014541625977,
0.050001293420791626,
0.32660260796546936,
0.3059597909450531,
0.3633731007575989,
-0.3747951090335846,
0.03416789323091507,
0.0937168151140213,
0.009400660172104836,
0.35124316811561584,
0.20632649958133698,
0.1514514684677124,
0.5028683543205261,
0.1674758493900299,
-0.09557640552520752,
-0.03406498208642006,
0.2659807801246643,
-0.1589617133140564,
-0.14394411444664001,
-0.36686423420906067,
0.13855740427970886,
0.1350734978914261,
0.5673777461051941,
-0.22476008534431458,
-0.34785231947898865,
0.00838567316532135,
0.11705680191516876,
-0.59264075756073,
0.10501134395599365,
0.11030104011297226,
0.10895152390003204,
0.20879560708999634,
-0.30874285101890564,
-0.1390145868062973,
-0.10133244097232819,
0.20982596278190613,
-0.16498173773288727,
-0.09335416555404663,
-0.32003045082092285,
-0.01664811372756958,
0.1543780267238617,
-0.10730132460594177,
-0.19808949530124664,
0.004463031888008118,
-0.031594615429639816,
0.18192628026008606,
-0.2933139503002167,
0.01862657070159912,
0.04268445074558258,
0.44547873735427856,
0.1327248215675354,
0.16795356571674347,
0.08470591902732849,
-0.07972647994756699,
0.044417619705200195,
0.2442428469657898,
0.06438066065311432,
0.13645131886005402,
-0.035520039498806,
0.051716290414333344,
0.21950547397136688,
0.2635696530342102,
-0.03471338003873825,
-0.2701791822910309,
-0.1346898227930069,
-0.2716606557369232,
-0.049301136285066605,
0.02291613258421421,
0.3509495258331299,
-0.2061716467142105,
-0.21726997196674347,
0.052768051624298096,
0.23279407620429993,
0.04687277227640152,
0.1369408220052719,
0.5143301486968994,
-0.003946768585592508,
0.16697224974632263,
-0.04050590842962265,
0.14058488607406616,
-0.011337904259562492,
-0.004587250296026468,
-0.2370130568742752,
0.08641976118087769,
-0.13661564886569977,
-0.11190087348222733,
0.21775643527507782,
-0.5572935342788696,
0.2780297100543976,
0.13831108808517456,
0.06463855504989624,
0.016571298241615295,
-0.15411192178726196,
0.02509850263595581,
-0.02746862918138504,
0.2688961923122406,
0.013119224458932877,
0.19079181551933289,
0.14121948182582855,
-0.09056660532951355,
-0.12070374190807343,
-0.19801869988441467,
-0.42119336128234863,
-0.19776174426078796,
-0.2723000645637512,
0.2675928473472595,
-0.15057781338691711,
-0.13185088336467743,
-0.2584424912929535,
-0.1919153332710266,
-0.07686877995729446,
-0.11781114339828491,
-0.0770636722445488,
-0.0027256235480308533,
-0.09632549434900284,
-0.16001585125923157,
0.27628302574157715,
0.520974338054657,
-0.33173903822898865,
-0.0715726688504219,
-0.18172763288021088,
-0.11961014568805695,
0.06289386749267578,
0.09690958261489868,
-0.23972049355506897,
-0.2497812807559967,
-0.14684760570526123,
-0.3261526823043823,
-0.1567421853542328,
-0.5559665560722351,
-0.41816991567611694,
0.19112975895404816,
-0.06771980971097946,
0.04450371861457825,
0.030994854867458344,
-0.16534680128097534,
-0.08567752689123154,
-0.013637091033160686,
-0.20486122369766235,
0.01221104059368372,
-0.049923546612262726,
-0.08789665251970291,
-0.0892958790063858,
-0.20329070091247559,
0.21633392572402954,
-0.025972044095396996,
-0.12030641734600067,
-0.08417528122663498,
0.27924874424934387,
-0.17841991782188416,
0.036098260432481766,
-0.14729361236095428,
-0.04550594836473465,
0.28313177824020386,
0.28106775879859924,
0.15009687840938568,
-0.013131717219948769,
-0.0966024175286293,
-0.5498055219650269,
0.18404856324195862,
0.05917555093765259,
0.20701226592063904,
-0.28009605407714844,
-0.19013085961341858,
-0.42126548290252686,
0.03533802926540375,
-0.15008558332920074,
-0.13843101263046265,
0.16220180690288544,
-0.0023705139756202698,
0.26696348190307617,
0.05587293580174446,
-0.14579670131206512,
0.3959631323814392,
-0.019307345151901245,
0.20135124027729034,
-0.20989230275154114,
0.13479042053222656,
-0.14049692451953888,
0.1456403285264969,
0.18081648647785187,
0.20972827076911926,
0.16239453852176666,
-0.16916364431381226,
-0.04606454446911812,
0.39432916045188904,
-0.17441780865192413,
0.530454158782959,
0.02948271669447422,
-0.08609090745449066,
0.3313724398612976,
-0.4779741168022156,
-0.02780877985060215,
-0.14112278819084167,
0.2778264284133911,
0.06389162689447403,
-0.04100304841995239,
0.13739114999771118,
-0.1340174376964569,
0.23161819577217102,
0.12900909781455994,
0.0426904633641243,
0.23387965559959412,
0.11335572600364685,
-0.03803672268986702,
-0.14786216616630554,
0.2096567004919052,
0.0880584865808487,
0.612246036529541,
0.022468196228146553,
-0.12588930130004883,
-0.04720804840326309,
0.12047922611236572,
0.057364773005247116,
-0.06981029361486435,
0.01090279221534729,
-0.3110825717449188,
0.26133280992507935,
0.2233101725578308,
0.21257935464382172,
0.14841383695602417,
0.2743113338947296,
-0.17906725406646729,
-0.05759480595588684,
0.08639182895421982,
-0.11207713931798935,
0.2854093015193939,
0.07894627004861832,
0.18745896220207214,
-0.04919435828924179,
0.13012823462486267,
0.030446035787463188,
-0.2594587206840515,
-0.12717600166797638,
-0.03230101242661476,
0.14682485163211823,
-0.26395973563194275,
0.09030193090438843,
-0.4293750822544098,
-0.18145319819450378,
-0.01667652279138565,
-0.13300570845603943,
-0.0983508825302124,
-0.16504617035388947,
-0.3125821352005005,
0.12234215438365936,
0.03830111399292946,
0.019328340888023376,
-0.13766658306121826,
0.07251247763633728,
-0.10195525735616684,
-0.164434015750885,
-0.15683519840240479,
-0.31018999218940735,
0.02538260817527771,
0.16061726212501526,
0.33455365896224976,
-0.09810328483581543,
0.4525793194770813,
-0.1812589168548584,
0.15741516649723053,
0.007996497675776482,
-0.4218345582485199,
0.10919201374053955,
-0.20608125627040863,
0.20285728573799133,
0.221528559923172,
0.19299763441085815,
-0.28770896792411804,
-0.15673917531967163,
0.3035699129104614,
-0.05037614703178406,
-0.08714372664690018,
0.04920592159032822,
-0.16168171167373657,
-0.33358103036880493,
-0.02988501265645027,
-0.29882141947746277,
-0.5281752943992615,
-0.32520541548728943,
0.1262628138065338,
0.2590165138244629,
-0.04172654449939728,
0.4280339181423187,
0.19628509879112244,
0.09064305573701859,
0.017983905971050262,
0.12301813066005707,
-0.07733304798603058,
-0.663880467414856,
0.42075830698013306,
-0.35923847556114197,
-0.4082058072090149,
0.1353977769613266,
0.006699826568365097,
0.47272011637687683,
-0.06716392189264297,
-0.2308906614780426,
0.05750470235943794,
-0.23749150335788727,
0.08382472395896912,
0.25349533557891846,
0.27342531085014343,
0.17507311701774597,
-0.07350486516952515,
-0.11038173735141754,
-0.08989615738391876,
-0.16558967530727386,
-0.25454744696617126,
-0.1683807373046875,
0.1834416389465332,
-0.11091076582670212,
0.24471396207809448,
-0.13234679400920868,
0.6540399193763733,
0.20993942022323608,
-0.16498525440692902,
0.39927583932876587,
-0.17091678082942963,
0.5142346024513245,
-0.035186536610126495,
-0.4970186650753021,
-0.014623739756643772,
-0.022113770246505737,
0.04871392250061035,
0.07950001955032349,
0.06450336426496506,
-0.0016462448984384537,
-0.4643181264400482,
-0.28831690549850464,
-0.3414287865161896,
-0.1591687649488449,
-0.32021698355674744,
0.1914168894290924,
0.2986223101615906,
0.08577319979667664,
-0.13078457117080688,
-0.018289243802428246,
-0.2483210563659668,
0.057874251157045364,
0.3221116364002228,
0.010576561093330383,
0.07529738545417786,
-0.41504809260368347,
-0.37693193554878235,
-0.5046015381813049,
0.35502535104751587,
0.027156561613082886,
0.07875019311904907,
0.0839339941740036,
0.02128620073199272,
-0.029900625348091125,
-0.07078427076339722,
0.2992473542690277,
0.028608247637748718,
-0.02225693315267563,
0.10229028761386871,
-0.2124715894460678,
-0.20899532735347748,
0.06117098405957222,
-0.022947121411561966,
0.21341240406036377,
-0.08911417424678802,
-0.17130161821842194,
-0.284871906042099,
-0.07105419784784317,
0.1226266548037529,
0.27744007110595703,
-0.12000569701194763,
-0.04625673592090607,
-0.2615564465522766,
-0.19374901056289673,
-0.4382613003253937,
-0.18526217341423035,
-0.08855307102203369,
0.27867522835731506,
-0.02428312785923481,
-0.10725466907024384,
-0.1275368630886078,
-0.13852208852767944,
0.3748297095298767,
0.3218500018119812,
0.3681970536708832,
0.14346984028816223,
0.1886390596628189,
0.10205049812793732,
0.13520914316177368,
0.4293230175971985,
0.766962468624115,
0.024601377546787262,
-0.27263784408569336,
-0.04318750649690628,
0.004807618446648121,
0.26505663990974426,
0.04731088876724243,
-0.13002730906009674,
0.0622839629650116,
0.2921972870826721,
0.1550610065460205,
-0.31834203004837036,
0.03207577019929886,
0.1724952906370163,
0.12579604983329773,
-0.38588663935661316,
-0.16405053436756134,
0.44557395577430725,
0.08512221276760101,
0.140863835811615,
0.14787563681602478,
0.36992502212524414,
-0.08309955894947052,
-0.049179092049598694,
-0.09024324268102646,
0.7487872242927551,
0.001008402556180954,
-0.09924153983592987,
0.1067608967423439,
-0.08728741854429245,
0.6782955527305603,
0.04004465043544769,
-0.09089607000350952,
-0.14550741016864777,
0.0014088274911046028,
0.002155376598238945,
-0.1016373261809349,
0.27582958340644836,
-0.05983402580022812,
-0.21386420726776123,
0.2948034107685089,
-0.20639191567897797,
0.31951090693473816,
-0.10487313568592072,
0.29655417799949646,
-0.19360944628715515,
-0.16993245482444763,
-0.07405023276805878,
0.24673566222190857,
0.045232243835926056,
0.4164854884147644,
-0.2011314332485199,
-0.01693611964583397,
-0.14602939784526825,
-0.33356040716171265,
-0.09455715864896774,
-0.016259469091892242,
-0.4031129479408264,
0.14287865161895752,
-0.05053490027785301,
-0.456213116645813,
0.3574999272823334,
0.2802865505218506,
0.29767733812332153,
0.1905578225851059,
-0.36240482330322266,
0.16982711851596832,
-0.05409371107816696,
-0.286475270986557,
-0.13998472690582275,
0.24355798959732056,
0.2589796185493469,
-0.1527509093284607,
-0.1368124932050705,
0.21273770928382874,
0.0671936571598053,
-0.0705489069223404,
0.20416298508644104,
0.0739913284778595,
0.026829324662685394,
-0.17251163721084595,
-0.2176496982574463,
-0.11182112991809845,
0.036377254873514175,
-0.18637603521347046,
0.1992070972919464,
0.060097187757492065,
-0.04209594801068306,
0.021378211677074432,
0.2636805474758148,
-0.12007664144039154,
-0.25855132937431335,
0.3371771574020386,
-0.0661531537771225,
-0.18461747467517853,
0.3840763568878174,
0.371559202671051,
-0.22792841494083405,
-0.23850330710411072,
-0.11101207137107849,
0.11729244887828827,
-0.46542996168136597,
0.11944904178380966,
0.3156569302082062,
0.2769644260406494,
-0.01744040474295616,
0.2775641977787018,
0.18053288757801056,
-0.1019524410367012,
0.17728792130947113,
-0.3801257610321045,
-0.2860304117202759,
0.15856122970581055,
-0.056727249175310135,
0.14501474797725677,
0.20073845982551575,
0.32089701294898987,
0.030651019886136055,
0.019682547077536583,
-0.41303667426109314,
0.08223020285367966,
-0.15299567580223083,
-0.03248700499534607,
0.6231766939163208,
0.11542809009552002,
0.1944102793931961,
-0.25062528252601624,
0.2638086676597595,
0.13785022497177124,
-0.1559447944164276,
-0.3337896764278412,
-0.10393795371055603,
0.09193010628223419,
-0.04520914703607559,
-0.22067512571811676,
0.1881060004234314,
0.08475326746702194,
0.061389096081256866,
-0.04522854462265968,
0.08395151793956757,
0.10128635913133621,
0.1009422093629837,
0.06817705929279327,
-0.10823656618595123,
-0.010252423584461212,
-0.2600281238555908,
0.12046359479427338,
0.16960561275482178,
0.22600503265857697,
0.09418600797653198,
0.04071702063083649,
0.09639965742826462,
-0.08713465929031372,
0.1342705488204956,
-0.10651958733797073,
-0.1059436947107315,
-0.03760356456041336,
0.41980114579200745,
-0.2765183448791504,
0.09694194793701172,
0.34514471888542175,
0.2989571988582611,
0.23487432301044464,
-0.15805138647556305,
0.28231576085090637,
0.22730010747909546,
0.25116634368896484,
-0.3074895739555359,
-0.009670902974903584,
-0.09890040755271912,
0.11185787618160248,
0.08667154610157013,
0.11175183206796646,
0.3189954161643982,
-0.11437287926673889,
0.11512096226215363,
0.12484035640954971,
0.4290120005607605,
-0.09577658772468567,
0.48385384678840637,
0.3432486057281494,
0.20178015530109406,
-0.008937966078519821,
0.058641217648983,
0.2886771559715271,
0.015802502632141113,
0.21574915945529938,
-0.4133891761302948,
0.022604888305068016,
-0.14413121342658997,
0.15809966623783112,
0.15712493658065796,
-0.2874077260494232,
0.2587372958660126,
0.1885424107313156,
-0.07335232198238373,
-0.03229037672281265,
-0.04363726079463959,
0.7672809362411499,
-0.06327752023935318,
0.033543433994054794,
-0.21818387508392334,
0.38607972860336304,
-0.08505113422870636,
-0.05135488510131836,
-0.17745652794837952,
-0.23120927810668945,
-0.10510580241680145,
0.00028730183839797974,
-0.06912010908126831,
-0.3398081064224243,
0.24126100540161133,
0.12866288423538208,
-0.1383032649755478,
-0.5828995108604431,
0.0625799298286438,
0.2402128279209137,
0.18116670846939087,
-0.1473497599363327,
0.3023960292339325,
0.3403138518333435,
-0.2132931649684906,
0.07839593291282654,
0.35818496346473694,
0.6212479472160339,
0.1875985711812973,
0.22881639003753662,
0.18304142355918884,
0.07333679497241974,
-0.19540856778621674,
0.09723812341690063,
0.000046625733375549316,
-0.14442692697048187,
0.2164275199174881,
0.0926923006772995,
0.27451375126838684,
-0.23339462280273438,
-0.30433329939842224,
-0.00822310522198677,
0.11767871677875519,
-0.3661321699619293,
-0.05580168217420578,
-0.25189122557640076,
0.050388313829898834,
-0.2957034409046173,
0.12969081103801727,
-0.44162026047706604,
0.20580753684043884,
0.3274720013141632,
-0.06151077523827553,
0.030269037932157516,
-0.25005045533180237,
0.11464795470237732,
-0.07765036821365356,
0.5049263834953308,
0.22323183715343475,
0.2362315058708191,
-0.25860124826431274,
-0.32363277673721313,
-0.6043618321418762,
-0.017658181488513947,
-0.00009177252650260925,
-0.03274783492088318,
-0.12606847286224365,
-0.030666489154100418,
-0.052906982600688934,
0.18294771015644073,
0.2557891011238098,
-0.12845636904239655,
0.05529782176017761,
-0.1421186625957489,
-0.09761986136436462,
-0.022455845028162003,
-0.2848814129829407,
-0.1281663030385971,
-0.0005139745771884918,
-0.10043847560882568,
0.031089145690202713,
-0.2098393440246582,
0.05560756474733353,
-0.33995121717453003,
0.20748090744018555,
-0.2634788453578949,
-0.16940687596797943,
0.32231763005256653,
0.09235600382089615,
0.529751718044281,
-0.11282745748758316,
0.030364075675606728,
-0.10911838710308075,
-0.2837512195110321,
-0.0753786712884903,
0.3584710955619812,
0.16570821404457092,
0.2871477007865906,
-0.24160179495811462,
-0.44165700674057007,
-0.23811523616313934,
0.1624213308095932,
0.11155804991722107,
0.003923193085938692,
-0.13978834450244904,
-0.029072731733322144,
-0.12458038330078125,
0.011755404993891716,
0.24535204470157623,
0.17383906245231628,
-0.056071050465106964,
0.0446738600730896,
-0.12643933296203613,
-0.5482059717178345,
0.38437163829803467,
-0.26956093311309814,
-0.04712273180484772,
0.056455742567777634,
0.19626954197883606,
0.3459502160549164,
-0.2228516787290573,
-0.38353464007377625,
0.34134456515312195,
0.23275630176067352,
0.10568449646234512,
-0.1048973947763443,
0.41703492403030396,
-0.05064154416322708,
-0.103645458817482,
-0.01866316609084606,
0.396944522857666,
0.150920569896698,
-0.23288089036941528,
-0.05518459156155586,
-0.162331685423851
] |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | The pile dataset would be very nice.
Benchmarks show that pile trained models achieve better results than most of actually trained models | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
| 22 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
The pile dataset would be very nice.
Benchmarks show that pile trained models achieve better results than most of actually trained models | [
-0.3252147436141968,
0.2130676805973053,
-0.15067437291145325,
0.13712838292121887,
0.0009431485086679459,
0.2578674554824829,
0.1434532105922699,
0.2466030716896057,
-0.030717629939317703,
-0.0639294981956482,
-0.15774516761302948,
0.14879478514194489,
-0.5934290289878845,
0.1841430515050888,
0.20488780736923218,
-0.022366002202033997,
-0.0074281245470047,
-0.1229640394449234,
-0.040177732706069946,
-0.0748126208782196,
-0.016271201893687248,
-0.09867487102746964,
0.06882473826408386,
-0.38403695821762085,
-0.2191535383462906,
-0.0709642618894577,
-0.12500354647636414,
0.014950152486562729,
-0.36412686109542847,
-0.22539037466049194,
-0.2300112098455429,
0.09852609038352966,
0.39343342185020447,
0.554938018321991,
-0.00010215371003141627,
-0.12828023731708527,
0.14103832840919495,
-0.13684992492198944,
-0.38200289011001587,
-0.20806656777858734,
-0.0718417838215828,
-0.3678535521030426,
-0.33286252617836,
-0.03821878880262375,
-0.19168037176132202,
-0.17293183505535126,
0.11502620577812195,
-0.35648778080940247,
0.02434549480676651,
0.30207958817481995,
0.24856966733932495,
0.13462992012500763,
0.006665721535682678,
-0.11583900451660156,
0.3296712636947632,
0.07672370225191116,
-0.1908532977104187,
0.3099154829978943,
0.3554442524909973,
0.13831806182861328,
-0.08859210461378098,
0.4444618225097656,
0.4074594974517822,
-0.23305754363536835,
0.24455875158309937,
0.029440689831972122,
-0.028866752982139587,
-0.10905127227306366,
-0.2375527024269104,
0.3558645248413086,
0.27779096364974976,
-0.149437814950943,
-0.5054078698158264,
-0.40878626704216003,
-0.010018771514296532,
-0.3937540054321289,
-0.30374714732170105,
0.3672269880771637,
0.08213712275028229,
0.3314940929412842,
0.052197858691215515,
-0.2601242661476135,
-0.06110140681266785,
0.17735278606414795,
0.048518888652324677,
0.355180025100708,
-0.022327542304992676,
-0.1445569097995758,
0.13929270207881927,
0.04024580493569374,
-0.13185498118400574,
0.0138090830296278,
-0.010684460401535034,
-0.022793345153331757,
-0.29309242963790894,
-0.23899808526039124,
0.4097946882247925,
0.34436604380607605,
0.3930756747722626,
-0.2281852513551712,
-0.0614297017455101,
0.006023712456226349,
-0.007242990657687187,
-0.05026900768280029,
0.4607639014720917,
0.0007304446771740913,
-0.2595374286174774,
-0.2574685513973236,
0.2438706010580063,
0.07297630608081818,
0.08239872753620148,
0.10979098826646805,
-0.06641215831041336,
-0.04151004180312157,
-0.14914453029632568,
-0.19014513492584229,
-0.0808309018611908,
0.12906013429164886,
0.005519179627299309,
-0.008857847191393375,
0.21125450730323792,
-0.08982833474874496,
0.00025992002338171005,
0.0070806145668029785,
-0.02787470445036888,
0.256571888923645,
0.040330514311790466,
0.21768003702163696,
0.1866181343793869,
-0.5832267999649048,
-0.204781636595726,
0.1769857406616211,
-0.45849111676216125,
-0.07573085278272629,
0.09861399233341217,
-0.12888456881046295,
0.054991550743579865,
-0.11994335800409317,
0.18104831874370575,
0.27512288093566895,
0.1521211713552475,
0.032104428857564926,
0.08747123926877975,
-0.05814948305487633,
-0.09814044833183289,
-0.25790518522262573,
0.07638180255889893,
0.07062177360057831,
-0.29205557703971863,
0.08013961464166641,
-0.05356196314096451,
-0.27156317234039307,
-0.37574267387390137,
0.22247274219989777,
-0.1484067291021347,
0.0717099979519844,
-0.4174518287181854,
0.7332291007041931,
-0.06639852374792099,
0.2488410472869873,
0.06031910330057144,
-0.08275201916694641,
0.0672256350517273,
0.03452363237738609,
0.09809038043022156,
0.19669529795646667,
-0.5776970982551575,
-0.07731091231107712,
-0.6373917460441589,
0.09141455590724945,
-0.058260612189769745,
0.24476845562458038,
-0.15260154008865356,
0.16313569247722626,
-0.05248536914587021,
0.029916197061538696,
0.6078367233276367,
0.15489211678504944,
-0.18231481313705444,
0.15062321722507477,
-0.05882827937602997,
-0.016376500949263573,
-0.010491475462913513,
0.17642463743686676,
0.04897495359182358,
-0.06549898535013199,
0.274649441242218,
0.3799540400505066,
-0.16484513878822327,
-0.13374564051628113,
-0.3065444529056549,
-0.4034541845321655,
0.0495004802942276,
0.47629618644714355,
0.11664830148220062,
-0.24228525161743164,
0.19842156767845154,
0.06356927007436752,
0.1890215277671814,
0.06247976794838905,
0.09298577159643173,
-0.18683631718158722,
0.2389919012784958,
0.1390589475631714,
-0.04020116850733757,
-0.2588372528553009,
-0.37634041905403137,
0.05640384554862976,
0.03255163133144379,
0.39526039361953735,
0.039141181856393814,
-0.1904403120279312,
0.13322874903678894,
0.05942084640264511,
0.1557440459728241,
-0.0427020899951458,
0.2095918208360672,
0.0314803384244442,
-0.023303957656025887,
-0.17124439775943756,
-0.2686154544353485,
-0.12574158608913422,
-0.15359750390052795,
-0.102385513484478,
-0.2796761989593506,
-0.02851012721657753,
-0.18506550788879395,
-0.1535535603761673,
0.018731411546468735,
0.30445030331611633,
-0.5161636471748352,
-0.13319548964500427,
0.20421865582466125,
0.08543820679187775,
-0.17728908360004425,
-0.20841757953166962,
0.2370719313621521,
0.669265866279602,
0.20307354629039764,
-0.11664728820323944,
0.20044520497322083,
-0.1460377722978592,
-0.08393754065036774,
0.02675686776638031,
-0.18682712316513062,
0.39557886123657227,
0.3413771986961365,
-0.03922931104898453,
0.09152474999427795,
-0.10569365322589874,
0.1067868173122406,
0.058748017996549606,
-0.006287743337452412,
-0.24386778473854065,
0.26495182514190674,
0.056398142129182816,
0.23671169579029083,
-0.042191773653030396,
-0.36112144589424133,
0.12173096835613251,
0.36095699667930603,
0.13369376957416534,
0.22786593437194824,
0.26811543107032776,
-0.16852280497550964,
-0.28207048773765564,
0.006601056084036827,
-0.27364298701286316,
0.2471921592950821,
0.40552663803100586,
0.23804304003715515,
0.11537239700555801,
0.2009989470243454,
-0.1359190046787262,
-0.017849363386631012,
0.034939687699079514,
-0.08030536770820618,
0.1921197474002838,
0.40587663650512695,
0.09439990669488907,
-0.26140961050987244,
-0.2708653211593628,
-0.1733202040195465,
0.16778165102005005,
0.13040554523468018,
-0.06078407168388367,
0.12824466824531555,
-0.05246637761592865,
0.09566698223352432,
0.0754774883389473,
-0.1807921677827835,
-0.1974586397409439,
0.17266076803207397,
-0.1768561750650406,
-0.24447622895240784,
0.0030566626228392124,
-0.1337917000055313,
0.5722127556800842,
-0.07889421284198761,
0.18172100186347961,
0.03838213533163071,
-0.29970088601112366,
-0.09450868517160416,
0.2508624792098999,
0.30355700850486755,
-0.2810712158679962,
0.31394335627555847,
0.0578414723277092,
0.16433002054691315,
-0.040354594588279724,
-0.5640270709991455,
0.1866859644651413,
-0.08872531354427338,
0.38291072845458984,
0.2516288161277771,
-0.022000685334205627,
0.23246924579143524,
-0.06405772268772125,
-0.13048125803470612,
-0.1618165373802185,
-0.028137098997831345,
-0.20533843338489532,
0.04472741857171059,
0.03563745319843292,
-0.20122365653514862,
-0.32368749380111694,
-0.39103955030441284,
-0.4839153289794922,
0.24401342868804932,
0.09155334532260895,
-0.03299111872911453,
-0.049641743302345276,
0.1528753936290741,
0.36345362663269043,
-0.01625945046544075,
0.06747092306613922,
-0.06387879699468613,
-0.3082830309867859,
0.31433406472206116,
-0.03523242101073265,
-0.21571911871433258,
-0.10528631508350372,
-0.26313352584838867,
-0.08490903675556183,
0.0710204541683197,
-0.5801852941513062,
0.1611853688955307,
-0.06928424537181854,
0.19047142565250397,
0.042588211596012115,
0.04206814989447594,
0.14554989337921143,
-0.017332570627331734,
-0.20728568732738495,
-0.03655725717544556,
-0.008288787677884102,
0.0741131603717804,
0.3788353502750397,
0.35029780864715576,
-0.23684510588645935,
0.2964536249637604,
0.222604900598526,
0.47031736373901367,
-0.08832837641239166,
-0.3011772930622101,
0.34102562069892883,
0.3796495795249939,
0.36929506063461304,
-0.24382275342941284,
-0.05456262826919556,
0.2698502242565155,
0.08953376114368439,
-0.026457540690898895,
0.6250421404838562,
0.22731450200080872,
-0.3611328601837158,
0.03282434493303299,
0.08349649608135223,
0.09007158130407333,
-0.09085887670516968,
0.3243925869464874,
-0.19372275471687317,
-0.0023734048008918762,
-0.0843028575181961,
-0.5924363732337952,
-0.17678825557231903,
-0.18972671031951904,
0.0006865616887807846,
0.2817797064781189,
0.046157632023096085,
0.03394216299057007,
-0.17562459409236908,
0.33129823207855225,
-0.2871045768260956,
0.12083384394645691,
-0.12683403491973877,
-0.0563570037484169,
-0.11318758130073547,
-0.2872137427330017,
-0.1494748294353485,
0.054323650896549225,
0.394340455532074,
-0.39435654878616333,
-0.2768113613128662,
-0.008240854367613792,
0.37082532048225403,
-0.0801420584321022,
-0.005325760692358017,
-0.4047892689704895,
-0.2548784911632538,
0.5810699462890625,
0.5500807762145996,
-0.2733107805252075,
0.1017577201128006,
0.18553516268730164,
0.2776247262954712,
0.10240736603736877,
-0.23079945147037506,
-0.15367411077022552,
-0.1661079227924347,
-0.09278097003698349,
0.17783811688423157,
0.27471762895584106,
-0.00617952411994338,
0.12943825125694275,
0.11720508337020874,
0.06339219212532043,
0.06692895293235779,
0.2582848072052002,
-0.005850476212799549,
-0.06092343479394913,
0.2784731686115265,
-0.09165085852146149,
-0.1798345297574997,
0.4046492874622345,
0.1912716180086136,
0.331536203622818,
-0.1893274039030075,
-0.24007079005241394,
0.1354093998670578,
-0.41788211464881897,
0.3177899122238159,
0.183900386095047,
0.15543726086616516,
0.14185255765914917,
-0.21268099546432495,
0.1653677076101303,
-0.08789348602294922,
0.47797852754592896,
-0.04107438027858734,
0.048150066286325455,
-0.5286174416542053,
-0.348773717880249,
0.3135915994644165,
-0.011173654347658157,
0.09767746925354004,
0.2518342137336731,
-0.0679863691329956,
-0.4288952946662903,
0.386078417301178,
-0.032341234385967255,
0.955849289894104,
-0.022502899169921875,
0.3515893816947937,
-0.21279916167259216,
0.1410267949104309,
0.4181651175022125,
-0.39681971073150635,
0.007351563312113285,
0.09296798706054688,
-0.16121920943260193,
0.06938555836677551,
-0.01930004358291626,
0.015580486506223679,
0.542603075504303,
-0.1792234480381012,
0.016451001167297363,
-0.1553492248058319,
-0.17002826929092407,
0.033967338502407074,
0.5154803395271301,
0.022200535982847214,
-0.19577540457248688,
-0.27102965116500854,
0.27471041679382324,
0.02731444500386715,
-0.18452413380146027,
-0.22898268699645996,
-0.2321474254131317,
-0.0969976931810379,
0.13437888026237488,
-0.4439440369606018,
-0.02583085559308529,
-0.0906960666179657,
0.02081313170492649,
0.014224424958229065,
-0.21223381161689758,
0.42012926936149597,
-0.041877541691064835,
0.21500159800052643,
0.2508341372013092,
-0.12588214874267578,
-0.015990007668733597,
-0.08294396847486496,
-0.024823365733027458,
0.3419758081436157,
-0.11276248097419739,
0.4251571595668793,
-0.034318022429943085,
-0.06471417844295502,
0.09746924042701721,
0.13022342324256897,
-0.444705605506897,
-0.17789867520332336,
-0.007265157997608185,
0.12497396767139435,
0.09542638808488846,
-0.25441983342170715,
0.34349218010902405,
-0.1642206460237503,
-0.13629810512065887,
0.21788039803504944,
0.17434029281139374,
-0.08842809498310089,
0.030573654919862747,
0.0895983874797821,
-0.1760765016078949,
-0.2223835438489914,
-0.012373663485050201,
0.04765237122774124,
-0.015119848772883415,
0.02747991494834423,
0.4605928063392639,
-0.19820688664913177,
-0.29670462012290955,
-0.12649255990982056,
0.26888716220855713,
-0.17820188403129578,
0.13645866513252258,
0.13298898935317993,
-0.18826048076152802,
-0.07756097614765167,
-0.10067020356655121,
0.4525687098503113,
-0.023842521011829376,
0.027230489999055862,
-0.07443619519472122,
-0.17558008432388306,
0.11217207461595535,
-0.06709828972816467,
0.20540907979011536,
-0.2702159285545349,
0.030827559530735016,
0.04498235881328583,
0.18876443803310394,
-0.4568798542022705,
-0.035853996872901917,
-0.09511911869049072,
0.17194700241088867,
-0.04216583073139191,
-0.08991085737943649,
0.048269812017679214,
-0.03133679926395416,
0.1201031357049942,
-0.15864674746990204,
-0.2573411464691162,
-0.3211759924888611,
-0.10142384469509125,
0.055056050419807434,
0.19924280047416687,
-0.005338970571756363,
0.2748626470565796,
-0.026386186480522156,
-0.29262855648994446,
-0.10353361815214157,
0.14934031665325165,
-0.20907211303710938,
0.07485801726579666,
-0.001989138312637806,
0.3594572842121124,
-0.00980311632156372,
0.2656899690628052,
0.03375675156712532,
0.17912225425243378,
0.044001832604408264,
0.28431081771850586,
0.10478837788105011,
0.35120150446891785,
-0.061101339757442474,
-0.11609230190515518,
0.3266391158103943,
0.013886623084545135,
0.36967983841896057,
0.09596803784370422,
0.10608391463756561,
-0.004659835249185562,
0.40148404240608215,
0.2480711042881012,
0.00039079785346984863,
-0.12120290845632553,
0.012756379321217537,
0.1862209439277649,
0.314594566822052,
-0.4905489385128021,
0.020182425156235695,
0.07098408043384552,
0.08969388902187347,
0.2564951777458191,
0.10131143033504486,
0.2407880425453186,
0.39832964539527893,
-0.2662472724914551,
0.05357958376407623,
0.1283690184354782,
-0.08327832818031311,
0.2789347767829895,
0.0439872220158577,
0.12342680990695953,
0.12768897414207458,
0.24979464709758759,
0.14476849138736725,
0.1770760715007782,
-0.10792775452136993,
-0.11219289153814316,
0.22333715856075287,
0.19686123728752136,
-0.14364902675151825,
0.15443329513072968,
-0.19144059717655182,
0.02263653837144375,
0.4870808720588684,
0.2763769030570984,
0.27096831798553467,
-0.0751858651638031,
0.10601088404655457,
0.1277759075164795,
-0.01810607500374317,
0.009732889011502266,
-0.043401751667261124,
0.00502246618270874,
-0.09978058934211731,
0.25576266646385193,
-0.19359804689884186,
-0.2548972964286804,
0.011568628251552582,
-0.11406846344470978,
-0.23911915719509125,
-0.1452970802783966,
0.11146560311317444,
0.05334457382559776,
-0.3808149993419647,
0.13279321789741516,
0.1021696999669075,
0.07701817154884338,
-0.20443293452262878,
0.1731250137090683,
0.1261540651321411,
-0.026119984686374664,
0.12898781895637512,
0.1516892910003662,
-0.027305345982313156,
0.1524229645729065,
-0.07883511483669281,
0.19626061618328094,
-0.06500737369060516,
-0.012111115269362926,
-0.46772390604019165,
0.17356261610984802,
0.17557820677757263,
0.15634039044380188,
0.18745650351047516,
0.19843441247940063,
-0.30665019154548645,
0.20089617371559143,
-0.027094725519418716,
-0.08888360857963562,
-0.2535094916820526,
0.37094131112098694,
0.09927085041999817,
-0.23117148876190186,
-0.2780434787273407,
0.20986159145832062,
-0.5753173828125,
-0.14090576767921448,
0.7585273385047913,
-0.3803826570510864,
-0.012593128718435764,
-0.2522752285003662,
0.136470764875412,
-0.15144141018390656,
0.44020941853523254,
0.6380360126495361,
0.14365215599536896,
-0.041111189872026443,
-0.07668370753526688,
-0.42883482575416565,
0.03369526565074921,
-0.11148464679718018,
0.3441736698150635,
-0.17715652287006378,
0.41107234358787537,
0.2709236145019531,
0.23398251831531525,
-0.20498473942279816,
0.1825208216905594,
-0.4394817054271698,
-0.10537496209144592,
-0.40301772952079773,
0.04195106029510498,
-0.11184519529342651,
0.4399307668209076,
0.07651226222515106,
-0.015151910483837128,
-0.03623693808913231,
0.022804565727710724,
0.1420082449913025,
-0.461307168006897,
-0.00789228081703186,
0.10736167430877686,
0.2951262593269348,
0.2723694443702698,
-0.07050589472055435,
0.10577905923128128,
-0.10233913362026215,
-0.2758907377719879,
-0.5270482897758484,
-0.10356114059686661,
-0.2224797159433365,
0.06604636460542679,
-0.011825256049633026,
0.2248222976922989,
-0.3254525065422058,
-0.08188682794570923,
0.032657645642757416,
0.038535941392183304,
-0.07978780567646027,
-0.1976594179868698,
-0.23067881166934967,
-0.07252705097198486,
-0.0015493705868721008,
-0.015014594420790672,
-0.021138034760951996,
0.19853144884109497,
-0.005917221307754517,
-0.25636452436447144,
-0.026242591440677643,
-0.11971933394670486,
0.08359625190496445,
-0.1887124478816986,
-0.3257730305194855,
-0.11023961007595062,
-0.016024678945541382,
0.07088083773851395,
0.00676093902438879,
-0.5428433418273926,
0.076066754758358,
0.30345648527145386,
0.10149586200714111,
-0.0819886326789856,
0.4366680681705475,
0.10280612111091614,
-0.022639470174908638,
-0.17135092616081238,
0.09762484580278397,
-0.13317713141441345,
-0.15308593213558197,
-0.25087788701057434,
-0.2792595326900482
] |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | The pile can very easily be added and adapted using this [tfds implementation](https://github.com/EleutherAI/The-Pile/blob/master/the_pile/tfds_pile.py) from the repo.
However, the question is whether you'd be ok with 800GB+ cached in your local disk, since the tfds implementation was designed to offload the storage to Google Cloud Storage. | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
| 45 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
The pile can very easily be added and adapted using this [tfds implementation](https://github.com/EleutherAI/The-Pile/blob/master/the_pile/tfds_pile.py) from the repo.
However, the question is whether you'd be ok with 800GB+ cached in your local disk, since the tfds implementation was designed to offload the storage to Google Cloud Storage. | [
-0.30549636483192444,
0.06998592615127563,
-0.16041849553585052,
0.16122528910636902,
0.058335162699222565,
0.2056463360786438,
0.16649334132671356,
0.15289711952209473,
0.09870195388793945,
0.037991657853126526,
-0.20994709432125092,
-0.047400519251823425,
-0.5426980257034302,
0.11756306141614914,
0.19214282929897308,
0.01960693672299385,
0.016559883952140808,
-0.1210947334766388,
-0.12766574323177338,
-0.0019263140857219696,
0.09349021315574646,
0.07069380581378937,
0.18677447736263275,
-0.45211261510849,
-0.16692601144313812,
-0.05795108526945114,
-0.2515393793582916,
0.038795389235019684,
-0.0755198672413826,
-0.1017356812953949,
-0.2362290322780609,
0.08685806393623352,
0.3087846040725708,
0.6071378588676453,
-0.00010043329530162737,
-0.06959815323352814,
0.008737560361623764,
-0.22916772961616516,
-0.32813262939453125,
-0.0924977958202362,
0.022334247827529907,
-0.24489785730838776,
-0.3246685564517975,
-0.08215384185314178,
-0.2599289119243622,
-0.14949794113636017,
0.06839939951896667,
-0.46522292494773865,
0.07386766374111176,
0.29326972365379333,
0.28457292914390564,
0.07137323915958405,
-0.07947533577680588,
0.015527152456343174,
0.32481610774993896,
-0.026318766176700592,
-0.14824016392230988,
0.3343791961669922,
0.32957977056503296,
0.15831230580806732,
-0.1424904763698578,
0.4226371943950653,
0.274849534034729,
0.00032723136246204376,
0.2505563199520111,
0.08736418932676315,
-0.05787280946969986,
-0.05705775320529938,
-0.030590765178203583,
0.2280007302761078,
0.3887755870819092,
-0.21950003504753113,
-0.45675110816955566,
-0.37183666229248047,
-0.1433018296957016,
-0.4234696924686432,
-0.08505386859178543,
0.2680354416370392,
0.028477318584918976,
0.35899120569229126,
-0.04449934884905815,
-0.38197869062423706,
-0.09595350921154022,
0.07995669543743134,
-0.0777403861284256,
0.3094979524612427,
-0.04801880940794945,
-0.20496591925621033,
0.07198208570480347,
-0.08213292062282562,
-0.10877983272075653,
0.06080769747495651,
-0.012986738234758377,
0.04724010080099106,
-0.2522498071193695,
-0.25639140605926514,
0.27878832817077637,
0.23318371176719666,
0.37493696808815,
-0.10886746644973755,
0.08210858702659607,
0.08431661128997803,
0.03554066643118858,
-0.026323571801185608,
0.3399221897125244,
0.20414011180400848,
-0.39006105065345764,
-0.2537353038787842,
0.2743603587150574,
-0.0891915038228035,
-0.024911215528845787,
0.038172442466020584,
-0.010435400530695915,
-0.044663917273283005,
0.05241510644555092,
-0.17998284101486206,
-0.24251022934913635,
0.026372049003839493,
0.10798955708742142,
0.0000516427680850029,
0.34176528453826904,
-0.06099993735551834,
0.011981695890426636,
0.11200876533985138,
0.021910469979047775,
0.24585935473442078,
0.10147702693939209,
0.07015857100486755,
0.10304912179708481,
-0.38144737482070923,
-0.20738565921783447,
0.1403626948595047,
-0.3521866500377655,
0.05425368994474411,
0.14130215346813202,
-0.020738158375024796,
0.05820893496274948,
-0.33025309443473816,
0.16057932376861572,
0.3598947525024414,
0.23650959134101868,
-0.09152474999427795,
0.07237832248210907,
0.0284408051520586,
-0.056178826838731766,
-0.258919894695282,
-0.018611278384923935,
0.1120792031288147,
-0.343142569065094,
0.0673946887254715,
-0.031143732368946075,
-0.34379148483276367,
-0.36135873198509216,
0.22791124880313873,
-0.18457920849323273,
-0.0468105748295784,
-0.37561121582984924,
0.6113613247871399,
0.17054516077041626,
0.13022053241729736,
-0.03160453587770462,
0.06821564584970474,
-0.07857069373130798,
-0.023968515917658806,
0.012663712725043297,
0.26187843084335327,
-0.53438401222229,
-0.002672772854566574,
-0.4895245432853699,
0.12900985777378082,
-0.24068686366081238,
0.36165565252304077,
-0.08439979702234268,
0.023788992315530777,
-0.12998893857002258,
0.07614891231060028,
0.39663323760032654,
-0.015775470063090324,
-0.2992016077041626,
0.27682459354400635,
-0.1049596518278122,
-0.14169231057167053,
0.07218344509601593,
0.18463300168514252,
0.11404097825288773,
-0.0324721485376358,
0.23820993304252625,
0.4528154730796814,
-0.060471080243587494,
-0.0016310028731822968,
-0.40455788373947144,
-0.5051790475845337,
0.04011468589305878,
0.4231113791465759,
0.12658409774303436,
-0.18929505348205566,
0.23764005303382874,
0.0895424634218216,
0.054540492594242096,
-0.04216545447707176,
0.19658415019512177,
0.021557500585913658,
0.28857186436653137,
0.1429423987865448,
-0.029141487553715706,
-0.3155580461025238,
-0.5878369808197021,
0.13033059239387512,
-0.07994160801172256,
0.2485729306936264,
-0.01782643049955368,
-0.21652603149414062,
0.1982436180114746,
-0.11490403115749359,
0.20458033680915833,
0.03191865235567093,
0.2385396659374237,
0.06549578160047531,
0.18398989737033844,
-0.15924660861492157,
-0.19788391888141632,
-0.09963061660528183,
0.00964636541903019,
-0.22456926107406616,
-0.13091853260993958,
0.06937377154827118,
-0.1822371929883957,
-0.18544036149978638,
-0.007661759853363037,
0.03890368342399597,
-0.5003730058670044,
-0.20845049619674683,
0.08602964878082275,
0.24115827679634094,
-0.26721370220184326,
0.017449624836444855,
0.22145718336105347,
0.6760435700416565,
0.2526572346687317,
-0.034211281687021255,
0.20822221040725708,
-0.03027932345867157,
-0.0804123654961586,
0.03269157558679581,
-0.2683693468570709,
0.2687631845474243,
0.283539742231369,
-0.10742508620023727,
0.14301101863384247,
-0.15960641205310822,
0.23925426602363586,
0.05504462495446205,
0.044190824031829834,
-0.32801926136016846,
0.22631247341632843,
0.02501830644905567,
0.2887696325778961,
0.02755082957446575,
-0.3536761999130249,
0.2340220808982849,
0.3536359667778015,
0.15282954275608063,
0.29868361353874207,
0.33782967925071716,
-0.054735757410526276,
-0.37342676520347595,
0.1202702671289444,
-0.21804484724998474,
0.3336069583892822,
0.3641212284564972,
0.2784280478954315,
0.039790865033864975,
0.21828241646289825,
-0.1479758769273758,
0.019507907330989838,
-0.1615651547908783,
-0.02755565568804741,
0.2779075801372528,
0.457432359457016,
0.031887564808130264,
-0.24734744429588318,
-0.16940921545028687,
-0.030308034271001816,
0.16594497859477997,
0.0831666886806488,
-0.023198802024126053,
-0.06866690516471863,
-0.14998942613601685,
0.18268094956874847,
0.1798737347126007,
-0.27609503269195557,
-0.08449605852365494,
0.25086942315101624,
-0.008102763444185257,
-0.30048900842666626,
-0.05545274168252945,
-0.038051143288612366,
0.5070265531539917,
0.016448194161057472,
-0.01959768868982792,
-0.00830838829278946,
-0.3167683184146881,
-0.13739058375358582,
0.23865801095962524,
0.37098655104637146,
-0.30096137523651123,
0.3809199333190918,
0.020106567069888115,
0.0053940098732709885,
-0.1210007593035698,
-0.32626020908355713,
0.23346970975399017,
-0.03030635416507721,
0.30702176690101624,
0.05832812935113907,
0.12415938824415207,
0.1514715850353241,
0.08208806067705154,
-0.14390352368354797,
-0.2824913561344147,
-0.03578345850110054,
-0.2636391222476959,
0.11827891319990158,
0.0336226187646389,
-0.36323222517967224,
-0.23564809560775757,
-0.5376785397529602,
-0.4607844054698944,
0.2093791514635086,
0.15171974897384644,
0.09350265562534332,
-0.011470547877252102,
0.15784400701522827,
0.27682796120643616,
0.2536296844482422,
0.015003189444541931,
-0.25173303484916687,
-0.38742730021476746,
0.3524135947227478,
-0.22712725400924683,
-0.23348315060138702,
-0.005417268723249435,
-0.12511137127876282,
-0.050419192761182785,
0.19017362594604492,
-0.6092802286148071,
-0.10031819343566895,
-0.12454615533351898,
0.23177406191825867,
-0.05535239726305008,
0.021453190594911575,
0.2684256434440613,
-0.06603114306926727,
-0.20081926882266998,
-0.03310008347034454,
0.008980836719274521,
0.24271345138549805,
0.3633562922477722,
0.21990087628364563,
-0.11621864885091782,
0.2175288200378418,
0.2947782278060913,
0.4891129732131958,
-0.2678930461406708,
-0.25193244218826294,
0.40208131074905396,
0.3352091610431671,
0.2886543273925781,
-0.29380661249160767,
0.12234288454055786,
0.29245495796203613,
0.09164276719093323,
-0.20988298952579498,
0.61404949426651,
0.22620990872383118,
-0.40918248891830444,
-0.0378628633916378,
0.06580698490142822,
0.08754583448171616,
-0.07008082419633865,
0.3082033395767212,
-0.14082656800746918,
0.1322070062160492,
-0.028132859617471695,
-0.5833311080932617,
-0.26491591334342957,
-0.24992287158966064,
-0.013789212331175804,
0.1876521110534668,
0.06876914203166962,
0.12641377747058868,
-0.08548709750175476,
0.3438864052295685,
-0.3455129563808441,
0.13235022127628326,
0.01599867269396782,
-0.12273819744586945,
-0.2380903959274292,
-0.1587122082710266,
-0.10479792952537537,
-0.17112092673778534,
0.34155428409576416,
-0.31853511929512024,
-0.11553765833377838,
0.03275686129927635,
0.23256340622901917,
-0.048983510583639145,
-0.013670945540070534,
-0.2610037326812744,
-0.22468650341033936,
0.40298107266426086,
0.5296343564987183,
-0.38320550322532654,
0.034012261778116226,
-0.04294023662805557,
0.3307130038738251,
-0.10174833238124847,
-0.23096422851085663,
-0.11902923882007599,
-0.2533491253852844,
-0.18621496856212616,
0.17798370122909546,
0.2870963215827942,
-0.012678413651883602,
0.19652727246284485,
0.16091352701187134,
0.12868833541870117,
-0.020833216607570648,
0.15679584443569183,
-0.004818800836801529,
0.12331191450357437,
0.13870276510715485,
-0.1354105919599533,
-0.2249891757965088,
0.24435803294181824,
0.13037872314453125,
0.3796401023864746,
-0.12979702651500702,
0.1473892480134964,
0.19889166951179504,
-0.33975642919540405,
-0.003741025924682617,
0.2533743381500244,
0.07392363995313644,
0.11502440273761749,
-0.22852826118469238,
0.25166332721710205,
-0.20665769279003143,
0.35218510031700134,
-0.1946515440940857,
0.06840462982654572,
-0.26215723156929016,
-0.26078706979751587,
0.35087287425994873,
0.03766527399420738,
0.06560374796390533,
0.18091391026973724,
-0.10792623460292816,
-0.5786867737770081,
0.41005730628967285,
0.18368136882781982,
0.9564602971076965,
-0.13326755166053772,
0.34867626428604126,
-0.1356177031993866,
0.13296405971050262,
0.3100842833518982,
-0.4754398465156555,
0.033193085342645645,
0.100534588098526,
-0.10233229398727417,
0.060676731169223785,
0.09241883456707001,
-0.007769308984279633,
0.4886508584022522,
-0.2206028699874878,
0.10951423645019531,
-0.15058574080467224,
-0.08774614334106445,
0.005705706775188446,
0.5700281858444214,
-0.003949904814362526,
-0.28184470534324646,
-0.28811925649642944,
0.33342164754867554,
0.019551150500774384,
-0.1422273814678192,
-0.2530401051044464,
-0.12526218593120575,
-0.0284563135355711,
0.2278013676404953,
-0.43629980087280273,
-0.1414026916027069,
-0.1020912453532219,
0.13765785098075867,
-0.14833196997642517,
-0.1609145700931549,
0.12763141095638275,
-0.0775422602891922,
0.26716822385787964,
0.25408071279525757,
-0.20239242911338806,
-0.034013476222753525,
-0.0697053000330925,
0.011488708667457104,
0.19464869797229767,
-0.01686079055070877,
0.4102244973182678,
-0.17213782668113708,
-0.03131692111492157,
0.019124168902635574,
0.05559432506561279,
-0.48592954874038696,
-0.1235736533999443,
-0.15892335772514343,
-0.02697829157114029,
0.1921117603778839,
-0.19677026569843292,
0.24761700630187988,
-0.2998567819595337,
0.007870577275753021,
0.22874557971954346,
0.17894142866134644,
-0.05796939507126808,
0.05367488041520119,
-0.016571011394262314,
-0.12262789160013199,
-0.29018348455429077,
0.08061175048351288,
0.14696863293647766,
-0.04485120624303818,
0.06971143931150436,
0.41470837593078613,
-0.18792958557605743,
-0.34274986386299133,
-0.2588159739971161,
-0.06837665289640427,
-0.08410109579563141,
0.21285992860794067,
0.10635709762573242,
-0.28421449661254883,
-0.1736707091331482,
-0.1278042495250702,
0.4878833293914795,
0.14432552456855774,
-0.015056636184453964,
0.01254204660654068,
-0.358405739068985,
0.09621946513652802,
0.04391147568821907,
0.21520870923995972,
-0.20827224850654602,
-0.021010197699069977,
0.0988941565155983,
0.17078664898872375,
-0.49132853746414185,
0.03730905055999756,
-0.13119898736476898,
0.13063526153564453,
-0.049190692603588104,
-0.11894287914037704,
0.17154856026172638,
-0.014053864404559135,
0.12181025743484497,
-0.029335390776395798,
-0.24402278661727905,
-0.32424938678741455,
-0.04936341941356659,
0.04771488904953003,
0.20570319890975952,
-0.08651891350746155,
0.22693870961666107,
-0.12222899496555328,
-0.16216574609279633,
-0.07077033817768097,
0.2802376449108124,
-0.017599470913410187,
-0.024419918656349182,
-0.04704893007874489,
0.27365365624427795,
-0.05628915876150131,
0.2223464399576187,
0.0667046457529068,
0.21543370187282562,
0.060224391520023346,
0.1073818951845169,
0.2274557650089264,
0.3288936913013458,
-0.07912112772464752,
-0.10176372528076172,
0.27050507068634033,
0.03720987215638161,
0.252008318901062,
0.08311846852302551,
0.02026863396167755,
-0.07962074130773544,
0.3269740343093872,
0.29552093148231506,
-0.11216342449188232,
-0.15108436346054077,
-0.07404933869838715,
0.25726908445358276,
0.3584207594394684,
-0.3802067041397095,
-0.01759662665426731,
-0.03260644152760506,
-0.02057277038693428,
0.30323368310928345,
0.2015850991010666,
0.3765600025653839,
0.28345009684562683,
-0.1388188749551773,
0.21283230185508728,
0.25182563066482544,
-0.08281993120908737,
0.09601756930351257,
-0.1193469911813736,
0.07163755595684052,
0.08774621784687042,
0.14532573521137238,
0.09482824802398682,
0.24148443341255188,
-0.0838295966386795,
-0.0961918756365776,
0.10772772878408432,
0.16844651103019714,
-0.0799635648727417,
-0.026788540184497833,
-0.28199926018714905,
0.05095081031322479,
0.34465721249580383,
0.3080426752567291,
0.41713806986808777,
-0.12557564675807953,
0.11186240613460541,
0.08436153084039688,
-0.14555969834327698,
0.01508566178381443,
0.047188740223646164,
-0.04154340922832489,
-0.1534627079963684,
0.3584347069263458,
-0.13297267258167267,
-0.22132180631160736,
0.197309672832489,
-0.12275882065296173,
-0.2807616591453552,
-0.15095877647399902,
0.11849623918533325,
0.118697389960289,
-0.18194839358329773,
0.17908430099487305,
0.09028208255767822,
0.10498834401369095,
-0.12729646265506744,
0.3646610677242279,
0.20695310831069946,
-0.07271896302700043,
0.06990238279104233,
0.08957666158676147,
-0.045763906091451645,
0.19382013380527496,
-0.17623238265514374,
0.23859713971614838,
-0.07663042843341827,
0.07490888983011246,
-0.47820210456848145,
0.14292027056217194,
0.09599833190441132,
0.041334088891744614,
0.24205531179904938,
0.1821167916059494,
-0.3164461851119995,
0.4032776951789856,
-0.06596113741397858,
-0.04392480105161667,
-0.16477592289447784,
0.18124032020568848,
0.18709003925323486,
-0.14190807938575745,
-0.1560181975364685,
0.14507421851158142,
-0.6401207447052002,
-0.20029860734939575,
0.6081374883651733,
-0.40788179636001587,
0.14531689882278442,
-0.14634890854358673,
0.153732031583786,
-0.09973539412021637,
0.612895131111145,
0.46548086404800415,
0.1116485446691513,
-0.008595478720963001,
-0.07317395508289337,
-0.4749075174331665,
0.1111094281077385,
-0.17303283512592316,
0.34950733184814453,
-0.2958161234855652,
0.5248236656188965,
0.1997130662202835,
0.17496222257614136,
-0.19541235268115997,
0.2283547967672348,
-0.413335919380188,
0.012483630329370499,
-0.429238885641098,
0.15789343416690826,
-0.2818537950515747,
0.47805795073509216,
0.16795562207698822,
-0.18546465039253235,
0.015809617936611176,
0.017166536301374435,
0.1792793869972229,
-0.3698546290397644,
0.06245119869709015,
0.04492628946900368,
0.2174944430589676,
0.28620201349258423,
-0.062105342745780945,
0.1056591123342514,
-0.09766243398189545,
-0.27745380997657776,
-0.46454137563705444,
-0.027355743572115898,
-0.27378201484680176,
-0.06678595393896103,
0.0582764632999897,
0.2316473126411438,
-0.2983384132385254,
-0.14063745737075806,
0.0025610753800719976,
0.16817086935043335,
-0.06445547938346863,
-0.07055516541004181,
-0.025632737204432487,
-0.09013672173023224,
0.022622279822826385,
-0.02772694267332554,
0.04795728996396065,
0.31230172514915466,
-0.039427950978279114,
-0.16713909804821014,
-0.2133655846118927,
-0.12239447236061096,
0.09562887996435165,
-0.10321865230798721,
-0.2685498297214508,
0.0022964137606322765,
-0.0024155154824256897,
0.21398445963859558,
-0.16770704090595245,
-0.5281785130500793,
0.12576034665107727,
0.2320609837770462,
0.10989592969417572,
-0.08733967691659927,
0.33719632029533386,
0.0825013518333435,
-0.11931805312633514,
-0.1614411324262619,
-0.016558974981307983,
-0.06369779258966446,
-0.09042375534772873,
-0.36492496728897095,
-0.26985397934913635
] |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | With the dataset streaming feature (see #2375) it will be more convenient to play with such big datasets :)
I'm currently adding C4 (see #2511 ) but I can probably start working on this afterwards | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
| 35 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
With the dataset streaming feature (see #2375) it will be more convenient to play with such big datasets :)
I'm currently adding C4 (see #2511 ) but I can probably start working on this afterwards | [
-0.40983325242996216,
0.1263113170862198,
-0.16244110465049744,
0.15567907691001892,
0.01711113005876541,
0.17151468992233276,
0.08797807991504669,
0.273904025554657,
0.011104017496109009,
0.019485101103782654,
-0.157459557056427,
0.14085663855075836,
-0.522686243057251,
0.19262947142124176,
0.16641612350940704,
-0.0006092041730880737,
-0.022724784910678864,
-0.05481100082397461,
-0.1018027663230896,
-0.028394320979714394,
-0.04255904629826546,
-0.050599150359630585,
0.023018725216388702,
-0.43053966760635376,
-0.21519002318382263,
-0.11030269414186478,
-0.1426185816526413,
-0.011051341891288757,
-0.30418863892555237,
-0.24186086654663086,
-0.26966458559036255,
0.14718486368656158,
0.4014953076839447,
0.5093922019004822,
-0.00009923090692609549,
-0.1877330243587494,
0.18374644219875336,
-0.18238699436187744,
-0.3778301179409027,
-0.14051438868045807,
-0.057962216436862946,
-0.3062311112880707,
-0.2828385829925537,
-0.036258380860090256,
-0.21384921669960022,
-0.14904865622520447,
0.11657349020242691,
-0.4075603187084198,
0.08371436595916748,
0.35223913192749023,
0.2853195369243622,
0.12923063337802887,
0.028258252888917923,
-0.11875639110803604,
0.34489625692367554,
-0.03721743822097778,
-0.14115922152996063,
0.21658965945243835,
0.36091023683547974,
0.19328492879867554,
-0.134996235370636,
0.4231761693954468,
0.39954888820648193,
-0.13639885187149048,
0.20033743977546692,
-0.013778402470052242,
-0.01376381516456604,
-0.11847831308841705,
-0.0939948633313179,
0.3289186358451843,
0.3396665155887604,
-0.19993460178375244,
-0.4169473350048065,
-0.3320513069629669,
0.0004096132470294833,
-0.48618751764297485,
-0.18641021847724915,
0.28023475408554077,
0.013002267107367516,
0.2654019296169281,
0.01184960175305605,
-0.28913354873657227,
-0.10230287909507751,
0.21598513424396515,
0.026410631835460663,
0.285224974155426,
-0.09167858213186264,
-0.18147724866867065,
0.18472041189670563,
-0.0452432855963707,
-0.16850212216377258,
0.06201135367155075,
-0.07015068829059601,
0.01693793199956417,
-0.34137821197509766,
-0.20530231297016144,
0.38156864047050476,
0.34797394275665283,
0.40294888615608215,
-0.20131942629814148,
-0.0007640505209565163,
0.09003237634897232,
0.00767569150775671,
-0.03633163124322891,
0.4183679223060608,
0.022852957248687744,
-0.2576277256011963,
-0.24299858510494232,
0.31626707315444946,
0.06151926890015602,
0.08455006778240204,
0.07801850140094757,
-0.0812593549489975,
-0.10915766656398773,
-0.15461640059947968,
-0.10373885184526443,
-0.1311766803264618,
0.1341690719127655,
0.02499658800661564,
-0.011035709641873837,
0.24734705686569214,
-0.040634509176015854,
-0.013262727297842503,
0.10605696588754654,
-0.013258594088256359,
0.2237423062324524,
0.04622103273868561,
0.17908208072185516,
0.16459159553050995,
-0.5682690739631653,
-0.218208909034729,
0.10969117283821106,
-0.4494863748550415,
-0.058235980570316315,
0.17463208734989166,
-0.09663110971450806,
0.09796620905399323,
-0.09381548315286636,
0.21538512408733368,
0.25568023324012756,
0.154184490442276,
-0.03211105987429619,
0.08671195060014725,
-0.020719196647405624,
-0.07395601272583008,
-0.21910692751407623,
0.024526752531528473,
-0.02034418284893036,
-0.27717745304107666,
0.06208779662847519,
0.008938051760196686,
-0.23644518852233887,
-0.3791472613811493,
0.24828778207302094,
-0.10520850867033005,
0.06479095667600632,
-0.39752963185310364,
0.6843155026435852,
-0.0518118217587471,
0.23032626509666443,
0.029815196990966797,
-0.07209685444831848,
0.126839742064476,
0.009460851550102234,
0.05430786311626434,
0.18600627779960632,
-0.5823351740837097,
-0.0688423365354538,
-0.6220443248748779,
0.1332651823759079,
-0.04830292612314224,
0.23295702040195465,
-0.11529608070850372,
0.0331348218023777,
-0.10266593843698502,
-0.0032313093543052673,
0.5506242513656616,
0.0903274267911911,
-0.18966810405254364,
0.17845198512077332,
-0.09434892982244492,
-0.06667904555797577,
0.036030419170856476,
0.16635170578956604,
0.17890167236328125,
-0.027667243033647537,
0.21251700818538666,
0.38312941789627075,
-0.13188157975673676,
-0.04584100842475891,
-0.27734190225601196,
-0.34929394721984863,
0.006504043936729431,
0.4455781579017639,
0.09559394419193268,
-0.3235458731651306,
0.21164876222610474,
0.07900480180978775,
0.20114296674728394,
-0.038786184042692184,
0.16624857485294342,
-0.0941343605518341,
0.322888046503067,
0.09410267323255539,
-0.0326915942132473,
-0.2544547915458679,
-0.4213961660861969,
0.012930717319250107,
0.06644462049007416,
0.3924236297607422,
0.0327237993478775,
-0.20075757801532745,
0.11769699305295944,
-0.03245338052511215,
0.07450662553310394,
-0.061040837317705154,
0.2477748990058899,
0.04496675729751587,
0.011675454676151276,
-0.16995769739151,
-0.23750177025794983,
-0.022422106936573982,
-0.08950875699520111,
-0.13907216489315033,
-0.20419661700725555,
-0.02771555446088314,
-0.21137583255767822,
-0.18658702075481415,
0.09919337928295135,
0.20346501469612122,
-0.39316466450691223,
-0.143876850605011,
0.15428930521011353,
0.15646877884864807,
-0.09952177107334137,
-0.1483728140592575,
0.17391133308410645,
0.5899361968040466,
0.28772664070129395,
-0.13120311498641968,
0.2223948836326599,
-0.09661233425140381,
-0.05491859093308449,
0.052366748452186584,
-0.16573113203048706,
0.34575051069259644,
0.2843393087387085,
-0.0630706176161766,
0.15016146004199982,
-0.12991178035736084,
0.21658115088939667,
0.04040128365159035,
0.011162325739860535,
-0.32153430581092834,
0.26261642575263977,
0.01792812906205654,
0.23611126840114594,
-0.028416426852345467,
-0.3789528012275696,
0.16936944425106049,
0.38044875860214233,
0.1784755289554596,
0.22265708446502686,
0.2837970554828644,
-0.20517128705978394,
-0.2857944071292877,
0.041163504123687744,
-0.2445850670337677,
0.17519742250442505,
0.42540305852890015,
0.2662837505340576,
0.09397120028734207,
0.19091103971004486,
-0.1473923623561859,
0.0472894087433815,
-0.041579797863960266,
-0.014236373826861382,
0.2097347378730774,
0.3988667130470276,
-0.011770865879952908,
-0.305968314409256,
-0.27966931462287903,
-0.0838693305850029,
0.17025934159755707,
0.1257222294807434,
-0.10053645074367523,
-0.021495725959539413,
-0.11163946986198425,
0.10457941144704819,
0.031219959259033203,
-0.2022457867860794,
-0.1765327900648117,
0.18871080875396729,
-0.0844263881444931,
-0.2668890953063965,
0.020709509029984474,
-0.16011129319667816,
0.4609530568122864,
0.02698519639670849,
0.19901126623153687,
0.046248361468315125,
-0.26856982707977295,
-0.10236964374780655,
0.2859627604484558,
0.2906583249568939,
-0.25651201605796814,
0.30593541264533997,
0.05078420042991638,
0.197511225938797,
-0.10869046300649643,
-0.5585720539093018,
0.2651887536048889,
-0.07126105576753616,
0.3164295256137848,
0.20040106773376465,
0.0077920034527778625,
0.19003596901893616,
-0.058164410293102264,
-0.14728116989135742,
-0.20704622566699982,
-0.019379964098334312,
-0.15329204499721527,
-0.041522204875946045,
0.030775053426623344,
-0.25171932578086853,
-0.33987048268318176,
-0.4018905758857727,
-0.5428557991981506,
0.2682359516620636,
0.07105578482151031,
0.07202774286270142,
-0.004570424556732178,
0.14883720874786377,
0.3448062837123871,
0.027082785964012146,
0.056658387184143066,
-0.1289210021495819,
-0.3212640881538391,
0.32120653986930847,
-0.14931100606918335,
-0.2402818351984024,
-0.07659347355365753,
-0.20670461654663086,
-0.023875419050455093,
0.0814591646194458,
-0.50199955701828,
0.15973107516765594,
-0.11526794731616974,
0.22504258155822754,
0.029829608276486397,
0.0394679456949234,
0.1675281524658203,
-0.022097356617450714,
-0.2421857863664627,
-0.07921573519706726,
0.04734985902905464,
0.11142849177122116,
0.35751813650131226,
0.3309480845928192,
-0.24471160769462585,
0.2910518944263458,
0.2060321718454361,
0.3839903473854065,
-0.04269911348819733,
-0.2878245711326599,
0.4063211977481842,
0.3795241117477417,
0.3640137314796448,
-0.2093788981437683,
-0.0007667168974876404,
0.2635857164859772,
0.08078116178512573,
-0.09666725248098373,
0.648715615272522,
0.16011524200439453,
-0.4226081669330597,
0.03556860238313675,
0.09235027432441711,
0.028051823377609253,
-0.10930868983268738,
0.3098241984844208,
-0.15673433244228363,
0.03729581832885742,
-0.10656909644603729,
-0.5659017562866211,
-0.20808252692222595,
-0.2272188365459442,
-0.06680580973625183,
0.24329206347465515,
0.015442930161952972,
0.03775418922305107,
-0.16471804678440094,
0.29618513584136963,
-0.30025961995124817,
0.15786077082157135,
-0.08416403830051422,
-0.0066452594473958015,
-0.101378433406353,
-0.2576542794704437,
-0.18322302401065826,
-0.0373368002474308,
0.43018579483032227,
-0.3462506830692291,
-0.21667520701885223,
0.05076870694756508,
0.3493841588497162,
-0.11204170435667038,
0.060422416776418686,
-0.4069741666316986,
-0.20594090223312378,
0.6046826243400574,
0.46751561760902405,
-0.30341485142707825,
0.027869682759046555,
0.13164424896240234,
0.26179811358451843,
0.11106409132480621,
-0.21283860504627228,
-0.17551492154598236,
-0.14781779050827026,
-0.1704755574464798,
0.17621587216854095,
0.2725250720977783,
-0.002776422770693898,
0.07472479343414307,
0.06047484651207924,
0.1321129947900772,
-0.03999382257461548,
0.23894335329532623,
0.04175671935081482,
0.01860751397907734,
0.22616879642009735,
-0.08781836926937103,
-0.14459028840065002,
0.3352923095226288,
0.2573811411857605,
0.3048608601093292,
-0.1247100979089737,
-0.15249349176883698,
0.15391311049461365,
-0.372753381729126,
0.28538239002227783,
0.17429538071155548,
0.13679669797420502,
0.18445298075675964,
-0.2605433762073517,
0.2182883471250534,
-0.1256580948829651,
0.4825088083744049,
-0.06106637418270111,
0.09992646425962448,
-0.4868611693382263,
-0.2704683542251587,
0.31528326869010925,
-0.06563073396682739,
0.07665407657623291,
0.25141578912734985,
-0.032172076404094696,
-0.4504584074020386,
0.2987644672393799,
-0.028412088751792908,
0.9278072714805603,
-0.005363672971725464,
0.2693900465965271,
-0.20896795392036438,
0.09721416234970093,
0.31747081875801086,
-0.4739413261413574,
0.05793790519237518,
0.049692776054143906,
-0.14792396128177643,
0.07443737983703613,
0.0002513788640499115,
0.06233203038573265,
0.4972250461578369,
-0.2921583354473114,
0.06210235133767128,
-0.1469140648841858,
-0.17459429800510406,
-0.015954317525029182,
0.5426498055458069,
-0.04611454904079437,
-0.24454709887504578,
-0.3036298453807831,
0.312899649143219,
-0.008783802390098572,
-0.1782374531030655,
-0.22757616639137268,
-0.21711668372154236,
-0.027697576209902763,
0.10866555571556091,
-0.3882676362991333,
0.029907289892435074,
-0.17457075417041779,
0.01703646034002304,
-0.03961743041872978,
-0.15599295496940613,
0.3619064390659332,
-0.08592632412910461,
0.21054570376873016,
0.28439861536026,
-0.1356957107782364,
0.05902460217475891,
-0.054257795214653015,
-0.0351906344294548,
0.23858952522277832,
-0.06661127507686615,
0.3549986183643341,
-0.07173196971416473,
-0.10684453696012497,
0.1439715027809143,
0.14124487340450287,
-0.4076225161552429,
-0.06387852877378464,
-0.12376803159713745,
0.09536195546388626,
0.18013276159763336,
-0.17633631825447083,
0.2990341782569885,
-0.2307695597410202,
-0.15593799948692322,
0.24346710741519928,
0.15245011448860168,
-0.12377412617206573,
0.05622212216258049,
0.12810158729553223,
-0.15169715881347656,
-0.254013329744339,
0.0688447579741478,
0.010480284690856934,
-0.06954871863126755,
0.05413394421339035,
0.5405292510986328,
-0.2351928949356079,
-0.3617611527442932,
-0.14629410207271576,
0.1553828865289688,
-0.1333182156085968,
0.1562723070383072,
0.12093979865312576,
-0.22164104878902435,
-0.04384526237845421,
-0.004107903689146042,
0.3809804320335388,
0.014676127582788467,
0.01832703873515129,
-0.03936454653739929,
-0.2908755838871002,
0.09855711460113525,
-0.067514568567276,
0.22889591753482819,
-0.2520006597042084,
0.039372846484184265,
0.04278213530778885,
0.24264584481716156,
-0.49672213196754456,
-0.021715551614761353,
-0.12450958788394928,
0.19229458272457123,
0.008923040702939034,
-0.14707428216934204,
0.10248707979917526,
0.016069207340478897,
0.16194096207618713,
-0.10623583197593689,
-0.2696927487850189,
-0.3490368127822876,
-0.11251632869243622,
0.04418233036994934,
0.17690622806549072,
-0.032248735427856445,
0.2614038288593292,
-0.0853857547044754,
-0.2715209424495697,
-0.10994847118854523,
0.28706005215644836,
-0.20803800225257874,
0.05094960704445839,
0.04377185180783272,
0.32960233092308044,
-0.12646973133087158,
0.310932457447052,
-0.04496578127145767,
0.26046887040138245,
0.10113021731376648,
0.17845018208026886,
0.12438599020242691,
0.3225095272064209,
-0.10567672550678253,
-0.05662569776177406,
0.330628901720047,
0.04243025928735733,
0.2917287051677704,
0.07951964437961578,
0.0630711242556572,
-0.0454288050532341,
0.3690238296985626,
0.23227933049201965,
-0.04187387228012085,
-0.08019083738327026,
-0.06353912502527237,
0.22899392247200012,
0.3526459336280823,
-0.4441505968570709,
0.026141399517655373,
-0.00035482272505760193,
0.0660303607583046,
0.3163892924785614,
0.07545415312051773,
0.20488640666007996,
0.30348724126815796,
-0.21932534873485565,
0.10525526851415634,
0.1245335042476654,
-0.06667723506689072,
0.25585904717445374,
0.010192576795816422,
0.07780995965003967,
0.08342619985342026,
0.25370290875434875,
0.10965661704540253,
0.2113310545682907,
0.02064787596464157,
-0.15598487854003906,
0.21743574738502502,
0.24943184852600098,
-0.12174181640148163,
0.19841396808624268,
-0.2705114185810089,
0.014289766550064087,
0.44084179401397705,
0.23049713671207428,
0.33485400676727295,
-0.02808128297328949,
0.15817342698574066,
0.19116342067718506,
-0.024297276511788368,
-0.07474196702241898,
-0.01051931083202362,
-0.03250031918287277,
-0.1061253696680069,
0.2486441433429718,
-0.24321848154067993,
-0.27278053760528564,
0.03051309660077095,
-0.16036900877952576,
-0.15901325643062592,
-0.0842064768075943,
0.12487274408340454,
0.09604359418153763,
-0.3879925608634949,
0.15269052982330322,
0.0539044588804245,
0.07142530381679535,
-0.19148141145706177,
0.2814961373806,
0.17225123941898346,
-0.03726927191019058,
0.09744638204574585,
0.06371837109327316,
-0.0154830701649189,
0.19453921914100647,
-0.1336381882429123,
0.1822952926158905,
-0.06144160404801369,
-0.042213961482048035,
-0.4361591041088104,
0.18467497825622559,
0.21098311245441437,
0.12667429447174072,
0.18638718128204346,
0.20630396902561188,
-0.34608399868011475,
0.1753542423248291,
-0.03211824968457222,
-0.11299365758895874,
-0.1564689576625824,
0.26382458209991455,
0.09768477082252502,
-0.18630176782608032,
-0.26441434025764465,
0.16081494092941284,
-0.6029192209243774,
-0.13016177713871002,
0.7552984952926636,
-0.41303306818008423,
0.0005650576204061508,
-0.2642826437950134,
0.157283216714859,
-0.16250284016132355,
0.517812967300415,
0.48935192823410034,
0.16268348693847656,
-0.03361203521490097,
-0.19654645025730133,
-0.41628900170326233,
0.11850860714912415,
-0.15161669254302979,
0.30293217301368713,
-0.2053784430027008,
0.40955913066864014,
0.28929808735847473,
0.20666615664958954,
-0.10664379596710205,
0.236636683344841,
-0.3802984952926636,
-0.07137005031108856,
-0.4423668086528778,
0.08585602045059204,
-0.14627932012081146,
0.4189070165157318,
0.09466048330068588,
-0.12322764843702316,
0.020378030836582184,
0.01843351498246193,
0.18695470690727234,
-0.45013898611068726,
0.07162776589393616,
0.08965654671192169,
0.20319607853889465,
0.29268327355384827,
-0.04685686528682709,
0.18304702639579773,
-0.16314861178398132,
-0.2863173484802246,
-0.4637684226036072,
-0.10181980580091476,
-0.22867995500564575,
-0.002914518117904663,
0.04602530598640442,
0.26990434527397156,
-0.2357538640499115,
-0.07784001529216766,
0.007700955029577017,
0.09376440197229385,
-0.07573097199201584,
-0.11776949465274811,
-0.15929889678955078,
-0.048414453864097595,
-0.02418113872408867,
-0.020182447507977486,
-0.030932549387216568,
0.23834702372550964,
-0.015358150005340576,
-0.2196117490530014,
-0.04136188328266144,
-0.20708182454109192,
0.1371309459209442,
-0.1975242793560028,
-0.36897051334381104,
-0.1258334368467331,
0.056320782750844955,
0.09223119914531708,
-0.03581984341144562,
-0.5341688990592957,
0.153190016746521,
0.2678014934062958,
0.1322009563446045,
-0.12330447137355804,
0.41662558913230896,
0.08480353653430939,
-0.055964939296245575,
-0.167246013879776,
0.17956694960594177,
-0.028002630919218063,
-0.12602010369300842,
-0.31966984272003174,
-0.31763988733291626
] |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too! | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
| 47 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too! | [
-0.2462543398141861,
0.17857030034065247,
-0.10752712190151215,
0.20753328502178192,
-0.06281872093677521,
0.24989911913871765,
0.15014365315437317,
0.18070285022258759,
0.10750536620616913,
-0.0014593377709388733,
-0.34547173976898193,
0.09751639515161514,
-0.47461605072021484,
0.2544945478439331,
0.19285617768764496,
-0.06523948907852173,
-0.032202206552028656,
-0.20718511939048767,
-0.13703098893165588,
-0.14940984547138214,
-0.060658425092697144,
-0.059810467064380646,
0.028213083744049072,
-0.3862364888191223,
-0.17230354249477386,
0.004146022722125053,
-0.3139382302761078,
0.07422976195812225,
-0.3200516700744629,
-0.11774090677499771,
-0.12735529243946075,
0.1806446760892868,
0.4322117269039154,
0.5957205295562744,
-0.00010316715633962303,
-0.1962910145521164,
0.024265196174383163,
-0.17369131743907928,
-0.33335426449775696,
-0.18576298654079437,
-0.003519870340824127,
-0.34404292702674866,
-0.46539199352264404,
0.06849085539579391,
-0.11775276809930801,
-0.2050122767686844,
0.12677155435085297,
-0.35349735617637634,
-0.09138841927051544,
0.15211811661720276,
0.22414518892765045,
0.14978347718715668,
0.054117459803819656,
-0.16070885956287384,
0.44858354330062866,
0.14924189448356628,
-0.13031530380249023,
0.27364540100097656,
0.30253174901008606,
0.041326358914375305,
-0.04101560264825821,
0.3837418258190155,
0.42806342244148254,
-0.19552458822727203,
0.2748349606990814,
-0.0034524155780673027,
-0.03805329650640488,
-0.1331811100244522,
-0.15618571639060974,
0.3036521375179291,
0.38895586133003235,
-0.10518937557935715,
-0.48763924837112427,
-0.34639838337898254,
-0.10798735916614532,
-0.31599661707878113,
-0.25765615701675415,
0.41208869218826294,
0.06788639724254608,
0.24845454096794128,
0.1746351420879364,
-0.3019079566001892,
-0.11862467974424362,
0.23907999694347382,
-0.04459087550640106,
0.3197976350784302,
-0.04088909924030304,
-0.13560888171195984,
0.19421067833900452,
-0.003950905054807663,
-0.060559775680303574,
-0.08251386135816574,
-0.10603408515453339,
0.10612868517637253,
-0.2617446780204773,
-0.19709277153015137,
0.33981505036354065,
0.36021021008491516,
0.47322893142700195,
-0.34387892484664917,
-0.16717760264873505,
0.008010867983102798,
-0.14772392809391022,
-0.06487052142620087,
0.5987271666526794,
-0.04233378916978836,
-0.3046989440917969,
-0.21907386183738708,
0.2182769775390625,
0.04774029925465584,
0.16072340309619904,
0.04478663578629494,
-0.09939751029014587,
-0.03484354540705681,
-0.21748845279216766,
-0.26025503873825073,
-0.12368368357419968,
-0.055564723908901215,
0.051926106214523315,
-0.11721567064523697,
0.19946584105491638,
-0.13820232450962067,
-0.05063234642148018,
0.11086820065975189,
0.12733827531337738,
0.2053898274898529,
-0.019200701266527176,
0.2568579614162445,
0.12172510474920273,
-0.4795179069042206,
-0.1827811896800995,
0.1189998984336853,
-0.4479355216026306,
-0.1070011630654335,
0.10148961842060089,
-0.15347471833229065,
-0.058807626366615295,
-0.0950971320271492,
0.29308781027793884,
0.3704676330089569,
0.10022682696580887,
0.00003921613097190857,
0.18050070106983185,
0.07455606758594513,
-0.009878795593976974,
-0.1554698795080185,
0.09541164338588715,
0.029835306107997894,
-0.3180524408817291,
0.14659452438354492,
-0.0532260462641716,
-0.2526589334011078,
-0.4137490689754486,
0.1962384283542633,
-0.10801507532596588,
-0.001286342740058899,
-0.5398007035255432,
0.6560425162315369,
-0.07448255270719528,
0.3185949921607971,
0.03791051357984543,
-0.09386962652206421,
0.1458635926246643,
-0.006491765379905701,
0.02800707332789898,
0.13408273458480835,
-0.6778559684753418,
-0.03603868931531906,
-0.6665446162223816,
0.023184675723314285,
-0.019985564053058624,
0.2567596137523651,
-0.16941611468791962,
0.1129341870546341,
-0.24318233132362366,
-0.0524933785200119,
0.5646259784698486,
0.20667719841003418,
-0.17689037322998047,
0.23585593700408936,
-0.006137177348136902,
0.06155375391244888,
-0.06775250285863876,
0.19284239411354065,
0.09979253262281418,
-0.08965089172124863,
0.2306835651397705,
0.3897210359573364,
-0.10449692606925964,
-0.1538369506597519,
-0.29315656423568726,
-0.2979387640953064,
0.03028738684952259,
0.47720086574554443,
0.186184823513031,
-0.21313223242759705,
0.3239220380783081,
0.05398614704608917,
0.26104289293289185,
-0.027051206678152084,
0.17403408885002136,
-0.16879123449325562,
0.40959441661834717,
0.21651120483875275,
0.04692678153514862,
-0.193557471036911,
-0.37105420231819153,
0.08832450956106186,
-0.05648532137274742,
0.4205212891101837,
0.1146346926689148,
-0.15261679887771606,
0.10540067404508591,
-0.026051033288240433,
0.10933338105678558,
-0.08517026901245117,
0.16989505290985107,
0.0053046345710754395,
-0.09367954730987549,
-0.3116689920425415,
-0.23427172005176544,
0.0772787481546402,
-0.07544218003749847,
-0.08290790021419525,
-0.17378409206867218,
0.18616315722465515,
-0.22602178156375885,
-0.1404217928647995,
-0.013457966968417168,
0.23566612601280212,
-0.4520282447338104,
-0.17362239956855774,
0.14702457189559937,
0.03587036207318306,
-0.1718818098306656,
-0.18050403892993927,
0.31252819299697876,
0.5936397910118103,
0.27007460594177246,
-0.18957433104515076,
0.3841975927352905,
-0.28264370560646057,
-0.09489982575178146,
-0.0371125265955925,
-0.09776365011930466,
0.34662172198295593,
0.14182603359222412,
-0.014307625591754913,
0.07123470306396484,
-0.10379311442375183,
0.11142629384994507,
0.13575075566768646,
0.056571394205093384,
-0.23720881342887878,
0.28476279973983765,
0.058424245566129684,
0.1625312864780426,
-0.07347383350133896,
-0.3168834447860718,
0.23085731267929077,
0.28889939188957214,
0.1882811188697815,
0.1037331074476242,
0.2862323820590973,
-0.21105623245239258,
-0.21415680646896362,
0.08279088139533997,
-0.32010433077812195,
0.2933123707771301,
0.43136075139045715,
0.33347800374031067,
0.15071320533752441,
0.19235914945602417,
-0.06780751049518585,
-0.033819667994976044,
0.08870488405227661,
-0.041870638728141785,
0.1549537479877472,
0.4150848686695099,
0.04936833307147026,
-0.2622886002063751,
-0.25630977749824524,
-0.0996498093008995,
0.1201702132821083,
0.08270706236362457,
-0.09659954905509949,
0.034244030714035034,
-0.15377941727638245,
0.039157185703516006,
-0.0015207193791866302,
-0.26322072744369507,
-0.22559139132499695,
0.18004564940929413,
-0.12162648141384125,
-0.20890316367149353,
0.016816943883895874,
-0.13688957691192627,
0.45824480056762695,
-0.14810892939567566,
0.22648616135120392,
0.07390828430652618,
-0.2982952296733856,
-0.06810677796602249,
0.23945853114128113,
0.35144633054733276,
-0.19336897134780884,
0.38383397459983826,
0.08327846974134445,
0.0436147004365921,
-0.1888154000043869,
-0.5572313070297241,
0.21483568847179413,
-0.13148461282253265,
0.32139214873313904,
0.1718159019947052,
-0.013750165700912476,
0.15817856788635254,
-0.03389580175280571,
-0.14304609596729279,
-0.06543171405792236,
-0.005739920772612095,
-0.2261832356452942,
-0.07299964874982834,
0.023996436968445778,
-0.21194113790988922,
-0.26072174310684204,
-0.4658946096897125,
-0.46382468938827515,
0.2482120245695114,
0.08241260051727295,
0.05388821288943291,
-0.024249382317066193,
0.05663241818547249,
0.29671913385391235,
0.013269278220832348,
-0.15704785287380219,
-0.19871576130390167,
-0.34363943338394165,
0.34035739302635193,
-0.12297429889440536,
-0.21074873208999634,
0.02785492315888405,
-0.23958033323287964,
-0.18331049382686615,
0.10864880681037903,
-0.5946323871612549,
0.10739462822675705,
-0.004869665950536728,
0.27587005496025085,
0.006991241127252579,
0.15166109800338745,
0.12419818341732025,
-0.1518830507993698,
-0.14212919771671295,
-0.08157740533351898,
-0.037744633853435516,
0.10810571908950806,
0.5077725052833557,
0.36838677525520325,
-0.19689521193504333,
0.2154933512210846,
0.2673063278198242,
0.5058029890060425,
-0.03796146437525749,
-0.15339906513690948,
0.42705243825912476,
0.5014262795448303,
0.3925345838069916,
-0.23844793438911438,
-0.09388452023267746,
0.3584388792514801,
0.07302140444517136,
-0.09428887814283371,
0.5424858331680298,
0.22520413994789124,
-0.37147659063339233,
0.08633749186992645,
0.02079182118177414,
0.16572746634483337,
-0.07368431240320206,
0.2951664924621582,
-0.16288763284683228,
0.00004665553569793701,
-0.003187071532011032,
-0.6648691296577454,
-0.2963986098766327,
-0.22860655188560486,
0.0514848530292511,
0.3544839024543762,
0.1379668414592743,
0.09549945592880249,
-0.23396483063697815,
0.3559131324291229,
-0.21223783493041992,
0.1766771376132965,
-0.12958967685699463,
-0.08758760243654251,
-0.09146608412265778,
-0.198950856924057,
-0.05496923625469208,
0.10050057619810104,
0.5109840035438538,
-0.3662703037261963,
-0.31670325994491577,
0.11774633824825287,
0.35145577788352966,
-0.08481290191411972,
-0.059458598494529724,
-0.41266167163848877,
-0.21132618188858032,
0.5140784978866577,
0.5027027130126953,
-0.3331843614578247,
0.02361539751291275,
0.198625847697258,
0.2597486674785614,
0.032544951885938644,
-0.3211183249950409,
-0.042686790227890015,
-0.2045089602470398,
-0.10946197062730789,
0.16581201553344727,
0.28593820333480835,
-0.05109947919845581,
0.003980486653745174,
0.16110096871852875,
0.11520849168300629,
0.08950088918209076,
0.2027990221977234,
-0.1108846366405487,
-0.03312860429286957,
0.29755792021751404,
-0.02943047508597374,
-0.11740376055240631,
0.4459315538406372,
0.3497482240200043,
0.4114851951599121,
-0.24577385187149048,
-0.16152381896972656,
0.26278918981552124,
-0.41690775752067566,
0.334349662065506,
0.22846683859825134,
0.2370264083147049,
0.04112735763192177,
-0.2406502068042755,
0.10914378613233566,
-0.17775967717170715,
0.36334463953971863,
-0.09390763193368912,
0.027525607496500015,
-0.5469812750816345,
-0.23752209544181824,
0.3390757143497467,
-0.07688327133655548,
0.07321715354919434,
0.2748347520828247,
0.1847645342350006,
-0.42319798469543457,
0.5059277415275574,
-0.11597386747598648,
1.070071816444397,
-0.08076944947242737,
0.30422738194465637,
-0.21754440665245056,
-0.02114306017756462,
0.2948872148990631,
-0.47038406133651733,
-0.0475970134139061,
-0.013346392661333084,
-0.22736124694347382,
0.08088591694831848,
-0.08679300546646118,
0.03449641168117523,
0.5482620596885681,
-0.08452905714511871,
0.08408369868993759,
-0.1508919596672058,
-0.17041076719760895,
0.01151158008724451,
0.46518659591674805,
-0.026209993287920952,
-0.294355183839798,
-0.27660179138183594,
0.2728029191493988,
0.06224460154771805,
-0.02742832526564598,
-0.3297659754753113,
-0.2247922569513321,
-0.061526186764240265,
0.15784761309623718,
-0.45023393630981445,
-0.008067302405834198,
-0.07858896255493164,
-0.044062308967113495,
0.01567506603896618,
-0.19836947321891785,
0.46805843710899353,
-0.13986638188362122,
0.37151384353637695,
0.15211021900177002,
-0.056444957852363586,
0.024280693382024765,
-0.03507644683122635,
-0.025821685791015625,
0.3160746991634369,
-0.07577358186244965,
0.4437023103237152,
-0.04321596026420593,
-0.14356420934200287,
0.01242724061012268,
0.07587618380784988,
-0.41240400075912476,
-0.22774407267570496,
-0.06926344335079193,
0.12648940086364746,
0.11498849838972092,
-0.19965510070323944,
0.37874963879585266,
-0.05966940522193909,
-0.11806115508079529,
0.2050379514694214,
0.2202066034078598,
-0.1078028529882431,
0.08489406853914261,
0.05878371000289917,
-0.12830519676208496,
-0.2801242768764496,
0.0071988701820373535,
0.004552558064460754,
-0.12257232517004013,
0.032306596636772156,
0.5429110527038574,
-0.29121553897857666,
-0.23943045735359192,
-0.1506328582763672,
0.2842731475830078,
-0.18538609147071838,
0.008624891750514507,
0.11568380892276764,
-0.1242164745926857,
-0.1738392859697342,
-0.08193458616733551,
0.4243217706680298,
-0.0707869604229927,
-0.054043956100940704,
-0.1348336935043335,
-0.1471024453639984,
0.1369675099849701,
-0.20050595700740814,
0.20996645092964172,
-0.27495047450065613,
0.10143357515335083,
0.023630278185009956,
0.2915301024913788,
-0.44399547576904297,
0.12282164394855499,
0.028278375044465065,
0.17780062556266785,
-0.018176201730966568,
-0.062405019998550415,
0.021626461297273636,
-0.11042816936969757,
0.10797673463821411,
-0.12272928655147552,
-0.22407159209251404,
-0.28210097551345825,
-0.1286136656999588,
0.0871807411313057,
0.21679982542991638,
-0.0982910692691803,
0.2894613444805145,
-0.181413471698761,
-0.2590302526950836,
-0.07965774834156036,
0.27269577980041504,
-0.10385189205408096,
0.040089093148708344,
0.02355588972568512,
0.5215919017791748,
-0.06353449076414108,
0.21135376393795013,
0.18824368715286255,
0.3548882007598877,
0.12077489495277405,
0.19151842594146729,
0.0807870477437973,
0.25346946716308594,
-0.08925044536590576,
-0.128754660487175,
0.36145830154418945,
0.0671214759349823,
0.36147254705429077,
0.09842236340045929,
0.06685461103916168,
0.0416601188480854,
0.35512450337409973,
0.27388623356819153,
-0.0825253576040268,
-0.007784707471728325,
0.012856500223279,
0.20615819096565247,
0.270334392786026,
-0.45120394229888916,
0.008187764324247837,
0.10763968527317047,
0.09545642137527466,
0.17592495679855347,
0.11750275641679764,
0.3312569558620453,
0.4307401180267334,
-0.22341232001781464,
0.11612670868635178,
0.09380041062831879,
-0.09992514550685883,
0.20124933123588562,
0.009846966713666916,
0.01899876818060875,
0.11086884140968323,
0.17900638282299042,
0.07913549244403839,
0.10577870905399323,
-0.10019691288471222,
-0.18111243844032288,
0.1659989356994629,
0.28695592284202576,
-0.1682225912809372,
0.2207462191581726,
-0.3757105767726898,
-0.026703577488660812,
0.5152194499969482,
0.4073396921157837,
0.22855865955352783,
-0.08509060740470886,
0.15734118223190308,
0.12107688933610916,
-0.033666715025901794,
0.08434867858886719,
-0.018137134611606598,
-0.029282502830028534,
-0.016293201595544815,
0.4008811116218567,
-0.24167421460151672,
-0.3885984420776367,
-0.006731204688549042,
-0.1727813184261322,
-0.32972151041030884,
-0.07397587597370148,
0.07635192573070526,
0.07976803183555603,
-0.3823193311691284,
0.13557401299476624,
0.0760655477643013,
-0.014450199902057648,
-0.10724900662899017,
0.2297532856464386,
0.08302587270736694,
-0.05122552067041397,
0.2122189998626709,
0.08011750131845474,
-0.0374675951898098,
0.08518397808074951,
-0.1067228764295578,
0.19896605610847473,
-0.007591143250465393,
-0.017430294305086136,
-0.36554282903671265,
0.119886115193367,
0.06017118692398071,
0.10834348201751709,
0.2009350061416626,
0.15862880647182465,
-0.2674552798271179,
0.05068034678697586,
0.006717737764120102,
-0.07560332119464874,
-0.20698492228984833,
0.4589691460132599,
0.08824889361858368,
-0.20437783002853394,
-0.14098700881004333,
0.12643849849700928,
-0.43113550543785095,
-0.22032125294208527,
0.7046808004379272,
-0.3813634216785431,
0.03679026663303375,
-0.1178375780582428,
0.12201422452926636,
-0.1921444833278656,
0.332149475812912,
0.650948703289032,
0.038350410759449005,
-0.11298718303442001,
-0.09896131604909897,
-0.5288536548614502,
0.08395609259605408,
-0.13067179918289185,
0.3303058445453644,
-0.20552119612693787,
0.42038264870643616,
0.43537548184394836,
0.12980732321739197,
-0.05571375787258148,
0.08651614934206009,
-0.2963833510875702,
-0.005964495241641998,
-0.4423346221446991,
0.04309454932808876,
-0.09723454713821411,
0.4771200716495514,
0.022044654935598373,
-0.030797123908996582,
-0.04293593391776085,
0.1832573264837265,
0.07249484956264496,
-0.397987961769104,
0.021322809159755707,
0.13217051327228546,
0.09407251328229904,
0.18265554308891296,
-0.0758393183350563,
0.20215001702308655,
-0.07177863270044327,
-0.26324713230133057,
-0.44028717279434204,
-0.26228049397468567,
-0.17880985140800476,
0.03946642577648163,
-0.16955246031284332,
0.27032625675201416,
-0.32590052485466003,
-0.20246097445487976,
0.012567742727696896,
0.04743526130914688,
-0.1753881275653839,
-0.07610774040222168,
-0.27661824226379395,
0.06721751391887665,
-0.07049068063497543,
-0.028448525816202164,
0.05275612697005272,
0.2211974859237671,
0.12446945160627365,
-0.16553665697574615,
-0.07210830599069595,
-0.06426726281642914,
0.12694275379180908,
-0.0891808345913887,
-0.393108993768692,
-0.11202331632375717,
0.030262090265750885,
0.04966159909963608,
-0.09798131883144379,
-0.590572714805603,
0.10672146826982498,
0.3350081741809845,
0.0582948699593544,
0.044445764273405075,
0.32724493741989136,
0.1226271241903305,
0.019975829869508743,
-0.19190198183059692,
0.09634561836719513,
-0.09840547293424606,
-0.17763444781303406,
-0.2727273106575012,
-0.22489939630031586
] |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | Hi folks, thanks to some awesome work by @lhoestq and @albertvillanova you can now stream the Pile as follows:
```python
# Install master branch of `datasets`
pip install git+https://github.com/huggingface/datasets.git#egg=datasets[streaming]
pip install zstandard
from datasets import load_dataset
dset = load_dataset("json", data_files="https://the-eye.eu/public/AI/pile/train/00.jsonl.zst", streaming=True, split="train")
next(iter(dset))
# {'meta': {'pile_set_name': 'Pile-CC'},
# 'text': 'It is done, and submitted. You can play “Survival of the Tastiest” on Android, and on the web ... '}
```
Next step is to add the Pile as a "canonical" dataset that can be streamed without specifying the file names explicitly :) | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
| 92 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
Hi folks, thanks to some awesome work by @lhoestq and @albertvillanova you can now stream the Pile as follows:
```python
# Install master branch of `datasets`
pip install git+https://github.com/huggingface/datasets.git#egg=datasets[streaming]
pip install zstandard
from datasets import load_dataset
dset = load_dataset("json", data_files="https://the-eye.eu/public/AI/pile/train/00.jsonl.zst", streaming=True, split="train")
next(iter(dset))
# {'meta': {'pile_set_name': 'Pile-CC'},
# 'text': 'It is done, and submitted. You can play “Survival of the Tastiest” on Android, and on the web ... '}
```
Next step is to add the Pile as a "canonical" dataset that can be streamed without specifying the file names explicitly :) | [
-0.32235682010650635,
-0.04369311034679413,
-0.14693965017795563,
0.04119810834527016,
0.20533087849617004,
0.05679856985807419,
0.11991944909095764,
0.26331445574760437,
-0.049569159746170044,
0.10100393742322922,
-0.2534807026386261,
0.14151662588119507,
-0.4532613158226013,
0.19550763070583344,
0.15720903873443604,
0.014724817126989365,
-0.09145686775445938,
-0.051480069756507874,
0.036094386130571365,
-0.027530837804079056,
0.14783737063407898,
-0.06089682877063751,
0.13290806114673615,
-0.39314132928848267,
0.12039013206958771,
0.05740439146757126,
-0.10812155902385712,
0.03642283007502556,
-0.3161756694316864,
-0.258816123008728,
-0.2680273950099945,
0.08630379289388657,
0.3348548412322998,
0.5441968441009521,
-0.00010110248695127666,
-0.12119311839342117,
0.20587265491485596,
-0.3016031086444855,
-0.35172611474990845,
-0.2913033962249756,
0.09039732068777084,
-0.2420322448015213,
-0.3066554069519043,
-0.13035044074058533,
-0.19663825631141663,
-0.20780792832374573,
0.1834149807691574,
-0.34426644444465637,
0.28451988101005554,
0.3415374159812927,
0.24603846669197083,
0.131505087018013,
-0.03045133873820305,
0.04255702719092369,
0.31564024090766907,
-0.06133648753166199,
-0.1409149467945099,
0.28796690702438354,
0.43845996260643005,
0.13122554123401642,
-0.06950373202562332,
0.3906661868095398,
0.21015894412994385,
-0.06909845769405365,
0.08791886270046234,
-0.10288077592849731,
0.06033017486333847,
-0.20379206538200378,
-0.09023406356573105,
0.4779414236545563,
0.22589516639709473,
-0.31072279810905457,
-0.44184213876724243,
-0.2665182948112488,
-0.04852496087551117,
-0.5264928936958313,
-0.26748716831207275,
0.4536270499229431,
-0.15785105526447296,
0.22630999982357025,
0.010686378926038742,
-0.18387523293495178,
-0.13747833669185638,
0.20252658426761627,
0.03516038507223129,
0.29585862159729004,
-0.050167012959718704,
-0.17497628927230835,
0.015317723155021667,
-0.07113686949014664,
-0.20222698152065277,
0.004631347954273224,
-0.04531579092144966,
0.08508364111185074,
-0.40257492661476135,
-0.24815984070301056,
0.3415241241455078,
0.16284404695034027,
0.33110979199409485,
-0.10669375956058502,
0.21551287174224854,
0.1476166844367981,
0.0707818865776062,
-0.02872089296579361,
0.4503542482852936,
0.03205501660704613,
-0.20499014854431152,
-0.3580888509750366,
0.23925161361694336,
0.2649258077144623,
0.016271397471427917,
0.016631126403808594,
-0.0751742497086525,
0.04016846790909767,
-0.13653849065303802,
-0.06107185035943985,
-0.05029954016208649,
-0.003503981977701187,
-0.008677151054143906,
-0.07724927365779877,
0.032353803515434265,
0.026596462354063988,
-0.04997776076197624,
0.1562221348285675,
-0.04960043355822563,
0.3794093430042267,
-0.02185092493891716,
0.20792816579341888,
0.088269904255867,
-0.43636345863342285,
-0.17960231006145477,
0.07894870638847351,
-0.3663026988506317,
-0.10882733017206192,
0.16387605667114258,
-0.16430354118347168,
0.17024868726730347,
-0.25458067655563354,
0.30233609676361084,
0.25812724232673645,
0.17643870413303375,
-0.019811540842056274,
0.051374319940805435,
0.03771793842315674,
0.19776110351085663,
-0.2589660882949829,
0.09896096587181091,
-0.11918924748897552,
-0.3118191361427307,
0.07597149908542633,
0.030774425715208054,
-0.21655750274658203,
-0.25957509875297546,
0.26300787925720215,
-0.21954376995563507,
0.11944203078746796,
-0.33920884132385254,
0.5862975716590881,
0.01065007597208023,
0.12760519981384277,
-0.07547441869974136,
-0.05237574875354767,
0.08484739065170288,
-0.03578801453113556,
0.029165735468268394,
0.13981735706329346,
-0.5509951710700989,
-0.1312367469072342,
-0.5367793440818787,
0.1494334638118744,
0.09031841158866882,
0.13841861486434937,
-0.08741848915815353,
-0.04889874905347824,
-0.04509204626083374,
0.045368656516075134,
0.597106397151947,
-0.039312269538640976,
-0.3197208642959595,
0.19446639716625214,
-0.21782734990119934,
0.08212240040302277,
0.1501760482788086,
0.14904141426086426,
0.3288455903530121,
-0.0766836479306221,
0.17076900601387024,
0.4196426272392273,
-0.08219117671251297,
0.0360240712761879,
-0.2637159526348114,
-0.4479622542858124,
-0.06194537878036499,
0.44850993156433105,
-0.0011912621557712555,
-0.2839028537273407,
0.29762282967567444,
0.12810419499874115,
0.3932346701622009,
-0.03072536364197731,
0.1780165284872055,
-0.020907294005155563,
0.3714098334312439,
0.21555651724338531,
-0.10400369763374329,
-0.24320390820503235,
-0.3883220851421356,
-0.0004522837698459625,
0.1256648600101471,
0.31752678751945496,
-0.057617560029029846,
-0.176865816116333,
0.09959626942873001,
-0.08971546590328217,
-0.005420442670583725,
-0.00833447277545929,
0.2842761278152466,
0.21527516841888428,
-0.07201022654771805,
-0.20580673217773438,
-0.2596536874771118,
-0.01984447054564953,
-0.21362318098545074,
-0.19102172553539276,
-0.2605653405189514,
0.07330361753702164,
-0.21807138621807098,
-0.25375643372535706,
0.15475209057331085,
0.051185354590415955,
-0.3584304749965668,
-0.0731423944234848,
0.09834517538547516,
0.1717749834060669,
-0.1573733240365982,
0.05452375486493111,
0.2587209939956665,
0.603835940361023,
0.24553245306015015,
-0.2508396804332733,
0.1503961980342865,
0.17967182397842407,
0.059712208807468414,
0.07673560827970505,
-0.32843297719955444,
0.2855471670627594,
0.24837075173854828,
0.05223176255822182,
0.24176697432994843,
-0.12379125505685806,
0.3073280453681946,
0.073195680975914,
-0.28314048051834106,
-0.16691729426383972,
0.3048632740974426,
0.04511338472366333,
0.07718193531036377,
-0.16124606132507324,
-0.40051770210266113,
0.26542147994041443,
0.47689583897590637,
0.1106095016002655,
0.1505628526210785,
0.31489402055740356,
-0.15220308303833008,
-0.2838577926158905,
0.005365151911973953,
-0.20785200595855713,
0.16808073222637177,
0.3904983103275299,
0.34018608927726746,
0.05011438578367233,
0.19043655693531036,
-0.16682563722133636,
0.0935666412115097,
-0.026690088212490082,
-0.1783638596534729,
0.3081229031085968,
0.49292680621147156,
-0.07848865538835526,
-0.399921178817749,
-0.244451642036438,
-0.11034196615219116,
0.006199593655765057,
0.14269287884235382,
-0.013394728302955627,
0.011484595015645027,
-0.11192704737186432,
-0.01823706179857254,
-0.19146563112735748,
-0.12080354988574982,
-0.22235044836997986,
0.11705569177865982,
0.10166753828525543,
-0.2624240815639496,
0.026933370158076286,
-0.18416786193847656,
0.23507656157016754,
0.07114694267511368,
0.06955806910991669,
0.03986961394548416,
-0.3471660614013672,
-0.0365978479385376,
0.26961851119995117,
0.171645388007164,
-0.15588952600955963,
0.2812965512275696,
-0.07418451458215714,
0.016682852059602737,
-0.0781809538602829,
-0.4989751875400543,
0.26680293679237366,
-0.0905107706785202,
0.20219004154205322,
0.12595710158348083,
0.23979772627353668,
0.19789546728134155,
-0.05527975782752037,
-0.07502897083759308,
-0.3651871979236603,
-0.011854683049023151,
-0.059812936931848526,
0.03423843905329704,
0.09739737957715988,
-0.28281691670417786,
-0.39787596464157104,
-0.4410094618797302,
-0.5356468558311462,
0.21505796909332275,
0.17401491105556488,
0.1467033326625824,
0.06858053058385849,
0.18199388682842255,
0.22456122934818268,
0.1612928956747055,
0.12060976028442383,
-0.15523934364318848,
-0.4950088858604431,
0.34990832209587097,
-0.15959131717681885,
-0.3062623143196106,
-0.00496620312333107,
-0.014389557763934135,
-0.034537043422460556,
0.16364721953868866,
-0.4432417154312134,
-0.04706263169646263,
-0.016790879890322685,
0.08186425268650055,
0.018289044499397278,
0.10446282476186752,
0.11875240504741669,
0.027055781334638596,
-0.205841526389122,
-0.09754270315170288,
0.17902100086212158,
0.020946212112903595,
0.46731144189834595,
0.37816378474235535,
-0.0989249125123024,
0.42660796642303467,
0.26257196068763733,
0.40592169761657715,
-0.03818289190530777,
-0.11384186148643494,
0.48300474882125854,
0.3469580411911011,
0.37609177827835083,
-0.14594772458076477,
0.060000233352184296,
0.2370052933692932,
0.002286761999130249,
-0.07621856033802032,
0.5582516193389893,
0.19732451438903809,
-0.4028148651123047,
-0.038202304393053055,
0.2850157618522644,
-0.09767469763755798,
-0.07637624442577362,
0.25005483627319336,
-0.052384935319423676,
-0.07209525257349014,
-0.07102978974580765,
-0.41562578082084656,
-0.12835073471069336,
-0.24186694622039795,
-0.051425427198410034,
0.29941171407699585,
-0.04270150512456894,
0.17382581532001495,
-0.17765265703201294,
0.28801313042640686,
-0.34544864296913147,
0.06372728198766708,
-0.08499083667993546,
-0.04783273860812187,
-0.08854080736637115,
-0.3148699700832367,
-0.048354923725128174,
-0.17670756578445435,
0.3204275965690613,
-0.15174001455307007,
0.031621918082237244,
0.04506080970168114,
0.363964706659317,
-0.09537819027900696,
0.025938842445611954,
-0.5017450451850891,
-0.2487824410200119,
0.5851414203643799,
0.3097585141658783,
-0.4286115765571594,
0.10809417814016342,
-0.06996579468250275,
0.2849671542644501,
0.08971098065376282,
-0.023753806948661804,
-0.28659600019454956,
-0.3304405212402344,
-0.27124571800231934,
0.1759820431470871,
0.2770765423774719,
0.08791651576757431,
-0.06823483854532242,
0.1106630265712738,
0.15590108931064606,
0.08525621891021729,
0.20949795842170715,
0.0370677225291729,
0.0897325873374939,
0.20090167224407196,
-0.10011576116085052,
-0.1530420333147049,
0.2777681350708008,
0.13194824755191803,
0.4925670325756073,
0.030723579227924347,
-0.25742048025131226,
0.13744261860847473,
-0.2497546523809433,
0.06395447254180908,
0.313172847032547,
0.20767748355865479,
0.0053871870040893555,
-0.1623275876045227,
0.35973048210144043,
-0.030149389058351517,
0.5377065539360046,
-0.025913463905453682,
-0.005731730721890926,
-0.31136202812194824,
-0.3881620168685913,
0.26940053701400757,
-0.1336195319890976,
0.13778598606586456,
0.28737872838974,
-0.13773974776268005,
-0.4819789230823517,
0.35081297159194946,
0.10153322666883469,
1.157471776008606,
0.02250387892127037,
0.3382510244846344,
-0.06846296042203903,
-0.018751472234725952,
0.14883506298065186,
-0.5433736443519592,
0.1053290069103241,
-0.030575569719076157,
-0.162150576710701,
0.01204710267484188,
0.048812542110681534,
-0.024111725389957428,
0.5330662131309509,
-0.3105175197124481,
0.23779504001140594,
-0.02632054314017296,
-0.053115468472242355,
0.04889509081840515,
0.41328945755958557,
-0.13253530859947205,
-0.276501327753067,
-0.49217647314071655,
0.3025732636451721,
-0.09547990560531616,
-0.10695266723632812,
-0.11779347062110901,
-0.30903738737106323,
-0.0039091408252716064,
0.050702862441539764,
-0.3224794864654541,
0.16031134128570557,
-0.11827928572893143,
0.009211431257426739,
-0.24972617626190186,
-0.24396641552448273,
0.05962538346648216,
-0.01245090737938881,
0.012352168560028076,
0.22815223038196564,
-0.0170156117528677,
0.14120817184448242,
0.1210276335477829,
-0.009968405589461327,
0.2040768265724182,
0.022562280297279358,
0.1858529895544052,
-0.11747961491346359,
-0.20160731673240662,
0.21293872594833374,
0.2023431360721588,
-0.3256717324256897,
-0.11885465681552887,
-0.11527350544929504,
0.16063109040260315,
0.3437891900539398,
-0.13969852030277252,
0.15348133444786072,
-0.3063197135925293,
-0.10264003276824951,
0.20624937117099762,
0.04494161158800125,
-0.25395724177360535,
-0.004174314439296722,
0.06370025873184204,
-0.08734191209077835,
-0.245027557015419,
0.1810993254184723,
-0.015019882470369339,
0.09910847246646881,
0.12014597654342651,
0.5236203074455261,
-0.2086775004863739,
-0.332782506942749,
-0.18038064241409302,
-0.07648396492004395,
-0.011857949197292328,
0.016510656103491783,
0.006874535232782364,
-0.26671501994132996,
-0.07841842621564865,
0.11400128901004791,
0.23600706458091736,
0.12397768348455429,
-0.09089988470077515,
-0.13762639462947845,
-0.23854681849479675,
0.09864626079797745,
0.1860433667898178,
0.26001793146133423,
-0.19468411803245544,
-0.07571974396705627,
0.051556333899497986,
0.06708288192749023,
-0.48718753457069397,
-0.013796338811516762,
-0.054776184260845184,
0.19944730401039124,
-0.05572286993265152,
-0.15161484479904175,
0.2296515256166458,
-0.03277711570262909,
0.2004777491092682,
-0.10239027440547943,
-0.31849032640457153,
-0.34309548139572144,
-0.07568470388650894,
0.07063782960176468,
0.24558204412460327,
-0.0792616605758667,
0.0490381233394146,
-0.08997154980897903,
-0.20215193927288055,
-0.08739303052425385,
0.2722051441669464,
-0.06952393800020218,
0.12856429815292358,
-0.013423526659607887,
0.2994033694267273,
0.034952398389577866,
0.2877047657966614,
0.005435580387711525,
0.1629658341407776,
0.16272814571857452,
0.18014471232891083,
0.060867078602313995,
0.3414313793182373,
-0.09239906817674637,
-0.10420890897512436,
0.1743166148662567,
0.14636161923408508,
0.31865406036376953,
0.17993944883346558,
0.039005063474178314,
-0.04860800877213478,
0.20512686669826508,
0.3666822612285614,
0.17759209871292114,
-0.11288439482450485,
-0.17742416262626648,
0.20986196398735046,
0.353280633687973,
-0.41567569971084595,
-0.05385292321443558,
-0.038775213062763214,
0.009060739539563656,
0.31168004870414734,
0.06253194808959961,
0.02611451968550682,
0.21020656824111938,
-0.2683260440826416,
0.12731266021728516,
0.2595110237598419,
-0.0007234737277030945,
0.2829006612300873,
0.07193927466869354,
0.04047790542244911,
0.08947977423667908,
-0.043746158480644226,
0.0670507401227951,
0.21753911674022675,
-0.021306008100509644,
-0.18622663617134094,
0.22454310953617096,
0.07996147871017456,
-0.23854544758796692,
0.03033106029033661,
-0.1407351791858673,
-0.12644483149051666,
0.4498063921928406,
0.0982273668050766,
0.547855019569397,
0.015965484082698822,
0.11711466312408447,
0.14562039077281952,
-0.09172846376895905,
-0.13694968819618225,
0.06031987816095352,
0.1622687578201294,
-0.15304948389530182,
0.16429764032363892,
-0.201528400182724,
-0.27525049448013306,
0.1849631369113922,
0.040236636996269226,
-0.08748987317085266,
-0.1899813413619995,
0.1981966644525528,
0.15187469124794006,
-0.3833714425563812,
-0.146433025598526,
0.1075042337179184,
0.14573505520820618,
-0.210499569773674,
0.2389494925737381,
0.45004987716674805,
0.020015619695186615,
-0.00567902997136116,
-0.0901038721203804,
0.05183812603354454,
0.15321272611618042,
-0.14517073333263397,
0.2344292402267456,
0.028901278972625732,
-0.0984182357788086,
-0.3744085133075714,
0.06038733571767807,
0.1292494684457779,
0.051380597054958344,
0.23844186961650848,
0.2543417811393738,
-0.38566312193870544,
0.2379298210144043,
0.039752520620822906,
-0.21223680675029755,
-0.07483285665512085,
0.3046330213546753,
0.08317068964242935,
-0.05518873780965805,
-0.24446582794189453,
-0.009974740445613861,
-0.7704511880874634,
-0.04145170375704765,
0.4132136404514313,
-0.2534712255001068,
0.07857473939657211,
-0.24752964079380035,
0.15189103782176971,
-0.11631651222705841,
0.47994521260261536,
0.38433948159217834,
0.02632710337638855,
0.03512295335531235,
-0.19323337078094482,
-0.5093250274658203,
0.07833777368068695,
-0.1550762951374054,
0.1627626121044159,
-0.27995097637176514,
0.46269869804382324,
0.2352752983570099,
0.24861644208431244,
-0.23233933746814728,
0.22637291252613068,
-0.3380236029624939,
0.12565451860427856,
-0.38799166679382324,
-0.014448922127485275,
-0.07283854484558105,
0.5229438543319702,
0.10072088241577148,
-0.22183126211166382,
-0.04773003235459328,
-0.07422754168510437,
0.23764264583587646,
-0.2841774821281433,
0.05212656408548355,
-0.027314912527799606,
0.08852395415306091,
0.2240048497915268,
-0.22031646966934204,
0.053959138691425323,
-0.2076573371887207,
-0.45738595724105835,
-0.3317123055458069,
-0.028224026784300804,
-0.30180707573890686,
0.051699358969926834,
-0.10377435386180878,
0.4044712483882904,
-0.15790309011936188,
-0.0006495453417301178,
-0.07949361205101013,
0.10150878131389618,
-0.05910583585500717,
-0.2413427084684372,
-0.08027282357215881,
-0.11763080954551697,
0.056949034333229065,
0.12579230964183807,
-0.12275252491235733,
0.2547258138656616,
-0.07473987340927124,
-0.12362203001976013,
-0.122370645403862,
-0.3211066424846649,
0.37376317381858826,
-0.2486291080713272,
-0.34038421511650085,
-0.09650839120149612,
0.0405130535364151,
0.0772690400481224,
0.07724699378013611,
-0.5529177784919739,
0.3258180022239685,
0.2028731107711792,
0.06717005372047424,
-0.1410713940858841,
0.3578510582447052,
0.03239551931619644,
-0.05761100724339485,
-0.13918966054916382,
0.10532647371292114,
0.11424152553081512,
-0.15728962421417236,
-0.25158625841140747,
-0.3276928663253784
] |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | > Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too!
Hi @siddk thanks to a tip from @richarddwang it seems we can access some of the partitions that EleutherAI created for the Pile [here](https://the-eye.eu/public/AI/pile_preliminary_components/). What's missing are links to the preprocessed versions of pre-existing datasets like DeepMind Mathematics and OpenSubtitles, but worst case we do the processing ourselves and host these components on the Hub.
My current idea is that we could provide 23 configs: one for each of the 22 datasets and an `all` config that links to the train / dev / test splits that EleutherAI released [here](https://the-eye.eu/public/AI/pile/), e.g.
```python
from datasets import load_dataset
# Load a single component
youtube_subtitles = load_dataset("the_pile", "youtube_subtitles")
# Load the train / dev / test splits of the whole corpus
dset = load_dataset("the_pile", "all")
```
Ideally we'd like everything to be compatible with the streaming API and there's ongoing work by @albertvillanova to make this happen for the various compression algorithms.
cc @lhoestq | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
| 199 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
> Hi folks! Just wanted to follow up on this -- would be really nice to get the Pile on HF Datasets... unclear if it would be easy to also add partitions of the Pile subject to the original 22 datasets used, but that would be nice too!
Hi @siddk thanks to a tip from @richarddwang it seems we can access some of the partitions that EleutherAI created for the Pile [here](https://the-eye.eu/public/AI/pile_preliminary_components/). What's missing are links to the preprocessed versions of pre-existing datasets like DeepMind Mathematics and OpenSubtitles, but worst case we do the processing ourselves and host these components on the Hub.
My current idea is that we could provide 23 configs: one for each of the 22 datasets and an `all` config that links to the train / dev / test splits that EleutherAI released [here](https://the-eye.eu/public/AI/pile/), e.g.
```python
from datasets import load_dataset
# Load a single component
youtube_subtitles = load_dataset("the_pile", "youtube_subtitles")
# Load the train / dev / test splits of the whole corpus
dset = load_dataset("the_pile", "all")
```
Ideally we'd like everything to be compatible with the streaming API and there's ongoing work by @albertvillanova to make this happen for the various compression algorithms.
cc @lhoestq | [
-0.22825683653354645,
0.1881410777568817,
-0.06500178575515747,
0.125412255525589,
0.01260148361325264,
0.2586634159088135,
0.31193768978118896,
0.3322316110134125,
0.13761353492736816,
0.027133122086524963,
-0.4386693239212036,
0.09038665145635605,
-0.47661858797073364,
0.3780525326728821,
0.2840977907180786,
-0.13748404383659363,
-0.058718241751194,
-0.2501315474510193,
-0.07472319900989532,
-0.17960399389266968,
0.06733806431293488,
-0.15256217122077942,
0.031381964683532715,
-0.3628995418548584,
-0.3110477030277252,
0.07654648274183273,
-0.3312487006187439,
0.09868954122066498,
-0.1548924446105957,
-0.1428653746843338,
-0.08686808496713638,
0.2483038753271103,
0.42040202021598816,
0.6430602669715881,
-0.00010673239739844576,
-0.1299242377281189,
-0.008342914283275604,
-0.28329598903656006,
-0.2589148283004761,
-0.10792814195156097,
0.01299503818154335,
-0.24748335778713226,
-0.3683614134788513,
-0.04558462277054787,
-0.139143168926239,
-0.12705406546592712,
0.1864701509475708,
-0.35605019330978394,
0.09312720596790314,
0.18748369812965393,
0.15145421028137207,
0.10443399101495743,
-0.027065210044384003,
-0.04754084721207619,
0.4256105422973633,
0.11312532424926758,
-0.08170051872730255,
0.371024489402771,
0.3601987659931183,
-0.03857051208615303,
-0.1978456676006317,
0.416807621717453,
0.45348331332206726,
-0.2206374853849411,
0.17784738540649414,
0.037086304277181625,
-0.055886365473270416,
-0.31946220993995667,
-0.2085229456424713,
0.35200637578964233,
0.18608888983726501,
-0.22810086607933044,
-0.5114617943763733,
-0.3907683789730072,
-0.06908287107944489,
-0.27434393763542175,
-0.2978232502937317,
0.4559563398361206,
-0.043400704860687256,
0.2798134684562683,
0.16035594046115875,
-0.3045366108417511,
-0.21279099583625793,
0.29233235120773315,
0.10321404039859772,
0.326590895652771,
0.07325182855129242,
-0.08420122414827347,
0.11509577184915543,
0.04254211112856865,
-0.018690984696149826,
-0.07605229318141937,
0.0499151237308979,
0.129200741648674,
-0.27617549896240234,
-0.2716822624206543,
0.3116215169429779,
0.23787575960159302,
0.3485051095485687,
-0.29371899366378784,
-0.06906719505786896,
0.15737900137901306,
-0.11045853793621063,
-0.065865159034729,
0.571624219417572,
0.05318937078118324,
-0.3769911527633667,
-0.10462384670972824,
0.24887824058532715,
0.19030411541461945,
0.06616970896720886,
0.1693439781665802,
-0.14359234273433685,
-0.021048758178949356,
-0.28162261843681335,
-0.12464364618062973,
-0.09982124716043472,
0.0529647134244442,
0.04269684851169586,
-0.12872260808944702,
0.003725014626979828,
-0.11559797823429108,
0.05692017450928688,
0.1292073130607605,
-0.07931418716907501,
0.32557880878448486,
-0.027115998789668083,
0.33271414041519165,
0.05859076976776123,
-0.3411463499069214,
-0.15967194736003876,
0.2507675886154175,
-0.43925267457962036,
-0.015934444963932037,
0.257429838180542,
-0.22271233797073364,
-0.015415443107485771,
-0.056561559438705444,
0.37499183416366577,
0.23650342226028442,
0.1827096939086914,
0.03346133232116699,
0.08212345838546753,
0.026583226397633553,
0.20380863547325134,
-0.21238893270492554,
0.09974546730518341,
-0.009568367153406143,
-0.36550116539001465,
0.055502329021692276,
-0.09039103239774704,
-0.3846960961818695,
-0.2294020801782608,
0.15502458810806274,
-0.16465264558792114,
0.04373025521636009,
-0.5862871408462524,
0.5789602994918823,
-0.11710882931947708,
0.36049017310142517,
-0.0000939592719078064,
-0.08417414873838425,
0.1785382330417633,
0.015673616901040077,
0.09604373574256897,
0.30121666193008423,
-0.6603955030441284,
-0.09253507852554321,
-0.5667020082473755,
0.1003710925579071,
-0.018637388944625854,
0.2854994833469391,
-0.14119088649749756,
0.0862472802400589,
-0.19196446239948273,
-0.017719507217407227,
0.5501355528831482,
0.05868839845061302,
-0.17990568280220032,
0.23262567818164825,
0.0663631409406662,
0.11499349027872086,
0.044372569769620895,
0.25017157196998596,
0.21861018240451813,
-0.16733495891094208,
0.29726850986480713,
0.4012947678565979,
-0.181902214884758,
-0.08034048974514008,
-0.241384357213974,
-0.32394424080848694,
-0.13278348743915558,
0.5722838044166565,
0.3206010162830353,
-0.26866915822029114,
0.20411433279514313,
0.12437250465154648,
0.3394378125667572,
-0.08482541143894196,
0.2756648659706116,
-0.17743466794490814,
0.3395742177963257,
0.24430356919765472,
0.019286533817648888,
-0.15852102637290955,
-0.3723515272140503,
0.1865612268447876,
-0.08387875556945801,
0.469460129737854,
0.09424035251140594,
-0.2287682741880417,
0.06010335683822632,
-0.10539483278989792,
0.014334447681903839,
-0.059872981160879135,
0.13795123994350433,
-0.030385509133338928,
-0.08539509773254395,
-0.296852707862854,
-0.37047192454338074,
0.09206017106771469,
-0.16190806031227112,
-0.06885987520217896,
-0.28953036665916443,
0.3039633631706238,
-0.28228357434272766,
-0.13484705984592438,
-0.0668511912226677,
0.243284672498703,
-0.38995009660720825,
-0.16268284618854523,
0.16217952966690063,
0.06920640170574188,
-0.1194823682308197,
-0.12313206493854523,
0.2450624406337738,
0.6768256425857544,
0.36652690172195435,
-0.34805813431739807,
0.40012437105178833,
-0.17310182750225067,
-0.11207251995801926,
-0.05356034263968468,
-0.06805647164583206,
0.3849925994873047,
0.07891491055488586,
0.11819358170032501,
0.1623070389032364,
-0.059092529118061066,
0.023969074711203575,
0.19128547608852386,
-0.09038692712783813,
-0.28393125534057617,
0.1618860810995102,
0.09319750964641571,
0.17469581961631775,
-0.11448849737644196,
-0.26319289207458496,
0.23899143934249878,
0.29926249384880066,
0.14401596784591675,
0.0741521418094635,
0.3139256536960602,
-0.20242154598236084,
-0.275590181350708,
0.022679990157485008,
-0.2584846615791321,
0.1707412302494049,
0.33570119738578796,
0.3421948552131653,
0.24550151824951172,
0.0908140018582344,
-0.08977603912353516,
0.026435643434524536,
0.17777225375175476,
-0.06335397064685822,
0.08653102070093155,
0.2897785007953644,
0.01806080900132656,
-0.113253153860569,
-0.3876160681247711,
0.001084180548787117,
0.034981869161129,
-0.09048818051815033,
-0.07531315833330154,
0.048506565392017365,
-0.1141977608203888,
-0.01664379984140396,
-0.13631179928779602,
-0.23346957564353943,
-0.23003286123275757,
0.19646325707435608,
-0.10779446363449097,
-0.3001352548599243,
0.1516122967004776,
-0.12137895822525024,
0.2916133999824524,
-0.11801596730947495,
0.15913495421409607,
0.09065884351730347,
-0.39257314801216125,
-0.03023865818977356,
0.1686823070049286,
0.4147641062736511,
-0.17408917844295502,
0.1542631834745407,
-0.0453837588429451,
-0.16259317100048065,
-0.1450778841972351,
-0.5141843557357788,
0.2893906831741333,
-0.2778078317642212,
0.3317548930644989,
0.10515351593494415,
0.02891012281179428,
0.16004247963428497,
-0.1231144592165947,
-0.06834882497787476,
0.04521191120147705,
0.09946875274181366,
-0.21181438863277435,
-0.05261026322841644,
0.1033184602856636,
-0.07153067737817764,
-0.3749701678752899,
-0.4768827259540558,
-0.4420589804649353,
0.22742076218128204,
0.10493290424346924,
0.16888579726219177,
-0.032990578562021255,
0.15170125663280487,
0.20418128371238708,
0.2857537269592285,
-0.06604229658842087,
-0.18923255801200867,
-0.3686847984790802,
0.3979451656341553,
-0.19615158438682556,
-0.1966494768857956,
0.03849006071686745,
-0.26321086287498474,
-0.13128666579723358,
0.13563643395900726,
-0.5101802349090576,
0.029519472271203995,
0.012001235969364643,
0.16272321343421936,
0.013330202549695969,
0.19638562202453613,
0.1155846118927002,
-0.058515001088380814,
-0.055778663605451584,
-0.03479550778865814,
-0.01807963103055954,
0.15050499141216278,
0.4623236656188965,
0.2625659108161926,
-0.16894173622131348,
0.35104671120643616,
0.25427505373954773,
0.7276118397712708,
0.003083478659391403,
-0.055993687361478806,
0.40641555190086365,
0.4397132396697998,
0.3380451798439026,
-0.17891082167625427,
0.003928467631340027,
0.32817456126213074,
0.018700137734413147,
-0.14759570360183716,
0.5176525115966797,
0.14888906478881836,
-0.4262511134147644,
0.002698376774787903,
0.12420278787612915,
0.09830864518880844,
-0.20254389941692352,
0.348530650138855,
-0.29851552844047546,
0.02000340074300766,
-0.031200535595417023,
-0.5389335751533508,
-0.2215866595506668,
-0.19537943601608276,
0.0884978324174881,
0.31201624870300293,
0.10957412421703339,
0.10188424587249756,
-0.07638712227344513,
0.26931431889533997,
-0.18879780173301697,
0.15802688896656036,
-0.0437004417181015,
-0.13289232552051544,
-0.04662269353866577,
-0.2509896159172058,
0.010762974619865417,
0.12534868717193604,
0.46813535690307617,
-0.3941887617111206,
-0.12353099882602692,
0.12128661572933197,
0.3260883688926697,
-0.1276852786540985,
-0.03554364666342735,
-0.529452919960022,
-0.4004550576210022,
0.5900309681892395,
0.34328559041023254,
-0.3308136463165283,
-0.0361625999212265,
0.2174326330423355,
0.15038052201271057,
0.027911175042390823,
-0.11883585900068283,
-0.039578571915626526,
-0.18053150177001953,
-0.16944102942943573,
0.16930095851421356,
0.3705889582633972,
-0.040552426129579544,
-0.04703919589519501,
0.144190713763237,
0.09308670461177826,
0.025357846170663834,
0.29500460624694824,
-0.05409475043416023,
-0.01595631241798401,
0.3271077275276184,
0.05998099222779274,
-0.24745002388954163,
0.38729268312454224,
0.34618937969207764,
0.4749762713909149,
-0.11692097783088684,
-0.09055101871490479,
0.339826762676239,
-0.20360112190246582,
0.23062090575695038,
0.3679644465446472,
0.24846519529819489,
-0.08864011615514755,
-0.2434784471988678,
0.121200792491436,
-0.18807397782802582,
0.5451241135597229,
-0.09404769539833069,
-0.026081189513206482,
-0.5294871926307678,
-0.3803671896457672,
0.36448168754577637,
-0.09921561181545258,
0.03547428548336029,
0.1674584448337555,
0.28139615058898926,
-0.4829722046852112,
0.6364088654518127,
-0.016857169568538666,
1.1025229692459106,
-0.06529226899147034,
0.35378023982048035,
-0.129486083984375,
0.003982871770858765,
0.22024625539779663,
-0.5112817883491516,
-0.025364477187395096,
-0.045827291905879974,
-0.2003692239522934,
0.025134654715657234,
-0.05758112296462059,
-0.15982910990715027,
0.5191496014595032,
-0.12035775184631348,
0.2486140877008438,
-0.148007333278656,
-0.265132337808609,
0.020203493535518646,
0.4700297713279724,
-0.10562984645366669,
-0.3854222297668457,
-0.35971349477767944,
0.2270653247833252,
0.009806368499994278,
0.019385360181331635,
-0.23364987969398499,
-0.2644319534301758,
-0.12413275241851807,
0.16911955177783966,
-0.479320764541626,
0.08963322639465332,
-0.15762613713741302,
0.024813830852508545,
-0.20186302065849304,
-0.21023842692375183,
0.4235241711139679,
-0.08730967342853546,
0.35237085819244385,
0.12159182131290436,
-0.08078895509243011,
0.1512174755334854,
0.045142143964767456,
-0.052740056067705154,
0.37164703011512756,
-0.03908887878060341,
0.594096839427948,
-0.008321665227413177,
-0.2317296415567398,
0.07696769386529922,
0.14276976883411407,
-0.32307738065719604,
-0.19066308438777924,
-0.19756771624088287,
0.25559183955192566,
0.13904057443141937,
-0.16892677545547485,
0.3088465631008148,
-0.1813957244157791,
-0.06801699846982956,
0.16180898249149323,
0.1335718035697937,
-0.20176680386066437,
0.059017833322286606,
0.018970414996147156,
-0.1300780475139618,
-0.25577855110168457,
0.018355369567871094,
0.05826960876584053,
-0.15653866529464722,
0.10219815373420715,
0.5984765887260437,
-0.19407613575458527,
-0.1768922209739685,
-0.0995306521654129,
0.28091955184936523,
-0.20149418711662292,
-0.09902535378932953,
-0.02174101583659649,
-0.14949503540992737,
-0.22898386418819427,
-0.14857126772403717,
0.45025473833084106,
0.13291752338409424,
-0.03096962347626686,
-0.10219007730484009,
-0.26355502009391785,
0.2107948362827301,
-0.02349838986992836,
0.3028500974178314,
-0.3649648427963257,
0.06536316126585007,
0.022770045325160027,
0.2464582622051239,
-0.4010450541973114,
0.11140618473291397,
0.006321357563138008,
0.15521277487277985,
-0.11509877443313599,
-0.06584116071462631,
0.15086467564105988,
-0.09217867255210876,
0.08762439340353012,
-0.19462142884731293,
-0.2820919454097748,
-0.2190268635749817,
-0.20609799027442932,
0.10833876579999924,
0.20333987474441528,
-0.1252870410680771,
0.13123272359371185,
-0.08825235813856125,
-0.27625253796577454,
-0.15119442343711853,
0.3431834280490875,
-0.01814456284046173,
0.10128355771303177,
-0.004677419550716877,
0.5204723477363586,
-0.07978004962205887,
0.11385874450206757,
0.09790140390396118,
0.36650803685188293,
0.2086995542049408,
0.2944309711456299,
0.10233308374881744,
0.20335634052753448,
-0.13384830951690674,
-0.13995641469955444,
0.3338397741317749,
0.10926522314548492,
0.38918793201446533,
0.15124480426311493,
0.0868346244096756,
-0.002340886741876602,
0.20029108226299286,
0.3097848892211914,
-0.027638480067253113,
-0.017639853060245514,
-0.04815215989947319,
0.22717586159706116,
0.22723284363746643,
-0.3550768792629242,
0.17561191320419312,
-0.007131347432732582,
0.014356020838022232,
0.2544668912887573,
0.22761137783527374,
0.2620120942592621,
0.5055460929870605,
-0.26093608140945435,
0.1652662456035614,
-0.00906476378440857,
-0.019200515002012253,
0.30180490016937256,
-0.02613728865981102,
-0.07824881374835968,
0.13752225041389465,
-0.0037862658500671387,
0.07977598905563354,
0.15332317352294922,
-0.16078737378120422,
-0.27814391255378723,
0.14631085097789764,
0.09511582553386688,
-0.2183501124382019,
0.27146902680397034,
-0.2726345658302307,
-0.20619188249111176,
0.4248824715614319,
0.2532883882522583,
0.2978370487689972,
-0.21120360493659973,
0.11444219946861267,
0.07314124703407288,
-0.03439129516482353,
0.07724824547767639,
-0.009638115763664246,
0.04823871701955795,
-0.05748319253325462,
0.2725512683391571,
-0.18695585429668427,
-0.5308095216751099,
0.02111312747001648,
-0.12884344160556793,
-0.37814861536026,
-0.17396005988121033,
0.25174129009246826,
0.04489217698574066,
-0.18753258883953094,
0.029500778764486313,
0.13208302855491638,
0.13648459315299988,
-0.08298105746507645,
0.2108619213104248,
0.12959951162338257,
-0.09003609418869019,
0.08255207538604736,
-0.0178044643253088,
-0.0014583952724933624,
0.05152919888496399,
-0.29877498745918274,
0.31723111867904663,
0.19819803535938263,
-0.014783699996769428,
-0.202974334359169,
-0.03784167766571045,
0.09553740173578262,
0.147835373878479,
0.1982404738664627,
0.12612679600715637,
-0.2556397318840027,
-0.16411606967449188,
-0.055872026830911636,
-0.026169855147600174,
-0.11423103511333466,
0.6312189102172852,
0.12539806962013245,
-0.14345763623714447,
-0.13132597506046295,
0.07200627028942108,
-0.6766443252563477,
-0.25252291560173035,
0.6505021452903748,
-0.30813416838645935,
0.06409768760204315,
-0.10453762114048004,
0.0819040909409523,
-0.21839816868305206,
0.4375668466091156,
0.5349727869033813,
-0.08083739131689072,
-0.17562493681907654,
-0.03391571342945099,
-0.41116979718208313,
0.04267067462205887,
-0.06508477032184601,
0.13370466232299805,
-0.20175419747829437,
0.4288892149925232,
0.32761287689208984,
0.16509035229682922,
-0.12944988906383514,
0.013897204771637917,
-0.2766530215740204,
0.11417141556739807,
-0.3966600298881531,
0.0286501944065094,
-0.18058982491493225,
0.5295400023460388,
0.06430593132972717,
-0.09551286697387695,
-0.14990857243537903,
0.12891580164432526,
-0.018542328849434853,
-0.21230196952819824,
-0.03726179897785187,
0.1927667260169983,
-0.06300864368677139,
0.21793721616268158,
-0.15683890879154205,
0.3154941201210022,
-0.07346990704536438,
-0.278745174407959,
-0.5120805501937866,
-0.3022729754447937,
-0.1770477443933487,
0.023835673928260803,
-0.2438126504421234,
0.3752897083759308,
-0.25954654812812805,
-0.2580472528934479,
-0.09952396154403687,
0.0577661469578743,
-0.12488005310297012,
-0.20294374227523804,
-0.1791107952594757,
-0.01077471487224102,
-0.025949910283088684,
0.13871391117572784,
0.17481406033039093,
0.24421164393424988,
0.009878423064947128,
-0.047895364463329315,
-0.13465088605880737,
-0.2120026797056198,
0.3039337694644928,
-0.058846019208431244,
-0.3372974097728729,
-0.1390295922756195,
0.10603586584329605,
0.02178843319416046,
0.0512225478887558,
-0.6042737364768982,
0.1963684856891632,
0.24612736701965332,
0.007362142205238342,
-0.12450554966926575,
0.2854459285736084,
0.05073780193924904,
0.0038652829825878143,
-0.18122176826000214,
-0.028139129281044006,
-0.11320210248231888,
-0.15979953110218048,
-0.36352992057800293,
-0.33300143480300903
] |
https://github.com/huggingface/datasets/issues/1675 | Add the 800GB Pile dataset? | Ah I just saw that @lhoestq is already thinking about the specifying of one or more subsets in [this PR](https://github.com/huggingface/datasets/pull/2817#issuecomment-901874049) :) | ## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
| 21 | Add the 800GB Pile dataset?
## Adding a Dataset
- **Name:** The Pile
- **Description:** The Pile is a 825 GiB diverse, open source language modelling data set that consists of 22 smaller, high-quality datasets combined together. See [here](https://twitter.com/nabla_theta/status/1345130408170541056?s=20) for the Twitter announcement
- **Paper:** https://pile.eleuther.ai/paper.pdf
- **Data:** https://pile.eleuther.ai/
- **Motivation:** Enables hardcore (GPT-3 scale!) language modelling
## Remarks
Given the extreme size of this dataset, I'm not sure how feasible this will be to include in `datasets` 🤯 . I'm also unsure how many `datasets` users are pretraining LMs, so the usage of this dataset may not warrant the effort to integrate it.
Ah I just saw that @lhoestq is already thinking about the specifying of one or more subsets in [this PR](https://github.com/huggingface/datasets/pull/2817#issuecomment-901874049) :) | [
-0.3140253722667694,
0.1560879945755005,
-0.1577560007572174,
0.18204888701438904,
-0.027711763978004456,
0.20849362015724182,
0.15764100849628448,
0.19064506888389587,
0.012680228799581528,
-0.04636359214782715,
-0.1654878705739975,
0.19021999835968018,
-0.49645987153053284,
0.24471275508403778,
0.22647225856781006,
-0.03629051148891449,
-0.02398531883955002,
-0.11791713535785675,
-0.08870895206928253,
-0.024425316601991653,
-0.01958523876965046,
-0.041765451431274414,
0.014450125396251678,
-0.40731239318847656,
-0.16705748438835144,
-0.060161031782627106,
-0.15015313029289246,
0.010431919246912003,
-0.3633568584918976,
-0.20030459761619568,
-0.2376425862312317,
0.12322302162647247,
0.39640867710113525,
0.5024120211601257,
-0.00010003993520513177,
-0.16293194890022278,
0.12929141521453857,
-0.19301733374595642,
-0.3620677590370178,
-0.25434285402297974,
-0.10965754836797714,
-0.32484352588653564,
-0.3422292470932007,
-0.03532694652676582,
-0.18314844369888306,
-0.18794424831867218,
0.13168224692344666,
-0.3572056293487549,
0.056639570742845535,
0.2555430233478546,
0.2685052752494812,
0.2546110451221466,
0.0170966275036335,
-0.11626184731721878,
0.33995530009269714,
0.06313889473676682,
-0.1699291169643402,
0.2573612630367279,
0.3639291226863861,
0.17331786453723907,
-0.08723684400320053,
0.42228683829307556,
0.4526139795780182,
-0.2000395655632019,
0.258446604013443,
0.017695743590593338,
-0.06583907455205917,
-0.1251063048839569,
-0.1947442591190338,
0.34743520617485046,
0.38241416215896606,
-0.19058096408843994,
-0.5288473963737488,
-0.4103042483329773,
-0.05648321285843849,
-0.4034157395362854,
-0.24250665307044983,
0.3445231020450592,
0.05753028765320778,
0.33282431960105896,
0.023351242765784264,
-0.2500682771205902,
-0.06920235604047775,
0.19120678305625916,
0.027133293449878693,
0.3145010471343994,
-0.10067924857139587,
-0.15689381957054138,
0.12023013830184937,
0.007530823349952698,
-0.15771347284317017,
0.012118606828153133,
-0.038709383457899094,
-0.00014110468327999115,
-0.3294294476509094,
-0.2154620885848999,
0.3981153964996338,
0.35357582569122314,
0.4854920506477356,
-0.1341157704591751,
0.0018777064979076385,
0.019345784559845924,
-0.07718989998102188,
-0.003230549395084381,
0.5196983814239502,
0.024913974106311798,
-0.20721220970153809,
-0.27589985728263855,
0.2686919569969177,
0.06380922347307205,
0.17613452672958374,
0.08687032014131546,
-0.047157708555459976,
-0.08094925433397293,
-0.16765660047531128,
-0.17735999822616577,
-0.0507858544588089,
0.12723462283611298,
-0.06323449313640594,
-0.04462433233857155,
0.2358294427394867,
-0.10354780405759811,
-0.005090170539915562,
0.05582055822014809,
0.04385729879140854,
0.19192859530448914,
0.010402780026197433,
0.25733909010887146,
0.1459525227546692,
-0.4894527792930603,
-0.20632988214492798,
0.18372993171215057,
-0.45276251435279846,
-0.06918752193450928,
0.10317829251289368,
-0.1375153511762619,
0.07831407338380814,
-0.10207341611385345,
0.2345259189605713,
0.22925272583961487,
0.13465875387191772,
0.030634205788373947,
0.1371718794107437,
-0.02695520594716072,
-0.07390357553958893,
-0.20337814092636108,
0.05688862130045891,
0.08508870005607605,
-0.3138952851295471,
0.13170817494392395,
0.016371987760066986,
-0.21961542963981628,
-0.338286817073822,
0.22841568291187286,
-0.217636838555336,
0.026433784514665604,
-0.41541555523872375,
0.7231194972991943,
-0.03299293667078018,
0.2563387453556061,
0.07510198652744293,
-0.05335894972085953,
0.035697657614946365,
0.008269651792943478,
0.07369539141654968,
0.18633140623569489,
-0.574617862701416,
-0.13194695115089417,
-0.5834827423095703,
0.04832644388079643,
-0.10228797048330307,
0.2690887451171875,
-0.1963113695383072,
0.13778704404830933,
-0.1480194628238678,
0.05860580503940582,
0.5879366397857666,
0.16881565749645233,
-0.1505536139011383,
0.14208635687828064,
-0.10994983464479446,
0.009615758433938026,
-0.010381467640399933,
0.15007811784744263,
0.12747177481651306,
-0.05120132490992546,
0.2615862786769867,
0.3900917172431946,
-0.13899296522140503,
-0.11386493593454361,
-0.26230886578559875,
-0.37799072265625,
0.06759586185216904,
0.39103907346725464,
0.10702675580978394,
-0.27368173003196716,
0.21864959597587585,
0.050153158605098724,
0.16683951020240784,
-0.012343008071184158,
0.19760385155677795,
-0.12489137053489685,
0.28413358330726624,
0.11683249473571777,
-0.01773330196738243,
-0.32752469182014465,
-0.41900891065597534,
0.04834732413291931,
0.04199624061584473,
0.3821239471435547,
0.0728239044547081,
-0.20309460163116455,
0.05894511938095093,
0.005783870816230774,
0.13328614830970764,
-0.12049032747745514,
0.21776509284973145,
0.04850171506404877,
-0.030140871182084084,
-0.22709107398986816,
-0.3296845555305481,
-0.0630914717912674,
-0.08922260254621506,
-0.08776595443487167,
-0.29583388566970825,
0.006074089556932449,
-0.18673071265220642,
-0.14113463461399078,
0.02707325667142868,
0.2707059979438782,
-0.47901132702827454,
-0.18369993567466736,
0.24933621287345886,
0.08596068620681763,
-0.13021084666252136,
-0.18620489537715912,
0.24591472744941711,
0.6053516864776611,
0.26420512795448303,
-0.12098410725593567,
0.20401300489902496,
-0.20066875219345093,
-0.04229848086833954,
0.0218256413936615,
-0.18404388427734375,
0.4000040292739868,
0.24467243254184723,
-0.06181015819311142,
0.10068722069263458,
-0.1020418107509613,
0.13294871151447296,
0.05542388930916786,
-0.07845593988895416,
-0.28221529722213745,
0.2581149935722351,
0.10213351249694824,
0.22489680349826813,
0.02364404872059822,
-0.3749104142189026,
0.11698836088180542,
0.27653947472572327,
0.1346704661846161,
0.23712223768234253,
0.26387476921081543,
-0.17296704649925232,
-0.2526938021183014,
-0.004354435950517654,
-0.2683977782726288,
0.27638480067253113,
0.43039795756340027,
0.2711438536643982,
0.06451340019702911,
0.18417027592658997,
-0.14742890000343323,
0.031765758991241455,
0.0813247561454773,
-0.04476366192102432,
0.16892492771148682,
0.40215590596199036,
0.035372503101825714,
-0.30779868364334106,
-0.22236710786819458,
-0.08007839322090149,
0.09177340567111969,
0.0741329938173294,
-0.04493013396859169,
0.044876858592033386,
-0.09523060917854309,
0.05479723960161209,
0.030001379549503326,
-0.23472225666046143,
-0.19940511882305145,
0.18586450815200806,
-0.1503642201423645,
-0.30740347504615784,
0.04676724225282669,
-0.12917451560497284,
0.5056381225585938,
-0.0863485187292099,
0.1858697086572647,
0.09080825746059418,
-0.2864457964897156,
-0.07110809534788132,
0.27931714057922363,
0.2715522050857544,
-0.26134440302848816,
0.4053994417190552,
0.003031747415661812,
0.09791866689920425,
-0.20498301088809967,
-0.5722050070762634,
0.2662447690963745,
-0.15637771785259247,
0.38403305411338806,
0.23166882991790771,
0.004728302359580994,
0.14518922567367554,
-0.03719094395637512,
-0.12772750854492188,
-0.12641456723213196,
-0.03221774101257324,
-0.2840767800807953,
-0.006053614430129528,
0.07040401548147202,
-0.26155203580856323,
-0.356201708316803,
-0.39587944746017456,
-0.5152435898780823,
0.33405357599258423,
0.06802332401275635,
0.03180702030658722,
-0.000996958464384079,
0.0940476730465889,
0.3164200782775879,
-0.058039043098688126,
-0.012133311480283737,
-0.14714765548706055,
-0.29303041100502014,
0.3443106412887573,
-0.11529149115085602,
-0.2608080208301544,
-0.03801790997385979,
-0.22164350748062134,
-0.050754766911268234,
0.1041100025177002,
-0.4849398136138916,
0.05809119716286659,
-0.09005338698625565,
0.2685629725456238,
0.03962618485093117,
0.138869509100914,
0.14413098990917206,
-0.11444748193025589,
-0.22158712148666382,
-0.11445699632167816,
-0.016323845833539963,
0.1449476033449173,
0.39949092268943787,
0.3285679519176483,
-0.154011070728302,
0.2489544153213501,
0.22080576419830322,
0.4202834367752075,
-0.028278395533561707,
-0.23356683552265167,
0.4258720278739929,
0.3500138819217682,
0.40117719769477844,
-0.1807073950767517,
-0.01915462501347065,
0.2930108904838562,
0.07572296261787415,
-0.08970066905021667,
0.6187441945075989,
0.20414909720420837,
-0.2972601354122162,
0.034204646944999695,
0.06477867066860199,
0.04057665914297104,
-0.10803155601024628,
0.3248302638530731,
-0.12175711989402771,
0.04952894523739815,
-0.06468930840492249,
-0.6107582449913025,
-0.23541969060897827,
-0.13495442271232605,
-0.044182565063238144,
0.32291561365127563,
0.0953679233789444,
0.05750453472137451,
-0.2516891360282898,
0.35937511920928955,
-0.31181541085243225,
0.11456581205129623,
-0.08850818872451782,
0.015653112903237343,
-0.10864533483982086,
-0.28729721903800964,
-0.13819169998168945,
0.06269484013319016,
0.42510998249053955,
-0.33618834614753723,
-0.29404568672180176,
0.01596057415008545,
0.3112526834011078,
-0.11582205444574356,
0.04311591014266014,
-0.39334726333618164,
-0.19393141567707062,
0.5661798715591431,
0.46737611293792725,
-0.3769964575767517,
0.06188901513814926,
0.19338785111904144,
0.29669371247291565,
0.1495276391506195,
-0.26402488350868225,
-0.13401861488819122,
-0.22974982857704163,
-0.1849023550748825,
0.14487987756729126,
0.3940477669239044,
0.0007443050853908062,
0.10378368943929672,
0.13927359879016876,
0.1136058121919632,
0.02149047702550888,
0.24780207872390747,
-0.012332106940448284,
-0.0011996831744909286,
0.2568439245223999,
-0.11220784485340118,
-0.15297120809555054,
0.3542770445346832,
0.21002806723117828,
0.3982374370098114,
-0.15964283049106598,
-0.2744930386543274,
0.19178065657615662,
-0.3813214898109436,
0.30325815081596375,
0.21078437566757202,
0.14935463666915894,
0.14319954812526703,
-0.21646428108215332,
0.1274142563343048,
-0.1360335797071457,
0.40892720222473145,
-0.07265636324882507,
0.06832309812307358,
-0.47454357147216797,
-0.3134112060070038,
0.3272915780544281,
-0.03284812346100807,
0.07083204388618469,
0.2631414830684662,
-0.0244733989238739,
-0.4681369960308075,
0.35630571842193604,
-0.04877582937479019,
0.9720838665962219,
-0.03153790533542633,
0.3297256827354431,
-0.15562209486961365,
0.12541960179805756,
0.4065473675727844,
-0.3534585237503052,
0.005282478407025337,
0.06059838458895683,
-0.18136803805828094,
0.055020853877067566,
-0.05464944988489151,
0.04906683415174484,
0.5103427171707153,
-0.1810547262430191,
0.05175008252263069,
-0.1288800984621048,
-0.1312522143125534,
0.0034579960629343987,
0.48246055841445923,
-0.036995768547058105,
-0.259795606136322,
-0.3652406930923462,
0.2879697382450104,
0.042082883417606354,
-0.10935012996196747,
-0.25546514987945557,
-0.237955242395401,
-0.15094418823719025,
0.08356446027755737,
-0.4433175325393677,
-0.08079799264669418,
-0.1639738231897354,
0.007720872759819031,
0.036482200026512146,
-0.2103145718574524,
0.4322670102119446,
-0.012837756425142288,
0.2519207000732422,
0.16709847748279572,
-0.11279113590717316,
0.01766943745315075,
-0.1112271174788475,
-0.018626775592565536,
0.2736058831214905,
-0.08214688301086426,
0.38782936334609985,
-0.04044003412127495,
-0.06241040676832199,
0.09686222672462463,
0.10574852675199509,
-0.37312382459640503,
-0.15210813283920288,
-0.025292135775089264,
0.07445330172777176,
0.10056580603122711,
-0.2579139769077301,
0.28989171981811523,
-0.12301650643348694,
-0.17129859328269958,
0.2289017140865326,
0.2383224070072174,
-0.0725235790014267,
0.005979187786579132,
0.06274572759866714,
-0.16646143794059753,
-0.26309940218925476,
0.029557082802057266,
-0.01581958308815956,
-0.08539599180221558,
0.025769298896193504,
0.5174468159675598,
-0.2413361817598343,
-0.3063097298145294,
-0.121473029255867,
0.21761861443519592,
-0.15518978238105774,
0.09932275861501694,
0.17838054895401,
-0.18084430694580078,
-0.16499683260917664,
0.0031081587076187134,
0.39880168437957764,
-0.003768041729927063,
0.012263987213373184,
-0.09020031988620758,
-0.16947497427463531,
0.1409020721912384,
-0.07481105625629425,
0.23218218982219696,
-0.23947769403457642,
0.0583786778151989,
0.06534919887781143,
0.19962523877620697,
-0.47905880212783813,
-0.01721087656915188,
-0.10310649871826172,
0.19408246874809265,
0.0257968008518219,
-0.11579931527376175,
0.08005371689796448,
-0.04982145503163338,
0.1445263773202896,
-0.13686177134513855,
-0.27446621656417847,
-0.33613187074661255,
-0.12247170507907867,
0.060224130749702454,
0.20105665922164917,
-0.05057619512081146,
0.2600131630897522,
-0.07517199218273163,
-0.28054043650627136,
-0.1175416111946106,
0.2650119364261627,
-0.14483454823493958,
0.03907115012407303,
-0.006452604196965694,
0.3172581195831299,
-0.06232782453298569,
0.25918787717819214,
0.024976760149002075,
0.21092848479747772,
0.1000114381313324,
0.21514378488063812,
0.10836058109998703,
0.32626545429229736,
-0.06707022339105606,
-0.09640099853277206,
0.31503063440322876,
0.09212344139814377,
0.33517876267433167,
-0.010292693972587585,
0.09199704974889755,
-0.029538165777921677,
0.38191455602645874,
0.27981796860694885,
-0.035554125905036926,
-0.12999854981899261,
0.008470920845866203,
0.15862378478050232,
0.334405779838562,
-0.43103963136672974,
0.034215040504932404,
0.09247884154319763,
0.05289505794644356,
0.2981903553009033,
0.15847958624362946,
0.2950374186038971,
0.4187948703765869,
-0.2616931200027466,
0.03627731278538704,
0.1286182850599289,
-0.07247845083475113,
0.2660202383995056,
0.0010153129696846008,
0.08771213889122009,
0.14281564950942993,
0.2457883507013321,
0.13642391562461853,
0.21431878209114075,
-0.09795680642127991,
-0.10445337742567062,
0.2325042188167572,
0.2193845510482788,
-0.08187223970890045,
0.18464598059654236,
-0.30570200085639954,
0.05416209250688553,
0.42322006821632385,
0.3285284638404846,
0.2546016275882721,
-0.05409996211528778,
0.16484802961349487,
0.11537515372037888,
0.045973677188158035,
0.038815997540950775,
0.020446736365556717,
-0.03559057414531708,
-0.1078864187002182,
0.27130207419395447,
-0.24854984879493713,
-0.24815547466278076,
-0.03010249324142933,
-0.1608666181564331,
-0.2640420198440552,
-0.10024045407772064,
0.0802677795290947,
0.075196772813797,
-0.4136738181114197,
0.12681792676448822,
0.07428915053606033,
0.01628589630126953,
-0.21252946555614471,
0.2674419581890106,
0.09870301932096481,
-0.05692824721336365,
0.1431577503681183,
0.1705259382724762,
0.0042502544820308685,
0.13289928436279297,
-0.012746168300509453,
0.1644604355096817,
-0.11379213631153107,
0.011569419875741005,
-0.4354981780052185,
0.1448814868927002,
0.11398312449455261,
0.1660975217819214,
0.25589999556541443,
0.2096756249666214,
-0.30548933148384094,
0.11388684809207916,
0.010846834629774094,
-0.1492232382297516,
-0.26900431513786316,
0.33477234840393066,
0.025992054492235184,
-0.19212457537651062,
-0.23739033937454224,
0.18151813745498657,
-0.5247015953063965,
-0.15595412254333496,
0.717667281627655,
-0.3689735531806946,
0.029922347515821457,
-0.22939340770244598,
0.146516352891922,
-0.16444706916809082,
0.43013906478881836,
0.5728164315223694,
0.134149432182312,
-0.04988201707601547,
-0.09743150323629379,
-0.4856862425804138,
0.08766676485538483,
-0.1041569709777832,
0.2473437488079071,
-0.14614292979240417,
0.38651350140571594,
0.32089313864707947,
0.24349217116832733,
-0.15502463281154633,
0.23207509517669678,
-0.3658120036125183,
-0.03339207172393799,
-0.4103182554244995,
0.01649194210767746,
-0.09336556494235992,
0.4397865831851959,
0.10920847952365875,
-0.01134934276342392,
-0.010388854891061783,
0.023890048265457153,
0.1371145248413086,
-0.49127644300460815,
0.0674179196357727,
0.08806096017360687,
0.14176258444786072,
0.27199018001556396,
-0.03759823739528656,
0.20521515607833862,
-0.1154114380478859,
-0.2631022334098816,
-0.48121094703674316,
-0.12634865939617157,
-0.2242438942193985,
0.10232707858085632,
-0.055903416126966476,
0.24492895603179932,
-0.3127647042274475,
-0.12228401005268097,
0.025901515036821365,
0.08655405044555664,
-0.11147633194923401,
-0.10901197791099548,
-0.154275044798851,
-0.012651159428060055,
-0.05793163925409317,
-0.0376218780875206,
0.015034983865916729,
0.26032719016075134,
0.00429641455411911,
-0.19166818261146545,
-0.01623598486185074,
-0.18273970484733582,
0.10518798232078552,
-0.21344980597496033,
-0.3895476162433624,
-0.11333880573511124,
0.01878362149000168,
0.09921284019947052,
-0.06017490476369858,
-0.6072431206703186,
0.13068914413452148,
0.3180983364582062,
0.10822834074497223,
-0.08029042184352875,
0.3524813652038574,
0.09051840007305145,
-0.05781074985861778,
-0.16083388030529022,
0.16768412292003632,
-0.09851311892271042,
-0.1351519376039505,
-0.2600592076778412,
-0.2852148413658142
] |
https://github.com/huggingface/datasets/issues/1674 | dutch_social can't be loaded | Hi @koenvandenberge and @alighofrani95!
The datasets you're experiencing issues with were most likely added recently to the `datasets` library, meaning they have not been released yet. They will be released with the v2 of the library.
Meanwhile, you can still load the datasets using one of the techniques described in this issue: #1641
Let me know if this helps! | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koenvandenberge$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from datasets import load_dataset
dataset = load_dataset(
'dutch_social')
>>> dataset = load_dataset(
... 'dutch_social')
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
``` | 59 | dutch_social can't be loaded
Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koenvandenberge$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from datasets import load_dataset
dataset = load_dataset(
'dutch_social')
>>> dataset = load_dataset(
... 'dutch_social')
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
```
Hi @koenvandenberge and @alighofrani95!
The datasets you're experiencing issues with were most likely added recently to the `datasets` library, meaning they have not been released yet. They will be released with the v2 of the library.
Meanwhile, you can still load the datasets using one of the techniques described in this issue: #1641
Let me know if this helps! | [
-0.14401283860206604,
-0.12778624892234802,
-0.1560763120651245,
0.293396919965744,
0.2167997509241104,
-0.13488860428333282,
-0.012057837098836899,
0.09374081343412399,
0.39580297470092773,
-0.08629675209522247,
-0.2941347062587738,
-0.007835476659238338,
0.019676104187965393,
-0.042147040367126465,
0.13732191920280457,
0.1136011928319931,
0.22467586398124695,
0.09364856779575348,
0.1446140706539154,
-0.13795627653598785,
-0.2554819881916046,
0.4084301292896271,
0.03647882491350174,
0.11952544748783112,
0.05357586592435837,
0.24329087138175964,
-0.08378449827432632,
0.31918907165527344,
-0.06338740140199661,
-0.29486191272735596,
0.34699735045433044,
0.13545896112918854,
0.12170363962650299,
0.5947437286376953,
-0.00012200586934341118,
0.015369057655334473,
0.47937142848968506,
-0.0934169664978981,
-0.6241429448127747,
-0.41021299362182617,
0.02056203782558441,
-0.2827772796154022,
0.06464211642742157,
-0.07204388082027435,
-0.062248989939689636,
-0.2690679430961609,
-0.010532813146710396,
-0.47449496388435364,
0.2986164093017578,
0.41659361124038696,
0.11147555708885193,
-0.01082390733063221,
0.07612252235412598,
-0.0746556743979454,
0.029588229954242706,
0.3834807276725769,
0.06954894214868546,
0.5175900459289551,
0.25598084926605225,
0.019176308065652847,
0.475799560546875,
0.13931900262832642,
-0.16365034878253937,
-0.18413007259368896,
0.16824957728385925,
-0.17723502218723297,
-0.08079472929239273,
-0.22218364477157593,
0.14762556552886963,
-0.07496438175439835,
0.45828181505203247,
-0.08868586272001266,
-0.2649422883987427,
-0.2424677610397339,
0.04612378031015396,
0.05476244539022446,
0.27652981877326965,
0.12221554666757584,
-0.37785518169403076,
0.2942797541618347,
-0.17582553625106812,
-0.221048966050148,
-0.13486412167549133,
0.5424724221229553,
0.06686195731163025,
0.05457529053092003,
-0.19980281591415405,
0.09725571423768997,
0.24034114181995392,
-0.14091065526008606,
-0.002545030787587166,
-0.17237159609794617,
0.18791313469409943,
0.27415305376052856,
0.047662511467933655,
0.27517032623291016,
0.10913534462451935,
0.12290447950363159,
0.012469600886106491,
0.20886047184467316,
-0.008322552777826786,
0.06110381707549095,
-0.2934061288833618,
0.26610708236694336,
0.14516159892082214,
-0.06343093514442444,
0.16142074763774872,
-0.05786026641726494,
0.13877210021018982,
0.2737370431423187,
-0.2378365695476532,
-0.022034887224435806,
-0.513117253780365,
-0.22617776691913605,
-0.4047652781009674,
-0.1627120077610016,
0.052698396146297455,
-0.18874885141849518,
-0.23927077651023865,
-0.05375286936759949,
0.23835629224777222,
0.11248592287302017,
0.15007051825523376,
0.4265650808811188,
-0.05683939531445503,
0.13092464208602905,
0.015759460628032684,
0.33482134342193604,
-0.09720312058925629,
0.1625240296125412,
0.004387753549963236,
0.011590514332056046,
-0.23950552940368652,
-0.10330617427825928,
0.3564894497394562,
-0.1404215395450592,
0.3913652002811432,
-0.01331339217722416,
0.019396230578422546,
-0.2262599766254425,
-0.06517539918422699,
-0.17231738567352295,
-0.020799733698368073,
0.41100722551345825,
-0.05040282383561134,
0.18488244712352753,
0.23012353479862213,
-0.3826443552970886,
-0.28561246395111084,
0.02201186865568161,
-0.42665258049964905,
-0.25796011090278625,
-0.13708023726940155,
0.08650431782007217,
-0.3576447367668152,
-0.0483066663146019,
-0.25187811255455017,
0.0720808357000351,
-0.2459036409854889,
-0.36086317896842957,
-0.1423637866973877,
-0.06262499839067459,
0.05692393705248833,
-0.1635664403438568,
0.4047258794307709,
0.6451684832572937,
-0.25956347584724426,
-0.13387003540992737,
-0.2519385516643524,
-0.09793052077293396,
0.11668036878108978,
0.15492987632751465,
-0.2774694263935089,
0.1003132238984108,
-0.42179498076438904,
-0.12956993281841278,
0.5071361064910889,
-0.3881824314594269,
-0.10349538922309875,
0.04326900467276573,
0.04420667141675949,
0.4348088502883911,
0.06771773099899292,
-0.002192256273701787,
-0.2236291915178299,
0.0936075821518898,
0.11779484152793884,
0.3654603958129883,
0.2958671748638153,
-0.3151165246963501,
-0.04360327869653702,
-0.08808901906013489,
0.21524064242839813,
0.4358343482017517,
-0.07890240848064423,
-0.06527914851903915,
0.3209889829158783,
-0.017973965033888817,
0.06766872853040695,
-0.04433133080601692,
-0.11221811175346375,
0.39950042963027954,
-0.10023562610149384,
0.6040773391723633,
-0.12015586346387863,
0.0579325407743454,
-0.16157928109169006,
0.16202780604362488,
0.36290425062179565,
-0.09499016404151917,
-0.213139608502388,
0.014592032879590988,
-0.5914061069488525,
0.10863830894231796,
-0.24409405887126923,
-0.07960298657417297,
0.04424081742763519,
0.3385518491268158,
0.20978349447250366,
0.4188045859336853,
-0.13033679127693176,
0.5874921679496765,
-0.18200547993183136,
-0.00044488260755315423,
-0.1368415653705597,
0.3376156687736511,
-0.07734055072069168,
0.006912890821695328,
-0.02588348649442196,
0.4640437960624695,
0.19163280725479126,
-0.07536399364471436,
0.13066011667251587,
0.17758259177207947,
0.27571019530296326,
0.14317414164543152,
0.3152179718017578,
-0.14597119390964508,
0.01337370090186596,
-0.1851283311843872,
0.026444273069500923,
0.2751172184944153,
0.16683052480220795,
-0.08805672079324722,
-0.25024986267089844,
0.15575970709323883,
-0.006282158195972443,
0.28420642018318176,
0.1452290415763855,
0.0032309330999851227,
0.29158395528793335,
-0.023569682613015175,
-0.04595795273780823,
-0.16006344556808472,
0.33232367038726807,
-0.17024312913417816,
0.512002170085907,
-0.006220957264304161,
-0.27480846643447876,
0.15380187332630157,
0.013451877981424332,
-0.11309890449047089,
0.06631818413734436,
0.2667788863182068,
-0.16948994994163513,
0.18209785223007202,
0.16494110226631165,
0.23063598573207855,
0.5306186079978943,
0.15017680823802948,
0.058415256440639496,
-0.10424793511629105,
0.1984352022409439,
-0.22638879716396332,
0.19611245393753052,
0.07796363532543182,
0.35957664251327515,
0.10464776307344437,
0.13162434101104736,
0.12274262309074402,
-0.25726640224456787,
-0.5361447334289551,
-0.14957186579704285,
0.05220785737037659,
-0.2917068898677826,
0.32173025608062744,
-0.18549446761608124,
-0.40139785408973694,
-0.3152744472026825,
-0.13558390736579895,
-0.2492752969264984,
-0.36319687962532043,
-0.18291570246219635,
0.13991686701774597,
0.037937287241220474,
-0.04919614642858505,
-0.1167752593755722,
0.1715296506881714,
-0.2130712866783142,
-0.38479506969451904,
-0.3287185728549957,
-0.0870075598359108,
-0.04971535503864288,
-0.09377814829349518,
0.4112951159477234,
0.10011915862560272,
0.1564812809228897,
-0.49329784512519836,
0.12152887880802155,
0.09445703774690628,
-0.4239717721939087,
-0.1459391564130783,
-0.06582684069871902,
0.1950838416814804,
-0.08139227330684662,
0.348563015460968,
-0.23511730134487152,
-0.3012832999229431,
0.36197587847709656,
-0.019668765366077423,
-0.07977593690156937,
0.1490667760372162,
0.20290251076221466,
-0.04209798574447632,
-0.16451503336429596,
-0.03642822802066803,
-0.8044581413269043,
-0.3288800120353699,
0.1570768654346466,
0.2175283581018448,
0.015411626547574997,
0.4426359534263611,
0.38731133937835693,
0.04523356258869171,
-0.034810490906238556,
0.13032710552215576,
-0.17641940712928772,
-0.35315048694610596,
0.6498782634735107,
-0.3994505703449249,
-0.2847267985343933,
0.1182229220867157,
0.2317681461572647,
0.21421344578266144,
-0.35262537002563477,
-0.4864184856414795,
0.0804353728890419,
0.07730689644813538,
0.28777214884757996,
-0.0448327511548996,
0.14167216420173645,
-0.08675427734851837,
-0.06892815232276917,
-0.046039432287216187,
-0.13496166467666626,
-0.013584223575890064,
-0.11639108508825302,
-0.3259764313697815,
0.25629162788391113,
0.0006418041884899139,
0.11283453553915024,
-0.2048087865114212,
0.5850788354873657,
0.1846064031124115,
0.12979066371917725,
0.3108217120170593,
-0.09639757871627808,
0.6860249638557434,
-0.1007469967007637,
-0.49535655975341797,
-0.018546314910054207,
-0.04261064529418945,
0.06467625498771667,
0.11252264678478241,
0.30213552713394165,
-0.1705506145954132,
-0.4108615219593048,
0.05266624316573143,
-0.6017853021621704,
-0.08143723011016846,
0.11225652694702148,
-0.17888757586479187,
0.025728680193424225,
0.09259039163589478,
-0.18985909223556519,
-0.3393608033657074,
-0.16956275701522827,
0.005544744431972504,
0.557509183883667,
-0.05012168735265732,
0.3014119863510132,
-0.5939525961875916,
-0.24900317192077637,
-0.15691062808036804,
0.19279000163078308,
-0.1274874210357666,
0.2557534873485565,
-0.32643118500709534,
0.08634664863348007,
0.1326005458831787,
-0.01353936456143856,
0.4668223261833191,
-0.007300900295376778,
-0.001859273761510849,
0.21523551642894745,
0.21335908770561218,
-0.6372416615486145,
0.13661257922649384,
0.18528667092323303,
0.13880795240402222,
0.46349093317985535,
0.31167280673980713,
-0.18624702095985413,
-0.053310271352529526,
-0.05283685773611069,
0.3992611765861511,
-0.09941193461418152,
-0.14123834669589996,
-0.43895167112350464,
-0.5290256142616272,
-0.33301669359207153,
-0.3466005027294159,
0.04162910580635071,
0.3000883162021637,
-0.11271943897008896,
0.1479955017566681,
-0.03924652189016342,
0.08828049898147583,
0.19739677011966705,
0.21503689885139465,
0.33901795744895935,
0.20293843746185303,
-0.15176944434642792,
0.21569275856018066,
0.20739103853702545,
0.18645812571048737,
0.827720582485199,
-0.028064537793397903,
-0.4729872941970825,
-0.06765060126781464,
-0.16844475269317627,
0.25390249490737915,
0.25727614760398865,
-0.05255061760544777,
-0.2643872797489166,
0.08625226467847824,
-0.06164164841175079,
-0.10605199635028839,
0.2844642400741577,
-0.004287384450435638,
0.18147127330303192,
-0.14841997623443604,
-0.3832845091819763,
0.494452565908432,
-0.05227535218000412,
-0.018716171383857727,
0.1487671136856079,
0.16030409932136536,
-0.14534281194210052,
0.21555067598819733,
-0.2960326075553894,
1.1821035146713257,
0.08365634828805923,
0.16198596358299255,
0.1922806203365326,
-0.14244572818279266,
0.34133362770080566,
-0.24917054176330566,
-0.0668274462223053,
-0.01653071865439415,
0.1841176152229309,
-0.007436791434884071,
-0.150554820895195,
0.28064730763435364,
0.1858280748128891,
0.020497966557741165,
0.0036976600531488657,
-0.09629616141319275,
0.029985934495925903,
0.09892575442790985,
0.43799522519111633,
0.1277777999639511,
-0.018049828708171844,
-0.5319265127182007,
0.12796850502490997,
-0.007052809000015259,
0.6483963131904602,
-0.05896380543708801,
-0.15015648305416107,
-0.6219801902770996,
0.04173470288515091,
-0.16975688934326172,
0.05595102161169052,
-0.1763843297958374,
0.30468761920928955,
-0.02427629381418228,
-0.4557031989097595,
-0.13109740614891052,
0.38234570622444153,
0.4158373475074768,
0.06284825503826141,
-0.21002784371376038,
0.19425183534622192,
-0.0006205514073371887,
-0.23787425458431244,
0.1408262699842453,
-0.26392167806625366,
0.09897514432668686,
-0.16573476791381836,
-0.3407813608646393,
0.21492695808410645,
-0.05379544571042061,
-0.34722191095352173,
0.14091786742210388,
0.0401332750916481,
0.256425678730011,
0.04654840752482414,
-0.4316745102405548,
0.06520120799541473,
0.24917295575141907,
-0.12109971046447754,
0.04656441509723663,
0.032913267612457275,
0.0470806360244751,
-0.2022625207901001,
-0.22350965440273285,
-0.07866793125867844,
-0.09127883613109589,
0.4528011679649353,
-0.2509538531303406,
-0.17835618555545807,
0.37617164850234985,
0.13131079077720642,
-0.29860246181488037,
-0.0949716791510582,
0.17940902709960938,
-0.07178099453449249,
-0.49088597297668457,
-0.3483215570449829,
0.025863265618681908,
-0.03631668537855148,
-0.32218822836875916,
0.1668505221605301,
0.26644280552864075,
-0.2686614990234375,
0.1378796249628067,
-0.7992364168167114,
-0.009050937369465828,
0.21488453447818756,
0.0030078329145908356,
0.024018367752432823,
0.1495247185230255,
-0.18887610733509064,
0.17739209532737732,
-0.14928260445594788,
-0.20867320895195007,
0.10378056019544601,
-0.20426274836063385,
-0.07088565081357956,
0.36451631784439087,
0.07976805418729782,
0.1445760428905487,
-0.2587430775165558,
0.03317739814519882,
-0.3906829357147217,
0.07116043567657471,
-0.1381138563156128,
-0.023248642683029175,
0.16778850555419922,
-0.030742116272449493,
-0.07363653928041458,
-0.18448825180530548,
-0.42346882820129395,
0.049509063363075256,
-0.09760336577892303,
-0.15040592849254608,
-0.02867092937231064,
0.05166289210319519,
-0.14117899537086487,
-0.09389811754226685,
0.3486447036266327,
-0.001461133360862732,
0.21085219085216522,
0.06608030200004578,
0.5716891288757324,
0.036540646106004715,
0.02532075345516205,
0.10666018724441528,
0.010491050779819489,
-0.05285675823688507,
0.11874310672283173,
-0.12426503002643585,
0.17279496788978577,
0.3727680444717407,
-0.3196749687194824,
0.3249737024307251,
0.12096512317657471,
-0.0035800570622086525,
0.5077813863754272,
-0.44136807322502136,
0.14628912508487701,
0.30294644832611084,
0.04758294299244881,
-0.2808189392089844,
-0.18597836792469025,
0.4009408950805664,
0.05550486966967583,
-0.061602622270584106,
0.2878831923007965,
0.25376754999160767,
-0.18906086683273315,
0.3890485167503357,
0.12931230664253235,
0.46279048919677734,
0.45013701915740967,
0.20297928154468536,
0.09399201720952988,
0.07953846454620361,
0.03933480381965637,
-0.07041065394878387,
0.3201724886894226,
-0.032069601118564606,
0.4540112614631653,
-0.26134905219078064,
0.10916872322559357,
0.04258578270673752,
0.1719932109117508,
-0.19054752588272095,
-0.226715549826622,
0.16927260160446167,
-0.16528257727622986,
0.03991140425205231,
0.04554300755262375,
-0.16025719046592712,
0.4140927791595459,
-0.4061878025531769,
-0.11181578785181046,
0.019763542339205742,
0.2420538365840912,
0.045682940632104874,
-0.048439379781484604,
-0.22430062294006348,
-0.2722093164920807,
-0.13577482104301453,
-0.18459190428256989,
0.13575448095798492,
-0.523268461227417,
0.20458731055259705,
0.1481911838054657,
-0.15736065804958344,
-0.29575854539871216,
-0.022704869508743286,
0.2689618766307831,
0.07167582213878632,
-0.11483697593212128,
0.32660365104675293,
0.21353958547115326,
0.06520340591669083,
0.111848384141922,
0.28810933232307434,
0.46425777673721313,
0.2599308490753174,
-0.11090324819087982,
-0.005332132801413536,
-0.00547725148499012,
-0.1516873687505722,
-0.25877973437309265,
0.2607496678829193,
0.0704793781042099,
0.057453740388154984,
0.34489989280700684,
0.16660763323307037,
-0.0934453010559082,
-0.10949724912643433,
0.27278730273246765,
0.014625334180891514,
-0.17558203637599945,
0.1559971421957016,
-0.47843512892723083,
-0.010586880147457123,
-0.30960971117019653,
0.0426049642264843,
-0.3361676037311554,
-0.011536370031535625,
0.2119976282119751,
0.024480225518345833,
0.14570128917694092,
-0.2048269361257553,
0.02409912645816803,
0.039407242089509964,
0.4086045026779175,
0.3885655701160431,
0.29427123069763184,
-0.2616148889064789,
-0.5872484445571899,
-0.8084731698036194,
0.1373802274465561,
-0.2018902599811554,
-0.4872540533542633,
0.03158659487962723,
-0.10723859816789627,
0.07699526101350784,
0.25303083658218384,
0.015967346727848053,
0.30990445613861084,
-0.08012834191322327,
-0.10848481953144073,
-0.2610020935535431,
-0.23170657455921173,
-0.2546127438545227,
0.09008146077394485,
-0.1903466284275055,
-0.14210963249206543,
0.19017858803272247,
-0.5949851870536804,
0.0008110404014587402,
0.16394884884357452,
-0.10576587915420532,
-0.20820650458335876,
-0.04787581413984299,
0.56557297706604,
-0.11495280265808105,
0.26843684911727905,
0.047927126288414,
-0.23052793741226196,
-0.11256536841392517,
-0.25216150283813477,
0.16323377192020416,
0.6077490448951721,
0.007039843127131462,
0.2551535964012146,
-0.4812215268611908,
0.016990266740322113,
-0.08850907534360886,
-0.02637515589594841,
0.2812681794166565,
-0.15492159128189087,
0.1070496141910553,
-0.07855773717164993,
-0.10624105483293533,
0.25990036129951477,
0.2936936616897583,
0.30487969517707825,
-0.24133586883544922,
0.17668908834457397,
-0.1652902364730835,
-0.1124802902340889,
0.3234546184539795,
-0.30523744225502014,
-0.26124364137649536,
0.17048102617263794,
0.13559170067310333,
0.0898253470659256,
0.17520305514335632,
-0.24060377478599548,
0.18920692801475525,
0.33137285709381104,
0.15251053869724274,
-0.19498690962791443,
0.2746851444244385,
-0.3622046411037445,
-0.16526058316230774,
-0.04521667957305908,
0.13301140069961548,
0.03234302997589111,
0.010825363919138908,
0.020680692046880722,
-0.02550322934985161
] |
https://github.com/huggingface/datasets/issues/1674 | dutch_social can't be loaded | I just did the release :)
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `dutch_social` with
```python
from datasets import load_dataset
dataset = load_dataset("dutch_social")
``` | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koenvandenberge$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from datasets import load_dataset
dataset = load_dataset(
'dutch_social')
>>> dataset = load_dataset(
... 'dutch_social')
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
``` | 36 | dutch_social can't be loaded
Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koenvandenberge$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from datasets import load_dataset
dataset = load_dataset(
'dutch_social')
>>> dataset = load_dataset(
... 'dutch_social')
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
```
I just did the release :)
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `dutch_social` with
```python
from datasets import load_dataset
dataset = load_dataset("dutch_social")
``` | [
-0.14401283860206604,
-0.12778624892234802,
-0.1560763120651245,
0.293396919965744,
0.2167997509241104,
-0.13488860428333282,
-0.012057837098836899,
0.09374081343412399,
0.39580297470092773,
-0.08629675209522247,
-0.2941347062587738,
-0.007835476659238338,
0.019676104187965393,
-0.042147040367126465,
0.13732191920280457,
0.1136011928319931,
0.22467586398124695,
0.09364856779575348,
0.1446140706539154,
-0.13795627653598785,
-0.2554819881916046,
0.4084301292896271,
0.03647882491350174,
0.11952544748783112,
0.05357586592435837,
0.24329087138175964,
-0.08378449827432632,
0.31918907165527344,
-0.06338740140199661,
-0.29486191272735596,
0.34699735045433044,
0.13545896112918854,
0.12170363962650299,
0.5947437286376953,
-0.00012200586934341118,
0.015369057655334473,
0.47937142848968506,
-0.0934169664978981,
-0.6241429448127747,
-0.41021299362182617,
0.02056203782558441,
-0.2827772796154022,
0.06464211642742157,
-0.07204388082027435,
-0.062248989939689636,
-0.2690679430961609,
-0.010532813146710396,
-0.47449496388435364,
0.2986164093017578,
0.41659361124038696,
0.11147555708885193,
-0.01082390733063221,
0.07612252235412598,
-0.0746556743979454,
0.029588229954242706,
0.3834807276725769,
0.06954894214868546,
0.5175900459289551,
0.25598084926605225,
0.019176308065652847,
0.475799560546875,
0.13931900262832642,
-0.16365034878253937,
-0.18413007259368896,
0.16824957728385925,
-0.17723502218723297,
-0.08079472929239273,
-0.22218364477157593,
0.14762556552886963,
-0.07496438175439835,
0.45828181505203247,
-0.08868586272001266,
-0.2649422883987427,
-0.2424677610397339,
0.04612378031015396,
0.05476244539022446,
0.27652981877326965,
0.12221554666757584,
-0.37785518169403076,
0.2942797541618347,
-0.17582553625106812,
-0.221048966050148,
-0.13486412167549133,
0.5424724221229553,
0.06686195731163025,
0.05457529053092003,
-0.19980281591415405,
0.09725571423768997,
0.24034114181995392,
-0.14091065526008606,
-0.002545030787587166,
-0.17237159609794617,
0.18791313469409943,
0.27415305376052856,
0.047662511467933655,
0.27517032623291016,
0.10913534462451935,
0.12290447950363159,
0.012469600886106491,
0.20886047184467316,
-0.008322552777826786,
0.06110381707549095,
-0.2934061288833618,
0.26610708236694336,
0.14516159892082214,
-0.06343093514442444,
0.16142074763774872,
-0.05786026641726494,
0.13877210021018982,
0.2737370431423187,
-0.2378365695476532,
-0.022034887224435806,
-0.513117253780365,
-0.22617776691913605,
-0.4047652781009674,
-0.1627120077610016,
0.052698396146297455,
-0.18874885141849518,
-0.23927077651023865,
-0.05375286936759949,
0.23835629224777222,
0.11248592287302017,
0.15007051825523376,
0.4265650808811188,
-0.05683939531445503,
0.13092464208602905,
0.015759460628032684,
0.33482134342193604,
-0.09720312058925629,
0.1625240296125412,
0.004387753549963236,
0.011590514332056046,
-0.23950552940368652,
-0.10330617427825928,
0.3564894497394562,
-0.1404215395450592,
0.3913652002811432,
-0.01331339217722416,
0.019396230578422546,
-0.2262599766254425,
-0.06517539918422699,
-0.17231738567352295,
-0.020799733698368073,
0.41100722551345825,
-0.05040282383561134,
0.18488244712352753,
0.23012353479862213,
-0.3826443552970886,
-0.28561246395111084,
0.02201186865568161,
-0.42665258049964905,
-0.25796011090278625,
-0.13708023726940155,
0.08650431782007217,
-0.3576447367668152,
-0.0483066663146019,
-0.25187811255455017,
0.0720808357000351,
-0.2459036409854889,
-0.36086317896842957,
-0.1423637866973877,
-0.06262499839067459,
0.05692393705248833,
-0.1635664403438568,
0.4047258794307709,
0.6451684832572937,
-0.25956347584724426,
-0.13387003540992737,
-0.2519385516643524,
-0.09793052077293396,
0.11668036878108978,
0.15492987632751465,
-0.2774694263935089,
0.1003132238984108,
-0.42179498076438904,
-0.12956993281841278,
0.5071361064910889,
-0.3881824314594269,
-0.10349538922309875,
0.04326900467276573,
0.04420667141675949,
0.4348088502883911,
0.06771773099899292,
-0.002192256273701787,
-0.2236291915178299,
0.0936075821518898,
0.11779484152793884,
0.3654603958129883,
0.2958671748638153,
-0.3151165246963501,
-0.04360327869653702,
-0.08808901906013489,
0.21524064242839813,
0.4358343482017517,
-0.07890240848064423,
-0.06527914851903915,
0.3209889829158783,
-0.017973965033888817,
0.06766872853040695,
-0.04433133080601692,
-0.11221811175346375,
0.39950042963027954,
-0.10023562610149384,
0.6040773391723633,
-0.12015586346387863,
0.0579325407743454,
-0.16157928109169006,
0.16202780604362488,
0.36290425062179565,
-0.09499016404151917,
-0.213139608502388,
0.014592032879590988,
-0.5914061069488525,
0.10863830894231796,
-0.24409405887126923,
-0.07960298657417297,
0.04424081742763519,
0.3385518491268158,
0.20978349447250366,
0.4188045859336853,
-0.13033679127693176,
0.5874921679496765,
-0.18200547993183136,
-0.00044488260755315423,
-0.1368415653705597,
0.3376156687736511,
-0.07734055072069168,
0.006912890821695328,
-0.02588348649442196,
0.4640437960624695,
0.19163280725479126,
-0.07536399364471436,
0.13066011667251587,
0.17758259177207947,
0.27571019530296326,
0.14317414164543152,
0.3152179718017578,
-0.14597119390964508,
0.01337370090186596,
-0.1851283311843872,
0.026444273069500923,
0.2751172184944153,
0.16683052480220795,
-0.08805672079324722,
-0.25024986267089844,
0.15575970709323883,
-0.006282158195972443,
0.28420642018318176,
0.1452290415763855,
0.0032309330999851227,
0.29158395528793335,
-0.023569682613015175,
-0.04595795273780823,
-0.16006344556808472,
0.33232367038726807,
-0.17024312913417816,
0.512002170085907,
-0.006220957264304161,
-0.27480846643447876,
0.15380187332630157,
0.013451877981424332,
-0.11309890449047089,
0.06631818413734436,
0.2667788863182068,
-0.16948994994163513,
0.18209785223007202,
0.16494110226631165,
0.23063598573207855,
0.5306186079978943,
0.15017680823802948,
0.058415256440639496,
-0.10424793511629105,
0.1984352022409439,
-0.22638879716396332,
0.19611245393753052,
0.07796363532543182,
0.35957664251327515,
0.10464776307344437,
0.13162434101104736,
0.12274262309074402,
-0.25726640224456787,
-0.5361447334289551,
-0.14957186579704285,
0.05220785737037659,
-0.2917068898677826,
0.32173025608062744,
-0.18549446761608124,
-0.40139785408973694,
-0.3152744472026825,
-0.13558390736579895,
-0.2492752969264984,
-0.36319687962532043,
-0.18291570246219635,
0.13991686701774597,
0.037937287241220474,
-0.04919614642858505,
-0.1167752593755722,
0.1715296506881714,
-0.2130712866783142,
-0.38479506969451904,
-0.3287185728549957,
-0.0870075598359108,
-0.04971535503864288,
-0.09377814829349518,
0.4112951159477234,
0.10011915862560272,
0.1564812809228897,
-0.49329784512519836,
0.12152887880802155,
0.09445703774690628,
-0.4239717721939087,
-0.1459391564130783,
-0.06582684069871902,
0.1950838416814804,
-0.08139227330684662,
0.348563015460968,
-0.23511730134487152,
-0.3012832999229431,
0.36197587847709656,
-0.019668765366077423,
-0.07977593690156937,
0.1490667760372162,
0.20290251076221466,
-0.04209798574447632,
-0.16451503336429596,
-0.03642822802066803,
-0.8044581413269043,
-0.3288800120353699,
0.1570768654346466,
0.2175283581018448,
0.015411626547574997,
0.4426359534263611,
0.38731133937835693,
0.04523356258869171,
-0.034810490906238556,
0.13032710552215576,
-0.17641940712928772,
-0.35315048694610596,
0.6498782634735107,
-0.3994505703449249,
-0.2847267985343933,
0.1182229220867157,
0.2317681461572647,
0.21421344578266144,
-0.35262537002563477,
-0.4864184856414795,
0.0804353728890419,
0.07730689644813538,
0.28777214884757996,
-0.0448327511548996,
0.14167216420173645,
-0.08675427734851837,
-0.06892815232276917,
-0.046039432287216187,
-0.13496166467666626,
-0.013584223575890064,
-0.11639108508825302,
-0.3259764313697815,
0.25629162788391113,
0.0006418041884899139,
0.11283453553915024,
-0.2048087865114212,
0.5850788354873657,
0.1846064031124115,
0.12979066371917725,
0.3108217120170593,
-0.09639757871627808,
0.6860249638557434,
-0.1007469967007637,
-0.49535655975341797,
-0.018546314910054207,
-0.04261064529418945,
0.06467625498771667,
0.11252264678478241,
0.30213552713394165,
-0.1705506145954132,
-0.4108615219593048,
0.05266624316573143,
-0.6017853021621704,
-0.08143723011016846,
0.11225652694702148,
-0.17888757586479187,
0.025728680193424225,
0.09259039163589478,
-0.18985909223556519,
-0.3393608033657074,
-0.16956275701522827,
0.005544744431972504,
0.557509183883667,
-0.05012168735265732,
0.3014119863510132,
-0.5939525961875916,
-0.24900317192077637,
-0.15691062808036804,
0.19279000163078308,
-0.1274874210357666,
0.2557534873485565,
-0.32643118500709534,
0.08634664863348007,
0.1326005458831787,
-0.01353936456143856,
0.4668223261833191,
-0.007300900295376778,
-0.001859273761510849,
0.21523551642894745,
0.21335908770561218,
-0.6372416615486145,
0.13661257922649384,
0.18528667092323303,
0.13880795240402222,
0.46349093317985535,
0.31167280673980713,
-0.18624702095985413,
-0.053310271352529526,
-0.05283685773611069,
0.3992611765861511,
-0.09941193461418152,
-0.14123834669589996,
-0.43895167112350464,
-0.5290256142616272,
-0.33301669359207153,
-0.3466005027294159,
0.04162910580635071,
0.3000883162021637,
-0.11271943897008896,
0.1479955017566681,
-0.03924652189016342,
0.08828049898147583,
0.19739677011966705,
0.21503689885139465,
0.33901795744895935,
0.20293843746185303,
-0.15176944434642792,
0.21569275856018066,
0.20739103853702545,
0.18645812571048737,
0.827720582485199,
-0.028064537793397903,
-0.4729872941970825,
-0.06765060126781464,
-0.16844475269317627,
0.25390249490737915,
0.25727614760398865,
-0.05255061760544777,
-0.2643872797489166,
0.08625226467847824,
-0.06164164841175079,
-0.10605199635028839,
0.2844642400741577,
-0.004287384450435638,
0.18147127330303192,
-0.14841997623443604,
-0.3832845091819763,
0.494452565908432,
-0.05227535218000412,
-0.018716171383857727,
0.1487671136856079,
0.16030409932136536,
-0.14534281194210052,
0.21555067598819733,
-0.2960326075553894,
1.1821035146713257,
0.08365634828805923,
0.16198596358299255,
0.1922806203365326,
-0.14244572818279266,
0.34133362770080566,
-0.24917054176330566,
-0.0668274462223053,
-0.01653071865439415,
0.1841176152229309,
-0.007436791434884071,
-0.150554820895195,
0.28064730763435364,
0.1858280748128891,
0.020497966557741165,
0.0036976600531488657,
-0.09629616141319275,
0.029985934495925903,
0.09892575442790985,
0.43799522519111633,
0.1277777999639511,
-0.018049828708171844,
-0.5319265127182007,
0.12796850502490997,
-0.007052809000015259,
0.6483963131904602,
-0.05896380543708801,
-0.15015648305416107,
-0.6219801902770996,
0.04173470288515091,
-0.16975688934326172,
0.05595102161169052,
-0.1763843297958374,
0.30468761920928955,
-0.02427629381418228,
-0.4557031989097595,
-0.13109740614891052,
0.38234570622444153,
0.4158373475074768,
0.06284825503826141,
-0.21002784371376038,
0.19425183534622192,
-0.0006205514073371887,
-0.23787425458431244,
0.1408262699842453,
-0.26392167806625366,
0.09897514432668686,
-0.16573476791381836,
-0.3407813608646393,
0.21492695808410645,
-0.05379544571042061,
-0.34722191095352173,
0.14091786742210388,
0.0401332750916481,
0.256425678730011,
0.04654840752482414,
-0.4316745102405548,
0.06520120799541473,
0.24917295575141907,
-0.12109971046447754,
0.04656441509723663,
0.032913267612457275,
0.0470806360244751,
-0.2022625207901001,
-0.22350965440273285,
-0.07866793125867844,
-0.09127883613109589,
0.4528011679649353,
-0.2509538531303406,
-0.17835618555545807,
0.37617164850234985,
0.13131079077720642,
-0.29860246181488037,
-0.0949716791510582,
0.17940902709960938,
-0.07178099453449249,
-0.49088597297668457,
-0.3483215570449829,
0.025863265618681908,
-0.03631668537855148,
-0.32218822836875916,
0.1668505221605301,
0.26644280552864075,
-0.2686614990234375,
0.1378796249628067,
-0.7992364168167114,
-0.009050937369465828,
0.21488453447818756,
0.0030078329145908356,
0.024018367752432823,
0.1495247185230255,
-0.18887610733509064,
0.17739209532737732,
-0.14928260445594788,
-0.20867320895195007,
0.10378056019544601,
-0.20426274836063385,
-0.07088565081357956,
0.36451631784439087,
0.07976805418729782,
0.1445760428905487,
-0.2587430775165558,
0.03317739814519882,
-0.3906829357147217,
0.07116043567657471,
-0.1381138563156128,
-0.023248642683029175,
0.16778850555419922,
-0.030742116272449493,
-0.07363653928041458,
-0.18448825180530548,
-0.42346882820129395,
0.049509063363075256,
-0.09760336577892303,
-0.15040592849254608,
-0.02867092937231064,
0.05166289210319519,
-0.14117899537086487,
-0.09389811754226685,
0.3486447036266327,
-0.001461133360862732,
0.21085219085216522,
0.06608030200004578,
0.5716891288757324,
0.036540646106004715,
0.02532075345516205,
0.10666018724441528,
0.010491050779819489,
-0.05285675823688507,
0.11874310672283173,
-0.12426503002643585,
0.17279496788978577,
0.3727680444717407,
-0.3196749687194824,
0.3249737024307251,
0.12096512317657471,
-0.0035800570622086525,
0.5077813863754272,
-0.44136807322502136,
0.14628912508487701,
0.30294644832611084,
0.04758294299244881,
-0.2808189392089844,
-0.18597836792469025,
0.4009408950805664,
0.05550486966967583,
-0.061602622270584106,
0.2878831923007965,
0.25376754999160767,
-0.18906086683273315,
0.3890485167503357,
0.12931230664253235,
0.46279048919677734,
0.45013701915740967,
0.20297928154468536,
0.09399201720952988,
0.07953846454620361,
0.03933480381965637,
-0.07041065394878387,
0.3201724886894226,
-0.032069601118564606,
0.4540112614631653,
-0.26134905219078064,
0.10916872322559357,
0.04258578270673752,
0.1719932109117508,
-0.19054752588272095,
-0.226715549826622,
0.16927260160446167,
-0.16528257727622986,
0.03991140425205231,
0.04554300755262375,
-0.16025719046592712,
0.4140927791595459,
-0.4061878025531769,
-0.11181578785181046,
0.019763542339205742,
0.2420538365840912,
0.045682940632104874,
-0.048439379781484604,
-0.22430062294006348,
-0.2722093164920807,
-0.13577482104301453,
-0.18459190428256989,
0.13575448095798492,
-0.523268461227417,
0.20458731055259705,
0.1481911838054657,
-0.15736065804958344,
-0.29575854539871216,
-0.022704869508743286,
0.2689618766307831,
0.07167582213878632,
-0.11483697593212128,
0.32660365104675293,
0.21353958547115326,
0.06520340591669083,
0.111848384141922,
0.28810933232307434,
0.46425777673721313,
0.2599308490753174,
-0.11090324819087982,
-0.005332132801413536,
-0.00547725148499012,
-0.1516873687505722,
-0.25877973437309265,
0.2607496678829193,
0.0704793781042099,
0.057453740388154984,
0.34489989280700684,
0.16660763323307037,
-0.0934453010559082,
-0.10949724912643433,
0.27278730273246765,
0.014625334180891514,
-0.17558203637599945,
0.1559971421957016,
-0.47843512892723083,
-0.010586880147457123,
-0.30960971117019653,
0.0426049642264843,
-0.3361676037311554,
-0.011536370031535625,
0.2119976282119751,
0.024480225518345833,
0.14570128917694092,
-0.2048269361257553,
0.02409912645816803,
0.039407242089509964,
0.4086045026779175,
0.3885655701160431,
0.29427123069763184,
-0.2616148889064789,
-0.5872484445571899,
-0.8084731698036194,
0.1373802274465561,
-0.2018902599811554,
-0.4872540533542633,
0.03158659487962723,
-0.10723859816789627,
0.07699526101350784,
0.25303083658218384,
0.015967346727848053,
0.30990445613861084,
-0.08012834191322327,
-0.10848481953144073,
-0.2610020935535431,
-0.23170657455921173,
-0.2546127438545227,
0.09008146077394485,
-0.1903466284275055,
-0.14210963249206543,
0.19017858803272247,
-0.5949851870536804,
0.0008110404014587402,
0.16394884884357452,
-0.10576587915420532,
-0.20820650458335876,
-0.04787581413984299,
0.56557297706604,
-0.11495280265808105,
0.26843684911727905,
0.047927126288414,
-0.23052793741226196,
-0.11256536841392517,
-0.25216150283813477,
0.16323377192020416,
0.6077490448951721,
0.007039843127131462,
0.2551535964012146,
-0.4812215268611908,
0.016990266740322113,
-0.08850907534360886,
-0.02637515589594841,
0.2812681794166565,
-0.15492159128189087,
0.1070496141910553,
-0.07855773717164993,
-0.10624105483293533,
0.25990036129951477,
0.2936936616897583,
0.30487969517707825,
-0.24133586883544922,
0.17668908834457397,
-0.1652902364730835,
-0.1124802902340889,
0.3234546184539795,
-0.30523744225502014,
-0.26124364137649536,
0.17048102617263794,
0.13559170067310333,
0.0898253470659256,
0.17520305514335632,
-0.24060377478599548,
0.18920692801475525,
0.33137285709381104,
0.15251053869724274,
-0.19498690962791443,
0.2746851444244385,
-0.3622046411037445,
-0.16526058316230774,
-0.04521667957305908,
0.13301140069961548,
0.03234302997589111,
0.010825363919138908,
0.020680692046880722,
-0.02550322934985161
] |
https://github.com/huggingface/datasets/issues/1674 | dutch_social can't be loaded | @lhoestq could you also shed light on the Hindi Wikipedia Dataset for issue number #1673. Will this also be available in the new release that you committed recently? | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koenvandenberge$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from datasets import load_dataset
dataset = load_dataset(
'dutch_social')
>>> dataset = load_dataset(
... 'dutch_social')
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
``` | 28 | dutch_social can't be loaded
Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koenvandenberge$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from datasets import load_dataset
dataset = load_dataset(
'dutch_social')
>>> dataset = load_dataset(
... 'dutch_social')
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
```
@lhoestq could you also shed light on the Hindi Wikipedia Dataset for issue number #1673. Will this also be available in the new release that you committed recently? | [
-0.14401283860206604,
-0.12778624892234802,
-0.1560763120651245,
0.293396919965744,
0.2167997509241104,
-0.13488860428333282,
-0.012057837098836899,
0.09374081343412399,
0.39580297470092773,
-0.08629675209522247,
-0.2941347062587738,
-0.007835476659238338,
0.019676104187965393,
-0.042147040367126465,
0.13732191920280457,
0.1136011928319931,
0.22467586398124695,
0.09364856779575348,
0.1446140706539154,
-0.13795627653598785,
-0.2554819881916046,
0.4084301292896271,
0.03647882491350174,
0.11952544748783112,
0.05357586592435837,
0.24329087138175964,
-0.08378449827432632,
0.31918907165527344,
-0.06338740140199661,
-0.29486191272735596,
0.34699735045433044,
0.13545896112918854,
0.12170363962650299,
0.5947437286376953,
-0.00012200586934341118,
0.015369057655334473,
0.47937142848968506,
-0.0934169664978981,
-0.6241429448127747,
-0.41021299362182617,
0.02056203782558441,
-0.2827772796154022,
0.06464211642742157,
-0.07204388082027435,
-0.062248989939689636,
-0.2690679430961609,
-0.010532813146710396,
-0.47449496388435364,
0.2986164093017578,
0.41659361124038696,
0.11147555708885193,
-0.01082390733063221,
0.07612252235412598,
-0.0746556743979454,
0.029588229954242706,
0.3834807276725769,
0.06954894214868546,
0.5175900459289551,
0.25598084926605225,
0.019176308065652847,
0.475799560546875,
0.13931900262832642,
-0.16365034878253937,
-0.18413007259368896,
0.16824957728385925,
-0.17723502218723297,
-0.08079472929239273,
-0.22218364477157593,
0.14762556552886963,
-0.07496438175439835,
0.45828181505203247,
-0.08868586272001266,
-0.2649422883987427,
-0.2424677610397339,
0.04612378031015396,
0.05476244539022446,
0.27652981877326965,
0.12221554666757584,
-0.37785518169403076,
0.2942797541618347,
-0.17582553625106812,
-0.221048966050148,
-0.13486412167549133,
0.5424724221229553,
0.06686195731163025,
0.05457529053092003,
-0.19980281591415405,
0.09725571423768997,
0.24034114181995392,
-0.14091065526008606,
-0.002545030787587166,
-0.17237159609794617,
0.18791313469409943,
0.27415305376052856,
0.047662511467933655,
0.27517032623291016,
0.10913534462451935,
0.12290447950363159,
0.012469600886106491,
0.20886047184467316,
-0.008322552777826786,
0.06110381707549095,
-0.2934061288833618,
0.26610708236694336,
0.14516159892082214,
-0.06343093514442444,
0.16142074763774872,
-0.05786026641726494,
0.13877210021018982,
0.2737370431423187,
-0.2378365695476532,
-0.022034887224435806,
-0.513117253780365,
-0.22617776691913605,
-0.4047652781009674,
-0.1627120077610016,
0.052698396146297455,
-0.18874885141849518,
-0.23927077651023865,
-0.05375286936759949,
0.23835629224777222,
0.11248592287302017,
0.15007051825523376,
0.4265650808811188,
-0.05683939531445503,
0.13092464208602905,
0.015759460628032684,
0.33482134342193604,
-0.09720312058925629,
0.1625240296125412,
0.004387753549963236,
0.011590514332056046,
-0.23950552940368652,
-0.10330617427825928,
0.3564894497394562,
-0.1404215395450592,
0.3913652002811432,
-0.01331339217722416,
0.019396230578422546,
-0.2262599766254425,
-0.06517539918422699,
-0.17231738567352295,
-0.020799733698368073,
0.41100722551345825,
-0.05040282383561134,
0.18488244712352753,
0.23012353479862213,
-0.3826443552970886,
-0.28561246395111084,
0.02201186865568161,
-0.42665258049964905,
-0.25796011090278625,
-0.13708023726940155,
0.08650431782007217,
-0.3576447367668152,
-0.0483066663146019,
-0.25187811255455017,
0.0720808357000351,
-0.2459036409854889,
-0.36086317896842957,
-0.1423637866973877,
-0.06262499839067459,
0.05692393705248833,
-0.1635664403438568,
0.4047258794307709,
0.6451684832572937,
-0.25956347584724426,
-0.13387003540992737,
-0.2519385516643524,
-0.09793052077293396,
0.11668036878108978,
0.15492987632751465,
-0.2774694263935089,
0.1003132238984108,
-0.42179498076438904,
-0.12956993281841278,
0.5071361064910889,
-0.3881824314594269,
-0.10349538922309875,
0.04326900467276573,
0.04420667141675949,
0.4348088502883911,
0.06771773099899292,
-0.002192256273701787,
-0.2236291915178299,
0.0936075821518898,
0.11779484152793884,
0.3654603958129883,
0.2958671748638153,
-0.3151165246963501,
-0.04360327869653702,
-0.08808901906013489,
0.21524064242839813,
0.4358343482017517,
-0.07890240848064423,
-0.06527914851903915,
0.3209889829158783,
-0.017973965033888817,
0.06766872853040695,
-0.04433133080601692,
-0.11221811175346375,
0.39950042963027954,
-0.10023562610149384,
0.6040773391723633,
-0.12015586346387863,
0.0579325407743454,
-0.16157928109169006,
0.16202780604362488,
0.36290425062179565,
-0.09499016404151917,
-0.213139608502388,
0.014592032879590988,
-0.5914061069488525,
0.10863830894231796,
-0.24409405887126923,
-0.07960298657417297,
0.04424081742763519,
0.3385518491268158,
0.20978349447250366,
0.4188045859336853,
-0.13033679127693176,
0.5874921679496765,
-0.18200547993183136,
-0.00044488260755315423,
-0.1368415653705597,
0.3376156687736511,
-0.07734055072069168,
0.006912890821695328,
-0.02588348649442196,
0.4640437960624695,
0.19163280725479126,
-0.07536399364471436,
0.13066011667251587,
0.17758259177207947,
0.27571019530296326,
0.14317414164543152,
0.3152179718017578,
-0.14597119390964508,
0.01337370090186596,
-0.1851283311843872,
0.026444273069500923,
0.2751172184944153,
0.16683052480220795,
-0.08805672079324722,
-0.25024986267089844,
0.15575970709323883,
-0.006282158195972443,
0.28420642018318176,
0.1452290415763855,
0.0032309330999851227,
0.29158395528793335,
-0.023569682613015175,
-0.04595795273780823,
-0.16006344556808472,
0.33232367038726807,
-0.17024312913417816,
0.512002170085907,
-0.006220957264304161,
-0.27480846643447876,
0.15380187332630157,
0.013451877981424332,
-0.11309890449047089,
0.06631818413734436,
0.2667788863182068,
-0.16948994994163513,
0.18209785223007202,
0.16494110226631165,
0.23063598573207855,
0.5306186079978943,
0.15017680823802948,
0.058415256440639496,
-0.10424793511629105,
0.1984352022409439,
-0.22638879716396332,
0.19611245393753052,
0.07796363532543182,
0.35957664251327515,
0.10464776307344437,
0.13162434101104736,
0.12274262309074402,
-0.25726640224456787,
-0.5361447334289551,
-0.14957186579704285,
0.05220785737037659,
-0.2917068898677826,
0.32173025608062744,
-0.18549446761608124,
-0.40139785408973694,
-0.3152744472026825,
-0.13558390736579895,
-0.2492752969264984,
-0.36319687962532043,
-0.18291570246219635,
0.13991686701774597,
0.037937287241220474,
-0.04919614642858505,
-0.1167752593755722,
0.1715296506881714,
-0.2130712866783142,
-0.38479506969451904,
-0.3287185728549957,
-0.0870075598359108,
-0.04971535503864288,
-0.09377814829349518,
0.4112951159477234,
0.10011915862560272,
0.1564812809228897,
-0.49329784512519836,
0.12152887880802155,
0.09445703774690628,
-0.4239717721939087,
-0.1459391564130783,
-0.06582684069871902,
0.1950838416814804,
-0.08139227330684662,
0.348563015460968,
-0.23511730134487152,
-0.3012832999229431,
0.36197587847709656,
-0.019668765366077423,
-0.07977593690156937,
0.1490667760372162,
0.20290251076221466,
-0.04209798574447632,
-0.16451503336429596,
-0.03642822802066803,
-0.8044581413269043,
-0.3288800120353699,
0.1570768654346466,
0.2175283581018448,
0.015411626547574997,
0.4426359534263611,
0.38731133937835693,
0.04523356258869171,
-0.034810490906238556,
0.13032710552215576,
-0.17641940712928772,
-0.35315048694610596,
0.6498782634735107,
-0.3994505703449249,
-0.2847267985343933,
0.1182229220867157,
0.2317681461572647,
0.21421344578266144,
-0.35262537002563477,
-0.4864184856414795,
0.0804353728890419,
0.07730689644813538,
0.28777214884757996,
-0.0448327511548996,
0.14167216420173645,
-0.08675427734851837,
-0.06892815232276917,
-0.046039432287216187,
-0.13496166467666626,
-0.013584223575890064,
-0.11639108508825302,
-0.3259764313697815,
0.25629162788391113,
0.0006418041884899139,
0.11283453553915024,
-0.2048087865114212,
0.5850788354873657,
0.1846064031124115,
0.12979066371917725,
0.3108217120170593,
-0.09639757871627808,
0.6860249638557434,
-0.1007469967007637,
-0.49535655975341797,
-0.018546314910054207,
-0.04261064529418945,
0.06467625498771667,
0.11252264678478241,
0.30213552713394165,
-0.1705506145954132,
-0.4108615219593048,
0.05266624316573143,
-0.6017853021621704,
-0.08143723011016846,
0.11225652694702148,
-0.17888757586479187,
0.025728680193424225,
0.09259039163589478,
-0.18985909223556519,
-0.3393608033657074,
-0.16956275701522827,
0.005544744431972504,
0.557509183883667,
-0.05012168735265732,
0.3014119863510132,
-0.5939525961875916,
-0.24900317192077637,
-0.15691062808036804,
0.19279000163078308,
-0.1274874210357666,
0.2557534873485565,
-0.32643118500709534,
0.08634664863348007,
0.1326005458831787,
-0.01353936456143856,
0.4668223261833191,
-0.007300900295376778,
-0.001859273761510849,
0.21523551642894745,
0.21335908770561218,
-0.6372416615486145,
0.13661257922649384,
0.18528667092323303,
0.13880795240402222,
0.46349093317985535,
0.31167280673980713,
-0.18624702095985413,
-0.053310271352529526,
-0.05283685773611069,
0.3992611765861511,
-0.09941193461418152,
-0.14123834669589996,
-0.43895167112350464,
-0.5290256142616272,
-0.33301669359207153,
-0.3466005027294159,
0.04162910580635071,
0.3000883162021637,
-0.11271943897008896,
0.1479955017566681,
-0.03924652189016342,
0.08828049898147583,
0.19739677011966705,
0.21503689885139465,
0.33901795744895935,
0.20293843746185303,
-0.15176944434642792,
0.21569275856018066,
0.20739103853702545,
0.18645812571048737,
0.827720582485199,
-0.028064537793397903,
-0.4729872941970825,
-0.06765060126781464,
-0.16844475269317627,
0.25390249490737915,
0.25727614760398865,
-0.05255061760544777,
-0.2643872797489166,
0.08625226467847824,
-0.06164164841175079,
-0.10605199635028839,
0.2844642400741577,
-0.004287384450435638,
0.18147127330303192,
-0.14841997623443604,
-0.3832845091819763,
0.494452565908432,
-0.05227535218000412,
-0.018716171383857727,
0.1487671136856079,
0.16030409932136536,
-0.14534281194210052,
0.21555067598819733,
-0.2960326075553894,
1.1821035146713257,
0.08365634828805923,
0.16198596358299255,
0.1922806203365326,
-0.14244572818279266,
0.34133362770080566,
-0.24917054176330566,
-0.0668274462223053,
-0.01653071865439415,
0.1841176152229309,
-0.007436791434884071,
-0.150554820895195,
0.28064730763435364,
0.1858280748128891,
0.020497966557741165,
0.0036976600531488657,
-0.09629616141319275,
0.029985934495925903,
0.09892575442790985,
0.43799522519111633,
0.1277777999639511,
-0.018049828708171844,
-0.5319265127182007,
0.12796850502490997,
-0.007052809000015259,
0.6483963131904602,
-0.05896380543708801,
-0.15015648305416107,
-0.6219801902770996,
0.04173470288515091,
-0.16975688934326172,
0.05595102161169052,
-0.1763843297958374,
0.30468761920928955,
-0.02427629381418228,
-0.4557031989097595,
-0.13109740614891052,
0.38234570622444153,
0.4158373475074768,
0.06284825503826141,
-0.21002784371376038,
0.19425183534622192,
-0.0006205514073371887,
-0.23787425458431244,
0.1408262699842453,
-0.26392167806625366,
0.09897514432668686,
-0.16573476791381836,
-0.3407813608646393,
0.21492695808410645,
-0.05379544571042061,
-0.34722191095352173,
0.14091786742210388,
0.0401332750916481,
0.256425678730011,
0.04654840752482414,
-0.4316745102405548,
0.06520120799541473,
0.24917295575141907,
-0.12109971046447754,
0.04656441509723663,
0.032913267612457275,
0.0470806360244751,
-0.2022625207901001,
-0.22350965440273285,
-0.07866793125867844,
-0.09127883613109589,
0.4528011679649353,
-0.2509538531303406,
-0.17835618555545807,
0.37617164850234985,
0.13131079077720642,
-0.29860246181488037,
-0.0949716791510582,
0.17940902709960938,
-0.07178099453449249,
-0.49088597297668457,
-0.3483215570449829,
0.025863265618681908,
-0.03631668537855148,
-0.32218822836875916,
0.1668505221605301,
0.26644280552864075,
-0.2686614990234375,
0.1378796249628067,
-0.7992364168167114,
-0.009050937369465828,
0.21488453447818756,
0.0030078329145908356,
0.024018367752432823,
0.1495247185230255,
-0.18887610733509064,
0.17739209532737732,
-0.14928260445594788,
-0.20867320895195007,
0.10378056019544601,
-0.20426274836063385,
-0.07088565081357956,
0.36451631784439087,
0.07976805418729782,
0.1445760428905487,
-0.2587430775165558,
0.03317739814519882,
-0.3906829357147217,
0.07116043567657471,
-0.1381138563156128,
-0.023248642683029175,
0.16778850555419922,
-0.030742116272449493,
-0.07363653928041458,
-0.18448825180530548,
-0.42346882820129395,
0.049509063363075256,
-0.09760336577892303,
-0.15040592849254608,
-0.02867092937231064,
0.05166289210319519,
-0.14117899537086487,
-0.09389811754226685,
0.3486447036266327,
-0.001461133360862732,
0.21085219085216522,
0.06608030200004578,
0.5716891288757324,
0.036540646106004715,
0.02532075345516205,
0.10666018724441528,
0.010491050779819489,
-0.05285675823688507,
0.11874310672283173,
-0.12426503002643585,
0.17279496788978577,
0.3727680444717407,
-0.3196749687194824,
0.3249737024307251,
0.12096512317657471,
-0.0035800570622086525,
0.5077813863754272,
-0.44136807322502136,
0.14628912508487701,
0.30294644832611084,
0.04758294299244881,
-0.2808189392089844,
-0.18597836792469025,
0.4009408950805664,
0.05550486966967583,
-0.061602622270584106,
0.2878831923007965,
0.25376754999160767,
-0.18906086683273315,
0.3890485167503357,
0.12931230664253235,
0.46279048919677734,
0.45013701915740967,
0.20297928154468536,
0.09399201720952988,
0.07953846454620361,
0.03933480381965637,
-0.07041065394878387,
0.3201724886894226,
-0.032069601118564606,
0.4540112614631653,
-0.26134905219078064,
0.10916872322559357,
0.04258578270673752,
0.1719932109117508,
-0.19054752588272095,
-0.226715549826622,
0.16927260160446167,
-0.16528257727622986,
0.03991140425205231,
0.04554300755262375,
-0.16025719046592712,
0.4140927791595459,
-0.4061878025531769,
-0.11181578785181046,
0.019763542339205742,
0.2420538365840912,
0.045682940632104874,
-0.048439379781484604,
-0.22430062294006348,
-0.2722093164920807,
-0.13577482104301453,
-0.18459190428256989,
0.13575448095798492,
-0.523268461227417,
0.20458731055259705,
0.1481911838054657,
-0.15736065804958344,
-0.29575854539871216,
-0.022704869508743286,
0.2689618766307831,
0.07167582213878632,
-0.11483697593212128,
0.32660365104675293,
0.21353958547115326,
0.06520340591669083,
0.111848384141922,
0.28810933232307434,
0.46425777673721313,
0.2599308490753174,
-0.11090324819087982,
-0.005332132801413536,
-0.00547725148499012,
-0.1516873687505722,
-0.25877973437309265,
0.2607496678829193,
0.0704793781042099,
0.057453740388154984,
0.34489989280700684,
0.16660763323307037,
-0.0934453010559082,
-0.10949724912643433,
0.27278730273246765,
0.014625334180891514,
-0.17558203637599945,
0.1559971421957016,
-0.47843512892723083,
-0.010586880147457123,
-0.30960971117019653,
0.0426049642264843,
-0.3361676037311554,
-0.011536370031535625,
0.2119976282119751,
0.024480225518345833,
0.14570128917694092,
-0.2048269361257553,
0.02409912645816803,
0.039407242089509964,
0.4086045026779175,
0.3885655701160431,
0.29427123069763184,
-0.2616148889064789,
-0.5872484445571899,
-0.8084731698036194,
0.1373802274465561,
-0.2018902599811554,
-0.4872540533542633,
0.03158659487962723,
-0.10723859816789627,
0.07699526101350784,
0.25303083658218384,
0.015967346727848053,
0.30990445613861084,
-0.08012834191322327,
-0.10848481953144073,
-0.2610020935535431,
-0.23170657455921173,
-0.2546127438545227,
0.09008146077394485,
-0.1903466284275055,
-0.14210963249206543,
0.19017858803272247,
-0.5949851870536804,
0.0008110404014587402,
0.16394884884357452,
-0.10576587915420532,
-0.20820650458335876,
-0.04787581413984299,
0.56557297706604,
-0.11495280265808105,
0.26843684911727905,
0.047927126288414,
-0.23052793741226196,
-0.11256536841392517,
-0.25216150283813477,
0.16323377192020416,
0.6077490448951721,
0.007039843127131462,
0.2551535964012146,
-0.4812215268611908,
0.016990266740322113,
-0.08850907534360886,
-0.02637515589594841,
0.2812681794166565,
-0.15492159128189087,
0.1070496141910553,
-0.07855773717164993,
-0.10624105483293533,
0.25990036129951477,
0.2936936616897583,
0.30487969517707825,
-0.24133586883544922,
0.17668908834457397,
-0.1652902364730835,
-0.1124802902340889,
0.3234546184539795,
-0.30523744225502014,
-0.26124364137649536,
0.17048102617263794,
0.13559170067310333,
0.0898253470659256,
0.17520305514335632,
-0.24060377478599548,
0.18920692801475525,
0.33137285709381104,
0.15251053869724274,
-0.19498690962791443,
0.2746851444244385,
-0.3622046411037445,
-0.16526058316230774,
-0.04521667957305908,
0.13301140069961548,
0.03234302997589111,
0.010825363919138908,
0.020680692046880722,
-0.02550322934985161
] |
https://github.com/huggingface/datasets/issues/1674 | dutch_social can't be loaded | Okay. Could you comment on the #1673 thread? Actually @thomwolf had commented that if i use datasets library from source, it would allow me to download the Hindi Wikipedia Dataset but even the version 1.1.3 gave me the same issue. The details are there in the issue #1673 thread. | Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koenvandenberge$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from datasets import load_dataset
dataset = load_dataset(
'dutch_social')
>>> dataset = load_dataset(
... 'dutch_social')
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
``` | 49 | dutch_social can't be loaded
Hi all,
I'm trying to import the `dutch_social` dataset described [here](https://huggingface.co/datasets/dutch_social).
However, the code that should load the data doesn't seem to be working, in particular because the corresponding files can't be found at the provided links.
```
(base) Koens-MacBook-Pro:~ koenvandenberge$ python
Python 3.7.4 (default, Aug 13 2019, 15:17:50)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from datasets import load_dataset
dataset = load_dataset(
'dutch_social')
>>> dataset = load_dataset(
... 'dutch_social')
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/koenvandenberge/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at dutch_social/dutch_social.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/dutch_social/dutch_social.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/dutch_social/dutch_social.py
```
Okay. Could you comment on the #1673 thread? Actually @thomwolf had commented that if i use datasets library from source, it would allow me to download the Hindi Wikipedia Dataset but even the version 1.1.3 gave me the same issue. The details are there in the issue #1673 thread. | [
-0.14401283860206604,
-0.12778624892234802,
-0.1560763120651245,
0.293396919965744,
0.2167997509241104,
-0.13488860428333282,
-0.012057837098836899,
0.09374081343412399,
0.39580297470092773,
-0.08629675209522247,
-0.2941347062587738,
-0.007835476659238338,
0.019676104187965393,
-0.042147040367126465,
0.13732191920280457,
0.1136011928319931,
0.22467586398124695,
0.09364856779575348,
0.1446140706539154,
-0.13795627653598785,
-0.2554819881916046,
0.4084301292896271,
0.03647882491350174,
0.11952544748783112,
0.05357586592435837,
0.24329087138175964,
-0.08378449827432632,
0.31918907165527344,
-0.06338740140199661,
-0.29486191272735596,
0.34699735045433044,
0.13545896112918854,
0.12170363962650299,
0.5947437286376953,
-0.00012200586934341118,
0.015369057655334473,
0.47937142848968506,
-0.0934169664978981,
-0.6241429448127747,
-0.41021299362182617,
0.02056203782558441,
-0.2827772796154022,
0.06464211642742157,
-0.07204388082027435,
-0.062248989939689636,
-0.2690679430961609,
-0.010532813146710396,
-0.47449496388435364,
0.2986164093017578,
0.41659361124038696,
0.11147555708885193,
-0.01082390733063221,
0.07612252235412598,
-0.0746556743979454,
0.029588229954242706,
0.3834807276725769,
0.06954894214868546,
0.5175900459289551,
0.25598084926605225,
0.019176308065652847,
0.475799560546875,
0.13931900262832642,
-0.16365034878253937,
-0.18413007259368896,
0.16824957728385925,
-0.17723502218723297,
-0.08079472929239273,
-0.22218364477157593,
0.14762556552886963,
-0.07496438175439835,
0.45828181505203247,
-0.08868586272001266,
-0.2649422883987427,
-0.2424677610397339,
0.04612378031015396,
0.05476244539022446,
0.27652981877326965,
0.12221554666757584,
-0.37785518169403076,
0.2942797541618347,
-0.17582553625106812,
-0.221048966050148,
-0.13486412167549133,
0.5424724221229553,
0.06686195731163025,
0.05457529053092003,
-0.19980281591415405,
0.09725571423768997,
0.24034114181995392,
-0.14091065526008606,
-0.002545030787587166,
-0.17237159609794617,
0.18791313469409943,
0.27415305376052856,
0.047662511467933655,
0.27517032623291016,
0.10913534462451935,
0.12290447950363159,
0.012469600886106491,
0.20886047184467316,
-0.008322552777826786,
0.06110381707549095,
-0.2934061288833618,
0.26610708236694336,
0.14516159892082214,
-0.06343093514442444,
0.16142074763774872,
-0.05786026641726494,
0.13877210021018982,
0.2737370431423187,
-0.2378365695476532,
-0.022034887224435806,
-0.513117253780365,
-0.22617776691913605,
-0.4047652781009674,
-0.1627120077610016,
0.052698396146297455,
-0.18874885141849518,
-0.23927077651023865,
-0.05375286936759949,
0.23835629224777222,
0.11248592287302017,
0.15007051825523376,
0.4265650808811188,
-0.05683939531445503,
0.13092464208602905,
0.015759460628032684,
0.33482134342193604,
-0.09720312058925629,
0.1625240296125412,
0.004387753549963236,
0.011590514332056046,
-0.23950552940368652,
-0.10330617427825928,
0.3564894497394562,
-0.1404215395450592,
0.3913652002811432,
-0.01331339217722416,
0.019396230578422546,
-0.2262599766254425,
-0.06517539918422699,
-0.17231738567352295,
-0.020799733698368073,
0.41100722551345825,
-0.05040282383561134,
0.18488244712352753,
0.23012353479862213,
-0.3826443552970886,
-0.28561246395111084,
0.02201186865568161,
-0.42665258049964905,
-0.25796011090278625,
-0.13708023726940155,
0.08650431782007217,
-0.3576447367668152,
-0.0483066663146019,
-0.25187811255455017,
0.0720808357000351,
-0.2459036409854889,
-0.36086317896842957,
-0.1423637866973877,
-0.06262499839067459,
0.05692393705248833,
-0.1635664403438568,
0.4047258794307709,
0.6451684832572937,
-0.25956347584724426,
-0.13387003540992737,
-0.2519385516643524,
-0.09793052077293396,
0.11668036878108978,
0.15492987632751465,
-0.2774694263935089,
0.1003132238984108,
-0.42179498076438904,
-0.12956993281841278,
0.5071361064910889,
-0.3881824314594269,
-0.10349538922309875,
0.04326900467276573,
0.04420667141675949,
0.4348088502883911,
0.06771773099899292,
-0.002192256273701787,
-0.2236291915178299,
0.0936075821518898,
0.11779484152793884,
0.3654603958129883,
0.2958671748638153,
-0.3151165246963501,
-0.04360327869653702,
-0.08808901906013489,
0.21524064242839813,
0.4358343482017517,
-0.07890240848064423,
-0.06527914851903915,
0.3209889829158783,
-0.017973965033888817,
0.06766872853040695,
-0.04433133080601692,
-0.11221811175346375,
0.39950042963027954,
-0.10023562610149384,
0.6040773391723633,
-0.12015586346387863,
0.0579325407743454,
-0.16157928109169006,
0.16202780604362488,
0.36290425062179565,
-0.09499016404151917,
-0.213139608502388,
0.014592032879590988,
-0.5914061069488525,
0.10863830894231796,
-0.24409405887126923,
-0.07960298657417297,
0.04424081742763519,
0.3385518491268158,
0.20978349447250366,
0.4188045859336853,
-0.13033679127693176,
0.5874921679496765,
-0.18200547993183136,
-0.00044488260755315423,
-0.1368415653705597,
0.3376156687736511,
-0.07734055072069168,
0.006912890821695328,
-0.02588348649442196,
0.4640437960624695,
0.19163280725479126,
-0.07536399364471436,
0.13066011667251587,
0.17758259177207947,
0.27571019530296326,
0.14317414164543152,
0.3152179718017578,
-0.14597119390964508,
0.01337370090186596,
-0.1851283311843872,
0.026444273069500923,
0.2751172184944153,
0.16683052480220795,
-0.08805672079324722,
-0.25024986267089844,
0.15575970709323883,
-0.006282158195972443,
0.28420642018318176,
0.1452290415763855,
0.0032309330999851227,
0.29158395528793335,
-0.023569682613015175,
-0.04595795273780823,
-0.16006344556808472,
0.33232367038726807,
-0.17024312913417816,
0.512002170085907,
-0.006220957264304161,
-0.27480846643447876,
0.15380187332630157,
0.013451877981424332,
-0.11309890449047089,
0.06631818413734436,
0.2667788863182068,
-0.16948994994163513,
0.18209785223007202,
0.16494110226631165,
0.23063598573207855,
0.5306186079978943,
0.15017680823802948,
0.058415256440639496,
-0.10424793511629105,
0.1984352022409439,
-0.22638879716396332,
0.19611245393753052,
0.07796363532543182,
0.35957664251327515,
0.10464776307344437,
0.13162434101104736,
0.12274262309074402,
-0.25726640224456787,
-0.5361447334289551,
-0.14957186579704285,
0.05220785737037659,
-0.2917068898677826,
0.32173025608062744,
-0.18549446761608124,
-0.40139785408973694,
-0.3152744472026825,
-0.13558390736579895,
-0.2492752969264984,
-0.36319687962532043,
-0.18291570246219635,
0.13991686701774597,
0.037937287241220474,
-0.04919614642858505,
-0.1167752593755722,
0.1715296506881714,
-0.2130712866783142,
-0.38479506969451904,
-0.3287185728549957,
-0.0870075598359108,
-0.04971535503864288,
-0.09377814829349518,
0.4112951159477234,
0.10011915862560272,
0.1564812809228897,
-0.49329784512519836,
0.12152887880802155,
0.09445703774690628,
-0.4239717721939087,
-0.1459391564130783,
-0.06582684069871902,
0.1950838416814804,
-0.08139227330684662,
0.348563015460968,
-0.23511730134487152,
-0.3012832999229431,
0.36197587847709656,
-0.019668765366077423,
-0.07977593690156937,
0.1490667760372162,
0.20290251076221466,
-0.04209798574447632,
-0.16451503336429596,
-0.03642822802066803,
-0.8044581413269043,
-0.3288800120353699,
0.1570768654346466,
0.2175283581018448,
0.015411626547574997,
0.4426359534263611,
0.38731133937835693,
0.04523356258869171,
-0.034810490906238556,
0.13032710552215576,
-0.17641940712928772,
-0.35315048694610596,
0.6498782634735107,
-0.3994505703449249,
-0.2847267985343933,
0.1182229220867157,
0.2317681461572647,
0.21421344578266144,
-0.35262537002563477,
-0.4864184856414795,
0.0804353728890419,
0.07730689644813538,
0.28777214884757996,
-0.0448327511548996,
0.14167216420173645,
-0.08675427734851837,
-0.06892815232276917,
-0.046039432287216187,
-0.13496166467666626,
-0.013584223575890064,
-0.11639108508825302,
-0.3259764313697815,
0.25629162788391113,
0.0006418041884899139,
0.11283453553915024,
-0.2048087865114212,
0.5850788354873657,
0.1846064031124115,
0.12979066371917725,
0.3108217120170593,
-0.09639757871627808,
0.6860249638557434,
-0.1007469967007637,
-0.49535655975341797,
-0.018546314910054207,
-0.04261064529418945,
0.06467625498771667,
0.11252264678478241,
0.30213552713394165,
-0.1705506145954132,
-0.4108615219593048,
0.05266624316573143,
-0.6017853021621704,
-0.08143723011016846,
0.11225652694702148,
-0.17888757586479187,
0.025728680193424225,
0.09259039163589478,
-0.18985909223556519,
-0.3393608033657074,
-0.16956275701522827,
0.005544744431972504,
0.557509183883667,
-0.05012168735265732,
0.3014119863510132,
-0.5939525961875916,
-0.24900317192077637,
-0.15691062808036804,
0.19279000163078308,
-0.1274874210357666,
0.2557534873485565,
-0.32643118500709534,
0.08634664863348007,
0.1326005458831787,
-0.01353936456143856,
0.4668223261833191,
-0.007300900295376778,
-0.001859273761510849,
0.21523551642894745,
0.21335908770561218,
-0.6372416615486145,
0.13661257922649384,
0.18528667092323303,
0.13880795240402222,
0.46349093317985535,
0.31167280673980713,
-0.18624702095985413,
-0.053310271352529526,
-0.05283685773611069,
0.3992611765861511,
-0.09941193461418152,
-0.14123834669589996,
-0.43895167112350464,
-0.5290256142616272,
-0.33301669359207153,
-0.3466005027294159,
0.04162910580635071,
0.3000883162021637,
-0.11271943897008896,
0.1479955017566681,
-0.03924652189016342,
0.08828049898147583,
0.19739677011966705,
0.21503689885139465,
0.33901795744895935,
0.20293843746185303,
-0.15176944434642792,
0.21569275856018066,
0.20739103853702545,
0.18645812571048737,
0.827720582485199,
-0.028064537793397903,
-0.4729872941970825,
-0.06765060126781464,
-0.16844475269317627,
0.25390249490737915,
0.25727614760398865,
-0.05255061760544777,
-0.2643872797489166,
0.08625226467847824,
-0.06164164841175079,
-0.10605199635028839,
0.2844642400741577,
-0.004287384450435638,
0.18147127330303192,
-0.14841997623443604,
-0.3832845091819763,
0.494452565908432,
-0.05227535218000412,
-0.018716171383857727,
0.1487671136856079,
0.16030409932136536,
-0.14534281194210052,
0.21555067598819733,
-0.2960326075553894,
1.1821035146713257,
0.08365634828805923,
0.16198596358299255,
0.1922806203365326,
-0.14244572818279266,
0.34133362770080566,
-0.24917054176330566,
-0.0668274462223053,
-0.01653071865439415,
0.1841176152229309,
-0.007436791434884071,
-0.150554820895195,
0.28064730763435364,
0.1858280748128891,
0.020497966557741165,
0.0036976600531488657,
-0.09629616141319275,
0.029985934495925903,
0.09892575442790985,
0.43799522519111633,
0.1277777999639511,
-0.018049828708171844,
-0.5319265127182007,
0.12796850502490997,
-0.007052809000015259,
0.6483963131904602,
-0.05896380543708801,
-0.15015648305416107,
-0.6219801902770996,
0.04173470288515091,
-0.16975688934326172,
0.05595102161169052,
-0.1763843297958374,
0.30468761920928955,
-0.02427629381418228,
-0.4557031989097595,
-0.13109740614891052,
0.38234570622444153,
0.4158373475074768,
0.06284825503826141,
-0.21002784371376038,
0.19425183534622192,
-0.0006205514073371887,
-0.23787425458431244,
0.1408262699842453,
-0.26392167806625366,
0.09897514432668686,
-0.16573476791381836,
-0.3407813608646393,
0.21492695808410645,
-0.05379544571042061,
-0.34722191095352173,
0.14091786742210388,
0.0401332750916481,
0.256425678730011,
0.04654840752482414,
-0.4316745102405548,
0.06520120799541473,
0.24917295575141907,
-0.12109971046447754,
0.04656441509723663,
0.032913267612457275,
0.0470806360244751,
-0.2022625207901001,
-0.22350965440273285,
-0.07866793125867844,
-0.09127883613109589,
0.4528011679649353,
-0.2509538531303406,
-0.17835618555545807,
0.37617164850234985,
0.13131079077720642,
-0.29860246181488037,
-0.0949716791510582,
0.17940902709960938,
-0.07178099453449249,
-0.49088597297668457,
-0.3483215570449829,
0.025863265618681908,
-0.03631668537855148,
-0.32218822836875916,
0.1668505221605301,
0.26644280552864075,
-0.2686614990234375,
0.1378796249628067,
-0.7992364168167114,
-0.009050937369465828,
0.21488453447818756,
0.0030078329145908356,
0.024018367752432823,
0.1495247185230255,
-0.18887610733509064,
0.17739209532737732,
-0.14928260445594788,
-0.20867320895195007,
0.10378056019544601,
-0.20426274836063385,
-0.07088565081357956,
0.36451631784439087,
0.07976805418729782,
0.1445760428905487,
-0.2587430775165558,
0.03317739814519882,
-0.3906829357147217,
0.07116043567657471,
-0.1381138563156128,
-0.023248642683029175,
0.16778850555419922,
-0.030742116272449493,
-0.07363653928041458,
-0.18448825180530548,
-0.42346882820129395,
0.049509063363075256,
-0.09760336577892303,
-0.15040592849254608,
-0.02867092937231064,
0.05166289210319519,
-0.14117899537086487,
-0.09389811754226685,
0.3486447036266327,
-0.001461133360862732,
0.21085219085216522,
0.06608030200004578,
0.5716891288757324,
0.036540646106004715,
0.02532075345516205,
0.10666018724441528,
0.010491050779819489,
-0.05285675823688507,
0.11874310672283173,
-0.12426503002643585,
0.17279496788978577,
0.3727680444717407,
-0.3196749687194824,
0.3249737024307251,
0.12096512317657471,
-0.0035800570622086525,
0.5077813863754272,
-0.44136807322502136,
0.14628912508487701,
0.30294644832611084,
0.04758294299244881,
-0.2808189392089844,
-0.18597836792469025,
0.4009408950805664,
0.05550486966967583,
-0.061602622270584106,
0.2878831923007965,
0.25376754999160767,
-0.18906086683273315,
0.3890485167503357,
0.12931230664253235,
0.46279048919677734,
0.45013701915740967,
0.20297928154468536,
0.09399201720952988,
0.07953846454620361,
0.03933480381965637,
-0.07041065394878387,
0.3201724886894226,
-0.032069601118564606,
0.4540112614631653,
-0.26134905219078064,
0.10916872322559357,
0.04258578270673752,
0.1719932109117508,
-0.19054752588272095,
-0.226715549826622,
0.16927260160446167,
-0.16528257727622986,
0.03991140425205231,
0.04554300755262375,
-0.16025719046592712,
0.4140927791595459,
-0.4061878025531769,
-0.11181578785181046,
0.019763542339205742,
0.2420538365840912,
0.045682940632104874,
-0.048439379781484604,
-0.22430062294006348,
-0.2722093164920807,
-0.13577482104301453,
-0.18459190428256989,
0.13575448095798492,
-0.523268461227417,
0.20458731055259705,
0.1481911838054657,
-0.15736065804958344,
-0.29575854539871216,
-0.022704869508743286,
0.2689618766307831,
0.07167582213878632,
-0.11483697593212128,
0.32660365104675293,
0.21353958547115326,
0.06520340591669083,
0.111848384141922,
0.28810933232307434,
0.46425777673721313,
0.2599308490753174,
-0.11090324819087982,
-0.005332132801413536,
-0.00547725148499012,
-0.1516873687505722,
-0.25877973437309265,
0.2607496678829193,
0.0704793781042099,
0.057453740388154984,
0.34489989280700684,
0.16660763323307037,
-0.0934453010559082,
-0.10949724912643433,
0.27278730273246765,
0.014625334180891514,
-0.17558203637599945,
0.1559971421957016,
-0.47843512892723083,
-0.010586880147457123,
-0.30960971117019653,
0.0426049642264843,
-0.3361676037311554,
-0.011536370031535625,
0.2119976282119751,
0.024480225518345833,
0.14570128917694092,
-0.2048269361257553,
0.02409912645816803,
0.039407242089509964,
0.4086045026779175,
0.3885655701160431,
0.29427123069763184,
-0.2616148889064789,
-0.5872484445571899,
-0.8084731698036194,
0.1373802274465561,
-0.2018902599811554,
-0.4872540533542633,
0.03158659487962723,
-0.10723859816789627,
0.07699526101350784,
0.25303083658218384,
0.015967346727848053,
0.30990445613861084,
-0.08012834191322327,
-0.10848481953144073,
-0.2610020935535431,
-0.23170657455921173,
-0.2546127438545227,
0.09008146077394485,
-0.1903466284275055,
-0.14210963249206543,
0.19017858803272247,
-0.5949851870536804,
0.0008110404014587402,
0.16394884884357452,
-0.10576587915420532,
-0.20820650458335876,
-0.04787581413984299,
0.56557297706604,
-0.11495280265808105,
0.26843684911727905,
0.047927126288414,
-0.23052793741226196,
-0.11256536841392517,
-0.25216150283813477,
0.16323377192020416,
0.6077490448951721,
0.007039843127131462,
0.2551535964012146,
-0.4812215268611908,
0.016990266740322113,
-0.08850907534360886,
-0.02637515589594841,
0.2812681794166565,
-0.15492159128189087,
0.1070496141910553,
-0.07855773717164993,
-0.10624105483293533,
0.25990036129951477,
0.2936936616897583,
0.30487969517707825,
-0.24133586883544922,
0.17668908834457397,
-0.1652902364730835,
-0.1124802902340889,
0.3234546184539795,
-0.30523744225502014,
-0.26124364137649536,
0.17048102617263794,
0.13559170067310333,
0.0898253470659256,
0.17520305514335632,
-0.24060377478599548,
0.18920692801475525,
0.33137285709381104,
0.15251053869724274,
-0.19498690962791443,
0.2746851444244385,
-0.3622046411037445,
-0.16526058316230774,
-0.04521667957305908,
0.13301140069961548,
0.03234302997589111,
0.010825363919138908,
0.020680692046880722,
-0.02550322934985161
] |
https://github.com/huggingface/datasets/issues/1673 | Unable to Download Hindi Wikipedia Dataset | Currently this dataset is only available when the library is installed from source since it was added after the last release.
We pin the dataset version with the library version so that people can have a reproducible dataset and processing when pinning the library.
We'll see if we can provide access to newer datasets with a warning that they are newer than your library version, that would help in cases like yours. | I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue.


| 72 | Unable to Download Hindi Wikipedia Dataset
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue.


Currently this dataset is only available when the library is installed from source since it was added after the last release.
We pin the dataset version with the library version so that people can have a reproducible dataset and processing when pinning the library.
We'll see if we can provide access to newer datasets with a warning that they are newer than your library version, that would help in cases like yours. | [
-0.18463368713855743,
0.037301644682884216,
-0.06111957132816315,
0.22921811044216156,
0.05320938676595688,
0.11538340896368027,
-0.021661650389432907,
0.3467038869857788,
0.2222081422805786,
0.024645105004310608,
0.39873364567756653,
0.07446503639221191,
0.04668891057372093,
0.21727894246578217,
0.14812195301055908,
-0.3831968307495117,
0.07112421095371246,
-0.0032808110117912292,
0.04073711112141609,
0.1277783364057541,
0.07587751746177673,
0.27726635336875916,
-0.27217763662338257,
-0.00853128731250763,
-0.5351588726043701,
-0.01476663164794445,
0.20697739720344543,
-0.10298160463571548,
-0.3329055905342102,
-0.38784047961235046,
0.45307591557502747,
0.0746859684586525,
0.32723116874694824,
0.2894626259803772,
-0.00011792900477303192,
0.08400124311447144,
0.5217905640602112,
-0.15997692942619324,
-0.32098332047462463,
-0.4747388958930969,
-0.1340341866016388,
-0.31257185339927673,
0.10334976762533188,
-0.21502843499183655,
-0.12813231348991394,
0.22583454847335815,
0.3669331669807434,
-0.29744255542755127,
0.13879266381263733,
0.12421690672636032,
0.16407166421413422,
-0.12036500126123428,
0.3869445025920868,
-0.14646872878074646,
0.20308180153369904,
0.20147116482257843,
-0.05526413768529892,
0.29838085174560547,
0.05455027520656586,
0.10542560368776321,
-0.07323829084634781,
0.18096168339252472,
0.044584669172763824,
-0.12732571363449097,
0.31034770607948303,
-0.30432480573654175,
-0.24266982078552246,
-0.42693373560905457,
0.47591400146484375,
0.3865130841732025,
1.129531741142273,
-0.37158215045928955,
-0.16774702072143555,
0.15151441097259521,
-0.04482119902968407,
0.2206408977508545,
0.410185307264328,
0.4490487277507782,
-0.24330680072307587,
-0.012051597237586975,
0.17080320417881012,
-0.3701302111148834,
-0.15783298015594482,
0.3645862340927124,
0.03164404630661011,
0.2004283219575882,
0.00913859624415636,
0.185478076338768,
-0.030735846608877182,
-0.21451245248317719,
-0.025019571185112,
-0.05006512254476547,
0.12004619836807251,
0.3106352388858795,
-0.2569938898086548,
0.13859882950782776,
-0.12740200757980347,
0.13060222566127777,
0.09873662143945694,
-0.15333491563796997,
-0.04144556447863579,
-0.0029119104146957397,
-0.09503863006830215,
-0.004144996404647827,
0.36192256212234497,
-0.08065502345561981,
0.007813975214958191,
0.20962511003017426,
0.25645533204078674,
0.2671997845172882,
-0.013993393629789352,
-0.0607568696141243,
0.06112072616815567,
-0.420955628156662,
-0.5915756225585938,
-0.02598138153553009,
-0.016263656318187714,
-0.27650389075279236,
-0.12874726951122284,
0.004456791561096907,
-0.34573081135749817,
-0.20750781893730164,
0.07371930778026581,
0.03343328833580017,
0.03131084889173508,
0.13125711679458618,
0.06193026900291443,
0.04917832463979721,
-0.15019537508487701,
-0.32457277178764343,
-0.05069615691900253,
0.24132119119167328,
-0.30022940039634705,
0.03618612885475159,
0.2658059000968933,
-0.2571326196193695,
0.3741750419139862,
0.04769755154848099,
-0.19774304330348969,
0.0010907985270023346,
-0.0669957771897316,
-0.2411714792251587,
-0.3081689774990082,
0.19733883440494537,
0.18558135628700256,
0.44369083642959595,
-0.20131872594356537,
-0.10001203417778015,
-0.03849824145436287,
0.148078054189682,
-0.2725656032562256,
-0.012922260910272598,
0.07058222591876984,
0.07452639192342758,
-0.266623854637146,
-0.11878974735736847,
0.048004236072301865,
0.22053253650665283,
-0.0582597479224205,
-0.41375547647476196,
0.009203381836414337,
-0.01925574615597725,
-0.1150914877653122,
-0.31713518500328064,
0.31017693877220154,
0.4562656879425049,
-0.7055325508117676,
0.08297258615493774,
-0.12599505484104156,
-0.004092654213309288,
0.08268353343009949,
-0.051319513469934464,
-0.2339767962694168,
0.5790066719055176,
-0.2916669249534607,
0.04421752691268921,
0.5752341747283936,
-0.2936262786388397,
-0.5257563591003418,
-0.013343730941414833,
-0.02399667724967003,
0.05788034200668335,
0.05567517131567001,
0.2580735981464386,
0.18375495076179504,
0.006373352371156216,
-0.13927198946475983,
0.3432023525238037,
0.09719114005565643,
-0.13117331266403198,
-0.28230008482933044,
-0.09021701663732529,
0.3322119116783142,
0.1532902717590332,
0.24013382196426392,
-0.1168660894036293,
0.1273593306541443,
0.47291627526283264,
0.3813786506652832,
0.03541403263807297,
0.1606384664773941,
0.36582285165786743,
-0.2541014850139618,
0.09451732784509659,
0.22997497022151947,
-0.08826440572738647,
-0.05125005543231964,
0.255035400390625,
-0.020632999017834663,
-0.07136605679988861,
-0.12114660441875458,
0.019950952380895615,
-0.4031447470188141,
0.011772597208619118,
-0.2332555502653122,
0.1814039647579193,
0.06899745762348175,
0.013238273561000824,
0.11038646101951599,
0.3523840010166168,
-0.05598612129688263,
0.17272038757801056,
-0.27535295486450195,
0.030645156279206276,
-0.3404823839664459,
0.44499024748802185,
-0.10944495350122452,
-0.08133543282747269,
0.030113287270069122,
0.1406921148300171,
0.17177622020244598,
-0.005681928247213364,
-0.15161973237991333,
0.005304213613271713,
0.10934006422758102,
0.026414766907691956,
0.250544935464859,
-0.027560114860534668,
0.14904509484767914,
-0.5346192121505737,
0.25654950737953186,
0.551342248916626,
0.037788208574056625,
-0.015581957995891571,
0.0395437628030777,
0.05512451380491257,
-0.23083283007144928,
0.060376644134521484,
-0.0695909708738327,
0.19591543078422546,
0.356963574886322,
0.09267883002758026,
0.005516448989510536,
0.012830063700675964,
0.28184717893600464,
0.4182788133621216,
0.2217089682817459,
-0.016797149553894997,
-0.09619519114494324,
0.04084194079041481,
0.5788992643356323,
0.05644632503390312,
0.01572379097342491,
0.12678255140781403,
-0.25645750761032104,
-0.07070232927799225,
0.10736916214227676,
0.13395749032497406,
0.038056254386901855,
0.10633730888366699,
0.016266345977783203,
-0.2075272798538208,
0.07518389821052551,
-0.17919109761714935,
0.20184433460235596,
0.1663949191570282,
0.29515621066093445,
0.15577754378318787,
-0.16343319416046143,
0.07250220328569412,
-0.18263399600982666,
-0.07712101936340332,
0.0450497642159462,
0.32069364190101624,
-0.17078784108161926,
-0.05054553225636482,
-0.34831663966178894,
-0.5186840891838074,
-0.3468506634235382,
-0.30659204721450806,
-0.4869234561920166,
-0.21838293969631195,
-0.07529503107070923,
-0.12499074637889862,
0.017376594245433807,
0.04531638324260712,
-0.03870181366801262,
-0.12220565974712372,
0.04492288827896118,
-0.33326226472854614,
-0.06711588054895401,
-0.36689746379852295,
-0.3348778486251831,
-0.026407809928059578,
0.5341213345527649,
0.0615052692592144,
0.2562435269355774,
-0.2601425349712372,
-0.05172306299209595,
-0.6239214539527893,
-0.2299993932247162,
0.09482035040855408,
-0.046230047941207886,
-0.10743488371372223,
0.07310517132282257,
0.6945307850837708,
-0.19536994397640228,
0.002084965817630291,
0.03590145707130432,
0.2028859406709671,
-0.06501874327659607,
-0.10635213553905487,
-0.06440285593271255,
0.003722823690623045,
0.13782016932964325,
-0.5049885511398315,
-0.37562403082847595,
-0.24455517530441284,
-0.06489726901054382,
0.10171350836753845,
0.056053489446640015,
-0.01991412416100502,
0.09311521798372269,
0.031091563403606415,
0.26793429255485535,
0.15189535915851593,
-0.028338341042399406,
-0.14199401438236237,
0.3471076190471649,
-0.1432008594274521,
-0.5207160711288452,
0.5949016809463501,
0.007285956293344498,
0.18746031820774078,
0.08476066589355469,
-0.35835301876068115,
0.3445150852203369,
0.07965193688869476,
0.25154978036880493,
0.17100916802883148,
-0.0006897374987602234,
0.22844748198986053,
-0.2805487811565399,
0.24481163918972015,
0.08502822369337082,
-0.1836833357810974,
0.12682457268238068,
-0.3386280834674835,
0.48291417956352234,
0.36866411566734314,
0.2770752012729645,
-0.018771134316921234,
0.6054495573043823,
0.3167232871055603,
0.058470793068408966,
0.33838194608688354,
0.14329351484775543,
0.03491128981113434,
-0.21719297766685486,
-0.23732134699821472,
0.13224200904369354,
-0.0000807642936706543,
0.07517046481370926,
0.14797343313694,
0.08552971482276917,
-0.1966654509305954,
-0.269039511680603,
-0.37666139006614685,
-0.2506539821624756,
-0.34822043776512146,
-0.06891334801912308,
-0.27255377173423767,
0.3399357795715332,
0.11537699401378632,
0.044570162892341614,
0.0012757964432239532,
-0.291727751493454,
0.19449318945407867,
0.4144558906555176,
-0.07435964792966843,
0.1778513640165329,
0.04031538590788841,
-0.435780793428421,
-0.2594371438026428,
0.03527417778968811,
0.08748222142457962,
0.35190778970718384,
-0.14061760902404785,
0.22770178318023682,
0.2488122284412384,
0.058352380990982056,
0.5387909412384033,
-0.2299266904592514,
0.1355607509613037,
0.15916259586811066,
0.0505380779504776,
-0.21741549670696259,
-0.1630832999944687,
-0.00601622462272644,
0.3007086515426636,
0.26359689235687256,
-0.11307364702224731,
-0.4702243506908417,
-0.10347464680671692,
0.3776733875274658,
0.3612949848175049,
-0.0021074675023555756,
-0.09580817818641663,
-0.2353927344083786,
-0.20125073194503784,
-0.27704086899757385,
-0.24978703260421753,
-0.1831016093492508,
0.4537198841571808,
0.1865483820438385,
0.17276303470134735,
0.05047805979847908,
-0.003368811681866646,
-0.17201702296733856,
-0.09689256548881531,
0.37210598587989807,
0.23657198250293732,
-0.05147193744778633,
0.34598031640052795,
0.2768326997756958,
-0.23073720932006836,
0.3108762204647064,
0.20155689120292664,
-0.19603896141052246,
0.06400437653064728,
-0.036384448409080505,
-0.09181017428636551,
0.09265398979187012,
-0.10909575968980789,
0.05491461604833603,
0.03435494005680084,
-0.39284849166870117,
0.06954297423362732,
-0.14040571451187134,
0.1414227932691574,
0.10218778252601624,
-0.5075052976608276,
-0.4818604588508606,
0.5160732269287109,
0.20667505264282227,
0.1307383030653,
0.30502811074256897,
0.12191873788833618,
-0.22659055888652802,
0.11873197555541992,
0.08712290227413177,
0.841472327709198,
-0.05885893106460571,
0.10461746156215668,
-0.023537147790193558,
0.06648407876491547,
0.469609797000885,
-0.16481029987335205,
0.021393829956650734,
-0.45809534192085266,
0.06415580958127975,
-0.12561514973640442,
0.03951327130198479,
0.03412146866321564,
-0.10108399391174316,
-0.2395251989364624,
0.4299020767211914,
0.19624294340610504,
0.35329708456993103,
0.1065812036395073,
0.382431298494339,
0.06144881248474121,
-0.17836478352546692,
-0.2009609490633011,
0.03732448071241379,
-0.17506638169288635,
0.43602439761161804,
-0.2624439597129822,
-0.17218755185604095,
-0.1308651864528656,
-0.009746313095092773,
-0.4735487699508667,
0.11111696809530258,
-0.285359263420105,
0.30708980560302734,
-0.17019790410995483,
-0.4766334295272827,
0.4796659052371979,
0.37463870644569397,
0.3110160231590271,
0.2961156368255615,
-0.3534681797027588,
0.24135446548461914,
-0.4690701365470886,
-0.47511568665504456,
0.014906498603522778,
0.20510272681713104,
0.32963132858276367,
-0.16232582926750183,
-0.3806780278682709,
0.21400386095046997,
-0.042922694236040115,
-0.015504006296396255,
-0.08984725177288055,
-0.08403810858726501,
0.2972676157951355,
0.09851530194282532,
-0.35344111919403076,
-0.0484921932220459,
-0.03222864121198654,
-0.10685627162456512,
0.11442394554615021,
0.062497466802597046,
0.14969748258590698,
-0.054165445268154144,
0.1990107148885727,
-0.1092149093747139,
0.048047278076410294,
0.3589993715286255,
0.06233224272727966,
-0.10016199946403503,
0.40848609805107117,
0.37898778915405273,
-0.42203599214553833,
-0.14291095733642578,
-0.05661727488040924,
-0.3723238706588745,
-0.25680607557296753,
-0.09180716425180435,
0.039664383977651596,
0.2331898957490921,
-0.17110277712345123,
0.22401098906993866,
0.06247953325510025,
-0.2768571376800537,
-0.07161621004343033,
-0.44440025091171265,
-0.23087167739868164,
0.28845563530921936,
-0.24113549292087555,
0.010318361222743988,
0.0273757204413414,
-0.288364440202713,
0.42846497893333435,
-0.2648029625415802,
-0.19159100949764252,
-0.0075471848249435425,
-0.14053018391132355,
-0.036487504839897156,
0.13214519619941711,
0.12010785192251205,
-0.13272824883460999,
-0.06462499499320984,
0.0431293249130249,
-0.14253343641757965,
-0.11693854629993439,
-0.0816129744052887,
0.20257769525051117,
0.11397643387317657,
-0.0027466751635074615,
0.05532865226268768,
0.010417521931231022,
-0.5299056172370911,
-0.10020887851715088,
0.02790575847029686,
-0.1141849011182785,
0.03848689794540405,
-0.024120301008224487,
0.17666669189929962,
-0.017795410007238388,
0.035609740763902664,
-0.478355348110199,
0.32550862431526184,
0.03220975399017334,
0.20056235790252686,
0.09320222586393356,
0.3240568935871124,
0.23939764499664307,
-0.06643542647361755,
-0.4538114368915558,
0.1550317406654358,
-0.06256867945194244,
-0.060982346534729004,
0.23376506567001343,
-0.33727139234542847,
0.34169769287109375,
0.20210158824920654,
0.13015125691890717,
0.08365201950073242,
-0.17865458130836487,
-0.023160547018051147,
0.3648686707019806,
0.07752874493598938,
-0.46186119318008423,
0.025623001158237457,
0.657172441482544,
0.15929903090000153,
-0.07645206898450851,
0.005208931863307953,
0.3300808072090149,
-0.2423388808965683,
-0.021062441170215607,
0.25718173384666443,
0.20273549854755402,
-0.08966634422540665,
0.2578967809677124,
0.39421218633651733,
0.3652914762496948,
0.20935949683189392,
0.009370258077979088,
0.11456914246082306,
-0.13525390625,
0.5476794242858887,
-0.38806992769241333,
0.14809098839759827,
0.19815465807914734,
-0.12653835117816925,
-0.08371610194444656,
-0.3219204843044281,
0.1154315173625946,
0.21196392178535461,
-0.20543572306632996,
-0.06951778382062912,
-0.03382190316915512,
0.13775205612182617,
0.30027878284454346,
-0.057484738528728485,
-0.22262442111968994,
0.01853366568684578,
-0.23652908205986023,
0.21473969519138336,
-0.45415496826171875,
-0.3500850796699524,
-0.05300191044807434,
0.1481676995754242,
0.10768033564090729,
-0.1282631903886795,
0.006644070148468018,
0.2226904332637787,
-0.19147439301013947,
-0.1691989153623581,
0.7468153238296509,
-0.12852510809898376,
0.02567705512046814,
-0.16399575769901276,
0.0634748637676239,
-0.23261000216007233,
-0.09895814955234528,
0.0470707006752491,
0.2397894561290741,
0.19001750648021698,
0.24761229753494263,
-0.2872263789176941,
-0.01974610611796379,
0.04692500829696655,
-0.012835761532187462,
0.12264163792133331,
0.14870458841323853,
0.09207455068826675,
0.006998492404818535,
0.29840287566185,
0.08658887445926666,
-0.06034943088889122,
-0.2243299037218094,
0.31491371989250183,
0.2164532095193863,
-0.07902859151363373,
-0.040114469826221466,
-0.1905999332666397,
0.04081415385007858,
-0.2115941196680069,
-0.03177044540643692,
-0.515120804309845,
-0.11728693544864655,
0.344264417886734,
0.15912112593650818,
-0.0020005274564027786,
-0.38010022044181824,
0.02058255672454834,
-0.20639313757419586,
0.393034428358078,
0.31703272461891174,
0.185878723859787,
-0.35372933745384216,
-0.3557288646697998,
-0.5848137736320496,
0.15778708457946777,
-0.11987562477588654,
-0.1324210911989212,
0.09982580691576004,
0.09736664593219757,
-0.11094630509614944,
0.13287881016731262,
0.31843340396881104,
0.058560118079185486,
0.023185133934020996,
0.31475040316581726,
-0.1297197788953781,
-0.19782447814941406,
-0.1940155178308487,
-0.054220639169216156,
-0.331211656332016,
-0.09082971513271332,
0.14074835181236267,
-0.4636223614215851,
-0.007864139974117279,
-0.06429194658994675,
-0.17057658731937408,
0.2181684821844101,
-0.21655482053756714,
0.11402134597301483,
-0.19797581434249878,
0.48427215218544006,
0.07999061048030853,
-0.0016847755759954453,
-0.2617832124233246,
0.17573915421962738,
-0.04255890101194382,
0.49666887521743774,
-0.08285371959209442,
0.3954635560512543,
-0.19834816455841064,
0.30922427773475647,
-0.189701646566391,
0.38346946239471436,
-0.1639513075351715,
0.34470000863075256,
-0.23709559440612793,
-0.0953475683927536,
-0.06568450480699539,
0.38687822222709656,
0.06792785972356796,
0.19106972217559814,
-0.18565209209918976,
0.05443444848060608,
-0.3627992868423462,
-0.1660844385623932,
0.2119629830121994,
-0.419195294380188,
-0.1840483397245407,
-0.06317660957574844,
0.08222539722919464,
0.17137062549591064,
0.1093432605266571,
-0.2676990330219269,
0.12024799734354019,
0.14476507902145386,
0.020352032035589218,
-0.05331062525510788,
0.08859182894229889,
-0.13162943720817566,
0.16530360281467438,
0.01961691677570343,
0.00601872056722641,
-0.10200656205415726,
-0.22805695235729218,
-0.15375788509845734,
-0.31757211685180664
] |
https://github.com/huggingface/datasets/issues/1673 | Unable to Download Hindi Wikipedia Dataset | So for now, should i try and install the library from source and then try out the same piece of code? Will it work then, considering both the versions will match then? | I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue.


| 32 | Unable to Download Hindi Wikipedia Dataset
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue.


So for now, should i try and install the library from source and then try out the same piece of code? Will it work then, considering both the versions will match then? | [
-0.11161860078573227,
0.13646280765533447,
-0.08705770969390869,
0.2553955316543579,
0.0008570235222578049,
0.05895289033651352,
-0.020084675401449203,
0.3475777208805084,
0.19664320349693298,
-0.031186163425445557,
0.4182322919368744,
0.05353814363479614,
0.07384123653173447,
0.2070576548576355,
0.17622965574264526,
-0.31354689598083496,
0.1087694764137268,
0.12005504220724106,
0.004204168915748596,
0.059267543256282806,
0.06835995614528656,
0.26114681363105774,
-0.22986891865730286,
-0.004864327609539032,
-0.4776686728000641,
0.0012449230998754501,
0.2221393585205078,
-0.0502520427107811,
-0.2584410607814789,
-0.3565152585506439,
0.4109671413898468,
0.04971729964017868,
0.2961834669113159,
0.36863574385643005,
-0.00011994161468464881,
0.13682259619235992,
0.49059581756591797,
-0.1850735992193222,
-0.23867492377758026,
-0.4604790210723877,
-0.09245996177196503,
-0.30302372574806213,
0.029632573947310448,
-0.28577563166618347,
-0.14976678788661957,
0.19272547960281372,
0.31245365738868713,
-0.27823567390441895,
0.1295936554670334,
0.14157436788082123,
0.17010155320167542,
-0.09602127969264984,
0.3933210074901581,
-0.08455679565668106,
0.2663612961769104,
0.18975582718849182,
0.01952560432255268,
0.3279039263725281,
-0.0306914821267128,
0.1860101968050003,
-0.0879553034901619,
0.22828532755374908,
0.13061277568340302,
-0.1248110681772232,
0.2921599745750427,
-0.26314836740493774,
-0.23441249132156372,
-0.34876328706741333,
0.40093761682510376,
0.2763458788394928,
1.022568941116333,
-0.3250437080860138,
-0.2268596738576889,
0.1726694405078888,
-0.08039911836385727,
0.15192750096321106,
0.46322470903396606,
0.3294927477836609,
-0.20094075798988342,
-0.02135208621621132,
0.16336281597614288,
-0.423360139131546,
-0.1424340009689331,
0.39653199911117554,
-0.05827710032463074,
0.17618951201438904,
-0.022496122866868973,
0.16392037272453308,
-0.08488444983959198,
-0.20163539052009583,
0.0008352072909474373,
-0.11620453000068665,
0.12153206765651703,
0.2226237654685974,
-0.1990121752023697,
0.11720725893974304,
-0.10283166915178299,
0.15468959510326385,
0.05478198081254959,
-0.19458501040935516,
0.012395811267197132,
0.02117469534277916,
-0.11475268006324768,
-0.06639255583286285,
0.33939650654792786,
-0.08755099773406982,
-0.024643592536449432,
0.24180705845355988,
0.2941325306892395,
0.26723945140838623,
-0.0053096190094947815,
-0.025179419666528702,
0.1358966827392578,
-0.4400852918624878,
-0.5205780267715454,
-0.008679045364260674,
-0.010132085531949997,
-0.31644394993782043,
-0.11142949014902115,
0.08144696801900864,
-0.2926312983036041,
-0.2897932231426239,
0.04616086557507515,
0.04229126125574112,
-0.03817618265748024,
0.18502593040466309,
0.06707875430583954,
0.025176754221320152,
-0.18393008410930634,
-0.26096248626708984,
-0.04847422242164612,
0.30835309624671936,
-0.30887746810913086,
0.03741898387670517,
0.20978547632694244,
-0.20371751487255096,
0.43324607610702515,
0.015976231545209885,
-0.14860780537128448,
0.04103558510541916,
-0.07188043743371964,
-0.27218297123908997,
-0.20531189441680908,
0.14763763546943665,
0.14827203750610352,
0.4279996156692505,
-0.25415387749671936,
-0.04506613314151764,
-0.045388899743556976,
0.16307666897773743,
-0.18616127967834473,
0.023891422897577286,
0.19413834810256958,
0.0877622738480568,
-0.31346195936203003,
-0.08323708921670914,
0.09346558153629303,
0.18905265629291534,
0.00008306652307510376,
-0.5406218767166138,
-0.022042594850063324,
-0.03613597899675369,
-0.043240368366241455,
-0.28137654066085815,
0.3444933295249939,
0.4325047731399536,
-0.7107772827148438,
0.13105419278144836,
-0.11302552372217178,
0.03028911165893078,
0.0470133051276207,
-0.030907470732927322,
-0.2615737020969391,
0.6532425880432129,
-0.35137471556663513,
0.02339266985654831,
0.6675364375114441,
-0.3990430235862732,
-0.4707465171813965,
-0.04785838723182678,
-0.03678009659051895,
0.09604203701019287,
0.056068066507577896,
0.22572071850299835,
0.166120707988739,
-0.03869543597102165,
-0.09580950438976288,
0.28017091751098633,
0.08462484925985336,
-0.15134595334529877,
-0.3334876298904419,
-0.08930299431085587,
0.39296358823776245,
0.12886548042297363,
0.2982838749885559,
-0.12376969307661057,
0.0904328003525734,
0.44403430819511414,
0.3604438006877899,
-0.005893919616937637,
0.09433136880397797,
0.31246519088745117,
-0.27742454409599304,
0.07359098643064499,
0.15727028250694275,
-0.1025940328836441,
-0.030864514410495758,
0.18449807167053223,
-0.01344372145831585,
-0.14412051439285278,
-0.07760396599769592,
-0.01270516961812973,
-0.46615955233573914,
-0.05461038649082184,
-0.24607916176319122,
0.1904679834842682,
0.08028928190469742,
0.053175538778305054,
0.1517297327518463,
0.2807612419128418,
-0.08192670345306396,
0.16427452862262726,
-0.24599170684814453,
0.031140169128775597,
-0.40252748131752014,
0.5011730194091797,
-0.14994792640209198,
-0.08361785113811493,
0.07486987859010696,
0.12124082446098328,
0.18423882126808167,
-0.047068413347005844,
-0.18863356113433838,
0.015283703804016113,
0.03306346759200096,
0.05424979329109192,
0.18068918585777283,
-0.1334836632013321,
0.21012452244758606,
-0.4950472116470337,
0.25442832708358765,
0.5814880132675171,
0.0968519002199173,
-0.026299241930246353,
0.0826091542840004,
-0.0026078596711158752,
-0.21059773862361908,
0.047773368656635284,
0.007369194179773331,
0.05987299978733063,
0.3191693425178528,
0.10818226635456085,
-0.02057364210486412,
-0.01640724390745163,
0.21793590486049652,
0.4814140200614929,
0.2567302882671356,
-0.005796195939183235,
-0.1379147320985794,
0.0355149582028389,
0.6405737400054932,
0.047073330730199814,
-0.03232859820127487,
0.07829578965902328,
-0.1548195779323578,
-0.06523732841014862,
0.11926772445440292,
0.11617802083492279,
0.12075913697481155,
0.10988077521324158,
-0.037807438522577286,
-0.20998196303844452,
0.07560207694768906,
-0.1881774514913559,
0.19308650493621826,
0.20204389095306396,
0.33804091811180115,
0.25673583149909973,
-0.1854950487613678,
0.07739982008934021,
-0.1787089705467224,
-0.08020733296871185,
0.05393202602863312,
0.2617740333080292,
-0.19842170178890228,
-0.018806220963597298,
-0.35524001717567444,
-0.5050303936004639,
-0.4395568370819092,
-0.3351670205593109,
-0.4656646251678467,
-0.17120595276355743,
-0.08705998212099075,
-0.16008234024047852,
-0.06532788276672363,
0.10619229823350906,
-0.02008206583559513,
-0.17834772169589996,
-0.03673957288265228,
-0.38172662258148193,
-0.01389242708683014,
-0.32404425740242004,
-0.3724229633808136,
-0.02913535386323929,
0.5464528799057007,
0.09178001433610916,
0.27540865540504456,
-0.31896036863327026,
-0.08645359426736832,
-0.6308422684669495,
-0.2829709053039551,
0.12341556698083878,
-0.025762252509593964,
-0.11418913304805756,
0.1440613567829132,
0.6267017722129822,
-0.11735367774963379,
-0.06351962685585022,
0.08902314305305481,
0.17322847247123718,
-0.04165971279144287,
-0.20119841396808624,
-0.0332103967666626,
0.06317705661058426,
0.14380106329917908,
-0.581669270992279,
-0.38611382246017456,
-0.27110978960990906,
-0.10430069267749786,
0.14330516755580902,
0.07732383906841278,
-0.125349223613739,
0.045378055423498154,
0.04988082870841026,
0.3385448455810547,
0.19597671926021576,
-0.03051549382507801,
-0.055667951703071594,
0.3645649254322052,
-0.18906959891319275,
-0.5188432335853577,
0.5080657005310059,
-0.07944231480360031,
0.2510528862476349,
0.16737833619117737,
-0.33689451217651367,
0.27514174580574036,
0.09620263427495956,
0.21453416347503662,
0.179372638463974,
0.14143382012844086,
0.20753344893455505,
-0.2547535300254822,
0.2343723326921463,
0.06853198260068893,
-0.17304250597953796,
0.2150750756263733,
-0.35712730884552,
0.4659363329410553,
0.4194565713405609,
0.24682775139808655,
-0.17785637080669403,
0.6441903710365295,
0.23836886882781982,
-0.012193582952022552,
0.33105096220970154,
0.14441856741905212,
0.11757854372262955,
-0.19172120094299316,
-0.18293249607086182,
0.07245667278766632,
0.004951074719429016,
0.026776853948831558,
0.1271868646144867,
0.008725021034479141,
-0.16070272028446198,
-0.31844407320022583,
-0.38978111743927,
-0.3169328272342682,
-0.4087817668914795,
-0.03903864324092865,
-0.21505481004714966,
0.33587732911109924,
0.10237140953540802,
0.10537423938512802,
-0.010440791957080364,
-0.2369316816329956,
0.23278898000717163,
0.3670191764831543,
-0.07454312592744827,
0.15145346522331238,
0.01567407324910164,
-0.49388331174850464,
-0.2678692638874054,
0.10957677662372589,
0.15590277314186096,
0.3675428032875061,
-0.03758443892002106,
0.10032286494970322,
0.14621594548225403,
-0.13293172419071198,
0.5034662485122681,
-0.21041886508464813,
0.07516784965991974,
0.14870305359363556,
0.03135990351438522,
-0.1780383586883545,
-0.1782199889421463,
-0.02047218568623066,
0.3454664349555969,
0.286937415599823,
-0.16966193914413452,
-0.5061256885528564,
-0.12800663709640503,
0.40850019454956055,
0.43832772970199585,
-0.05200644209980965,
-0.0538254976272583,
-0.2738627791404724,
-0.2603929042816162,
-0.25102952122688293,
-0.2795880436897278,
-0.2178497165441513,
0.41309604048728943,
0.21535922586917877,
0.15717363357543945,
0.020384006202220917,
-0.04940543696284294,
-0.13366544246673584,
-0.024795258417725563,
0.464985728263855,
0.16590440273284912,
0.00929124653339386,
0.33477041125297546,
0.26409220695495605,
-0.19374315440654755,
0.35601067543029785,
0.17061276733875275,
-0.09005072712898254,
0.09017892181873322,
-0.06348283588886261,
-0.09271160513162613,
0.1813073307275772,
-0.12471364438533783,
0.07467155158519745,
-0.004283463582396507,
-0.42844289541244507,
0.10969684273004532,
-0.11769063770771027,
0.055222347378730774,
0.1345379650592804,
-0.49638864398002625,
-0.5103204846382141,
0.4413461983203888,
0.23003901541233063,
0.08859020471572876,
0.2856922149658203,
0.1080140694975853,
-0.2988106608390808,
0.07045643776655197,
0.08634857833385468,
0.8700017929077148,
0.031947702169418335,
0.15754520893096924,
0.046929650008678436,
0.02095428854227066,
0.4941309690475464,
-0.1662571132183075,
0.01984184794127941,
-0.4533276855945587,
0.10528848320245743,
-0.08929578214883804,
0.0262281633913517,
0.07917729765176773,
-0.10050781071186066,
-0.21686702966690063,
0.5290194153785706,
0.2651737332344055,
0.3622135818004608,
0.019763223826885223,
0.42334696650505066,
0.06286893784999847,
-0.15936364233493805,
-0.2850794792175293,
0.0130704864859581,
-0.1367732584476471,
0.4633343815803528,
-0.31155332922935486,
-0.1587217152118683,
-0.20441636443138123,
-0.10010285675525665,
-0.3631284832954407,
0.054539889097213745,
-0.26729488372802734,
0.26332947611808777,
-0.22752004861831665,
-0.5686743855476379,
0.47096705436706543,
0.34369316697120667,
0.37852567434310913,
0.3357401490211487,
-0.2580093741416931,
0.22184529900550842,
-0.39467549324035645,
-0.3821421265602112,
0.019600236788392067,
0.2535354793071747,
0.2988279163837433,
-0.22331857681274414,
-0.3286410868167877,
0.2567257285118103,
-0.07972501963376999,
0.02279762178659439,
-0.13687960803508759,
-0.10165996849536896,
0.2737199068069458,
0.0324055552482605,
-0.3632275462150574,
0.012235112488269806,
-0.05220919847488403,
-0.0788932740688324,
0.1035783588886261,
0.0027200281620025635,
0.1011655256152153,
-0.04091128706932068,
0.12356510758399963,
-0.04330892115831375,
-0.0022662095725536346,
0.29453498125076294,
0.16778135299682617,
-0.15831810235977173,
0.3771739602088928,
0.2659794092178345,
-0.39431512355804443,
-0.11785642057657242,
-0.1152649074792862,
-0.34693223237991333,
-0.30148249864578247,
-0.07580170780420303,
0.029429126530885696,
0.15621750056743622,
-0.21240906417369843,
0.23154416680335999,
0.12007813900709152,
-0.17024165391921997,
0.0003161020576953888,
-0.3563273251056671,
-0.26296648383140564,
0.3253137469291687,
-0.02387172356247902,
0.07747767865657806,
0.04763363301753998,
-0.2397533506155014,
0.3145460784435272,
-0.2913704514503479,
-0.19070039689540863,
-0.0424901619553566,
-0.12484128773212433,
0.041116029024124146,
0.06793379038572311,
0.11694327741861343,
-0.18290579319000244,
-0.03742818534374237,
0.043380625545978546,
-0.06570220738649368,
-0.09602339565753937,
-0.06344408541917801,
0.24956274032592773,
0.13938455283641815,
-0.02218841016292572,
0.04680642485618591,
0.06024644896388054,
-0.458016037940979,
-0.01980571821331978,
0.06168235093355179,
-0.12214455008506775,
-0.0386982262134552,
-0.018839724361896515,
0.17967763543128967,
-0.04589429125189781,
-0.017404645681381226,
-0.5574913620948792,
0.3837873637676239,
0.05766492709517479,
0.276191771030426,
0.13307404518127441,
0.38436105847358704,
0.20524965226650238,
-0.0646790862083435,
-0.40441492199897766,
0.09428898990154266,
-0.17265714704990387,
0.019146855920553207,
0.18242953717708588,
-0.3665362596511841,
0.3528921902179718,
0.2252860814332962,
0.169619619846344,
0.21716804802417755,
-0.19024625420570374,
-0.031576965004205704,
0.3662302792072296,
0.0816735252737999,
-0.5075832605361938,
0.08731190115213394,
0.5958004593849182,
-0.0074476758018136024,
-0.02069445699453354,
0.08272671699523926,
0.3130984902381897,
-0.20658743381500244,
-0.025811202824115753,
0.28252819180488586,
0.14409346878528595,
-0.01878240332007408,
0.2603684365749359,
0.3330649733543396,
0.337862104177475,
0.25190892815589905,
-0.013017972931265831,
0.08690869063138962,
-0.19732484221458435,
0.5674145221710205,
-0.4624258279800415,
0.20749004185199738,
0.1939552128314972,
-0.09502886235713959,
-0.10868167132139206,
-0.3034701943397522,
0.1681503802537918,
0.2585103511810303,
-0.13550908863544464,
-0.03623311221599579,
0.0352821946144104,
0.05170675739645958,
0.2671378254890442,
-0.16915413737297058,
-0.12827982008457184,
0.040975384414196014,
-0.19653156399726868,
0.27404558658599854,
-0.42663928866386414,
-0.3769048750400543,
-0.08376343548297882,
0.1964247226715088,
0.07702575623989105,
-0.09484454989433289,
0.006340824067592621,
0.2820943593978882,
-0.18011464178562164,
-0.1813611090183258,
0.77081298828125,
-0.25831684470176697,
0.06915353983640671,
-0.13650594651699066,
0.1843927651643753,
-0.13489501178264618,
-0.1944844126701355,
0.09755721688270569,
0.26087719202041626,
0.14805757999420166,
0.2769489586353302,
-0.21196222305297852,
-0.01583678647875786,
0.09527979791164398,
0.02450568787753582,
0.11416977643966675,
0.1354493647813797,
0.13436876237392426,
0.05501619726419449,
0.31640398502349854,
0.1058054119348526,
-0.09450367093086243,
-0.19320985674858093,
0.30635538697242737,
0.11150512099266052,
-0.16949650645256042,
0.08685895800590515,
-0.1442304253578186,
0.005742177367210388,
-0.2012883871793747,
-0.022591687738895416,
-0.5413016080856323,
-0.1206556111574173,
0.27947261929512024,
0.1686348021030426,
0.008340375497937202,
-0.35498949885368347,
0.012347910553216934,
-0.20088346302509308,
0.37891069054603577,
0.2389475703239441,
0.2652493119239807,
-0.39751681685447693,
-0.36756545305252075,
-0.6659096479415894,
0.15242592990398407,
-0.1094159483909607,
-0.16614653170108795,
0.0317765548825264,
0.09338448941707611,
-0.08173113316297531,
0.16655799746513367,
0.4052268862724304,
0.06374054402112961,
0.0003761500120162964,
0.31492018699645996,
-0.11845742166042328,
-0.19611985981464386,
-0.2516297698020935,
-0.07192709296941757,
-0.32588911056518555,
-0.147710919380188,
0.07254570722579956,
-0.431522011756897,
-0.0068007707595825195,
-0.04936346411705017,
-0.1983942985534668,
0.237188458442688,
-0.26166093349456787,
0.10344041883945465,
-0.1572093665599823,
0.49546778202056885,
0.030281394720077515,
-0.09850572049617767,
-0.1353370100259781,
0.13754494488239288,
-0.07231264561414719,
0.5550066232681274,
-0.02993987873196602,
0.4324306547641754,
-0.16300000250339508,
0.37046751379966736,
-0.24831895530223846,
0.3966754078865051,
-0.10451460629701614,
0.35197943449020386,
-0.16117802262306213,
-0.09055110812187195,
-0.04998278245329857,
0.29908356070518494,
0.1529005765914917,
0.33173874020576477,
-0.18460257351398468,
0.10339651256799698,
-0.44741493463516235,
-0.20450259745121002,
0.22561679780483246,
-0.4589470326900482,
-0.14083248376846313,
-0.10771919041872025,
0.12489651143550873,
0.17816674709320068,
0.07445215433835983,
-0.32655173540115356,
0.12418114393949509,
0.12458185851573944,
0.014209067448973656,
-0.03455433249473572,
0.06186818331480026,
-0.1609523594379425,
0.06985042989253998,
-0.027772802859544754,
-0.012687750160694122,
-0.12791705131530762,
-0.28432321548461914,
-0.10380483418703079,
-0.32643353939056396
] |
https://github.com/huggingface/datasets/issues/1673 | Unable to Download Hindi Wikipedia Dataset | Hey, so i tried installing the library from source using the commands : **git clone https://github.com/huggingface/datasets**, **cd datasets** and then **pip3 install -e .**. But i still am facing the same error that file is not found. Please advise.
The Datasets library version now is 1.1.3 by installing from source as compared to the earlier 1.0.3 that i had loaded using pip command but I am still getting same error

| I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue.


| 71 | Unable to Download Hindi Wikipedia Dataset
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue.


Hey, so i tried installing the library from source using the commands : **git clone https://github.com/huggingface/datasets**, **cd datasets** and then **pip3 install -e .**. But i still am facing the same error that file is not found. Please advise.
The Datasets library version now is 1.1.3 by installing from source as compared to the earlier 1.0.3 that i had loaded using pip command but I am still getting same error

| [
-0.14655031263828278,
0.06893223524093628,
-0.06859803199768066,
0.24916625022888184,
0.09402202814817429,
0.09816230088472366,
-0.01080336794257164,
0.30026480555534363,
0.20563164353370667,
0.010553322732448578,
0.39933982491493225,
0.12490284442901611,
0.09441246092319489,
0.17127443850040436,
0.2068682312965393,
-0.3449135720729828,
0.06559459865093231,
0.10910062491893768,
-0.0037668943405151367,
0.10991717875003815,
0.14112980663776398,
0.3182806670665741,
-0.25458550453186035,
-0.022316761314868927,
-0.46778160333633423,
0.02092641219496727,
0.1805853396654129,
-0.12944293022155762,
-0.3263755738735199,
-0.39869222044944763,
0.4391379654407501,
0.0544426292181015,
0.2593989074230194,
0.3542151153087616,
-0.0001193817297462374,
0.09857162833213806,
0.5011396408081055,
-0.16283948719501495,
-0.317268431186676,
-0.4880216717720032,
-0.10994567722082138,
-0.37096449732780457,
0.07774875313043594,
-0.2636030316352844,
-0.10193261504173279,
0.17797960340976715,
0.33135923743247986,
-0.17153823375701904,
0.0750306248664856,
0.166800856590271,
0.1584780514240265,
-0.08959601819515228,
0.418711394071579,
-0.11091718077659607,
0.2155592143535614,
0.24468748271465302,
-0.06079985573887825,
0.28808531165122986,
0.0487547405064106,
0.0981849953532219,
-0.025601454079151154,
0.18521341681480408,
0.05088324099779129,
-0.08271162211894989,
0.31745997071266174,
-0.2934674620628357,
-0.2573734521865845,
-0.35739269852638245,
0.4213840961456299,
0.3379181921482086,
1.0225026607513428,
-0.3985832631587982,
-0.27388614416122437,
0.1128009483218193,
-0.005135525017976761,
0.18228623270988464,
0.42324304580688477,
0.41334614157676697,
-0.2505419850349426,
-0.015567291527986526,
0.0776667520403862,
-0.3905893862247467,
-0.13467630743980408,
0.37621378898620605,
0.08350807428359985,
0.10728299617767334,
-0.048307549208402634,
0.1569277048110962,
-0.011774953454732895,
-0.19300219416618347,
-0.028620645403862,
-0.09066953510046005,
0.12198926508426666,
0.3296681344509125,
-0.2907233238220215,
0.17773514986038208,
-0.11845443397760391,
0.15665791928768158,
0.09861540049314499,
-0.18047185242176056,
-0.019992146641016006,
0.024081282317638397,
-0.10724054276943207,
0.0255625881254673,
0.3462226390838623,
-0.029797479510307312,
-0.031600482761859894,
0.2042374461889267,
0.25283360481262207,
0.34548887610435486,
0.03784343972802162,
-0.0577525794506073,
0.0666084736585617,
-0.35185807943344116,
-0.5248507857322693,
-0.055072203278541565,
-0.06650514900684357,
-0.27467337250709534,
-0.18362273275852203,
0.01628756895661354,
-0.24849453568458557,
-0.19212542474269867,
0.1000581756234169,
0.0523054301738739,
0.0006564583163708448,
0.17180046439170837,
0.024550385773181915,
0.029279539361596107,
-0.19518610835075378,
-0.24482254683971405,
-0.041518185287714005,
0.3407042920589447,
-0.3416931629180908,
0.029413852840662003,
0.2804209589958191,
-0.2680833041667938,
0.4513842463493347,
0.06202586740255356,
-0.17831802368164062,
0.024920545518398285,
-0.07757506519556046,
-0.24942547082901,
-0.23913201689720154,
0.2149781584739685,
0.1716962307691574,
0.4294683337211609,
-0.17782922089099884,
-0.08995616436004639,
-0.023066066205501556,
0.07995712757110596,
-0.21606168150901794,
0.02275751158595085,
0.07057708501815796,
0.06495136022567749,
-0.3262452483177185,
-0.10108232498168945,
-0.07285875827074051,
0.16522341966629028,
-0.036229200661182404,
-0.4435551166534424,
0.02673713117837906,
-0.04158373177051544,
-0.04824165254831314,
-0.27891814708709717,
0.33090856671333313,
0.44136762619018555,
-0.670967161655426,
0.05245257914066315,
-0.15341748297214508,
0.0001728106290102005,
0.10143250226974487,
0.008435443043708801,
-0.24767665565013885,
0.5937274098396301,
-0.35573315620422363,
0.0363897904753685,
0.5849055051803589,
-0.3862287700176239,
-0.5270809531211853,
0.009476818144321442,
-0.0043359845876693726,
0.08285834640264511,
0.07659146189689636,
0.24259738624095917,
0.16985541582107544,
0.03870841860771179,
-0.19012019038200378,
0.3134412169456482,
0.07148146629333496,
-0.04689348489046097,
-0.2660341262817383,
-0.12860636413097382,
0.30438435077667236,
0.15952003002166748,
0.2136813849210739,
-0.17062565684318542,
0.16539567708969116,
0.4260936379432678,
0.34588390588760376,
-0.007690001279115677,
0.17911666631698608,
0.4467868208885193,
-0.17614708840847015,
0.14053182303905487,
0.2131313681602478,
-0.13836801052093506,
-0.05268774926662445,
0.1961435079574585,
0.0010356716811656952,
-0.042213357985019684,
-0.23858775198459625,
-0.007119521498680115,
-0.4226623475551605,
-0.06250611692667007,
-0.28374481201171875,
0.11420226097106934,
0.06459986418485641,
0.034682463854551315,
0.13237449526786804,
0.28996455669403076,
-0.07081890106201172,
0.21512246131896973,
-0.2339041382074356,
0.04512276500463486,
-0.42071205377578735,
0.40648147463798523,
-0.1321009397506714,
-0.10839579254388809,
0.0549410879611969,
0.19688759744167328,
0.12797477841377258,
-0.021886540576815605,
-0.18314823508262634,
0.039412789046764374,
0.06950245052576065,
0.025119304656982422,
0.24002590775489807,
-0.12056274712085724,
0.16849367320537567,
-0.5526188015937805,
0.21127936244010925,
0.47900184988975525,
0.0803966075181961,
0.04796883463859558,
-0.03373788297176361,
-0.05168431997299194,
-0.24636323750019073,
0.05472523719072342,
-0.01897895336151123,
0.13436481356620789,
0.373035728931427,
0.11782760918140411,
-0.0066962167620658875,
-0.0023129358887672424,
0.25208038091659546,
0.4505525529384613,
0.2667427361011505,
0.03317595273256302,
-0.05232305824756622,
0.05640575662255287,
0.6210753917694092,
0.07231365144252777,
0.004786718636751175,
0.13271702826023102,
-0.23962506651878357,
-0.1066734790802002,
0.07859878987073898,
0.12806659936904907,
0.13467876613140106,
0.10670781135559082,
0.013132520020008087,
-0.23359370231628418,
0.1373036503791809,
-0.15482740104198456,
0.17483532428741455,
0.1962941586971283,
0.23684224486351013,
0.18712839484214783,
-0.12339181452989578,
0.07611120492219925,
-0.18631643056869507,
-0.0816783607006073,
0.0659453347325325,
0.31907182931900024,
-0.18995976448059082,
-0.02992318384349346,
-0.3684738874435425,
-0.5022329092025757,
-0.3432811498641968,
-0.32282590866088867,
-0.4344169795513153,
-0.22185024619102478,
-0.09495750069618225,
-0.08813472092151642,
0.053726691752672195,
0.050049930810928345,
0.040599506348371506,
-0.20147983729839325,
0.023613570258021355,
-0.34075281023979187,
-0.08307915180921555,
-0.3254297971725464,
-0.32072940468788147,
-0.050599828362464905,
0.5199858546257019,
0.13681122660636902,
0.3006571829319,
-0.3158455193042755,
-0.09247533977031708,
-0.6595546007156372,
-0.24618950486183167,
0.10092397034168243,
-0.05307172238826752,
-0.016033915802836418,
0.18561574816703796,
0.6253237128257751,
-0.214484304189682,
0.028160467743873596,
0.06580176204442978,
0.15119457244873047,
-0.08174431324005127,
-0.07505631446838379,
-0.0750972256064415,
-0.024852093309164047,
0.09200331568717957,
-0.5493109226226807,
-0.36991003155708313,
-0.2726472318172455,
-0.016493059694767,
0.03442928567528725,
0.05883079767227173,
-0.06581038981676102,
0.03043440729379654,
0.11518251895904541,
0.19855517148971558,
0.21377964317798615,
-0.012564979493618011,
-0.15781308710575104,
0.4093872010707855,
-0.18831811845302582,
-0.5284604430198669,
0.6092124581336975,
-0.01194183249026537,
0.2732453942298889,
0.053261563181877136,
-0.3130648732185364,
0.2904500961303711,
0.017967291176319122,
0.25368544459342957,
0.16469800472259521,
0.13239093124866486,
0.18325954675674438,
-0.2988813817501068,
0.2472977489233017,
0.04792787879705429,
-0.16059234738349915,
0.11974208056926727,
-0.3451825678348541,
0.4536978006362915,
0.34881559014320374,
0.2859293222427368,
-0.026923000812530518,
0.623511791229248,
0.3517340123653412,
0.0441819466650486,
0.40125828981399536,
0.09014840424060822,
0.10086437314748764,
-0.1746269166469574,
-0.27046889066696167,
0.12104254961013794,
0.0026572048664093018,
0.14523836970329285,
0.13055849075317383,
0.04976898059248924,
-0.10580688714981079,
-0.23216335475444794,
-0.3345561921596527,
-0.33228155970573425,
-0.3249894082546234,
-0.1172051876783371,
-0.17607617378234863,
0.3473746180534363,
0.11119678616523743,
0.0025074630975723267,
-0.000005679205060005188,
-0.31060895323753357,
0.15433262288570404,
0.4284176826477051,
-0.07138421386480331,
0.21489594876766205,
0.04589901491999626,
-0.4885779917240143,
-0.2591533064842224,
-0.009124815464019775,
0.12512914836406708,
0.3944344222545624,
-0.13150155544281006,
0.2689717411994934,
0.2365817427635193,
0.05121995508670807,
0.5420584678649902,
-0.23511599004268646,
0.034511201083660126,
0.08497430384159088,
0.04035518318414688,
-0.21707113087177277,
-0.16072778403759003,
-0.0016799308359622955,
0.32254067063331604,
0.23673655092716217,
-0.06387609243392944,
-0.560326337814331,
-0.15903465449810028,
0.41870856285095215,
0.4167236387729645,
-0.0038901828229427338,
-0.11832273751497269,
-0.2904554307460785,
-0.2515201270580292,
-0.2778494358062744,
-0.2819131314754486,
-0.14445072412490845,
0.4368576407432556,
0.19763682782649994,
0.1351342499256134,
0.08099531382322311,
0.06411027163267136,
-0.16845758259296417,
-0.12307575345039368,
0.39759573340415955,
0.22128510475158691,
-0.03243870660662651,
0.29523178935050964,
0.25298234820365906,
-0.19955439865589142,
0.34284329414367676,
0.1516619771718979,
-0.1987978219985962,
0.06467200070619583,
-0.0657849982380867,
-0.0521877184510231,
0.05210912972688675,
-0.13396817445755005,
0.09743881970643997,
0.006231868639588356,
-0.3270237445831299,
0.1063331812620163,
-0.13621515035629272,
0.12076633423566818,
0.14303900301456451,
-0.4724411070346832,
-0.5154546499252319,
0.4462743103504181,
0.20111824572086334,
0.17339332401752472,
0.24533504247665405,
0.14156803488731384,
-0.21593236923217773,
0.06639240682125092,
0.004248239099979401,
0.7669913172721863,
-0.060896821320056915,
0.16526715457439423,
0.03328828886151314,
0.10047967731952667,
0.5030774474143982,
-0.13884735107421875,
0.02472987212240696,
-0.44969072937965393,
0.01753559522330761,
-0.1247144415974617,
0.017349835485219955,
0.04243886470794678,
-0.08994431793689728,
-0.25322583317756653,
0.5594900846481323,
0.28339242935180664,
0.35099536180496216,
0.09592828899621964,
0.3910234868526459,
0.01987151987850666,
-0.2344890832901001,
-0.23414310812950134,
0.02618788182735443,
-0.19983287155628204,
0.4416564404964447,
-0.21832916140556335,
-0.1659994125366211,
-0.1723138988018036,
-0.018235431984066963,
-0.4293850064277649,
0.11233734339475632,
-0.2618553042411804,
0.30724698305130005,
-0.152267724275589,
-0.451904296875,
0.5024827718734741,
0.37135860323905945,
0.27345776557922363,
0.3167141079902649,
-0.34286144375801086,
0.19865310192108154,
-0.4735797643661499,
-0.4206259548664093,
0.04183343052864075,
0.2026546746492386,
0.3022688627243042,
-0.1343311071395874,
-0.3665066361427307,
0.1866333782672882,
-0.08962143212556839,
0.03957424312829971,
-0.025838173925876617,
-0.08528463542461395,
0.26401227712631226,
0.03690299764275551,
-0.43082135915756226,
-0.11023588478565216,
-0.05710913985967636,
-0.13755552470684052,
0.092674121260643,
0.08075843751430511,
0.055421069264411926,
0.037844542413949966,
0.10841754078865051,
-0.10103803873062134,
0.06520387530326843,
0.3398968279361725,
-0.04315965622663498,
-0.19456516206264496,
0.3939535319805145,
0.3470813035964966,
-0.44835132360458374,
-0.1477799415588379,
-0.09579154849052429,
-0.3243696093559265,
-0.3189646899700165,
-0.09777118265628815,
0.0892469510436058,
0.2573279142379761,
-0.13051384687423706,
0.16605117917060852,
0.007525358349084854,
-0.30350950360298157,
-0.08587689697742462,
-0.4674796760082245,
-0.23153384029865265,
0.28427135944366455,
-0.1237468421459198,
0.033261433243751526,
0.08100267499685287,
-0.34404441714286804,
0.3855433464050293,
-0.30683445930480957,
-0.17453955113887787,
0.0019876970909535885,
-0.1550552397966385,
0.004871772602200508,
0.13385386765003204,
0.11743366718292236,
-0.13436344265937805,
-0.07791680097579956,
0.051959916949272156,
-0.1063622534275055,
-0.049879297614097595,
-0.08142028748989105,
0.22751331329345703,
0.11913818120956421,
0.0013367701321840286,
0.08680319041013718,
0.05044448375701904,
-0.49087971448898315,
-0.09743578732013702,
-0.008631257340312004,
-0.01683127135038376,
0.010622899979352951,
-0.042054906487464905,
0.21270126104354858,
-0.07494230568408966,
-0.0033192187547683716,
-0.4467359185218811,
0.34199318289756775,
0.01564250886440277,
0.18518023192882538,
0.093541719019413,
0.33748093247413635,
0.2530321776866913,
-0.03609970957040787,
-0.42618897557258606,
0.13667044043540955,
-0.0823284387588501,
-0.03470253199338913,
0.2462344467639923,
-0.3669514060020447,
0.36724960803985596,
0.2243916243314743,
0.1517210304737091,
0.11613786220550537,
-0.21073274314403534,
0.028261592611670494,
0.347868412733078,
0.08370556682348251,
-0.4758678376674652,
0.016556281596422195,
0.6047452092170715,
0.10224931687116623,
-0.05329569801688194,
0.04898497462272644,
0.3269352614879608,
-0.26050204038619995,
-0.039825476706027985,
0.25667431950569153,
0.2291954606771469,
-0.020724106580018997,
0.22100047767162323,
0.3879464864730835,
0.3946739733219147,
0.20138253271579742,
0.02844792604446411,
0.06939805299043655,
-0.20003247261047363,
0.6186952590942383,
-0.4213268756866455,
0.1975308656692505,
0.16578838229179382,
-0.032608773559331894,
-0.1267838478088379,
-0.2862224876880646,
0.11914578080177307,
0.168694406747818,
-0.09234172105789185,
-0.05366171896457672,
-0.038985416293144226,
0.1953282356262207,
0.2621173858642578,
-0.037030208855867386,
-0.19865986704826355,
0.08074261248111725,
-0.24149948358535767,
0.26504963636398315,
-0.4243362843990326,
-0.30990174412727356,
-0.09611574560403824,
0.1578330248594284,
0.09804104268550873,
-0.09039998054504395,
0.004710271954536438,
0.28443968296051025,
-0.154506117105484,
-0.25385886430740356,
0.7121486067771912,
-0.08250340819358826,
0.05649682879447937,
-0.16284745931625366,
0.0946197435259819,
-0.16785411536693573,
-0.10835127532482147,
-0.05341969057917595,
0.2686803340911865,
0.21728499233722687,
0.2691023647785187,
-0.2216748148202896,
-0.0005262056365609169,
0.04626470059156418,
-0.04400518164038658,
0.11395987868309021,
0.1794159859418869,
0.015398696064949036,
0.06347692012786865,
0.21472200751304626,
0.07824220508337021,
-0.06384025514125824,
-0.2578328847885132,
0.30820634961128235,
0.17744633555412292,
-0.0848163366317749,
0.03394468128681183,
-0.226719468832016,
0.061937786638736725,
-0.2382609248161316,
0.039755478501319885,
-0.5503434538841248,
-0.07265212386846542,
0.42017069458961487,
0.16713497042655945,
-0.007717174477875233,
-0.4254102408885956,
0.0166795514523983,
-0.19506220519542694,
0.35283681750297546,
0.3148080110549927,
0.18616187572479248,
-0.39988529682159424,
-0.3406914472579956,
-0.6655066609382629,
0.12757377326488495,
-0.10366137325763702,
-0.19272615015506744,
0.14702948927879333,
0.07254654914140701,
-0.18722078204154968,
0.09502401947975159,
0.3276728391647339,
0.09891310334205627,
0.08048982173204422,
0.37176600098609924,
-0.11003819108009338,
-0.23679165542125702,
-0.21631048619747162,
-0.029630830511450768,
-0.2719547152519226,
-0.14400582015514374,
0.12140446901321411,
-0.4027549922466278,
-0.022294428199529648,
-0.10110688209533691,
-0.0847586989402771,
0.2049465775489807,
-0.22550860047340393,
0.04705088585615158,
-0.17752858996391296,
0.4820341169834137,
0.061237528920173645,
-0.02594570443034172,
-0.1860622763633728,
0.14642170071601868,
-0.007571427617222071,
0.5809046030044556,
-0.10222320258617401,
0.41034582257270813,
-0.18639633059501648,
0.2700357139110565,
-0.26325586438179016,
0.33783620595932007,
-0.10884552448987961,
0.29310864210128784,
-0.20346735417842865,
-0.06979247182607651,
-0.07849451154470444,
0.4220159649848938,
0.07478457689285278,
0.16946756839752197,
-0.2019442915916443,
0.06271311640739441,
-0.3818294405937195,
-0.2224588543176651,
0.18965524435043335,
-0.454994261264801,
-0.19097493588924408,
-0.055445924401283264,
0.10624651610851288,
0.14036817848682404,
0.012704873457551003,
-0.3124847412109375,
0.13402751088142395,
0.15676188468933105,
0.07226152718067169,
-0.07183901220560074,
0.13227435946464539,
-0.15415513515472412,
0.2006618231534958,
0.03566792979836464,
0.00746801495552063,
-0.09693080931901932,
-0.20216979086399078,
-0.11201392114162445,
-0.2864823341369629
] |
https://github.com/huggingface/datasets/issues/1673 | Unable to Download Hindi Wikipedia Dataset | Looks like the wikipedia dump for hindi at the date of 05/05/2020 is not available anymore.
You can try to load a more recent version of wikipedia
```python
from datasets import load_dataset
d = load_dataset("wikipedia", language="hi", date="20210101", split="train", beam_runner="DirectRunner")
``` | I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue.


| 40 | Unable to Download Hindi Wikipedia Dataset
I used the Dataset Library in Python to load the wikipedia dataset with the Hindi Config 20200501.hi along with something called beam_runner='DirectRunner' and it keeps giving me the error that the file is not found. I have attached the screenshot of the error and the code both. Please help me to understand how to resolve this issue.


Looks like the wikipedia dump for hindi at the date of 05/05/2020 is not available anymore.
You can try to load a more recent version of wikipedia
```python
from datasets import load_dataset
d = load_dataset("wikipedia", language="hi", date="20210101", split="train", beam_runner="DirectRunner")
``` | [
-0.11424550414085388,
0.01129150390625,
-0.08272913098335266,
0.18819177150726318,
0.05032940208911896,
0.2031109631061554,
-0.02170960232615471,
0.40279921889305115,
0.2084716409444809,
-0.005866184830665588,
0.2971007525920868,
-0.010638921521604061,
0.10074137896299362,
0.11281617730855942,
0.11898075044155121,
-0.3750501871109009,
0.060431595891714096,
-0.07140631973743439,
0.12338191270828247,
0.07428489625453949,
0.012470260262489319,
0.2530110478401184,
-0.29661470651626587,
-0.0009152591228485107,
-0.5076268315315247,
0.08119086176156998,
0.09296463429927826,
-0.17468580603599548,
-0.3081795275211334,
-0.3290756940841675,
0.39469414949417114,
0.032021746039390564,
0.3380323350429535,
0.2678326964378357,
-0.00011856275523314252,
0.04963591694831848,
0.5291930437088013,
-0.17345795035362244,
-0.38726580142974854,
-0.37831056118011475,
-0.14021384716033936,
-0.3079812824726105,
0.04760822653770447,
-0.24496278166770935,
-0.08171090483665466,
0.09958101809024811,
0.357326865196228,
-0.21651096642017365,
0.11970262229442596,
0.20802855491638184,
0.1690300703048706,
-0.09814168512821198,
0.38335371017456055,
-0.20024769008159637,
0.17897436022758484,
0.23496218025684357,
-0.056192796677351,
0.35830116271972656,
-0.0010123178362846375,
-0.004053838085383177,
-0.036979012191295624,
0.13888391852378845,
0.04654014855623245,
-0.13587844371795654,
0.21641799807548523,
-0.20337936282157898,
-0.10633593052625656,
-0.3807200789451599,
0.44676607847213745,
0.2975744605064392,
1.0478882789611816,
-0.31986069679260254,
-0.28232425451278687,
0.21480339765548706,
0.02551160752773285,
0.1601153016090393,
0.37264716625213623,
0.3713809847831726,
-0.25440067052841187,
0.022446295246481895,
0.23289258778095245,
-0.4139358699321747,
-0.09356431663036346,
0.4551313519477844,
0.0004590824246406555,
0.18202471733093262,
0.039332885295152664,
0.11478541046380997,
-0.018758688122034073,
-0.26514822244644165,
-0.02932652086019516,
-0.10630466043949127,
0.1576579362154007,
0.38448548316955566,
-0.21533940732479095,
0.09578470885753632,
-0.15523400902748108,
0.15058022737503052,
0.04827175289392471,
-0.26029354333877563,
-0.08013150095939636,
-0.04224904626607895,
-0.08514601737260818,
-0.01829596608877182,
0.4143213629722595,
-0.1023116260766983,
0.04363304749131203,
0.2053694725036621,
0.24627023935317993,
0.3137834966182709,
0.016584552824497223,
-0.022486984729766846,
0.12462735176086426,
-0.40934115648269653,
-0.45077577233314514,
-0.042052850127220154,
0.08053049445152283,
-0.2413734793663025,
-0.14524376392364502,
0.04947206750512123,
-0.3812091052532196,
-0.2045060694217682,
-0.06513845920562744,
0.002424374222755432,
-0.01566767878830433,
0.10617047548294067,
0.11260576546192169,
0.05226140469312668,
-0.14971312880516052,
-0.31513822078704834,
-0.08037611842155457,
0.19267745316028595,
-0.33319762349128723,
0.11037453263998032,
0.217726930975914,
-0.26422128081321716,
0.29791536927223206,
0.1510026454925537,
-0.2088233083486557,
-0.039661914110183716,
-0.15561828017234802,
-0.23260074853897095,
-0.3740469515323639,
0.15420128405094147,
0.17729054391384125,
0.4825567305088043,
-0.1454356610774994,
-0.1282796412706375,
-0.009592942893505096,
0.11438558995723724,
-0.3579784333705902,
0.03629502281546593,
0.03559030964970589,
0.08470037579536438,
-0.261696994304657,
-0.08363296836614609,
0.06909088790416718,
0.17726553976535797,
-0.03405845910310745,
-0.44367995858192444,
0.02258475124835968,
-0.05265387147665024,
-0.11887846887111664,
-0.2595074474811554,
0.30081745982170105,
0.4370455741882324,
-0.5658004879951477,
0.013142310082912445,
-0.20862863957881927,
0.029567550867795944,
0.05426456406712532,
0.016120510175824165,
-0.273531436920166,
0.6696209907531738,
-0.28446465730667114,
-0.004577599465847015,
0.5242993831634521,
-0.2663949429988861,
-0.4838489890098572,
-0.014879933558404446,
-0.015125498175621033,
0.09028924256563187,
-0.08137359470129013,
0.20214638113975525,
0.20868897438049316,
-0.02376977540552616,
0.000558219850063324,
0.3112409710884094,
0.09341464191675186,
-0.1945951282978058,
-0.2605803310871124,
-0.09506736695766449,
0.4047930836677551,
0.1130465716123581,
0.2699633240699768,
-0.04575780779123306,
0.11298587918281555,
0.601067066192627,
0.40218663215637207,
0.13488417863845825,
0.14590543508529663,
0.36071550846099854,
-0.24061794579029083,
0.1704004555940628,
0.24508120119571686,
-0.15395255386829376,
-0.09879747778177261,
0.2499047815799713,
0.00027601420879364014,
0.022465724498033524,
-0.14399811625480652,
-0.012586414813995361,
-0.44327759742736816,
0.03133784234523773,
-0.2176450937986374,
0.1527225524187088,
0.08911959826946259,
-0.01598379760980606,
0.07168012857437134,
0.43037253618240356,
0.020728137344121933,
0.017246970906853676,
-0.18069490790367126,
0.016178520396351814,
-0.3506971001625061,
0.4398326575756073,
-0.1203363910317421,
-0.06019563972949982,
-0.012008754536509514,
0.10215606540441513,
0.20028463006019592,
0.07234358042478561,
-0.11720562726259232,
-0.02640421688556671,
0.2186688333749771,
0.05578819289803505,
0.2651783525943756,
-0.1387016922235489,
0.14834395051002502,
-0.5472912788391113,
0.2296743094921112,
0.5981791615486145,
0.054174814373254776,
-0.0634031891822815,
0.04492923617362976,
0.05716785043478012,
-0.1294470578432083,
0.014599137008190155,
-0.1710967719554901,
0.23129963874816895,
0.3597036898136139,
0.017747927457094193,
0.033297307789325714,
-0.022608354687690735,
0.200506791472435,
0.3880091905593872,
0.16047608852386475,
0.025718392804265022,
-0.05175969749689102,
-0.050181783735752106,
0.5676717162132263,
0.01302655041217804,
0.04047609120607376,
0.12144482135772705,
-0.2276734709739685,
-0.10600621998310089,
0.07224512100219727,
-0.0035088248550891876,
0.03727291524410248,
0.06252115964889526,
0.014578685164451599,
-0.20795780420303345,
0.13756603002548218,
-0.1434830278158188,
0.21053731441497803,
0.19330504536628723,
0.28953051567077637,
0.17033414542675018,
-0.1188582107424736,
0.09619567543268204,
-0.12601694464683533,
-0.0010033585131168365,
0.03230365365743637,
0.355948805809021,
-0.14235815405845642,
-0.07484342902898788,
-0.31415989995002747,
-0.3821249306201935,
-0.3466786742210388,
-0.3569433391094208,
-0.4646944999694824,
-0.32021820545196533,
-0.06652839481830597,
-0.15261054039001465,
0.011852063238620758,
0.0595368817448616,
-0.020108873024582863,
-0.19330023229122162,
0.08287978172302246,
-0.3502335846424103,
-0.06728503853082657,
-0.3931131958961487,
-0.2638325095176697,
-0.021901465952396393,
0.45756423473358154,
0.10358481109142303,
0.19101017713546753,
-0.2944646179676056,
-0.13936837017536163,
-0.6602705121040344,
-0.21317797899246216,
0.03331621736288071,
-0.05532573163509369,
-0.06938879936933517,
0.06117000803351402,
0.7040326595306396,
-0.1448129117488861,
-0.021932415664196014,
0.09306718409061432,
0.12535910308361053,
-0.09222909808158875,
-0.030883461236953735,
-0.01881817728281021,
0.07058343291282654,
0.14346778392791748,
-0.4446648061275482,
-0.39008063077926636,
-0.1972251981496811,
-0.07932929694652557,
0.04656275734305382,
0.0004413388669490814,
-0.009668531827628613,
0.10411999374628067,
-0.01565864309668541,
0.2523649036884308,
0.0786527544260025,
-0.06632339209318161,
-0.02954084426164627,
0.40979981422424316,
-0.11505662649869919,
-0.49307236075401306,
0.5355676412582397,
-0.03230445086956024,
0.09803658723831177,
0.08335492759943008,
-0.344549298286438,
0.39094528555870056,
0.11419691145420074,
0.3440345823764801,
0.1787697672843933,
-0.06293924897909164,
0.11423070728778839,
-0.30597445368766785,
0.2277785688638687,
0.1264754831790924,
-0.09276105463504791,
0.024369284510612488,
-0.2515070140361786,
0.5262635946273804,
0.3555581569671631,
0.23986756801605225,
-0.09599652141332626,
0.689013659954071,
0.30927833914756775,
0.0913522019982338,
0.31085702776908875,
0.11477594822645187,
0.04275628924369812,
-0.14774256944656372,
-0.3294086754322052,
0.0390818789601326,
-0.0017177015542984009,
0.06039820611476898,
0.12463977932929993,
-0.008348431438207626,
-0.176229789853096,
-0.26747387647628784,
-0.33868902921676636,
-0.30879902839660645,
-0.41825786232948303,
-0.03120134212076664,
-0.18272913992404938,
0.3806189298629761,
0.10196544229984283,
0.039864830672740936,
0.007679849863052368,
-0.35264289379119873,
0.2515992820262909,
0.3737897276878357,
-0.06074389070272446,
0.15002407133579254,
0.12558883428573608,
-0.38251209259033203,
-0.2390328347682953,
0.025523066520690918,
0.07561005651950836,
0.38935786485671997,
-0.1512795239686966,
0.2660020887851715,
0.1895330846309662,
0.13109609484672546,
0.4795292019844055,
-0.19716553390026093,
0.1819538176059723,
0.1743207424879074,
0.09587784111499786,
-0.20664656162261963,
-0.1298273354768753,
-0.049471039324998856,
0.3432276248931885,
0.39200925827026367,
-0.03647910803556442,
-0.44357940554618835,
-0.09674752503633499,
0.4116118550300598,
0.37212884426116943,
-0.10319007933139801,
-0.12850096821784973,
-0.19717445969581604,
-0.20750558376312256,
-0.2654874920845032,
-0.301240473985672,
-0.1196204423904419,
0.47368407249450684,
0.16390198469161987,
0.20594684779644012,
0.009673192165791988,
0.12017040699720383,
-0.08089688420295715,
-0.10954912006855011,
0.32448089122772217,
0.2624775171279907,
-0.04979544132947922,
0.3203042447566986,
0.09541404992341995,
-0.1609322726726532,
0.3310251832008362,
0.14151644706726074,
-0.34419766068458557,
0.014632884413003922,
-0.026819143444299698,
-0.09486066550016403,
0.0826936885714531,
-0.10759188234806061,
0.0648718923330307,
0.06901314854621887,
-0.3516656160354614,
0.011054950766265392,
-0.20437581837177277,
0.22439658641815186,
0.10593616217374802,
-0.48957890272140503,
-0.47950276732444763,
0.4767800271511078,
0.1361732929944992,
0.14658261835575104,
0.2223840206861496,
0.11836573481559753,
-0.24880264699459076,
0.08121197670698166,
0.041795793920755386,
0.8113138675689697,
-0.004197657108306885,
0.12990468740463257,
-0.01596766710281372,
0.24201373755931854,
0.42248278856277466,
-0.0433778241276741,
-0.031600452959537506,
-0.4124186038970947,
0.1048571839928627,
-0.1195015087723732,
0.09277857840061188,
0.056730810552835464,
-0.06835748255252838,
-0.2528587579727173,
0.4712556004524231,
0.09112778306007385,
0.40956810116767883,
0.10207109898328781,
0.3847070038318634,
0.07247664034366608,
-0.0978337824344635,
-0.23272937536239624,
0.0697217807173729,
-0.16912513971328735,
0.49143245816230774,
-0.2189214527606964,
-0.18092608451843262,
-0.1554926037788391,
0.013553652912378311,
-0.48116594552993774,
0.07633654028177261,
-0.21482937037944794,
0.37513643503189087,
-0.19677138328552246,
-0.43164628744125366,
0.425075888633728,
0.4711775481700897,
0.21861697733402252,
0.31960973143577576,
-0.30900341272354126,
0.22684131562709808,
-0.4928476810455322,
-0.5243963003158569,
-0.08519554138183594,
0.19994240999221802,
0.33398690819740295,
-0.07116246223449707,
-0.46073004603385925,
0.29904595017433167,
-0.026466060429811478,
-0.004542507231235504,
-0.02458558976650238,
-0.0175212100148201,
0.17578274011611938,
-0.019927801564335823,
-0.3917602300643921,
-0.10232800245285034,
-0.044056788086891174,
-0.14400829374790192,
0.11565765738487244,
0.06692788004875183,
0.19607007503509521,
-0.08412083238363266,
0.14454521238803864,
-0.07602137327194214,
0.1062941700220108,
0.3669896721839905,
0.06860069930553436,
-0.19091364741325378,
0.45333436131477356,
0.3784366548061371,
-0.3925842046737671,
-0.1547711193561554,
-0.03746149688959122,
-0.5030238032341003,
-0.297540545463562,
-0.04505401849746704,
0.010143715888261795,
0.38357794284820557,
-0.20432813465595245,
0.14963681995868683,
0.08861225843429565,
-0.2962019145488739,
-0.03486078232526779,
-0.46678704023361206,
-0.17187000811100006,
0.31029611825942993,
-0.09833408892154694,
-0.01654880866408348,
0.07247333228588104,
-0.3425885736942291,
0.392580509185791,
-0.23379504680633545,
-0.19922618567943573,
0.04464252293109894,
-0.10825208574533463,
0.012196483090519905,
0.10572715103626251,
0.06770513951778412,
-0.11160832643508911,
-0.16284464299678802,
0.08145936578512192,
-0.16404810547828674,
-0.01302248239517212,
-0.09765052795410156,
0.14809060096740723,
0.12123744934797287,
-0.011353682726621628,
0.09074107557535172,
0.018445327877998352,
-0.5164160132408142,
-0.009651970118284225,
-0.022863874211907387,
-0.1621377021074295,
0.09070805460214615,
0.08034416288137436,
0.2449539452791214,
0.11942244321107864,
0.05435897782444954,
-0.3819980025291443,
0.33131563663482666,
0.09149230271577835,
0.26956501603126526,
0.08027636259794235,
0.3349447548389435,
0.31019827723503113,
-0.014496631920337677,
-0.5009610056877136,
0.1729120910167694,
-0.13196039199829102,
-0.08401891589164734,
0.26160258054733276,
-0.32457274198532104,
0.3326549232006073,
0.2303602546453476,
0.08926694095134735,
0.17156530916690826,
-0.21807684004306793,
-0.008718401193618774,
0.3220077455043793,
0.0964972972869873,
-0.4737291932106018,
0.04986380413174629,
0.6553482413291931,
0.16846176981925964,
-0.14583219587802887,
-0.04107598215341568,
0.1880703568458557,
-0.2683459520339966,
-0.0888957679271698,
0.2554208040237427,
0.06801534444093704,
-0.0005089100450277328,
0.2828109562397003,
0.39664244651794434,
0.4411619305610657,
0.20443178713321686,
0.06228230148553848,
0.10766902565956116,
-0.16900131106376648,
0.44828593730926514,
-0.36632996797561646,
0.07834922522306442,
0.1258276104927063,
-0.08196623623371124,
-0.07189644128084183,
-0.31792008876800537,
0.1306101530790329,
0.23404556512832642,
-0.28299036622047424,
-0.006111890077590942,
-0.056818246841430664,
0.12684018909931183,
0.28181788325309753,
-0.004787127953022718,
-0.2626940608024597,
0.06898623704910278,
-0.23992550373077393,
0.2322702407836914,
-0.32343772053718567,
-0.3213646113872528,
-0.051808666437864304,
0.12418515980243683,
0.1495206654071808,
-0.22481714189052582,
0.05289239436388016,
0.269170880317688,
-0.242185577750206,
-0.17502351105213165,
0.6996945142745972,
-0.12280545383691788,
0.07916057109832764,
-0.21527349948883057,
-0.06823190301656723,
-0.1705029159784317,
-0.11811546981334686,
-0.014359429478645325,
0.23502004146575928,
0.21452663838863373,
0.23718109726905823,
-0.32814526557922363,
0.03073505312204361,
0.047466177493333817,
-0.015879027545452118,
0.13792116940021515,
0.1811314821243286,
0.11741903424263,
0.048681873828172684,
0.2684904932975769,
0.10209063440561295,
-0.07218831777572632,
-0.3152781128883362,
0.3781622648239136,
0.33693379163742065,
-0.08960610628128052,
0.007954977452754974,
-0.1436551958322525,
0.016176722943782806,
-0.248683363199234,
0.03411700204014778,
-0.4928394854068756,
-0.1555260717868805,
0.3062032461166382,
0.19628363847732544,
-0.010381448082625866,
-0.34092816710472107,
0.024934593588113785,
-0.2520851492881775,
0.36394453048706055,
0.4127926230430603,
0.1538991630077362,
-0.4125404357910156,
-0.31437259912490845,
-0.643462061882019,
0.13423700630664825,
-0.19588255882263184,
-0.10145292431116104,
0.15216127038002014,
0.10585751384496689,
-0.1459161639213562,
0.19160552322864532,
0.30524224042892456,
-0.04019220545887947,
0.019167456775903702,
0.35781192779541016,
-0.1499289572238922,
-0.22805334627628326,
-0.19954116642475128,
-0.03754865378141403,
-0.2679668664932251,
-0.08986346423625946,
0.1356252133846283,
-0.5401660799980164,
-0.003108430653810501,
-0.13435868918895721,
-0.21719418466091156,
0.24943795800209045,
-0.12762872874736786,
0.13847258687019348,
-0.20625939965248108,
0.40881437063217163,
0.04221433401107788,
-0.05484787002205849,
-0.24886885285377502,
0.0978812426328659,
0.07757332921028137,
0.4986909329891205,
-0.13901811838150024,
0.35505205392837524,
-0.19746775925159454,
0.28648003935813904,
-0.18881945312023163,
0.4310460388660431,
-0.19397945702075958,
0.17193056643009186,
-0.2592929005622864,
-0.11349564790725708,
-0.017382562160491943,
0.3172319233417511,
0.09001155942678452,
0.23362997174263,
-0.24475425481796265,
0.10312894731760025,
-0.28436169028282166,
-0.17644844949245453,
0.1598711907863617,
-0.41073039174079895,
-0.24334470927715302,
-0.08454016596078873,
0.08895903825759888,
0.09718358516693115,
0.12632417678833008,
-0.33526647090911865,
0.10431773215532303,
0.2328704297542572,
0.06635960936546326,
-0.04308928921818733,
0.1159905195236206,
-0.13868801295757294,
0.16048255562782288,
0.06468628346920013,
0.007492341101169586,
-0.09013300389051437,
-0.2122357189655304,
-0.15267708897590637,
-0.3400038480758667
] |
https://github.com/huggingface/datasets/issues/1672 | load_dataset hang on file_lock | Having the same issue with `datasets 1.1.3` of `1.5.0` (both tracebacks look the same) and `kilt_wikipedia`, Ubuntu 20.04
```py
In [1]: from datasets import load_dataset
In [2]: wikipedia = load_dataset('kilt_wikipedia')['full']
Downloading: 7.37kB [00:00, 2.74MB/s]
Downloading: 3.33kB [00:00, 1.44MB/s]
^C---------------------------------------------------------------------------
OSError Traceback (most recent call last)
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self)
380 try:
--> 381 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
382 except (IOError, OSError):
OSError: [Errno 37] No locks available
During handling of the above exception, another exception occurred:
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-2-f412d3d46ec9> in <module>
----> 1 wikipedia = load_dataset('kilt_wikipedia')['full']
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, sav
e_infos, script_version, **config_kwargs)
601 hash=hash,
602 features=features,
--> 603 **config_kwargs,
604 )
605
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, *args, **kwargs)
841 def __init__(self, *args, **kwargs):
842 self._writer_batch_size = kwargs.pop("writer_batch_size", self._writer_batch_size)
--> 843 super(GeneratorBasedBuilder, self).__init__(*args, **kwargs)
844
845 @abc.abstractmethod
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, cache_dir, name, hash, features, **config_kwargs)
174 os.makedirs(self._cache_dir_root, exist_ok=True)
175 lock_path = os.path.join(self._cache_dir_root, self._cache_dir.replace(os.sep, "_") + ".lock")
--> 176 with FileLock(lock_path):
177 if os.path.exists(self._cache_dir): # check if data exist
178 if len(os.listdir(self._cache_dir)) > 0:
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in __enter__(self)
312
313 def __enter__(self):
--> 314 self.acquire()
315 return self
316
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in acquire(self, timeout, poll_intervall)
261 if not self.is_locked:
262 logger().debug("Attempting to acquire lock %s on %s", lock_id, lock_filename)
--> 263 self._acquire()
264
265 if self.is_locked:
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self)
379
380 try:
--> 381 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
382 except (IOError, OSError):
383 os.close(fd)
KeyboardInterrupt:
``` | I am trying to load the squad dataset. Fails on Windows 10 but succeeds in Colab.
Transformers: 3.3.1
Datasets: 1.0.2
Windows 10 (also tested in WSL)
```
datasets.logging.set_verbosity_debug()
datasets.
train_dataset = load_dataset('squad', split='train')
valid_dataset = load_dataset('squad', split='validation')
train_dataset.features
```
```
https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py not found in cache or force_download set to True, downloading to C:\Users\simpl\.cache\huggingface\datasets\tmpzj_o_6u7
Downloading:
5.24k/? [00:00<00:00, 134kB/s]
storing https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py in cache at C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py
creating metadata file for C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py
Checking C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py for additional imports.
Found main folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad
Found specific version folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41
Found script file from https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py to C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.py
Couldn't find dataset infos file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad\dataset_infos.json
Found metadata file for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.json
No config specified, defaulting to first: squad/plain_text
```
Interrupting the jupyter kernel we are in a file lock.
In Google Colab the download is ok. In contrast to a local run in colab dataset_infos.json is downloaded
```
https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/dataset_infos.json not found in cache or force_download set to True, downloading to /root/.cache/huggingface/datasets/tmptl9ha_ad
Downloading:
2.19k/? [00:00<00:00, 26.2kB/s]
``` | 234 | load_dataset hang on file_lock
I am trying to load the squad dataset. Fails on Windows 10 but succeeds in Colab.
Transformers: 3.3.1
Datasets: 1.0.2
Windows 10 (also tested in WSL)
```
datasets.logging.set_verbosity_debug()
datasets.
train_dataset = load_dataset('squad', split='train')
valid_dataset = load_dataset('squad', split='validation')
train_dataset.features
```
```
https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py not found in cache or force_download set to True, downloading to C:\Users\simpl\.cache\huggingface\datasets\tmpzj_o_6u7
Downloading:
5.24k/? [00:00<00:00, 134kB/s]
storing https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py in cache at C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py
creating metadata file for C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py
Checking C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py for additional imports.
Found main folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad
Found specific version folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41
Found script file from https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py to C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.py
Couldn't find dataset infos file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad\dataset_infos.json
Found metadata file for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.json
No config specified, defaulting to first: squad/plain_text
```
Interrupting the jupyter kernel we are in a file lock.
In Google Colab the download is ok. In contrast to a local run in colab dataset_infos.json is downloaded
```
https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/dataset_infos.json not found in cache or force_download set to True, downloading to /root/.cache/huggingface/datasets/tmptl9ha_ad
Downloading:
2.19k/? [00:00<00:00, 26.2kB/s]
```
Having the same issue with `datasets 1.1.3` of `1.5.0` (both tracebacks look the same) and `kilt_wikipedia`, Ubuntu 20.04
```py
In [1]: from datasets import load_dataset
In [2]: wikipedia = load_dataset('kilt_wikipedia')['full']
Downloading: 7.37kB [00:00, 2.74MB/s]
Downloading: 3.33kB [00:00, 1.44MB/s]
^C---------------------------------------------------------------------------
OSError Traceback (most recent call last)
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self)
380 try:
--> 381 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
382 except (IOError, OSError):
OSError: [Errno 37] No locks available
During handling of the above exception, another exception occurred:
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-2-f412d3d46ec9> in <module>
----> 1 wikipedia = load_dataset('kilt_wikipedia')['full']
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, sav
e_infos, script_version, **config_kwargs)
601 hash=hash,
602 features=features,
--> 603 **config_kwargs,
604 )
605
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, *args, **kwargs)
841 def __init__(self, *args, **kwargs):
842 self._writer_batch_size = kwargs.pop("writer_batch_size", self._writer_batch_size)
--> 843 super(GeneratorBasedBuilder, self).__init__(*args, **kwargs)
844
845 @abc.abstractmethod
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, cache_dir, name, hash, features, **config_kwargs)
174 os.makedirs(self._cache_dir_root, exist_ok=True)
175 lock_path = os.path.join(self._cache_dir_root, self._cache_dir.replace(os.sep, "_") + ".lock")
--> 176 with FileLock(lock_path):
177 if os.path.exists(self._cache_dir): # check if data exist
178 if len(os.listdir(self._cache_dir)) > 0:
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in __enter__(self)
312
313 def __enter__(self):
--> 314 self.acquire()
315 return self
316
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in acquire(self, timeout, poll_intervall)
261 if not self.is_locked:
262 logger().debug("Attempting to acquire lock %s on %s", lock_id, lock_filename)
--> 263 self._acquire()
264
265 if self.is_locked:
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self)
379
380 try:
--> 381 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
382 except (IOError, OSError):
383 os.close(fd)
KeyboardInterrupt:
``` | [
-0.3021150827407837,
-0.021521277725696564,
-0.08799497783184052,
0.1789362132549286,
0.5179888606071472,
0.1499258577823639,
0.5325870513916016,
-0.038846056908369064,
0.019996006041765213,
0.004318267107009888,
-0.25354868173599243,
0.25555726885795593,
-0.010385745204985142,
-0.11832143366336823,
-0.0975557342171669,
0.03599802032113075,
0.09509001672267914,
0.10511738806962967,
0.08449458330869675,
0.11259731650352478,
-0.023830125108361244,
0.42407330870628357,
-0.31129032373428345,
-0.23315800726413727,
-0.7260752320289612,
-0.0725923627614975,
0.07265391945838928,
0.2130884826183319,
-0.2689565122127533,
-0.20116187632083893,
0.5048648118972778,
0.179050475358963,
0.2133803367614746,
0.5419108867645264,
-0.00012257520575076342,
0.05560743808746338,
0.2359667867422104,
0.03577255457639694,
-0.253040075302124,
-0.26163703203201294,
-0.2748565375804901,
-0.2957785129547119,
0.18311165273189545,
0.012882106006145477,
-0.17502179741859436,
0.7024017572402954,
0.176348477602005,
-0.4491301476955414,
0.4564880132675171,
0.2201070338487625,
0.14820322394371033,
0.376557320356369,
-0.06436074525117874,
-0.2676069438457489,
0.13383007049560547,
-0.14350517094135284,
-0.2925019860267639,
0.48458001017570496,
0.4809320867061615,
-0.13175509870052338,
0.11039814352989197,
0.15502487123012543,
-0.012471981346607208,
-0.1682618260383606,
0.06105867400765419,
0.04912404343485832,
-0.20835226774215698,
-0.40020835399627686,
0.4759036898612976,
0.1590740978717804,
0.4620741903781891,
-0.1445716917514801,
-0.27666640281677246,
-0.06719569116830826,
0.35080686211586,
0.11593014001846313,
0.558526337146759,
0.2401413470506668,
-0.09117326140403748,
0.15417136251926422,
-0.07667528092861176,
0.15786129236221313,
0.02434348315000534,
-0.062097713351249695,
0.08916956186294556,
0.25517094135284424,
-0.08764556050300598,
0.05542972311377525,
0.14624248445034027,
0.0595080591738224,
0.09296028316020966,
-0.026397529989480972,
-0.04791248217225075,
0.1122642233967781,
-0.593470573425293,
0.13572895526885986,
-0.3308296799659729,
0.33978527784347534,
-0.1689835786819458,
0.029628528282046318,
0.008119218051433563,
0.12904617190361023,
0.37027591466903687,
0.1749778538942337,
-0.008636672049760818,
0.06062361225485802,
0.140555277466774,
0.02064606547355652,
0.39356040954589844,
0.12859994173049927,
-0.36046284437179565,
0.1481843739748001,
-0.38283154368400574,
-0.33670473098754883,
0.1523127406835556,
0.0648471862077713,
0.1792362630367279,
-0.27236130833625793,
-0.2743980884552002,
-0.08245422691106796,
0.09457080811262131,
0.003892450127750635,
0.3614351153373718,
0.5836246609687805,
-0.06736580282449722,
-0.02782166376709938,
-0.1538965404033661,
-0.03845559060573578,
-0.3419782519340515,
0.17409317195415497,
-0.12288928776979446,
0.01875936985015869,
-0.15876691043376923,
0.11418994516134262,
0.4133545458316803,
-0.4438302218914032,
0.3186832070350647,
0.06279098987579346,
0.13181892037391663,
-0.0032940059900283813,
0.062119804322719574,
-0.27147433161735535,
-0.20031824707984924,
0.33393561840057373,
0.08803440630435944,
0.2697608768939972,
-0.05207393690943718,
-0.43599390983581543,
-0.11216287314891815,
-0.012050308287143707,
-0.17784035205841064,
-0.06929633766412735,
0.06394786387681961,
0.10695122927427292,
-0.2871118187904358,
0.012819100171327591,
-0.18112492561340332,
-0.01611688733100891,
0.11780016869306564,
-0.0618247352540493,
0.10451436042785645,
-0.20278343558311462,
-0.25770103931427,
-0.1545439064502716,
0.18670636415481567,
0.6341598033905029,
-0.4503534436225891,
0.035372547805309296,
0.315606951713562,
-0.3282567858695984,
-0.17891046404838562,
0.24298550188541412,
-0.10547792166471481,
-0.19311082363128662,
-0.4120924472808838,
0.01134277880191803,
0.22494810819625854,
-0.5570045113563538,
-0.7323592305183411,
0.25447148084640503,
-0.2879524230957031,
-0.10853268951177597,
0.3105340898036957,
0.2420298159122467,
0.32446378469467163,
-0.11460962146520615,
0.14711534976959229,
0.06107717752456665,
-0.061850257217884064,
0.04269668459892273,
-0.14469625055789948,
-0.18100254237651825,
0.08618497848510742,
0.21562494337558746,
0.07295948266983032,
-0.06197897344827652,
0.12858173251152039,
0.6232085824012756,
0.1470400094985962,
0.19337129592895508,
-0.08590329438447952,
0.35545432567596436,
0.30954352021217346,
-0.14193940162658691,
-0.012420153245329857,
-0.25398337841033936,
-0.771656334400177,
0.402557373046875,
-0.0649847537279129,
0.1990302950143814,
-0.08980429172515869,
-0.20649433135986328,
-0.1742607057094574,
0.010830150917172432,
-0.3812263607978821,
-0.14274056255817413,
0.0050980448722839355,
-0.022315911948680878,
0.13405030965805054,
-0.061908576637506485,
0.00027039647102355957,
0.6825742125511169,
-0.05980918928980827,
0.10779181867837906,
-0.28404998779296875,
0.12389692664146423,
-0.23255400359630585,
-0.2640248239040375,
0.005874030292034149,
-0.04864957183599472,
0.11465440690517426,
-0.2998555302619934,
-0.15815529227256775,
0.1780065894126892,
-0.01789644919335842,
0.17847415804862976,
0.0875406265258789,
-0.04027611017227173,
0.23347054421901703,
-0.1706898957490921,
-0.03942735493183136,
-0.027122661471366882,
0.10674112290143967,
-0.2455773651599884,
-0.12535929679870605,
0.21619388461112976,
-0.3088020980358124,
-0.01802748441696167,
-0.005303025245666504,
-0.14474403858184814,
0.17790792882442474,
0.14091484248638153,
-0.024871619418263435,
0.022837504744529724,
0.25424933433532715,
0.36352095007896423,
0.5597593784332275,
0.2122933715581894,
0.20217454433441162,
0.16372862458229065,
0.6630064249038696,
0.045853566378355026,
-0.1473342478275299,
-0.09784672409296036,
-0.0810113474726677,
0.06715329736471176,
0.1066267341375351,
0.04259138181805611,
0.558298647403717,
0.1253880262374878,
0.017651919275522232,
0.007102767005562782,
-0.0917787030339241,
-0.3237574100494385,
0.11061040312051773,
0.06515084952116013,
0.029952669516205788,
0.2512900233268738,
0.10345114022493362,
0.033191144466400146,
-0.15680506825447083,
-0.2846607565879822,
0.20542161166667938,
0.10006158798933029,
-0.1784663200378418,
0.048388682305812836,
-0.1830165833234787,
0.10561691969633102,
-0.15699148178100586,
0.16953374445438385,
-0.3918546438217163,
-0.11134424805641174,
-0.24960897862911224,
0.45727163553237915,
0.47096559405326843,
0.12107083946466446,
-0.23464235663414001,
0.007233619689941406,
0.14606419205665588,
-0.30178311467170715,
-0.10858257114887238,
-0.09736166149377823,
-0.08933454006910324,
-0.056694336235523224,
0.6666873097419739,
-0.14905984699726105,
0.22311818599700928,
-0.033678825944662094,
-0.07687116414308548,
-0.0030312836170196533,
-0.25305381417274475,
0.12370772659778595,
-0.13603216409683228,
0.42064377665519714,
0.07396884262561798,
0.1953093707561493,
-0.26480692625045776,
-0.06578819453716278,
0.2203657031059265,
-0.15552081167697906,
-0.12446030974388123,
-0.1847473531961441,
-0.05047282576560974,
-0.19684980809688568,
-0.04723360389471054,
-0.17763593792915344,
-0.43483468890190125,
-0.38629767298698425,
0.020922835916280746,
-0.24104449152946472,
-0.1923215240240097,
0.340686559677124,
0.02188071981072426,
0.36593347787857056,
0.12885257601737976,
0.06274361163377762,
-0.1347734034061432,
-0.6219172477722168,
0.26818278431892395,
-0.01129952259361744,
-0.3586462438106537,
0.1750243604183197,
-0.020915929228067398,
-0.13682207465171814,
-0.0861627534031868,
-0.3688421845436096,
-0.20080465078353882,
-0.2929191589355469,
0.3318699300289154,
-0.11565026640892029,
-0.09501543641090393,
0.3846443295478821,
-0.19345250725746155,
0.07070982456207275,
-0.07974569499492645,
-0.2999762296676636,
0.05137944966554642,
-0.037532784044742584,
0.1813332438468933,
-0.054362788796424866,
0.07557453215122223,
-0.031842149794101715,
0.6378088593482971,
0.3464276194572449,
-0.08289572596549988,
0.2503508925437927,
0.06165160983800888,
0.317903995513916,
-0.10556752234697342,
-0.37725332379341125,
0.12378392368555069,
0.021782636642456055,
0.007040947675704956,
0.230540469288826,
0.21599188446998596,
0.0657450333237648,
-0.21001450717449188,
-0.1933852732181549,
-0.0691947415471077,
-0.2989998459815979,
0.1220768392086029,
0.24767284095287323,
-0.14819833636283875,
0.1170201301574707,
0.21346202492713928,
0.019363921135663986,
-0.1991245448589325,
-0.005506008397787809,
0.7495673298835754,
-0.2478504180908203,
0.021236909553408623,
-0.18948861956596375,
-0.08060483634471893,
-0.46963435411453247,
0.007457256317138672,
0.12028960883617401,
0.3606135845184326,
-0.14366598427295685,
0.0714179202914238,
0.2087251842021942,
-0.2259925752878189,
0.8764543533325195,
0.12217441946268082,
0.20587974786758423,
0.10523176193237305,
-0.1461682766675949,
-0.09111461043357849,
-0.17079739272594452,
-0.09223774075508118,
0.2615537941455841,
0.45328304171562195,
0.6301115155220032,
-0.03858133405447006,
-0.3543896973133087,
-0.14349690079689026,
-0.016723167151212692,
-0.17221301794052124,
-0.2208205610513687,
-0.2302735596895218,
-0.1717422604560852,
-0.2692456841468811,
0.047581467777490616,
0.08817548304796219,
0.08419032394886017,
-0.06331772357225418,
-0.09083008766174316,
-0.03519333153963089,
-0.2652928829193115,
0.06850521266460419,
0.1933164745569229,
-0.04764724522829056,
0.20609204471111298,
0.4185991585254669,
0.0047989822924137115,
0.24827350676059723,
-0.1124575138092041,
0.5424157977104187,
-0.17028096318244934,
-0.2747662663459778,
0.23527458310127258,
-0.14035066962242126,
-0.019913025200366974,
0.4306938946247101,
-0.1972319632768631,
-0.01979510486125946,
0.06966865062713623,
0.11210136115550995,
-0.016911625862121582,
0.22317275404930115,
0.09807495027780533,
0.18410499393939972,
-0.2574019730091095,
-0.0331873819231987,
0.2595711350440979,
-0.053003549575805664,
-0.012630105018615723,
0.14066967368125916,
0.03163423016667366,
-0.1650966852903366,
0.11524692922830582,
-0.06913203746080399,
0.8369390964508057,
-0.481812059879303,
0.1879780888557434,
-0.012568414211273193,
0.031158700585365295,
0.635547399520874,
-0.15792791545391083,
0.0729459822177887,
-0.26218265295028687,
-0.576133131980896,
0.10167481005191803,
-0.13094189763069153,
0.1884804666042328,
0.012095365673303604,
-0.2257237285375595,
0.058511678129434586,
0.22670002281665802,
0.47083911299705505,
-0.0111765768378973,
0.19812069833278656,
-0.391952246427536,
-0.20284998416900635,
-0.5293014049530029,
0.11424580216407776,
-0.013945043087005615,
0.3403400480747223,
-0.2284071147441864,
0.022603381425142288,
-0.13462704420089722,
-0.09210743010044098,
-0.2757970690727234,
0.18963158130645752,
-0.5999923348426819,
0.12708479166030884,
-0.10516020655632019,
-0.5103445053100586,
0.26863202452659607,
0.3383277356624603,
0.24211199581623077,
0.18459056317806244,
-0.1392538696527481,
0.26854264736175537,
0.007780630141496658,
-0.15800286829471588,
-0.07522736489772797,
0.037636153399944305,
0.3033442199230194,
-0.07065766304731369,
-0.1911105066537857,
-0.18147841095924377,
-0.04652534797787666,
-0.1682811975479126,
0.025247663259506226,
0.09025375545024872,
0.015626467764377594,
-0.10822106897830963,
-0.28957709670066833,
-0.2553243637084961,
-0.13484251499176025,
-0.1357504427433014,
0.06630556285381317,
-0.04767540842294693,
0.006990088149905205,
0.1341111809015274,
0.15739600360393524,
-0.2546168565750122,
-0.12583865225315094,
0.7812125086784363,
-0.4224648177623749,
-0.16739404201507568,
0.5317302942276001,
0.18218794465065002,
-0.2767597734928131,
-0.25786662101745605,
0.10537747293710709,
-0.3079364597797394,
-0.31724587082862854,
-0.06272146105766296,
0.11541961878538132,
-0.11040975898504257,
0.2417917400598526,
0.1300778090953827,
0.41413038969039917,
-0.39004820585250854,
0.22131110727787018,
-0.6019890904426575,
-0.4822528064250946,
-0.1206793487071991,
-0.00001739710569381714,
0.22798529267311096,
0.150332510471344,
0.12506775557994843,
0.1534174680709839,
0.06848441064357758,
-0.20518529415130615,
0.13890047371387482,
-0.348736047744751,
-0.04420822113752365,
0.345995157957077,
-0.2889588475227356,
0.24241700768470764,
0.0132993683218956,
0.03502754122018814,
0.33921724557876587,
-0.13998574018478394,
-0.2143961489200592,
-0.1179978996515274,
0.1341082602739334,
0.04629220813512802,
-0.054481275379657745,
-0.18684518337249756,
-0.2604002356529236,
0.04757247865200043,
-0.029738113284111023,
0.3557329475879669,
0.2684984505176544,
0.13779529929161072,
-0.029227428138256073,
-0.1497192531824112,
0.3529655635356903,
-0.1717199832201004,
0.22080889344215393,
0.013651944696903229,
-0.016480274498462677,
0.3168198764324188,
0.11235716193914413,
-0.027976181358098984,
0.151548832654953,
-0.3096598982810974,
-0.11249444633722305,
0.10729857534170151,
0.19822269678115845,
0.04740559682250023,
-0.34615933895111084,
0.011100847274065018,
0.2825106978416443,
-0.012781308963894844,
0.252299427986145,
0.04854224994778633,
0.020233286544680595,
0.2640169560909271,
0.100436270236969,
-0.180027574300766,
0.12812982499599457,
0.2956618368625641,
-0.024217814207077026,
0.06143397465348244,
0.1758875548839569,
-0.027941301465034485,
0.11190909147262573,
0.12243390828371048,
0.16335496306419373,
0.8019189834594727,
0.4035440683364868,
-0.03152681887149811,
0.16797664761543274,
0.25470373034477234,
0.2746589481830597,
0.17058254778385162,
0.10461077094078064,
-0.06737542897462845,
0.22027552127838135,
-0.3067367672920227,
0.322769433259964,
-0.5636513233184814,
0.391169935464859,
0.23945271968841553,
-0.3281102180480957,
-0.07888175547122955,
0.2526056170463562,
-0.04846833646297455,
0.010744143277406693,
-0.14047007262706757,
0.6839736700057983,
-0.4751993715763092,
-0.19970765709877014,
-0.05359967052936554,
0.12367372214794159,
-0.23166725039482117,
-0.10221341252326965,
0.13474281132221222,
0.030978642404079437,
0.07774610817432404,
0.0872582495212555,
0.02746734768152237,
-0.04368539899587631,
0.18429458141326904,
0.3241148591041565,
0.056339509785175323,
-0.08491680026054382,
-0.012219332158565521,
0.1307574212551117,
-0.11305945366621017,
-0.09156335890293121,
0.32018887996673584,
0.07660863548517227,
0.15844953060150146,
0.10656483471393585,
0.059648409485816956,
0.3337251543998718,
0.225044384598732,
-0.09847681224346161,
0.0011566141620278358,
0.07037218660116196,
0.018704654648900032,
-0.1584300696849823,
0.21942946314811707,
0.04790414124727249,
-0.12942588329315186,
0.0755433589220047,
0.06100524216890335,
-0.1300658881664276,
-0.0836254209280014,
0.08094750344753265,
-0.20348551869392395,
-0.0816975086927414,
0.19323256611824036,
-0.06506755948066711,
-0.10193784534931183,
-0.052705034613609314,
0.12759660184383392,
-0.22272056341171265,
0.15104520320892334,
0.02667778544127941,
-0.1832038313150406,
0.23263883590698242,
-0.09652862697839737,
0.04902038723230362,
0.026061750948429108,
0.4137376546859741,
0.17403031885623932,
0.26994189620018005,
-0.2857955992221832,
0.030657321214675903,
-0.7201026082038879,
0.1451297104358673,
0.3006891906261444,
-0.01333153247833252,
-0.2248815894126892,
0.09974828362464905,
-0.0822947546839714,
0.04496600851416588,
0.241230770945549,
-0.1539662629365921,
0.4191063344478607,
0.1802007108926773,
-0.3893112242221832,
-0.0677269697189331,
0.05812609940767288,
-0.21054382622241974,
-0.06334708631038666,
-0.3447370231151581,
0.12050766497850418,
0.04953725263476372,
-0.09427288174629211,
-0.33949291706085205,
-0.14679965376853943,
-0.13890278339385986,
-0.35857635736465454,
0.22889873385429382,
-0.11449630558490753,
0.572479248046875,
-0.015105113387107849,
-0.08873455226421356,
-0.22340074181556702,
0.04604547843337059,
0.07667616754770279,
-0.0917801484465599,
0.2714507579803467,
0.2899795472621918,
-0.3411715030670166,
-0.005397424101829529,
-0.22186163067817688,
0.2548297643661499,
-0.043339475989341736,
0.039074286818504333,
-0.3349059522151947,
-0.08583173900842667,
-0.07178918272256851,
0.222223162651062,
0.11221790313720703,
0.48765867948532104,
-0.08839632570743561,
0.17792071402072906,
-0.4131251573562622,
-0.2066216915845871,
0.30555325746536255,
-0.5895537734031677,
-0.2191736251115799,
-0.008172009140253067,
0.14514243602752686,
-0.008004434406757355,
-0.10978060215711594,
-0.3922094702720642,
0.24858635663986206,
0.04652531445026398,
-0.1773834228515625,
-0.2967153489589691,
0.35167646408081055,
-0.015168629586696625,
0.05791312828660011,
-0.1602029651403427,
0.16758108139038086,
-0.08946935832500458,
-0.06637275218963623,
-0.12007395923137665,
-0.2072402834892273
] |
https://github.com/huggingface/datasets/issues/1671 | connection issue | Also, mayjor issue for me is the format issue, even if I go through changing the whole code to use load_from_disk, then if I do
d = datasets.load_from_disk("imdb")
d = d["train"][:10] => the format of this is no more in datasets format
this is different from you call load_datasets("train[10]")
could you tell me how I can make the two datastes the same format @lhoestq
| Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library reads from, could you assist me how this can be done, thanks
I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks
```
imdb = datasets.load_dataset("imdb")
imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb")
>>> os.environ["HF_HOME"]="/idiap/temp/rkarimi/hf_datasets/"
>>> imdb = datasets.load_dataset("imdb")
Reusing dataset imdb (/idiap/temp/rkarimi/cache_home_2/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3)
```
I tried afterwards to set HF_HOME in bash, this makes it read from it, but it cannot let dataset library load from the saved path and still downloading data. could you tell me how to fix this issue @lhoestq thanks
Also this is on cloud, so I save them in a path, copy it to "another machine" to load the data
### Error stack
```
Traceback (most recent call last):
File "./finetune_t5_trainer.py", line 344, in <module>
main()
File "./finetune_t5_trainer.py", line 232, in main
for task in data_args.eval_tasks} if training_args.do_test else None
File "./finetune_t5_trainer.py", line 232, in <dictcomp>
for task in data_args.eval_tasks} if training_args.do_test else None
File "/workdir/seq2seq/data/tasks.py", line 136, in get_dataset
split = self.get_sampled_split(split, n_obs)
File "/workdir/seq2seq/data/tasks.py", line 64, in get_sampled_split
dataset = self.load_dataset(split)
File "/workdir/seq2seq/data/tasks.py", line 454, in load_dataset
split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
```
| 64 | connection issue
Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library reads from, could you assist me how this can be done, thanks
I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks
```
imdb = datasets.load_dataset("imdb")
imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb")
>>> os.environ["HF_HOME"]="/idiap/temp/rkarimi/hf_datasets/"
>>> imdb = datasets.load_dataset("imdb")
Reusing dataset imdb (/idiap/temp/rkarimi/cache_home_2/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3)
```
I tried afterwards to set HF_HOME in bash, this makes it read from it, but it cannot let dataset library load from the saved path and still downloading data. could you tell me how to fix this issue @lhoestq thanks
Also this is on cloud, so I save them in a path, copy it to "another machine" to load the data
### Error stack
```
Traceback (most recent call last):
File "./finetune_t5_trainer.py", line 344, in <module>
main()
File "./finetune_t5_trainer.py", line 232, in main
for task in data_args.eval_tasks} if training_args.do_test else None
File "./finetune_t5_trainer.py", line 232, in <dictcomp>
for task in data_args.eval_tasks} if training_args.do_test else None
File "/workdir/seq2seq/data/tasks.py", line 136, in get_dataset
split = self.get_sampled_split(split, n_obs)
File "/workdir/seq2seq/data/tasks.py", line 64, in get_sampled_split
dataset = self.load_dataset(split)
File "/workdir/seq2seq/data/tasks.py", line 454, in load_dataset
split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
```
Also, mayjor issue for me is the format issue, even if I go through changing the whole code to use load_from_disk, then if I do
d = datasets.load_from_disk("imdb")
d = d["train"][:10] => the format of this is no more in datasets format
this is different from you call load_datasets("train[10]")
could you tell me how I can make the two datastes the same format @lhoestq
| [
-0.41656798124313354,
0.23384049534797668,
0.011721640825271606,
0.35504382848739624,
0.436140775680542,
-0.18401679396629333,
0.17185911536216736,
0.20301826298236847,
-0.19610503315925598,
0.0112285315990448,
-0.2930119037628174,
0.16095075011253357,
0.14485132694244385,
0.2955969274044037,
0.0645911917090416,
-0.02358698844909668,
-0.17819583415985107,
0.023575767874717712,
-0.4069025218486786,
-0.19521057605743408,
0.01637113466858864,
0.1511496901512146,
0.1948603242635727,
0.11425323039293289,
-0.1687244474887848,
-0.20251615345478058,
0.0332009419798851,
0.32804742455482483,
0.07365024834871292,
-0.1991921365261078,
0.2894153594970703,
0.2229558676481247,
0.17900019884109497,
0.493254691362381,
-0.00012254068860784173,
-0.05496960133314133,
0.133793905377388,
-0.17346078157424927,
-0.40726688504219055,
-0.46312838792800903,
-0.006432346999645233,
0.14843226969242096,
0.22454200685024261,
-0.31054505705833435,
-0.038602523505687714,
0.13047179579734802,
-0.020976537838578224,
-0.46658971905708313,
0.422019362449646,
0.3426232635974884,
0.1340467631816864,
-0.05101481452584267,
0.1519356369972229,
0.11344199627637863,
0.23710709810256958,
0.17467555403709412,
0.0939038097858429,
0.28882041573524475,
0.22435343265533447,
0.07397449016571045,
0.13313312828540802,
-0.23804521560668945,
-0.28817644715309143,
-0.25952452421188354,
0.3810815215110779,
0.01850275509059429,
0.05582055076956749,
-0.19206134974956512,
0.1628100872039795,
0.3489704132080078,
0.6868793368339539,
-0.29393470287323,
-0.32405054569244385,
0.1296461820602417,
-0.10571693629026413,
-0.10060905665159225,
0.24731281399726868,
0.11190113425254822,
-0.16966669261455536,
0.2362319678068161,
-0.1059875339269638,
-0.2554989159107208,
-0.5657848119735718,
0.36494410037994385,
0.23361903429031372,
-0.13680121302604675,
-0.015188547782599926,
0.032451942563056946,
0.06855777651071548,
-0.16946609318256378,
0.5728229880332947,
-0.2556992173194885,
0.1473989486694336,
-0.09524095058441162,
-0.21888594329357147,
0.04667241871356964,
-0.30668917298316956,
0.07193677872419357,
0.24277162551879883,
0.08973506093025208,
0.10540197789669037,
0.15549618005752563,
-0.22941014170646667,
0.10136274993419647,
0.18103712797164917,
-0.03539840504527092,
-0.02666391432285309,
0.1002144142985344,
0.5406515002250671,
0.3721492290496826,
-0.12492582201957703,
-0.12948113679885864,
0.05686710774898529,
-0.03678755834698677,
0.12277787923812866,
0.03118833154439926,
0.21479135751724243,
-0.35988953709602356,
-0.11316905915737152,
0.07114970684051514,
0.09170766919851303,
-0.13932032883167267,
0.14154930412769318,
0.7215830087661743,
-0.12066616863012314,
0.13983631134033203,
0.0471956729888916,
0.14834365248680115,
-0.19074781239032745,
0.02514956146478653,
-0.06534386426210403,
-0.02532251551747322,
0.17327642440795898,
0.13654080033302307,
0.19215750694274902,
-0.16906332969665527,
0.2207563817501068,
0.12266955524682999,
0.2670644521713257,
-0.2381129413843155,
0.08719898760318756,
-0.37167003750801086,
0.16136819124221802,
0.20536381006240845,
0.13925603032112122,
0.25506308674812317,
-0.04220328852534294,
-0.0452658087015152,
-0.025193121284246445,
0.09619559347629547,
-0.3489895462989807,
-0.3657597005367279,
-0.2603071928024292,
0.08555606752634048,
-0.01859811320900917,
-0.15193909406661987,
-0.515561580657959,
-0.4576686918735504,
-0.013506121933460236,
-0.27570652961730957,
-0.11528580635786057,
-0.11204393208026886,
0.036160003393888474,
-0.40711814165115356,
0.44327887892723083,
0.4497462511062622,
-0.3629341125488281,
0.09749546647071838,
-0.011164382100105286,
0.0004487931728363037,
0.044256482273340225,
0.3351143002510071,
-0.19482094049453735,
0.09084457159042358,
-0.370045930147171,
-0.14709511399269104,
0.4817885756492615,
-0.6308915019035339,
-0.5266736149787903,
0.4691861569881439,
-0.015615642070770264,
-0.17479337751865387,
0.18737992644309998,
0.18402276933193207,
0.24363933503627777,
-0.02479637786746025,
0.015739955008029938,
0.27710801362991333,
0.15997250378131866,
-0.019377365708351135,
-0.2106706202030182,
-0.3089704215526581,
0.036003194749355316,
0.11183136701583862,
0.13599026203155518,
0.0014547333121299744,
0.4625450074672699,
-0.026096735149621964,
0.3786991834640503,
-0.14643271267414093,
0.1524421125650406,
0.3833596110343933,
0.48203232884407043,
0.2073192447423935,
-0.13406848907470703,
0.2457384467124939,
-0.47306227684020996,
-0.04789299890398979,
0.10754738748073578,
-0.4402325749397278,
-0.20942910015583038,
-0.16221782565116882,
-0.005717570893466473,
-0.15840479731559753,
-0.2368808537721634,
0.16017039120197296,
-0.014038808643817902,
0.06109180301427841,
-0.17865297198295593,
-0.1449936032295227,
-0.19149532914161682,
0.37102794647216797,
-0.15080717206001282,
0.034616921097040176,
-0.1332603394985199,
0.6925702691078186,
-0.31966954469680786,
-0.0803307592868805,
0.09777198731899261,
-0.17604106664657593,
0.28874093294143677,
-0.217283234000206,
-0.2229079306125641,
0.35302409529685974,
-0.2944034934043884,
0.5860390067100525,
-0.1928032636642456,
0.3995562195777893,
0.19962160289287567,
-0.17994415760040283,
0.3573046624660492,
-0.06114232912659645,
0.24290375411510468,
0.005107797682285309,
-0.06655348092317581,
0.2225022315979004,
-0.34441614151000977,
0.3657670021057129,
0.44511735439300537,
-0.1658438891172409,
0.14748378098011017,
-0.05150231346487999,
0.11959337443113327,
-0.010836873203516006,
0.2701351046562195,
-0.0191500224173069,
0.25059208273887634,
-0.10710646212100983,
-0.29970335960388184,
0.33878660202026367,
0.16145195066928864,
-0.07552023231983185,
0.2802351713180542,
0.1416829228401184,
0.3327288329601288,
-0.15109330415725708,
0.021527769044041634,
0.21141372621059418,
0.3508690595626831,
0.14275245368480682,
-0.1889166533946991,
0.28529679775238037,
0.38088497519493103,
-0.29010725021362305,
0.3794763684272766,
0.004945255815982819,
0.2021842747926712,
0.41334494948387146,
0.014029627665877342,
-0.05635056272149086,
-0.1360386162996292,
-0.20948593318462372,
-0.06455004960298538,
0.09686235338449478,
-0.559140145778656,
0.07488454133272171,
-0.33069705963134766,
-0.23094847798347473,
-0.33363524079322815,
0.19585740566253662,
-0.04561880603432655,
-0.1898055374622345,
-0.3087567090988159,
0.5337561368942261,
0.1978806108236313,
-0.015597283840179443,
-0.06808310747146606,
0.10716932266950607,
-0.24613147974014282,
-0.27053603529930115,
-0.2247103899717331,
-0.0855611115694046,
-0.18690946698188782,
-0.04157797992229462,
0.2394336462020874,
0.06790794432163239,
0.12814266979694366,
-0.14713376760482788,
-0.3475012183189392,
-0.5005232095718384,
-0.02583323046565056,
-0.01201646775007248,
0.3362385034561157,
0.3599483072757721,
0.15491829812526703,
0.542262077331543,
0.010140862315893173,
-0.2701675295829773,
0.05281439796090126,
0.002579081803560257,
-0.03698473423719406,
-0.0801243931055069,
-0.04448876902461052,
-0.06252683699131012,
0.15917366743087769,
-0.376953125,
-0.4660073220729828,
-0.27272921800613403,
0.07425601780414581,
-0.12927819788455963,
0.4784613847732544,
0.04077233374118805,
-0.03975989297032356,
0.08248236775398254,
0.01710476540029049,
0.2734914720058441,
-0.1042223647236824,
-0.6493801474571228,
0.1882530003786087,
-0.24758127331733704,
-0.2464493364095688,
0.07086701691150665,
0.16610735654830933,
0.3669278919696808,
-0.10302764922380447,
-0.7127384543418884,
-0.3805268406867981,
0.12475605309009552,
0.4643067717552185,
-0.2653203010559082,
0.16847386956214905,
0.20854294300079346,
-0.013802476227283478,
0.062259428203105927,
-0.019127653911709785,
-0.12404727935791016,
0.17226542532444,
0.24728092551231384,
0.2826838195323944,
0.08265642821788788,
0.43936416506767273,
-0.32920265197753906,
0.41178417205810547,
0.29072141647338867,
0.0520511269569397,
0.6116373538970947,
-0.06879903376102448,
0.34170424938201904,
-0.18813908100128174,
-0.2586174011230469,
0.11631432175636292,
0.017353147268295288,
-0.25534456968307495,
-0.08442836999893188,
-0.18971547484397888,
0.2259676456451416,
-0.2243669331073761,
-0.4729626476764679,
-0.3650859594345093,
-0.4024697244167328,
-0.011672032997012138,
-0.09442232549190521,
0.08460135757923126,
-0.007242294028401375,
0.10347288101911545,
0.05967964604496956,
-0.1606903076171875,
0.26210150122642517,
0.5211013555526733,
-0.15599751472473145,
0.11425930261611938,
-0.1473679095506668,
-0.13311636447906494,
-0.35091432929039,
0.2465464323759079,
-0.08774485439062119,
0.38877275586128235,
-0.3745870590209961,
0.31518957018852234,
0.018410369753837585,
-0.26345765590667725,
0.7598447799682617,
-0.3408205807209015,
0.24583670496940613,
-0.0185976754873991,
0.052648015320301056,
-0.21405981481075287,
0.05621953681111336,
0.1495472639799118,
-0.09197225421667099,
-0.018582653254270554,
0.37419044971466064,
-0.1134553998708725,
-0.15003296732902527,
0.03346293419599533,
0.2197374552488327,
-0.15227577090263367,
-0.05921018868684769,
0.08574280142784119,
-0.39914318919181824,
-0.21362847089767456,
-0.29022109508514404,
-0.3151870369911194,
0.01527378149330616,
-0.10557672381401062,
-0.13244445621967316,
0.00018282979726791382,
0.0047287046909332275,
0.05931724235415459,
-0.21915307641029358,
0.35630857944488525,
-0.15309524536132812,
0.2984580397605896,
0.08968888223171234,
0.08299656212329865,
0.7660000920295715,
0.5066102743148804,
-0.3261798918247223,
0.23304736614227295,
0.028867360204458237,
-0.018078360706567764,
0.3309478163719177,
0.4470458924770355,
-0.08775081485509872,
-0.01873275637626648,
0.20512838661670685,
-0.013475604355335236,
0.03375286981463432,
-0.2055153250694275,
-0.03257317841053009,
0.043326690793037415,
-0.12047374993562698,
-0.49457457661628723,
0.3498411178588867,
0.021858923137187958,
-0.10243020951747894,
-0.07983262836933136,
0.15401087701320648,
-0.22834943234920502,
0.4239746332168579,
0.16837607324123383,
1.1728324890136719,
-0.008593551814556122,
0.40766239166259766,
-0.04646112024784088,
-0.3239514231681824,
0.032918840646743774,
-0.34335434436798096,
-0.0580776110291481,
-0.5660090446472168,
-0.2452652007341385,
-0.09236025810241699,
-0.20515215396881104,
-0.10081175714731216,
0.019814707338809967,
-0.20675453543663025,
0.6651976704597473,
-0.40831083059310913,
-0.1387769728899002,
-0.12611594796180725,
0.3855765461921692,
-0.2023368626832962,
-0.05263211950659752,
-0.23618218302726746,
0.05269986391067505,
-0.22787000238895416,
0.14616434276103973,
-0.08078901469707489,
-0.047577451914548874,
-0.02851894684135914,
-0.24515469372272491,
-0.1060827374458313,
0.11139333993196487,
-0.6149662733078003,
0.27293723821640015,
-0.21949166059494019,
-0.32678869366645813,
0.16956362128257751,
0.18552562594413757,
0.25944584608078003,
0.25202012062072754,
-0.001489667221903801,
0.11977581679821014,
0.035887736827135086,
0.09641596674919128,
0.04415348172187805,
-0.030890360474586487,
0.11619274318218231,
-0.09146253764629364,
-0.3058592975139618,
-0.04514375329017639,
-0.01938270404934883,
-0.045269131660461426,
0.023077532649040222,
-0.3219894766807556,
0.20400603115558624,
-0.31080466508865356,
-0.21697774529457092,
-0.12276571989059448,
-0.16701161861419678,
-0.2081405222415924,
-0.021959900856018066,
0.03329817205667496,
-0.0036610488314181566,
0.33117103576660156,
0.25920504331588745,
-0.09841243177652359,
-0.040042657405138016,
0.7084524631500244,
0.024739963933825493,
0.037167198956012726,
0.6152186393737793,
0.0180472694337368,
-0.19181695580482483,
-0.14208047091960907,
0.35258081555366516,
0.011256415396928787,
-0.11410951614379883,
0.0025599710643291473,
-0.20957112312316895,
0.09172937273979187,
-0.018081240355968475,
0.25975844264030457,
0.03636208549141884,
0.3591594696044922,
-0.19684679806232452,
-0.4136097729206085,
-0.39472368359565735,
0.04991091787815094,
0.08780138194561005,
0.1732582300901413,
0.259676992893219,
-0.25106146931648254,
-0.180685356259346,
-0.18928025662899017,
-0.19606870412826538,
0.08685223758220673,
-0.24065454304218292,
-0.052802249789237976,
0.3912683427333832,
-0.23522919416427612,
0.21912801265716553,
-0.2918090224266052,
0.06697375327348709,
-0.21923749148845673,
-0.12101174890995026,
-0.058663416653871536,
-0.20077620446681976,
0.22314666211605072,
-0.10967431217432022,
-0.09288814663887024,
-0.2505300045013428,
-0.5493828654289246,
-0.06484943628311157,
0.1458459496498108,
0.12041333317756653,
0.16699284315109253,
0.04967908561229706,
-0.10415975749492645,
-0.234714075922966,
-0.2688830494880676,
-0.4103076457977295,
0.16113288700580597,
0.12407811731100082,
0.17316147685050964,
-0.1562415063381195,
0.25509095191955566,
-0.08340189605951309,
-0.29901033639907837,
-0.20212961733341217,
-0.0415378138422966,
-0.016547791659832,
0.11945008486509323,
0.29237276315689087,
-0.16195055842399597,
-0.3103432357311249,
0.13136965036392212,
0.19141624867916107,
0.5632078647613525,
-0.15096168220043182,
-0.05573436617851257,
0.17531165480613708,
0.04613112658262253,
-0.004943614825606346,
-0.19731657207012177,
0.03943623974919319,
-0.21360920369625092,
-0.08143096417188644,
0.20990723371505737,
0.09703466296195984,
-0.16124968230724335,
-0.2320534735918045,
-0.02964727021753788,
0.5801818370819092,
-0.22296194732189178,
0.06608235836029053,
0.1348181813955307,
-0.058578718453645706,
-0.05232321843504906,
-0.040747083723545074,
0.25098422169685364,
0.16001039743423462,
0.37428998947143555,
-0.3978116810321808,
0.18511764705181122,
0.26107266545295715,
0.2413162738084793,
0.09028678387403488,
-0.41891151666641235,
-0.00023816153407096863,
-0.1706846058368683,
-0.14425256848335266,
-0.006130233407020569,
-0.04747682809829712,
0.20745041966438293,
0.12138989567756653,
-0.4080006182193756,
0.13268129527568817,
0.23992963135242462,
-0.09195245057344437,
-0.1811964511871338,
-0.0814216285943985,
-0.23401221632957458,
-0.09085045754909515,
-0.012155754491686821,
-0.2507012188434601,
-0.06933486461639404,
0.1566045880317688,
0.4984642267227173,
0.1658787876367569,
-0.24153141677379608,
0.2404804825782776,
0.05448704957962036,
-0.006441392004489899,
-0.14616064727306366,
0.5727662444114685,
0.22540652751922607,
0.06449557095766068,
-0.10212557017803192,
0.29840925335884094,
0.6130152344703674,
0.34514155983924866,
0.24109713733196259,
0.383491188287735,
0.23948024213314056,
-0.01810992881655693,
0.1865580528974533,
-0.4949086904525757,
0.33609333634376526,
0.3135310113430023,
0.4099769592285156,
0.05593908578157425,
0.08292344957590103,
0.23003260791301727,
-0.002567615360021591,
0.1394110471010208,
-0.07115726172924042,
0.09366711229085922,
0.23146550357341766,
-0.21528944373130798,
-0.3713238537311554,
0.0052848756313323975,
-0.3311602473258972,
-0.07675429433584213,
0.5433694124221802,
-0.1116500124335289,
0.2025740146636963,
0.026869259774684906,
0.005543399602174759,
-0.0697941780090332,
0.5532215237617493,
0.26623842120170593,
0.14848515391349792,
-0.4372364282608032,
0.11658228933811188,
-0.4312411844730377,
-0.11771189421415329,
0.0813819020986557,
0.12809447944164276,
-0.13985031843185425,
0.11438643932342529,
-0.07234453409910202,
-0.13621754944324493,
0.4376220703125,
0.1402815729379654,
0.06918050348758698,
0.3971472978591919,
-0.15244370698928833,
-0.07323193550109863,
0.1713891327381134,
0.12652932107448578,
-0.08548342436552048,
-0.30330726504325867,
0.30954432487487793,
-0.05729115381836891,
-0.0626065582036972,
0.011707602068781853,
0.005547754466533661,
-0.006281696259975433,
-0.28156012296676636,
0.3604549467563629,
-0.03319220244884491,
0.3741055130958557,
-0.06128934025764465,
-0.059765562415122986,
0.1181575208902359,
-0.26161354780197144,
-0.10632117837667465,
0.08532920479774475,
0.33836421370506287,
0.14405439794063568,
0.011456351727247238,
-0.14576824009418488,
-0.5411685109138489,
0.02517864666879177,
-0.15093031525611877,
0.017187422141432762,
0.058127306401729584,
-0.17217464745044708,
0.049000829458236694,
0.0729079395532608,
0.12035296857357025,
0.12816926836967468,
-0.04889264702796936,
0.26411789655685425,
-0.49091923236846924,
-0.3520483672618866,
0.6163315773010254,
0.06611472368240356,
0.09477242827415466,
-0.25616592168807983,
0.5273267030715942,
-0.04757700115442276,
0.12637706100940704,
-0.47384411096572876,
0.10052498430013657,
0.2954453229904175,
-0.2473185956478119,
-0.18338041007518768,
0.23094606399536133,
-0.14373669028282166,
0.344194233417511,
-0.017128534615039825,
0.047128088772296906,
0.03496348112821579,
-0.20779815316200256,
-0.21209122240543365,
-0.1606738418340683
] |
https://github.com/huggingface/datasets/issues/1671 | connection issue | > `
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))`
Do you have an internet connection on the machine ? Is there a proxy that might block requests to aws ?
> I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks
HF_HOME is used to specify the directory for the cache files of this library.
You can use save_to_disk and load_from_disk without changing the HF_HOME:
```python
imdb = datasets.load_dataset("imdb")
imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb")
imdb = datasets.load_from_disk("/idiap/temp/rkarimi/hf_datasets/imdb")
```
> could you tell me how I can make the two datastes the same format
Indeed they returns different things:
- `load_dataset` returns a `Dataset` object if the split is specified, or a `DatasetDict` if no split is given. Therefore `load_datasets("imdb", split="train[10]")` returns a `Dataset` object containing 10 elements.
- doing `d["train"][:10]` on a DatasetDict "d" gets the train split `d["train"]` as a `Dataset` object and then gets the first 10 elements as a dictionary | Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library reads from, could you assist me how this can be done, thanks
I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks
```
imdb = datasets.load_dataset("imdb")
imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb")
>>> os.environ["HF_HOME"]="/idiap/temp/rkarimi/hf_datasets/"
>>> imdb = datasets.load_dataset("imdb")
Reusing dataset imdb (/idiap/temp/rkarimi/cache_home_2/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3)
```
I tried afterwards to set HF_HOME in bash, this makes it read from it, but it cannot let dataset library load from the saved path and still downloading data. could you tell me how to fix this issue @lhoestq thanks
Also this is on cloud, so I save them in a path, copy it to "another machine" to load the data
### Error stack
```
Traceback (most recent call last):
File "./finetune_t5_trainer.py", line 344, in <module>
main()
File "./finetune_t5_trainer.py", line 232, in main
for task in data_args.eval_tasks} if training_args.do_test else None
File "./finetune_t5_trainer.py", line 232, in <dictcomp>
for task in data_args.eval_tasks} if training_args.do_test else None
File "/workdir/seq2seq/data/tasks.py", line 136, in get_dataset
split = self.get_sampled_split(split, n_obs)
File "/workdir/seq2seq/data/tasks.py", line 64, in get_sampled_split
dataset = self.load_dataset(split)
File "/workdir/seq2seq/data/tasks.py", line 454, in load_dataset
split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
```
| 210 | connection issue
Hi
I am getting this connection issue, resulting in large failure on cloud, @lhoestq I appreciate your help on this.
If I want to keep the codes the same, so not using save_to_disk, load_from_disk, but save the datastes in the way load_dataset reads from and copy the files in the same folder the datasets library reads from, could you assist me how this can be done, thanks
I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks
```
imdb = datasets.load_dataset("imdb")
imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb")
>>> os.environ["HF_HOME"]="/idiap/temp/rkarimi/hf_datasets/"
>>> imdb = datasets.load_dataset("imdb")
Reusing dataset imdb (/idiap/temp/rkarimi/cache_home_2/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3)
```
I tried afterwards to set HF_HOME in bash, this makes it read from it, but it cannot let dataset library load from the saved path and still downloading data. could you tell me how to fix this issue @lhoestq thanks
Also this is on cloud, so I save them in a path, copy it to "another machine" to load the data
### Error stack
```
Traceback (most recent call last):
File "./finetune_t5_trainer.py", line 344, in <module>
main()
File "./finetune_t5_trainer.py", line 232, in main
for task in data_args.eval_tasks} if training_args.do_test else None
File "./finetune_t5_trainer.py", line 232, in <dictcomp>
for task in data_args.eval_tasks} if training_args.do_test else None
File "/workdir/seq2seq/data/tasks.py", line 136, in get_dataset
split = self.get_sampled_split(split, n_obs)
File "/workdir/seq2seq/data/tasks.py", line 64, in get_sampled_split
dataset = self.load_dataset(split)
File "/workdir/seq2seq/data/tasks.py", line 454, in load_dataset
split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
```
> `
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7ff6d6c60a20>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))`
Do you have an internet connection on the machine ? Is there a proxy that might block requests to aws ?
> I tried to do read the data, save it to a path and then set HF_HOME, which does not work and this is still not reading from the old set path, could you assist me how to save the datasets in a path, and let dataset library read from this path to avoid connection issue. thanks
HF_HOME is used to specify the directory for the cache files of this library.
You can use save_to_disk and load_from_disk without changing the HF_HOME:
```python
imdb = datasets.load_dataset("imdb")
imdb.save_to_disk("/idiap/temp/rkarimi/hf_datasets/imdb")
imdb = datasets.load_from_disk("/idiap/temp/rkarimi/hf_datasets/imdb")
```
> could you tell me how I can make the two datastes the same format
Indeed they returns different things:
- `load_dataset` returns a `Dataset` object if the split is specified, or a `DatasetDict` if no split is given. Therefore `load_datasets("imdb", split="train[10]")` returns a `Dataset` object containing 10 elements.
- doing `d["train"][:10]` on a DatasetDict "d" gets the train split `d["train"]` as a `Dataset` object and then gets the first 10 elements as a dictionary | [
-0.41656798124313354,
0.23384049534797668,
0.011721640825271606,
0.35504382848739624,
0.436140775680542,
-0.18401679396629333,
0.17185911536216736,
0.20301826298236847,
-0.19610503315925598,
0.0112285315990448,
-0.2930119037628174,
0.16095075011253357,
0.14485132694244385,
0.2955969274044037,
0.0645911917090416,
-0.02358698844909668,
-0.17819583415985107,
0.023575767874717712,
-0.4069025218486786,
-0.19521057605743408,
0.01637113466858864,
0.1511496901512146,
0.1948603242635727,
0.11425323039293289,
-0.1687244474887848,
-0.20251615345478058,
0.0332009419798851,
0.32804742455482483,
0.07365024834871292,
-0.1991921365261078,
0.2894153594970703,
0.2229558676481247,
0.17900019884109497,
0.493254691362381,
-0.00012254068860784173,
-0.05496960133314133,
0.133793905377388,
-0.17346078157424927,
-0.40726688504219055,
-0.46312838792800903,
-0.006432346999645233,
0.14843226969242096,
0.22454200685024261,
-0.31054505705833435,
-0.038602523505687714,
0.13047179579734802,
-0.020976537838578224,
-0.46658971905708313,
0.422019362449646,
0.3426232635974884,
0.1340467631816864,
-0.05101481452584267,
0.1519356369972229,
0.11344199627637863,
0.23710709810256958,
0.17467555403709412,
0.0939038097858429,
0.28882041573524475,
0.22435343265533447,
0.07397449016571045,
0.13313312828540802,
-0.23804521560668945,
-0.28817644715309143,
-0.25952452421188354,
0.3810815215110779,
0.01850275509059429,
0.05582055076956749,
-0.19206134974956512,
0.1628100872039795,
0.3489704132080078,
0.6868793368339539,
-0.29393470287323,
-0.32405054569244385,
0.1296461820602417,
-0.10571693629026413,
-0.10060905665159225,
0.24731281399726868,
0.11190113425254822,
-0.16966669261455536,
0.2362319678068161,
-0.1059875339269638,
-0.2554989159107208,
-0.5657848119735718,
0.36494410037994385,
0.23361903429031372,
-0.13680121302604675,
-0.015188547782599926,
0.032451942563056946,
0.06855777651071548,
-0.16946609318256378,
0.5728229880332947,
-0.2556992173194885,
0.1473989486694336,
-0.09524095058441162,
-0.21888594329357147,
0.04667241871356964,
-0.30668917298316956,
0.07193677872419357,
0.24277162551879883,
0.08973506093025208,
0.10540197789669037,
0.15549618005752563,
-0.22941014170646667,
0.10136274993419647,
0.18103712797164917,
-0.03539840504527092,
-0.02666391432285309,
0.1002144142985344,
0.5406515002250671,
0.3721492290496826,
-0.12492582201957703,
-0.12948113679885864,
0.05686710774898529,
-0.03678755834698677,
0.12277787923812866,
0.03118833154439926,
0.21479135751724243,
-0.35988953709602356,
-0.11316905915737152,
0.07114970684051514,
0.09170766919851303,
-0.13932032883167267,
0.14154930412769318,
0.7215830087661743,
-0.12066616863012314,
0.13983631134033203,
0.0471956729888916,
0.14834365248680115,
-0.19074781239032745,
0.02514956146478653,
-0.06534386426210403,
-0.02532251551747322,
0.17327642440795898,
0.13654080033302307,
0.19215750694274902,
-0.16906332969665527,
0.2207563817501068,
0.12266955524682999,
0.2670644521713257,
-0.2381129413843155,
0.08719898760318756,
-0.37167003750801086,
0.16136819124221802,
0.20536381006240845,
0.13925603032112122,
0.25506308674812317,
-0.04220328852534294,
-0.0452658087015152,
-0.025193121284246445,
0.09619559347629547,
-0.3489895462989807,
-0.3657597005367279,
-0.2603071928024292,
0.08555606752634048,
-0.01859811320900917,
-0.15193909406661987,
-0.515561580657959,
-0.4576686918735504,
-0.013506121933460236,
-0.27570652961730957,
-0.11528580635786057,
-0.11204393208026886,
0.036160003393888474,
-0.40711814165115356,
0.44327887892723083,
0.4497462511062622,
-0.3629341125488281,
0.09749546647071838,
-0.011164382100105286,
0.0004487931728363037,
0.044256482273340225,
0.3351143002510071,
-0.19482094049453735,
0.09084457159042358,
-0.370045930147171,
-0.14709511399269104,
0.4817885756492615,
-0.6308915019035339,
-0.5266736149787903,
0.4691861569881439,
-0.015615642070770264,
-0.17479337751865387,
0.18737992644309998,
0.18402276933193207,
0.24363933503627777,
-0.02479637786746025,
0.015739955008029938,
0.27710801362991333,
0.15997250378131866,
-0.019377365708351135,
-0.2106706202030182,
-0.3089704215526581,
0.036003194749355316,
0.11183136701583862,
0.13599026203155518,
0.0014547333121299744,
0.4625450074672699,
-0.026096735149621964,
0.3786991834640503,
-0.14643271267414093,
0.1524421125650406,
0.3833596110343933,
0.48203232884407043,
0.2073192447423935,
-0.13406848907470703,
0.2457384467124939,
-0.47306227684020996,
-0.04789299890398979,
0.10754738748073578,
-0.4402325749397278,
-0.20942910015583038,
-0.16221782565116882,
-0.005717570893466473,
-0.15840479731559753,
-0.2368808537721634,
0.16017039120197296,
-0.014038808643817902,
0.06109180301427841,
-0.17865297198295593,
-0.1449936032295227,
-0.19149532914161682,
0.37102794647216797,
-0.15080717206001282,
0.034616921097040176,
-0.1332603394985199,
0.6925702691078186,
-0.31966954469680786,
-0.0803307592868805,
0.09777198731899261,
-0.17604106664657593,
0.28874093294143677,
-0.217283234000206,
-0.2229079306125641,
0.35302409529685974,
-0.2944034934043884,
0.5860390067100525,
-0.1928032636642456,
0.3995562195777893,
0.19962160289287567,
-0.17994415760040283,
0.3573046624660492,
-0.06114232912659645,
0.24290375411510468,
0.005107797682285309,
-0.06655348092317581,
0.2225022315979004,
-0.34441614151000977,
0.3657670021057129,
0.44511735439300537,
-0.1658438891172409,
0.14748378098011017,
-0.05150231346487999,
0.11959337443113327,
-0.010836873203516006,
0.2701351046562195,
-0.0191500224173069,
0.25059208273887634,
-0.10710646212100983,
-0.29970335960388184,
0.33878660202026367,
0.16145195066928864,
-0.07552023231983185,
0.2802351713180542,
0.1416829228401184,
0.3327288329601288,
-0.15109330415725708,
0.021527769044041634,
0.21141372621059418,
0.3508690595626831,
0.14275245368480682,
-0.1889166533946991,
0.28529679775238037,
0.38088497519493103,
-0.29010725021362305,
0.3794763684272766,
0.004945255815982819,
0.2021842747926712,
0.41334494948387146,
0.014029627665877342,
-0.05635056272149086,
-0.1360386162996292,
-0.20948593318462372,
-0.06455004960298538,
0.09686235338449478,
-0.559140145778656,
0.07488454133272171,
-0.33069705963134766,
-0.23094847798347473,
-0.33363524079322815,
0.19585740566253662,
-0.04561880603432655,
-0.1898055374622345,
-0.3087567090988159,
0.5337561368942261,
0.1978806108236313,
-0.015597283840179443,
-0.06808310747146606,
0.10716932266950607,
-0.24613147974014282,
-0.27053603529930115,
-0.2247103899717331,
-0.0855611115694046,
-0.18690946698188782,
-0.04157797992229462,
0.2394336462020874,
0.06790794432163239,
0.12814266979694366,
-0.14713376760482788,
-0.3475012183189392,
-0.5005232095718384,
-0.02583323046565056,
-0.01201646775007248,
0.3362385034561157,
0.3599483072757721,
0.15491829812526703,
0.542262077331543,
0.010140862315893173,
-0.2701675295829773,
0.05281439796090126,
0.002579081803560257,
-0.03698473423719406,
-0.0801243931055069,
-0.04448876902461052,
-0.06252683699131012,
0.15917366743087769,
-0.376953125,
-0.4660073220729828,
-0.27272921800613403,
0.07425601780414581,
-0.12927819788455963,
0.4784613847732544,
0.04077233374118805,
-0.03975989297032356,
0.08248236775398254,
0.01710476540029049,
0.2734914720058441,
-0.1042223647236824,
-0.6493801474571228,
0.1882530003786087,
-0.24758127331733704,
-0.2464493364095688,
0.07086701691150665,
0.16610735654830933,
0.3669278919696808,
-0.10302764922380447,
-0.7127384543418884,
-0.3805268406867981,
0.12475605309009552,
0.4643067717552185,
-0.2653203010559082,
0.16847386956214905,
0.20854294300079346,
-0.013802476227283478,
0.062259428203105927,
-0.019127653911709785,
-0.12404727935791016,
0.17226542532444,
0.24728092551231384,
0.2826838195323944,
0.08265642821788788,
0.43936416506767273,
-0.32920265197753906,
0.41178417205810547,
0.29072141647338867,
0.0520511269569397,
0.6116373538970947,
-0.06879903376102448,
0.34170424938201904,
-0.18813908100128174,
-0.2586174011230469,
0.11631432175636292,
0.017353147268295288,
-0.25534456968307495,
-0.08442836999893188,
-0.18971547484397888,
0.2259676456451416,
-0.2243669331073761,
-0.4729626476764679,
-0.3650859594345093,
-0.4024697244167328,
-0.011672032997012138,
-0.09442232549190521,
0.08460135757923126,
-0.007242294028401375,
0.10347288101911545,
0.05967964604496956,
-0.1606903076171875,
0.26210150122642517,
0.5211013555526733,
-0.15599751472473145,
0.11425930261611938,
-0.1473679095506668,
-0.13311636447906494,
-0.35091432929039,
0.2465464323759079,
-0.08774485439062119,
0.38877275586128235,
-0.3745870590209961,
0.31518957018852234,
0.018410369753837585,
-0.26345765590667725,
0.7598447799682617,
-0.3408205807209015,
0.24583670496940613,
-0.0185976754873991,
0.052648015320301056,
-0.21405981481075287,
0.05621953681111336,
0.1495472639799118,
-0.09197225421667099,
-0.018582653254270554,
0.37419044971466064,
-0.1134553998708725,
-0.15003296732902527,
0.03346293419599533,
0.2197374552488327,
-0.15227577090263367,
-0.05921018868684769,
0.08574280142784119,
-0.39914318919181824,
-0.21362847089767456,
-0.29022109508514404,
-0.3151870369911194,
0.01527378149330616,
-0.10557672381401062,
-0.13244445621967316,
0.00018282979726791382,
0.0047287046909332275,
0.05931724235415459,
-0.21915307641029358,
0.35630857944488525,
-0.15309524536132812,
0.2984580397605896,
0.08968888223171234,
0.08299656212329865,
0.7660000920295715,
0.5066102743148804,
-0.3261798918247223,
0.23304736614227295,
0.028867360204458237,
-0.018078360706567764,
0.3309478163719177,
0.4470458924770355,
-0.08775081485509872,
-0.01873275637626648,
0.20512838661670685,
-0.013475604355335236,
0.03375286981463432,
-0.2055153250694275,
-0.03257317841053009,
0.043326690793037415,
-0.12047374993562698,
-0.49457457661628723,
0.3498411178588867,
0.021858923137187958,
-0.10243020951747894,
-0.07983262836933136,
0.15401087701320648,
-0.22834943234920502,
0.4239746332168579,
0.16837607324123383,
1.1728324890136719,
-0.008593551814556122,
0.40766239166259766,
-0.04646112024784088,
-0.3239514231681824,
0.032918840646743774,
-0.34335434436798096,
-0.0580776110291481,
-0.5660090446472168,
-0.2452652007341385,
-0.09236025810241699,
-0.20515215396881104,
-0.10081175714731216,
0.019814707338809967,
-0.20675453543663025,
0.6651976704597473,
-0.40831083059310913,
-0.1387769728899002,
-0.12611594796180725,
0.3855765461921692,
-0.2023368626832962,
-0.05263211950659752,
-0.23618218302726746,
0.05269986391067505,
-0.22787000238895416,
0.14616434276103973,
-0.08078901469707489,
-0.047577451914548874,
-0.02851894684135914,
-0.24515469372272491,
-0.1060827374458313,
0.11139333993196487,
-0.6149662733078003,
0.27293723821640015,
-0.21949166059494019,
-0.32678869366645813,
0.16956362128257751,
0.18552562594413757,
0.25944584608078003,
0.25202012062072754,
-0.001489667221903801,
0.11977581679821014,
0.035887736827135086,
0.09641596674919128,
0.04415348172187805,
-0.030890360474586487,
0.11619274318218231,
-0.09146253764629364,
-0.3058592975139618,
-0.04514375329017639,
-0.01938270404934883,
-0.045269131660461426,
0.023077532649040222,
-0.3219894766807556,
0.20400603115558624,
-0.31080466508865356,
-0.21697774529457092,
-0.12276571989059448,
-0.16701161861419678,
-0.2081405222415924,
-0.021959900856018066,
0.03329817205667496,
-0.0036610488314181566,
0.33117103576660156,
0.25920504331588745,
-0.09841243177652359,
-0.040042657405138016,
0.7084524631500244,
0.024739963933825493,
0.037167198956012726,
0.6152186393737793,
0.0180472694337368,
-0.19181695580482483,
-0.14208047091960907,
0.35258081555366516,
0.011256415396928787,
-0.11410951614379883,
0.0025599710643291473,
-0.20957112312316895,
0.09172937273979187,
-0.018081240355968475,
0.25975844264030457,
0.03636208549141884,
0.3591594696044922,
-0.19684679806232452,
-0.4136097729206085,
-0.39472368359565735,
0.04991091787815094,
0.08780138194561005,
0.1732582300901413,
0.259676992893219,
-0.25106146931648254,
-0.180685356259346,
-0.18928025662899017,
-0.19606870412826538,
0.08685223758220673,
-0.24065454304218292,
-0.052802249789237976,
0.3912683427333832,
-0.23522919416427612,
0.21912801265716553,
-0.2918090224266052,
0.06697375327348709,
-0.21923749148845673,
-0.12101174890995026,
-0.058663416653871536,
-0.20077620446681976,
0.22314666211605072,
-0.10967431217432022,
-0.09288814663887024,
-0.2505300045013428,
-0.5493828654289246,
-0.06484943628311157,
0.1458459496498108,
0.12041333317756653,
0.16699284315109253,
0.04967908561229706,
-0.10415975749492645,
-0.234714075922966,
-0.2688830494880676,
-0.4103076457977295,
0.16113288700580597,
0.12407811731100082,
0.17316147685050964,
-0.1562415063381195,
0.25509095191955566,
-0.08340189605951309,
-0.29901033639907837,
-0.20212961733341217,
-0.0415378138422966,
-0.016547791659832,
0.11945008486509323,
0.29237276315689087,
-0.16195055842399597,
-0.3103432357311249,
0.13136965036392212,
0.19141624867916107,
0.5632078647613525,
-0.15096168220043182,
-0.05573436617851257,
0.17531165480613708,
0.04613112658262253,
-0.004943614825606346,
-0.19731657207012177,
0.03943623974919319,
-0.21360920369625092,
-0.08143096417188644,
0.20990723371505737,
0.09703466296195984,
-0.16124968230724335,
-0.2320534735918045,
-0.02964727021753788,
0.5801818370819092,
-0.22296194732189178,
0.06608235836029053,
0.1348181813955307,
-0.058578718453645706,
-0.05232321843504906,
-0.040747083723545074,
0.25098422169685364,
0.16001039743423462,
0.37428998947143555,
-0.3978116810321808,
0.18511764705181122,
0.26107266545295715,
0.2413162738084793,
0.09028678387403488,
-0.41891151666641235,
-0.00023816153407096863,
-0.1706846058368683,
-0.14425256848335266,
-0.006130233407020569,
-0.04747682809829712,
0.20745041966438293,
0.12138989567756653,
-0.4080006182193756,
0.13268129527568817,
0.23992963135242462,
-0.09195245057344437,
-0.1811964511871338,
-0.0814216285943985,
-0.23401221632957458,
-0.09085045754909515,
-0.012155754491686821,
-0.2507012188434601,
-0.06933486461639404,
0.1566045880317688,
0.4984642267227173,
0.1658787876367569,
-0.24153141677379608,
0.2404804825782776,
0.05448704957962036,
-0.006441392004489899,
-0.14616064727306366,
0.5727662444114685,
0.22540652751922607,
0.06449557095766068,
-0.10212557017803192,
0.29840925335884094,
0.6130152344703674,
0.34514155983924866,
0.24109713733196259,
0.383491188287735,
0.23948024213314056,
-0.01810992881655693,
0.1865580528974533,
-0.4949086904525757,
0.33609333634376526,
0.3135310113430023,
0.4099769592285156,
0.05593908578157425,
0.08292344957590103,
0.23003260791301727,
-0.002567615360021591,
0.1394110471010208,
-0.07115726172924042,
0.09366711229085922,
0.23146550357341766,
-0.21528944373130798,
-0.3713238537311554,
0.0052848756313323975,
-0.3311602473258972,
-0.07675429433584213,
0.5433694124221802,
-0.1116500124335289,
0.2025740146636963,
0.026869259774684906,
0.005543399602174759,
-0.0697941780090332,
0.5532215237617493,
0.26623842120170593,
0.14848515391349792,
-0.4372364282608032,
0.11658228933811188,
-0.4312411844730377,
-0.11771189421415329,
0.0813819020986557,
0.12809447944164276,
-0.13985031843185425,
0.11438643932342529,
-0.07234453409910202,
-0.13621754944324493,
0.4376220703125,
0.1402815729379654,
0.06918050348758698,
0.3971472978591919,
-0.15244370698928833,
-0.07323193550109863,
0.1713891327381134,
0.12652932107448578,
-0.08548342436552048,
-0.30330726504325867,
0.30954432487487793,
-0.05729115381836891,
-0.0626065582036972,
0.011707602068781853,
0.005547754466533661,
-0.006281696259975433,
-0.28156012296676636,
0.3604549467563629,
-0.03319220244884491,
0.3741055130958557,
-0.06128934025764465,
-0.059765562415122986,
0.1181575208902359,
-0.26161354780197144,
-0.10632117837667465,
0.08532920479774475,
0.33836421370506287,
0.14405439794063568,
0.011456351727247238,
-0.14576824009418488,
-0.5411685109138489,
0.02517864666879177,
-0.15093031525611877,
0.017187422141432762,
0.058127306401729584,
-0.17217464745044708,
0.049000829458236694,
0.0729079395532608,
0.12035296857357025,
0.12816926836967468,
-0.04889264702796936,
0.26411789655685425,
-0.49091923236846924,
-0.3520483672618866,
0.6163315773010254,
0.06611472368240356,
0.09477242827415466,
-0.25616592168807983,
0.5273267030715942,
-0.04757700115442276,
0.12637706100940704,
-0.47384411096572876,
0.10052498430013657,
0.2954453229904175,
-0.2473185956478119,
-0.18338041007518768,
0.23094606399536133,
-0.14373669028282166,
0.344194233417511,
-0.017128534615039825,
0.047128088772296906,
0.03496348112821579,
-0.20779815316200256,
-0.21209122240543365,
-0.1606738418340683
] |
https://github.com/huggingface/datasets/issues/1670 | wiki_dpr pre-processing performance | Hi ! And thanks for the tips :)
Indeed currently `wiki_dpr` takes some time to be processed.
Multiprocessing for dataset generation is definitely going to speed up things.
Regarding the index note that for the default configurations, the index is downloaded instead of being built, which avoid spending time on constructing the index. However in other cases it would be awesome to make the construction faster.
Any contribution that can help things faster are welcome. In particular in you have some code that can build a wiki_dpr IVF PQ index in a sharded GPU setup and would like to share it, we can add it to an `examples` folder. In particular since faiss is becoming the library of reference for dataset indexing for tasks like Open Domain Question Answering.
| I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won't repeat the concerns around multiprocessing as they are addressed in other issues (#786), but this is the first obvious thing to do. Using cython to speed up the text manipulation may be also help. Loading and processing a dataset of this size in under 15 minutes does not seem unreasonable on a modern multi-core machine. I have hit such targets myself on similar tasks. Would love to see this improve.
The other issue is that it takes 3h to construct the FAISS index. If only we could use GPUs with HNSW, but we can't. My sharded GPU indexing code can build an IVF + PQ index in 10 minutes on 20 million vectors. Still, 3h seems slow even for the CPU.
It looks like HF is adding only 1000 vectors at a time by default [2], whereas the faiss benchmarks adds 1 million vectors at a time (effectively) [3]. It's possible the runtime could be reduced with a larger batch. Also, it looks like project dependencies ultimately use OpenBLAS, but this is known to have issues when combined with OpenMP, which HNSW does [3]. A workaround is to set the environment variable `OMP_WAIT_POLICY=PASSIVE` via `os.environ` or similar.
References:
[1] https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py
[2] https://github.com/huggingface/datasets/blob/master/src/datasets/search.py
[3] https://github.com/facebookresearch/faiss/blob/master/benchs/bench_hnsw.py
[4] https://github.com/facebookresearch/faiss/issues/422 | 129 | wiki_dpr pre-processing performance
I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won't repeat the concerns around multiprocessing as they are addressed in other issues (#786), but this is the first obvious thing to do. Using cython to speed up the text manipulation may be also help. Loading and processing a dataset of this size in under 15 minutes does not seem unreasonable on a modern multi-core machine. I have hit such targets myself on similar tasks. Would love to see this improve.
The other issue is that it takes 3h to construct the FAISS index. If only we could use GPUs with HNSW, but we can't. My sharded GPU indexing code can build an IVF + PQ index in 10 minutes on 20 million vectors. Still, 3h seems slow even for the CPU.
It looks like HF is adding only 1000 vectors at a time by default [2], whereas the faiss benchmarks adds 1 million vectors at a time (effectively) [3]. It's possible the runtime could be reduced with a larger batch. Also, it looks like project dependencies ultimately use OpenBLAS, but this is known to have issues when combined with OpenMP, which HNSW does [3]. A workaround is to set the environment variable `OMP_WAIT_POLICY=PASSIVE` via `os.environ` or similar.
References:
[1] https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py
[2] https://github.com/huggingface/datasets/blob/master/src/datasets/search.py
[3] https://github.com/facebookresearch/faiss/blob/master/benchs/bench_hnsw.py
[4] https://github.com/facebookresearch/faiss/issues/422
Hi ! And thanks for the tips :)
Indeed currently `wiki_dpr` takes some time to be processed.
Multiprocessing for dataset generation is definitely going to speed up things.
Regarding the index note that for the default configurations, the index is downloaded instead of being built, which avoid spending time on constructing the index. However in other cases it would be awesome to make the construction faster.
Any contribution that can help things faster are welcome. In particular in you have some code that can build a wiki_dpr IVF PQ index in a sharded GPU setup and would like to share it, we can add it to an `examples` folder. In particular since faiss is becoming the library of reference for dataset indexing for tasks like Open Domain Question Answering.
| [
-0.2196647673845291,
-0.18326705694198608,
-0.11372296512126923,
0.08813253045082092,
-0.11355563998222351,
-0.08153743296861649,
0.02230866253376007,
0.3311192989349365,
0.18954715132713318,
0.07095316797494888,
0.020521419122815132,
-0.10259190201759338,
0.32460522651672363,
0.1452312022447586,
-0.34472817182540894,
-0.27201175689697266,
0.20554769039154053,
0.06108536571264267,
0.15369081497192383,
0.008570775389671326,
-0.2336432933807373,
-0.04783012717962265,
-0.4042544364929199,
-0.09887717664241791,
-0.13022296130657196,
-0.23360663652420044,
-0.07907094806432724,
-0.11594975739717484,
-0.1927480846643448,
-0.490829735994339,
0.22955305874347687,
0.49617236852645874,
0.15210875868797302,
0.15289843082427979,
-0.00010802900942508131,
-0.11490514874458313,
0.202179953455925,
0.2288629710674286,
0.11972340941429138,
0.632968008518219,
0.0736345499753952,
-0.1388029009103775,
0.16864515841007233,
-0.24381878972053528,
0.016067225486040115,
-0.38198164105415344,
-0.13998210430145264,
0.1675916165113449,
0.21927665174007416,
-0.15538731217384338,
0.14052413403987885,
0.052383825182914734,
-0.12070465087890625,
0.12942740321159363,
-0.051442064344882965,
-0.11345744132995605,
-0.19750827550888062,
-0.27348223328590393,
0.1838984489440918,
-0.19710229337215424,
-0.19780516624450684,
0.5801024436950684,
-0.21477672457695007,
0.07439772039651871,
0.2620583474636078,
0.16841080784797668,
0.20453622937202454,
-0.20481134951114655,
0.19876721501350403,
0.5227431654930115,
0.26741456985473633,
0.12520551681518555,
-0.21637284755706787,
-0.2284141182899475,
-0.039240363985300064,
-0.34508898854255676,
0.27618804574012756,
-0.24488824605941772,
-0.17836782336235046,
0.07150720059871674,
0.04935381934046745,
0.01622760109603405,
0.0047913044691085815,
-0.04393827170133591,
0.00871073454618454,
0.43453249335289,
0.17079396545886993,
-0.01835726946592331,
0.2114870399236679,
-0.17358994483947754,
-0.14700055122375488,
-0.19796344637870789,
-0.0012506842613220215,
0.2027686983346939,
-0.39302608370780945,
-0.04958926886320114,
0.10501505434513092,
-0.16479435563087463,
0.1057785376906395,
-0.17226281762123108,
-0.3507423400878906,
0.4661412835121155,
0.18529164791107178,
-0.08955218642950058,
0.13667786121368408,
-0.00032827071845531464,
-0.30728214979171753,
-0.128106951713562,
0.36415207386016846,
0.0541129931807518,
-0.1369955688714981,
0.20235389471054077,
0.20307226479053497,
-0.11067935079336166,
-0.16706255078315735,
-0.3106617331504822,
-0.29534852504730225,
-0.10637295246124268,
0.2886682152748108,
0.15195611119270325,
0.11505117267370224,
-0.24847650527954102,
-0.014887060038745403,
0.5208368897438049,
-0.16472895443439484,
0.5626707077026367,
0.1504450887441635,
-0.15781863033771515,
-0.3267691135406494,
0.2533044219017029,
-0.034738652408123016,
-0.173283651471138,
-0.1848648339509964,
0.29813942313194275,
0.07670654356479645,
0.08657786250114441,
-0.07972075045108795,
0.09529705345630646,
0.17077182233333588,
-0.025691907852888107,
-0.019863422960042953,
-0.055364131927490234,
0.23633265495300293,
0.26335608959198,
-0.10757231712341309,
0.12068179994821548,
-0.2376251071691513,
-0.040030401200056076,
-0.2965535521507263,
-0.12106072157621384,
-0.06407072395086288,
-0.3717760741710663,
-0.1162206381559372,
0.2038685828447342,
0.15346673130989075,
0.009802347049117088,
-0.024111561477184296,
0.3252815902233124,
0.05090213194489479,
0.007238037884235382,
-0.0024152547121047974,
0.005754074081778526,
-0.15138989686965942,
-0.10151826590299606,
0.4997430145740509,
0.2514148950576782,
-0.08473196625709534,
0.17472653090953827,
0.02534852735698223,
0.12527699768543243,
0.16693061590194702,
0.450725793838501,
-0.11140188574790955,
0.16187463700771332,
0.03950028866529465,
0.2550390958786011,
0.01952582597732544,
-0.32038599252700806,
-0.22728922963142395,
0.37828534841537476,
0.16302840411663055,
0.0185768511146307,
0.155328631401062,
0.015250169672071934,
0.21766918897628784,
0.009175555780529976,
-0.06528681516647339,
0.48549884557724,
0.17503099143505096,
0.14091752469539642,
-0.47254735231399536,
-0.4832616150379181,
-0.05948182940483093,
0.34618085622787476,
0.11977438628673553,
-0.2265675663948059,
-0.20471853017807007,
-0.18461892008781433,
0.3050088584423065,
-0.3265382945537567,
0.09859322756528854,
0.10260322690010071,
0.10754123330116272,
0.2157728224992752,
0.28963756561279297,
-0.04590090364217758,
-0.13460439443588257,
0.27872103452682495,
-0.3080231249332428,
0.34457796812057495,
0.277059406042099,
-0.28941404819488525,
0.12092433124780655,
0.03066006489098072,
-0.1056923121213913,
-0.1341903954744339,
0.14023065567016602,
-0.11292470991611481,
0.019296910613775253,
0.039154794067144394,
-0.1006060242652893,
-0.09196188300848007,
-0.21199096739292145,
-0.01818588376045227,
0.021429726853966713,
-0.015542060136795044,
-0.3207992911338806,
0.05735202878713608,
0.08925361931324005,
0.20413720607757568,
0.08665099740028381,
0.14442303776741028,
-0.02173031121492386,
0.05496252700686455,
0.08683570474386215,
-0.0066820308566093445,
0.5205855369567871,
0.23612330853939056,
0.06138406693935394,
-0.1906125396490097,
-0.06328728049993515,
-0.06094412878155708,
0.011432762257754803,
-0.23040184378623962,
-0.25200507044792175,
0.5083364248275757,
0.0967102199792862,
0.6724220514297485,
0.03622206300497055,
-0.15137717127799988,
0.19839046895503998,
-0.09280970692634583,
0.3236219584941864,
0.16214802861213684,
0.09676721692085266,
0.08617803454399109,
-0.15423309803009033,
0.10967408865690231,
-0.24700869619846344,
0.3957993686199188,
0.08477109670639038,
-0.13900825381278992,
-0.14604586362838745,
0.3455001413822174,
0.14769668877124786,
-0.4026893675327301,
0.12037215381860733,
-0.3250585198402405,
-0.11673547327518463,
0.23402148485183716,
0.07789753377437592,
-0.09327482432126999,
-0.06120702624320984,
-0.1905834972858429,
0.25610125064849854,
0.06262390315532684,
-0.15068206191062927,
0.15981952846050262,
0.048411380499601364,
0.17126522958278656,
-0.0974181592464447,
-0.2836384177207947,
-0.13963188230991364,
0.06320763379335403,
-0.001403316855430603,
0.01984967105090618,
-0.09678062796592712,
-0.036705829203128815,
0.42750316858291626,
0.026405081152915955,
-0.44503486156463623,
-0.3590586483478546,
0.23959748446941376,
-0.1972915083169937,
-0.1552644968032837,
0.26937660574913025,
-0.009930681437253952,
0.047862276434898376,
-0.10507906228303909,
-0.28130799531936646,
-0.45333826541900635,
-0.30794718861579895,
-0.2773779630661011,
0.01302286610007286,
0.18924038112163544,
0.6149395108222961,
0.23046986758708954,
0.20741203427314758,
-0.2322360873222351,
-0.047332942485809326,
-0.4137030839920044,
0.1432669460773468,
-0.09474927186965942,
0.07487265020608902,
0.06201254576444626,
0.10434959083795547,
-0.2676287889480591,
-0.2927016615867615,
0.09634308516979218,
-0.18459932506084442,
0.07378140091896057,
-0.1074339970946312,
-0.25971004366874695,
-0.0023871250450611115,
0.07520930469036102,
-0.36783576011657715,
-0.09818775206804276,
-0.2722528576850891,
0.1236124336719513,
-0.12374980747699738,
0.14889366924762726,
-0.24180911481380463,
0.06430021673440933,
0.13658645749092102,
-0.1227322518825531,
0.0969897136092186,
-0.1594768762588501,
-0.07402293384075165,
0.3361537754535675,
0.05026658624410629,
-0.2920594811439514,
-0.09976617246866226,
-0.14210927486419678,
-0.026073213666677475,
0.058399468660354614,
-0.49869054555892944,
0.10200603306293488,
-0.4466373324394226,
0.43757206201553345,
0.12353573739528656,
0.26644304394721985,
0.3579048812389374,
0.09058938920497894,
-0.22388625144958496,
0.00393429771065712,
-0.013812193647027016,
0.07720279693603516,
-0.26984938979148865,
-0.025780923664569855,
-0.0899665504693985,
0.02762014791369438,
-0.20299223065376282,
1.1685949563980103,
0.1803683489561081,
0.06028439849615097,
0.2578521966934204,
0.2749100923538208,
0.10213859379291534,
-0.15250030159950256,
0.07821273058652878,
0.1474120169878006,
-0.14819076657295227,
0.24208219349384308,
0.2913123667240143,
0.053016144782304764,
-0.33290356397628784,
-0.07645687460899353,
0.03473500534892082,
-0.1852186620235443,
-0.36565962433815,
0.2082987278699875,
0.4082408547401428,
0.3489249646663666,
-0.00018412619829177856,
0.111099474132061,
-0.21838685870170593,
-0.2367398738861084,
0.20861941576004028,
0.2917194366455078,
0.02996078133583069,
-0.2430802583694458,
-0.05826114863157272,
0.06305263936519623,
-0.7865272760391235,
0.2313331961631775,
0.13033197820186615,
0.10139517486095428,
-0.04236384108662605,
0.2195342779159546,
0.33535975217819214,
-0.38010063767433167,
0.3456803858280182,
-0.4950581192970276,
-0.03317262977361679,
0.3131636679172516,
-0.2899516820907593,
-0.04764851927757263,
0.0994897335767746,
-0.20290620625019073,
-0.5299874544143677,
0.3735259473323822,
0.27605336904525757,
-0.42619794607162476,
-0.38813087344169617,
0.14811038970947266,
-0.0957377701997757,
-0.15055632591247559,
-0.36415743827819824,
-0.1820686012506485,
-0.378701776266098,
-0.11263944953680038,
0.24566158652305603,
-0.07587272673845291,
0.1786431223154068,
-0.1438380926847458,
0.06832447648048401,
-0.2247251719236374,
0.30021148920059204,
-0.024844899773597717,
0.30016428232192993,
0.0009163906797766685,
-0.02390672266483307,
0.32779353857040405,
0.0894169807434082,
-0.13702207803726196,
0.20201288163661957,
-0.03604476898908615,
0.04795375093817711,
0.33394402265548706,
-0.22931623458862305,
0.03986331820487976,
0.03430155664682388,
0.44064879417419434,
0.09311018139123917,
0.33881253004074097,
-0.00968300923705101,
0.49124324321746826,
-0.4976097345352173,
0.01128908060491085,
0.3263993263244629,
0.010954274795949459,
-0.3418414890766144,
-0.2849181890487671,
0.5926834940910339,
0.09814125299453735,
-0.28269723057746887,
0.24032016098499298,
0.6242876648902893,
-0.04578150808811188,
0.7988659739494324,
0.4379027485847473,
0.9731779098510742,
-0.32360172271728516,
0.18294695019721985,
0.05169898271560669,
-0.11415066570043564,
0.17721612751483917,
-0.5803911089897156,
0.013279978185892105,
-0.3441278040409088,
-0.06080908328294754,
0.1457226276397705,
0.06609348952770233,
0.09981559216976166,
0.07905006408691406,
-0.21126624941825867,
0.05653268098831177,
0.2663474678993225,
-0.3910277187824249,
-0.10337382555007935,
0.6442168951034546,
0.2642790675163269,
-0.583991289138794,
-0.06889811158180237,
0.09406453371047974,
0.10492366552352905,
-0.007052689790725708,
-0.03355913609266281,
-0.14997749030590057,
0.005896564573049545,
-0.015754103660583496,
-0.42638862133026123,
-0.07884345203638077,
0.2132335752248764,
0.09510761499404907,
-0.1442394107580185,
-0.10157983005046844,
0.3289506733417511,
0.19949616491794586,
0.04462116211652756,
0.08282211422920227,
-0.3486492335796356,
0.47963014245033264,
-0.23257523775100708,
-0.052560772746801376,
0.06448523700237274,
-0.269111692905426,
0.0368863008916378,
-0.1021120473742485,
-0.3996184766292572,
-0.34492984414100647,
-0.1726771891117096,
-0.13182441890239716,
-0.3958917260169983,
-0.11755354702472687,
-0.12868136167526245,
0.02774353139102459,
0.17468416690826416,
0.11597935855388641,
-0.3212336301803589,
-0.15710397064685822,
0.16899552941322327,
-0.008478112518787384,
-0.11465024203062057,
0.5580576062202454,
0.14565348625183105,
-0.11813822388648987,
-0.14472752809524536,
0.24133798480033875,
0.22185426950454712,
-0.1261489987373352,
0.1711156964302063,
0.3306894600391388,
-0.37811726331710815,
-0.2539426386356354,
-0.23306283354759216,
0.16131381690502167,
0.09130444377660751,
-0.04629943147301674,
0.14148828387260437,
-0.4187161922454834,
0.1323080211877823,
0.1859741359949112,
-0.045186012983322144,
-0.3899761140346527,
-0.14919324219226837,
-0.07786988466978073,
-0.15376712381839752,
0.13331764936447144,
-0.11493326723575592,
0.1478138417005539,
-0.12762290239334106,
-0.07189509272575378,
-0.07696017622947693,
0.5021984577178955,
-0.32333558797836304,
-0.03799751400947571,
-0.36581283807754517,
0.11540351063013077,
-0.2046506255865097,
-0.24954339861869812,
0.14500200748443604,
0.11774705350399017,
0.08013784885406494,
0.04742997884750366,
-0.11149591207504272,
-0.22686773538589478,
-0.11655856668949127,
0.18021391332149506,
-0.027892015874385834,
-0.2174326628446579,
0.23006455600261688,
0.05410619080066681,
-0.4773789942264557,
-0.5050479173660278,
0.14479923248291016,
-0.0598665326833725,
-0.10007601976394653,
0.0180106982588768,
0.02526845410466194,
0.09783751517534256,
-0.15353092551231384,
0.210225448012352,
0.04104992002248764,
0.35047322511672974,
0.07088214159011841,
-0.028213828802108765,
0.10943432152271271,
-0.25752589106559753,
0.23096412420272827,
0.12667599320411682,
0.25368762016296387,
0.03175205737352371,
0.44466355443000793,
0.06964657455682755,
-0.38495194911956787,
0.01960015669465065,
0.4330318868160248,
0.4753477871417999,
0.14118731021881104,
-0.016759658232331276,
0.19324874877929688,
0.17916660010814667,
-0.21374472975730896,
-0.13017161190509796,
0.36915162205696106,
-0.18878298997879028,
0.17370328307151794,
0.04340747743844986,
0.4589831531047821,
0.17460519075393677,
-0.15960952639579773,
0.05320689082145691,
-0.07472870498895645,
-0.36186522245407104,
-0.1350298970937729,
0.06540574133396149,
0.2945970296859741,
-0.015472788363695145,
0.1813449114561081,
0.1480323076248169,
0.22063207626342773,
0.49969375133514404,
0.1271933913230896,
0.44123581051826477,
-0.08164079487323761,
0.5757458806037903,
-0.03706345707178116,
-0.1976616233587265,
0.3342176079750061,
0.22814622521400452,
0.038185134530067444,
0.05333000048995018,
-0.0587761253118515,
-0.10672716051340103,
0.15673625469207764,
-0.35067018866539,
-0.13947953283786774,
0.2525772452354431,
-0.141433447599411,
-0.33108431100845337,
0.1789601743221283,
-0.0030860677361488342,
0.12122499942779541,
0.23320335149765015,
0.04628612473607063,
-0.010201454162597656,
0.2023238092660904,
0.1436455249786377,
-0.10630099475383759,
-0.31076711416244507,
0.05031352490186691,
-0.07704844325780869,
0.6449185609817505,
0.03992994502186775,
-0.21194419264793396,
0.13703812658786774,
-0.15988199412822723,
-0.07369187474250793,
0.2065896987915039,
0.2697361707687378,
0.15129929780960083,
-0.6558002233505249,
0.0792786255478859,
0.048170071095228195,
0.09430741518735886,
0.015902984887361526,
0.26950347423553467,
0.012386038899421692,
0.3510620892047882,
0.21356093883514404,
0.00704442523419857,
-0.24836087226867676,
-0.7480025291442871,
-0.11762925982475281,
0.2216341346502304,
0.030537929385900497,
-0.03820698708295822,
0.13563348352909088,
-0.12583807110786438,
0.027958296239376068,
0.11130287498235703,
-0.2532188296318054,
0.36493754386901855,
0.24341051280498505,
-0.08197076618671417,
0.031524889171123505,
-0.04774228483438492,
0.09998276829719543,
-0.05674866959452629,
0.8836591839790344,
0.1941978484392166,
0.18045830726623535,
-0.21342569589614868,
-0.1510012149810791,
-0.5924738645553589,
-0.019074447453022003,
-0.3248523771762848,
-0.09119033813476562,
0.5681338310241699,
0.3624492883682251,
0.00403112918138504,
0.1747615486383438,
0.21949326992034912,
-0.010798865929245949,
0.11198673397302628,
0.4059707522392273,
-0.27753353118896484,
0.2101975530385971,
-0.26910632848739624,
-0.14093193411827087,
-0.07562386989593506,
-0.30538469552993774,
0.4251203238964081,
0.23091155290603638,
-0.006682138890028,
-0.009121041744947433,
0.19796240329742432,
0.13587713241577148,
0.11231224238872528,
0.2765578031539917,
0.2952306270599365,
0.10526613891124725,
-0.18179884552955627,
-0.1090313047170639,
-0.20365816354751587,
0.05502927675843239,
-0.07329032570123672,
0.04699762910604477,
-0.06691479682922363,
0.0866825133562088,
-0.12951597571372986,
-0.30516523122787476,
-0.21815451979637146,
0.17578333616256714,
-0.07414033263921738,
0.13698777556419373,
-0.20450663566589355,
-0.10232231020927429,
0.2649248540401459,
0.36771318316459656,
0.08781419694423676,
0.2704732120037079,
-0.0025313422083854675,
-0.01736323907971382,
-0.45230281352996826,
-0.3206739127635956,
0.3238145112991333,
-0.3716279864311218,
-0.16304157674312592,
-0.08644421398639679,
0.06703919917345047,
0.139690101146698,
0.2970750331878662,
-0.5577385425567627,
-0.09709453582763672,
0.10174988955259323,
0.18562787771224976,
-0.403095543384552,
0.015873372554779053,
-0.04547002911567688,
-0.2367832511663437,
-0.21569673717021942,
-0.041109442710876465,
0.06567162275314331,
-0.13677921891212463,
-0.29754796624183655,
-0.22281035780906677
] |
https://github.com/huggingface/datasets/issues/1670 | wiki_dpr pre-processing performance | I'd be happy to contribute something when I get the time, probably adding multiprocessing and / or cython support to wiki_dpr. I've written cythonized apache beam code before as well.
For sharded index building, I used the FAISS example code for indexing 1 billion vectors as a start. I'm sure you're aware that the documentation isn't great, but the source code is fairly easy to follow. | I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won't repeat the concerns around multiprocessing as they are addressed in other issues (#786), but this is the first obvious thing to do. Using cython to speed up the text manipulation may be also help. Loading and processing a dataset of this size in under 15 minutes does not seem unreasonable on a modern multi-core machine. I have hit such targets myself on similar tasks. Would love to see this improve.
The other issue is that it takes 3h to construct the FAISS index. If only we could use GPUs with HNSW, but we can't. My sharded GPU indexing code can build an IVF + PQ index in 10 minutes on 20 million vectors. Still, 3h seems slow even for the CPU.
It looks like HF is adding only 1000 vectors at a time by default [2], whereas the faiss benchmarks adds 1 million vectors at a time (effectively) [3]. It's possible the runtime could be reduced with a larger batch. Also, it looks like project dependencies ultimately use OpenBLAS, but this is known to have issues when combined with OpenMP, which HNSW does [3]. A workaround is to set the environment variable `OMP_WAIT_POLICY=PASSIVE` via `os.environ` or similar.
References:
[1] https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py
[2] https://github.com/huggingface/datasets/blob/master/src/datasets/search.py
[3] https://github.com/facebookresearch/faiss/blob/master/benchs/bench_hnsw.py
[4] https://github.com/facebookresearch/faiss/issues/422 | 66 | wiki_dpr pre-processing performance
I've been working with wiki_dpr and noticed that the dataset processing is seriously impaired in performance [1]. It takes about 12h to process the entire dataset. Most of this time is simply loading and processing the data, but the actual indexing is also quite slow (3h).
I won't repeat the concerns around multiprocessing as they are addressed in other issues (#786), but this is the first obvious thing to do. Using cython to speed up the text manipulation may be also help. Loading and processing a dataset of this size in under 15 minutes does not seem unreasonable on a modern multi-core machine. I have hit such targets myself on similar tasks. Would love to see this improve.
The other issue is that it takes 3h to construct the FAISS index. If only we could use GPUs with HNSW, but we can't. My sharded GPU indexing code can build an IVF + PQ index in 10 minutes on 20 million vectors. Still, 3h seems slow even for the CPU.
It looks like HF is adding only 1000 vectors at a time by default [2], whereas the faiss benchmarks adds 1 million vectors at a time (effectively) [3]. It's possible the runtime could be reduced with a larger batch. Also, it looks like project dependencies ultimately use OpenBLAS, but this is known to have issues when combined with OpenMP, which HNSW does [3]. A workaround is to set the environment variable `OMP_WAIT_POLICY=PASSIVE` via `os.environ` or similar.
References:
[1] https://github.com/huggingface/datasets/blob/master/datasets/wiki_dpr/wiki_dpr.py
[2] https://github.com/huggingface/datasets/blob/master/src/datasets/search.py
[3] https://github.com/facebookresearch/faiss/blob/master/benchs/bench_hnsw.py
[4] https://github.com/facebookresearch/faiss/issues/422
I'd be happy to contribute something when I get the time, probably adding multiprocessing and / or cython support to wiki_dpr. I've written cythonized apache beam code before as well.
For sharded index building, I used the FAISS example code for indexing 1 billion vectors as a start. I'm sure you're aware that the documentation isn't great, but the source code is fairly easy to follow. | [
-0.22649045288562775,
-0.15619111061096191,
-0.12017621099948883,
0.06685477495193481,
-0.137059286236763,
-0.08907415717840195,
0.02561648190021515,
0.3342379927635193,
0.1915271282196045,
0.06897875666618347,
0.0395439937710762,
-0.09713654965162277,
0.30243119597435,
0.14719153940677643,
-0.34191280603408813,
-0.2786288261413574,
0.2023194432258606,
0.06131863221526146,
0.14840827882289886,
0.029778756201267242,
-0.24281643331050873,
-0.054743655025959015,
-0.4051632881164551,
-0.12120123207569122,
-0.11950579285621643,
-0.23627236485481262,
-0.0799637883901596,
-0.12658831477165222,
-0.17690734565258026,
-0.5026083588600159,
0.22070777416229248,
0.5021685361862183,
0.1483302265405655,
0.1311967819929123,
-0.00010815418499987572,
-0.11954513937234879,
0.1936884969472885,
0.22716927528381348,
0.12244395911693573,
0.647659182548523,
0.06640602648258209,
-0.15026165544986725,
0.16504816710948944,
-0.23878511786460876,
0.03324064612388611,
-0.3853895366191864,
-0.12205344438552856,
0.15767425298690796,
0.21022775769233704,
-0.16590555012226105,
0.13240937888622284,
0.0579918697476387,
-0.1257512867450714,
0.13907918334007263,
-0.061802081763744354,
-0.09084038436412811,
-0.21006976068019867,
-0.2791372835636139,
0.18506333231925964,
-0.2045675367116928,
-0.202012300491333,
0.5718430876731873,
-0.23050911724567413,
0.08298607170581818,
0.26260143518447876,
0.15674974024295807,
0.20920786261558533,
-0.2050272673368454,
0.18883630633354187,
0.5338250398635864,
0.2658001780509949,
0.12251798063516617,
-0.2275390475988388,
-0.23706397414207458,
-0.02764688804745674,
-0.33449143171310425,
0.27909916639328003,
-0.23981449007987976,
-0.18164660036563873,
0.0877905935049057,
0.0590071864426136,
0.016766883432865143,
-0.0018296167254447937,
-0.04829605668783188,
0.01034710556268692,
0.4794559180736542,
0.17628124356269836,
-0.02413187175989151,
0.20759464800357819,
-0.1637803018093109,
-0.14268474280834198,
-0.18572089076042175,
0.0056335218250751495,
0.20056042075157166,
-0.39160433411598206,
-0.059174031019210815,
0.08716531842947006,
-0.17718103528022766,
0.10877340286970139,
-0.162454292178154,
-0.34006980061531067,
0.46013134717941284,
0.16892115771770477,
-0.08505185693502426,
0.13263607025146484,
-0.011087297461926937,
-0.3062152564525604,
-0.1471126526594162,
0.37620407342910767,
0.05229569599032402,
-0.11764827370643616,
0.23427259922027588,
0.200863778591156,
-0.1009126752614975,
-0.1655818670988083,
-0.31356173753738403,
-0.2978517413139343,
-0.09255139529705048,
0.2849411070346832,
0.16055627167224884,
0.11777330189943314,
-0.2563345432281494,
-0.020705033093690872,
0.5065279603004456,
-0.16217221319675446,
0.5769703984260559,
0.14745952188968658,
-0.17348070442676544,
-0.3040230870246887,
0.23229892551898956,
-0.027100728824734688,
-0.16955769062042236,
-0.16490402817726135,
0.2978241741657257,
0.06797584891319275,
0.10474659502506256,
-0.07754585891962051,
0.07523123919963837,
0.17360925674438477,
-0.009536854922771454,
-0.007220251485705376,
-0.031936079263687134,
0.2566511929035187,
0.2684513330459595,
-0.12749791145324707,
0.09694154560565948,
-0.23418743908405304,
-0.0310035552829504,
-0.309194952249527,
-0.11368802934885025,
-0.05276560038328171,
-0.3701983392238617,
-0.13260626792907715,
0.1966397613286972,
0.14800958335399628,
-0.007523249834775925,
-0.02316313236951828,
0.3451900780200958,
0.04421284422278404,
-0.004466116428375244,
0.03045087307691574,
0.003931025043129921,
-0.1693892627954483,
-0.10586640983819962,
0.5083746314048767,
0.2476489245891571,
-0.08408352732658386,
0.16020455956459045,
0.026820775121450424,
0.12791049480438232,
0.16021770238876343,
0.4359184801578522,
-0.10098548233509064,
0.16206786036491394,
0.05515357851982117,
0.24389536678791046,
0.0188092440366745,
-0.331087589263916,
-0.2364841252565384,
0.3677527904510498,
0.16749362647533417,
0.017808428034186363,
0.16973049938678741,
0.033823467791080475,
0.22242507338523865,
-0.0007778584258630872,
-0.06356145441532135,
0.5007226467132568,
0.16899532079696655,
0.14480260014533997,
-0.47628822922706604,
-0.5098896622657776,
-0.054211609065532684,
0.3578077554702759,
0.12606103718280792,
-0.23463305830955505,
-0.18795660138130188,
-0.17842024564743042,
0.3020690083503723,
-0.3102785050868988,
0.1019865944981575,
0.08988894522190094,
0.10410448908805847,
0.19451355934143066,
0.27584993839263916,
-0.049319058656692505,
-0.12820008397102356,
0.2644062042236328,
-0.31057560443878174,
0.3434852659702301,
0.2918091416358948,
-0.29074084758758545,
0.1353849470615387,
0.04449569433927536,
-0.09078602492809296,
-0.14519691467285156,
0.1301652491092682,
-0.10105206072330475,
0.02343905344605446,
0.0444510392844677,
-0.1051182672381401,
-0.08826769143342972,
-0.22044704854488373,
-0.017461135983467102,
0.037510305643081665,
-0.021544259041547775,
-0.2987058758735657,
0.053178250789642334,
0.09029945731163025,
0.21851438283920288,
0.06567519158124924,
0.14211620390415192,
-0.01480434276163578,
0.056721679866313934,
0.08496065437793732,
-0.003672555088996887,
0.5223874449729919,
0.26269498467445374,
0.06663226336240768,
-0.17891043424606323,
-0.056504182517528534,
-0.054586756974458694,
-0.010275591164827347,
-0.20951882004737854,
-0.2721388041973114,
0.5150543451309204,
0.09931915998458862,
0.666300356388092,
0.03356052190065384,
-0.1411224901676178,
0.19107143580913544,
-0.08005416393280029,
0.2929941415786743,
0.16128619015216827,
0.09089002758264542,
0.08388781547546387,
-0.15543942153453827,
0.10866189002990723,
-0.24579156935214996,
0.39859727025032043,
0.08871980011463165,
-0.14188645780086517,
-0.12382183223962784,
0.341021865606308,
0.151861310005188,
-0.43174856901168823,
0.1378454864025116,
-0.3139722943305969,
-0.1318144053220749,
0.23961769044399261,
0.07603061944246292,
-0.09338519722223282,
-0.06432980298995972,
-0.17953871190547943,
0.2557092607021332,
0.06872362643480301,
-0.16040688753128052,
0.15999123454093933,
0.048968564718961716,
0.18973150849342346,
-0.10048093646764755,
-0.3037286698818207,
-0.15035827457904816,
0.05474769324064255,
0.015806954354047775,
0.011436598375439644,
-0.09457654505968094,
-0.03297232836484909,
0.4362286627292633,
0.027771245688199997,
-0.44274210929870605,
-0.36159130930900574,
0.25465866923332214,
-0.203191339969635,
-0.17404048144817352,
0.2699272930622101,
-0.03333794325590134,
0.07388569414615631,
-0.11609864979982376,
-0.30938538908958435,
-0.4688054025173187,
-0.31470581889152527,
-0.26025721430778503,
0.01219959557056427,
0.18355274200439453,
0.6119247674942017,
0.2436840534210205,
0.21184603869915009,
-0.23683148622512817,
-0.047281891107559204,
-0.4198969602584839,
0.14705462753772736,
-0.07971817255020142,
0.06520836055278778,
0.07605843991041183,
0.09878290444612503,
-0.2667643427848816,
-0.30647820234298706,
0.0766439214348793,
-0.2006572186946869,
0.08647731691598892,
-0.12770147621631622,
-0.2547144293785095,
0.015578965656459332,
0.08177144825458527,
-0.35251760482788086,
-0.09941574931144714,
-0.2811506688594818,
0.13162243366241455,
-0.12530486285686493,
0.14718031883239746,
-0.24705059826374054,
0.06999289244413376,
0.14869044721126556,
-0.1375657171010971,
0.09456095099449158,
-0.14603780210018158,
-0.07998649775981903,
0.3313515782356262,
0.04473336786031723,
-0.26909440755844116,
-0.12046635150909424,
-0.13549259305000305,
-0.019802924245595932,
0.059192072600126266,
-0.5038509964942932,
0.09041532129049301,
-0.43138137459754944,
0.44642308354377747,
0.10893726348876953,
0.2679256200790405,
0.37007737159729004,
0.10718317329883575,
-0.22812284529209137,
0.01746029406785965,
-0.0057211983948946,
0.05289223790168762,
-0.26386111974716187,
-0.04901381582021713,
-0.08679455518722534,
0.008586054667830467,
-0.19584067165851593,
1.1640777587890625,
0.1669704020023346,
0.06632573902606964,
0.2571600079536438,
0.2840443551540375,
0.10981763899326324,
-0.14246565103530884,
0.10167698562145233,
0.1536927968263626,
-0.14403408765792847,
0.24496053159236908,
0.29130059480667114,
0.046444371342659,
-0.34048712253570557,
-0.06584462523460388,
0.009131763130426407,
-0.17905855178833008,
-0.362807959318161,
0.1982976645231247,
0.4147166907787323,
0.3583090305328369,
-0.01320242416113615,
0.10477811843156815,
-0.2162604033946991,
-0.23084574937820435,
0.22718368470668793,
0.29397493600845337,
0.03618079423904419,
-0.23758038878440857,
-0.0456252321600914,
0.07037951052188873,
-0.7937564253807068,
0.22714751958847046,
0.13520574569702148,
0.10624221712350845,
-0.04493157938122749,
0.20499858260154724,
0.3181871771812439,
-0.3824547231197357,
0.33114778995513916,
-0.5110365152359009,
-0.03422372043132782,
0.31053808331489563,
-0.2685108780860901,
-0.026773028075695038,
0.10107098519802094,
-0.1987963765859604,
-0.5399529337882996,
0.36623120307922363,
0.2730425000190735,
-0.4041846990585327,
-0.39463144540786743,
0.16380584239959717,
-0.10568595677614212,
-0.14116811752319336,
-0.3499196469783783,
-0.16894270479679108,
-0.3743135929107666,
-0.11582394689321518,
0.2541348338127136,
-0.07302266359329224,
0.16178523004055023,
-0.11627089232206345,
0.07576736807823181,
-0.2403760403394699,
0.30531802773475647,
-0.03594432771205902,
0.2997191250324249,
-0.02039005607366562,
-0.02066624164581299,
0.3212929368019104,
0.0841277539730072,
-0.15932443737983704,
0.20034478604793549,
-0.06909310817718506,
0.04272640869021416,
0.33713221549987793,
-0.2086450457572937,
0.05393226072192192,
0.04183628410100937,
0.4395432472229004,
0.09431592375040054,
0.3287375271320343,
0.006421617232263088,
0.4958718419075012,
-0.49957555532455444,
0.018616367131471634,
0.3167238235473633,
0.005829665809869766,
-0.35243430733680725,
-0.30605635046958923,
0.6003260612487793,
0.11249253153800964,
-0.28197717666625977,
0.2517493665218353,
0.6379446983337402,
-0.043516725301742554,
0.8059248328208923,
0.4664421081542969,
0.9706418514251709,
-0.3135971426963806,
0.20171332359313965,
0.057831019163131714,
-0.1052982360124588,
0.1868313103914261,
-0.5955252647399902,
0.010622258298099041,
-0.33072537183761597,
-0.05078660696744919,
0.13858622312545776,
0.07174696028232574,
0.10708720237016678,
0.06962057948112488,
-0.21083655953407288,
0.04085656255483627,
0.2892587184906006,
-0.3912505507469177,
-0.08884360641241074,
0.65101158618927,
0.250623881816864,
-0.5994694232940674,
-0.0627199187874794,
0.08649655431509018,
0.11037156730890274,
-0.02993551269173622,
-0.03312140703201294,
-0.14771978557109833,
0.031231027096509933,
-0.0010649040341377258,
-0.4338216185569763,
-0.09248407185077667,
0.21500565111637115,
0.09376327693462372,
-0.1425291746854782,
-0.09799462556838989,
0.33626124262809753,
0.20082734525203705,
0.03776911646127701,
0.08918316662311554,
-0.3503619134426117,
0.4732806980609894,
-0.2288559377193451,
-0.05205613002181053,
0.08078009635210037,
-0.2716550827026367,
0.06370966881513596,
-0.09792032837867737,
-0.385001003742218,
-0.34347912669181824,
-0.17169365286827087,
-0.15278279781341553,
-0.3854249119758606,
-0.12453098595142365,
-0.13095764815807343,
0.043142568320035934,
0.18775929510593414,
0.12815098464488983,
-0.3271595239639282,
-0.1681947261095047,
0.16408710181713104,
-0.014130286872386932,
-0.11198227852582932,
0.5528218746185303,
0.13495315611362457,
-0.12086352705955505,
-0.1516037881374359,
0.22805160284042358,
0.22843411564826965,
-0.12558163702487946,
0.1546090543270111,
0.3147464096546173,
-0.3647042512893677,
-0.2627891004085541,
-0.22499224543571472,
0.1548180729150772,
0.10121049731969833,
-0.036448605358600616,
0.1330312192440033,
-0.4334459900856018,
0.12998339533805847,
0.1956922858953476,
-0.04557587206363678,
-0.3782908618450165,
-0.1649547517299652,
-0.07189593464136124,
-0.1449117511510849,
0.1371910274028778,
-0.12023524940013885,
0.15911222994327545,
-0.10991611331701279,
-0.07993988692760468,
-0.08741287887096405,
0.4848991930484772,
-0.32161229848861694,
-0.07501175999641418,
-0.35071849822998047,
0.07844443619251251,
-0.20230913162231445,
-0.23455393314361572,
0.14319837093353271,
0.13677571713924408,
0.07175684720277786,
0.04955504834651947,
-0.10065621137619019,
-0.2216840386390686,
-0.13469144701957703,
0.18366019427776337,
-0.028221137821674347,
-0.2105097621679306,
0.23551113903522491,
0.058502838015556335,
-0.48991772532463074,
-0.5152715444564819,
0.14235293865203857,
-0.06616106629371643,
-0.09582392871379852,
0.019926220178604126,
0.021684754639863968,
0.13067109882831573,
-0.14221112430095673,
0.22075043618679047,
0.05530453100800514,
0.33952489495277405,
0.05745979771018028,
-0.008523132652044296,
0.11686552315950394,
-0.2495570033788681,
0.24082499742507935,
0.14670675992965698,
0.2563510239124298,
0.019209139049053192,
0.4395847022533417,
0.08629085123538971,
-0.4105633795261383,
0.01977749541401863,
0.4301701486110687,
0.4558750092983246,
0.15628618001937866,
-0.029310137033462524,
0.19157114624977112,
0.17530027031898499,
-0.21964527666568756,
-0.13987572491168976,
0.3598823845386505,
-0.19315099716186523,
0.18244853615760803,
0.054471455514431,
0.4774356782436371,
0.18100786209106445,
-0.14716754853725433,
0.043745532631874084,
-0.07296422868967056,
-0.367281973361969,
-0.12625651061534882,
0.0754416212439537,
0.30414706468582153,
-0.019646447151899338,
0.17808935046195984,
0.1522851288318634,
0.24213823676109314,
0.4696974754333496,
0.13467514514923096,
0.44331300258636475,
-0.06146077811717987,
0.5766791105270386,
-0.03472846746444702,
-0.17246371507644653,
0.3463386595249176,
0.21082739531993866,
0.03944052755832672,
0.07578908652067184,
-0.05669619143009186,
-0.1177155002951622,
0.15036404132843018,
-0.3285139203071594,
-0.1473153978586197,
0.25606873631477356,
-0.12535130977630615,
-0.3405519723892212,
0.17670489847660065,
-0.014707699418067932,
0.11903125047683716,
0.2388465702533722,
0.05013661086559296,
-0.01596035063266754,
0.20086310803890228,
0.13526639342308044,
-0.08821988105773926,
-0.30035802721977234,
0.06683415174484253,
-0.0721721202135086,
0.6491084098815918,
0.02587525174021721,
-0.23421667516231537,
0.1350664645433426,
-0.17062455415725708,
-0.08794054388999939,
0.21005645394325256,
0.27354761958122253,
0.13262763619422913,
-0.6634916663169861,
0.08663630485534668,
0.021494846791028976,
0.10662208497524261,
0.00016207993030548096,
0.26678818464279175,
0.012999698519706726,
0.3445982038974762,
0.19350382685661316,
0.006566327065229416,
-0.23924380540847778,
-0.7350766658782959,
-0.12689319252967834,
0.19749462604522705,
0.01940307766199112,
-0.027786485850811005,
0.15130481123924255,
-0.12155338376760483,
0.03807749226689339,
0.1309855580329895,
-0.24168625473976135,
0.3493698239326477,
0.22666138410568237,
-0.07303430885076523,
0.026520397514104843,
-0.033445000648498535,
0.09960111975669861,
-0.05546257272362709,
0.8809105157852173,
0.19003945589065552,
0.17851483821868896,
-0.19361817836761475,
-0.1442977339029312,
-0.5910927653312683,
-0.02528069168329239,
-0.29654473066329956,
-0.11201194673776627,
0.5680955648422241,
0.3571699857711792,
0.010625913739204407,
0.18820983171463013,
0.22147123515605927,
-0.008968891575932503,
0.11646250635385513,
0.38986435532569885,
-0.2631460726261139,
0.22224649786949158,
-0.26087433099746704,
-0.13772720098495483,
-0.07712270319461823,
-0.319244921207428,
0.4159122705459595,
0.23604324460029602,
-0.017201587557792664,
-0.02483520284295082,
0.17681464552879333,
0.14545005559921265,
0.11425759643316269,
0.27991485595703125,
0.29693466424942017,
0.07682383060455322,
-0.18396034836769104,
-0.12511415779590607,
-0.23279350996017456,
0.06588083505630493,
-0.08315909653902054,
0.029331915080547333,
-0.07467445731163025,
0.0847039744257927,
-0.14309267699718475,
-0.318512886762619,
-0.2177840620279312,
0.1827886700630188,
-0.07213316857814789,
0.13686297833919525,
-0.19847442209720612,
-0.10874975472688675,
0.26468122005462646,
0.37241309881210327,
0.08555703610181808,
0.25829610228538513,
0.016159318387508392,
-0.023719247430562973,
-0.44866347312927246,
-0.3001709580421448,
0.30091404914855957,
-0.387210488319397,
-0.16100673377513885,
-0.10634193569421768,
0.05419796705245972,
0.13995055854320526,
0.29791077971458435,
-0.5485873222351074,
-0.11437471210956573,
0.09987429529428482,
0.20493823289871216,
-0.3972119390964508,
0.014841115102171898,
-0.04558948427438736,
-0.23270297050476074,
-0.2268291711807251,
-0.041133470833301544,
0.04796045273542404,
-0.13731859624385834,
-0.3126225173473358,
-0.23363974690437317
] |
https://github.com/huggingface/datasets/issues/1662 | Arrow file is too large when saving vector data | Hi !
The arrow file size is due to the embeddings. Indeed if they're stored as float32 then the total size of the embeddings is
20 000 000 vectors * 768 dimensions * 4 bytes per dimension ~= 60GB
If you want to reduce the size you can consider using quantization for example, or maybe using dimension reduction techniques.
| I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file? | 59 | Arrow file is too large when saving vector data
I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file?
Hi !
The arrow file size is due to the embeddings. Indeed if they're stored as float32 then the total size of the embeddings is
20 000 000 vectors * 768 dimensions * 4 bytes per dimension ~= 60GB
If you want to reduce the size you can consider using quantization for example, or maybe using dimension reduction techniques.
| [
0.11372208595275879,
-0.33165574073791504,
-0.05896613746881485,
0.4534533619880676,
0.13431218266487122,
-0.1161571741104126,
-0.17864513397216797,
0.46086549758911133,
-0.40809914469718933,
0.3328981399536133,
0.19823600351810455,
-0.08847397565841675,
-0.12217708677053452,
-0.18767301738262177,
-0.10288319736719131,
-0.1468019336462021,
0.12065283954143524,
0.4042375385761261,
0.04633627086877823,
-0.06683213263750076,
0.20869550108909607,
0.2305031418800354,
0.0889817327260971,
0.058383554220199585,
-0.30929359793663025,
-0.26259860396385193,
-0.15499873459339142,
0.03155241161584854,
-0.3289446234703064,
-0.1841224730014801,
-0.19333750009536743,
-0.16470474004745483,
0.3871697187423706,
0.41079720854759216,
-0.00012929296644870192,
-0.16636843979358673,
-0.006786540150642395,
-0.08002423495054245,
-0.12759722769260406,
0.36736807227134705,
0.07735996693372726,
-0.3972463607788086,
0.012808196246623993,
-0.2621868848800659,
0.24111098051071167,
-0.3113117516040802,
-0.1806945651769638,
-0.2490857094526291,
0.5573135614395142,
0.0042653875425457954,
0.06892821192741394,
-0.23041586577892303,
0.09214352071285248,
0.34721148014068604,
0.2535006105899811,
-0.06352080404758453,
-0.07132580876350403,
0.15292881429195404,
0.47154563665390015,
0.2860766351222992,
-0.18238836526870728,
0.36319929361343384,
0.1101035475730896,
-0.2088291347026825,
0.37559768557548523,
-0.23418547213077545,
0.6091364026069641,
-0.039956770837306976,
0.2837221622467041,
0.32558366656303406,
0.6376827359199524,
-0.13708069920539856,
0.05124461650848389,
0.07818322628736496,
0.3942018151283264,
-0.07222757488489151,
0.06601998955011368,
0.29711028933525085,
-0.013959269970655441,
-0.011379577219486237,
-0.03768265247344971,
-0.6596641540527344,
-0.3486737310886383,
0.018688861280679703,
0.14985768496990204,
-0.22961407899856567,
-0.16085775196552277,
-0.13075664639472961,
0.302417516708374,
-0.30911922454833984,
0.018087739124894142,
0.005658388137817383,
-0.19443413615226746,
-0.03266569599509239,
-0.21659459173679352,
-0.20447659492492676,
-0.6254198551177979,
-0.05339478701353073,
-0.07576532661914825,
-0.19329074025154114,
0.6419785022735596,
-0.1503009796142578,
0.023994456976652145,
0.024057947099208832,
0.18905885517597198,
0.40344178676605225,
-0.15622460842132568,
0.24845479428768158,
0.03522161394357681,
0.07530977576971054,
-0.033795762807130814,
-0.14936521649360657,
-0.49003010988235474,
-0.149842768907547,
0.20521900057792664,
-0.386985182762146,
-0.28067243099212646,
-0.07325942814350128,
0.2934063673019409,
0.18457956612110138,
-0.48405149579048157,
0.2669830620288849,
0.09754429757595062,
0.15592414140701294,
0.1078801229596138,
0.2910139858722687,
-0.0011184550821781158,
0.0923159271478653,
-0.06593023985624313,
0.009485415183007717,
0.02776309847831726,
-0.09813222289085388,
-0.14204566180706024,
0.006058327853679657,
-0.07829420268535614,
-0.00657261535525322,
0.14833182096481323,
-0.333911657333374,
-0.007267415523529053,
-0.3509911894798279,
0.028762267902493477,
-0.3294256031513214,
0.24987497925758362,
-0.0001297183334827423,
-0.12088976800441742,
0.1071229949593544,
-0.27286025881767273,
0.17552003264427185,
-0.19964829087257385,
0.286188006401062,
-0.35469192266464233,
-0.1992550641298294,
-0.4079984724521637,
0.00208330899477005,
-0.07025887072086334,
0.2342662364244461,
-0.07665542513132095,
0.07827316969633102,
0.25315749645233154,
-0.1458366960287094,
0.06396269053220749,
-0.1947602480649948,
0.019837189465761185,
-0.191891610622406,
0.20368489623069763,
0.0059585124254226685,
-0.5826382040977478,
0.011303521692752838,
-0.21321594715118408,
0.2590467035770416,
0.23568522930145264,
0.6174715757369995,
-0.03638942539691925,
0.05852201581001282,
0.12873117625713348,
0.4063417911529541,
0.13568978011608124,
0.048083167523145676,
-0.5367763042449951,
0.21711887419223785,
0.2386542707681656,
-0.10116913169622421,
0.18592196702957153,
0.2929550111293793,
0.08929447084665298,
0.0071522025391459465,
-0.2879391610622406,
0.13106560707092285,
0.17176486551761627,
0.16368155181407928,
-0.25648233294487,
-0.4411570727825165,
-0.21642117202281952,
-0.09654378890991211,
-0.31744784116744995,
-0.6281607747077942,
-0.06820746511220932,
0.025035295635461807,
0.2728004455566406,
-0.25770658254623413,
0.22523415088653564,
0.49284738302230835,
0.2753370404243469,
-0.0006954967975616455,
0.22388526797294617,
0.1669015884399414,
-0.1212276890873909,
-0.1580066978931427,
-0.24811378121376038,
-0.4369778037071228,
-0.26732391119003296,
-0.19834643602371216,
-0.012755290605127811,
-0.11553844064474106,
0.08474747091531754,
0.20975854992866516,
-0.06848122924566269,
-0.43388596177101135,
-0.25887060165405273,
-0.20444843173027039,
-0.002829514443874359,
-0.16498342156410217,
-0.1741107702255249,
0.022617612034082413,
-0.08137691020965576,
-0.030760183930397034,
-0.038439907133579254,
-0.24574068188667297,
0.2472553551197052,
0.13475851714611053,
-0.1484474539756775,
0.11645247042179108,
-0.2407490611076355,
0.15980085730552673,
-0.16758735477924347,
0.4313786029815674,
0.11296311020851135,
0.03867076337337494,
-0.020548881962895393,
-0.6437349915504456,
0.7238843441009521,
0.15460608899593353,
0.18892188370227814,
0.1275748312473297,
-0.2429240643978119,
-0.34919387102127075,
0.08008378744125366,
0.24820229411125183,
0.09398813545703888,
-0.22779057919979095,
-0.18392087519168854,
0.06781932711601257,
-0.10575791448354721,
-0.1484803557395935,
0.11977352201938629,
0.2603484094142914,
0.34256964921951294,
0.4101366698741913,
0.11276650428771973,
-0.190998375415802,
0.3433571755886078,
0.019846830517053604,
0.1349353790283203,
0.5249636173248291,
-0.6002110838890076,
-0.34168776869773865,
0.05182160437107086,
-0.17722122371196747,
-0.09396134316921234,
0.126303032040596,
0.0625123381614685,
-0.12551167607307434,
0.48967602849006653,
-0.007855687290430069,
0.30117836594581604,
0.3242175579071045,
0.4192395806312561,
0.17674681544303894,
-0.010845458135008812,
0.08377289772033691,
-0.10297651588916779,
0.0626629889011383,
-0.2192378044128418,
0.046616651117801666,
-0.2451954185962677,
0.24246136844158173,
-0.2749292552471161,
-0.23449110984802246,
-0.1921866238117218,
-0.01731143519282341,
-0.10194650292396545,
0.05158671736717224,
0.24512061476707458,
-0.1880636364221573,
-0.15914902091026306,
-0.21170413494110107,
0.1817719042301178,
0.44036659598350525,
0.20608048141002655,
0.0918666422367096,
0.1535123586654663,
-0.03513098880648613,
-0.15023860335350037,
-0.010964909568428993,
0.04388679563999176,
-0.014695350080728531,
0.1125260591506958,
0.1260078102350235,
0.10708429664373398,
-0.1678996980190277,
-0.1243056207895279,
-0.015339560806751251,
-0.03618720918893814,
-0.16620343923568726,
-0.13032831251621246,
0.09196889400482178,
-0.7869039177894592,
-0.03986973688006401,
-0.27343204617500305,
-0.0855514407157898,
-0.14637508988380432,
0.16089577972888947,
-0.21355219185352325,
-0.06538509577512741,
0.13123489916324615,
-0.15470388531684875,
-0.036918312311172485,
-0.23396003246307373,
0.21785622835159302,
-0.022298794239759445,
0.17680877447128296,
-0.04422006756067276,
0.3882008492946625,
0.15451672673225403,
0.0012791710905730724,
0.06407174468040466,
0.23599249124526978,
-0.39287135004997253,
0.38502615690231323,
0.021498149260878563,
-0.18015553057193756,
0.07997030019760132,
0.045731671154499054,
0.11416788399219513,
0.020965825766324997,
-0.3639514446258545,
0.2030225247144699,
-0.27568963170051575,
-0.2785959839820862,
-0.34337860345840454,
0.20263038575649261,
0.09118108451366425,
0.05497131496667862,
-0.10604720562696457,
0.17427492141723633,
0.1105966717004776,
0.294092059135437,
0.42145150899887085,
0.4746116101741791,
-0.16923877596855164,
-0.2786596119403839,
0.07141362130641937,
0.3714792728424072,
0.6862310767173767,
0.10741369426250458,
0.16819782555103302,
0.3925539553165436,
0.11685974895954132,
-0.05483681708574295,
0.26494985818862915,
-0.03908168524503708,
0.018813014030456543,
0.05213535577058792,
0.32589054107666016,
0.4453132450580597,
0.2013317495584488,
0.4860764443874359,
-0.5145965218544006,
-0.10845980048179626,
-0.31407901644706726,
0.5424495935440063,
-0.3409869968891144,
0.301516592502594,
-0.28175851702690125,
-0.35491082072257996,
-0.01331972237676382,
-0.2670259177684784,
-0.07331417500972748,
-0.08859074115753174,
0.17361102998256683,
0.16173623502254486,
0.1939893215894699,
-0.1758621335029602,
-0.41500863432884216,
0.2750554382801056,
0.13528193533420563,
-0.2880963087081909,
0.1549355834722519,
0.13379335403442383,
0.2831847667694092,
0.04827376827597618,
-0.03585752844810486,
0.11663234233856201,
-0.2747630476951599,
-0.11583934724330902,
0.2354983389377594,
-0.36946776509284973,
0.31243056058883667,
-0.08997339010238647,
-0.006795956753194332,
0.0879628136754036,
0.06530871987342834,
-0.15859350562095642,
0.024044910445809364,
0.009952688589692116,
0.47065025568008423,
-0.1509796380996704,
-0.03761466220021248,
-0.12937615811824799,
0.08603354543447495,
-0.463313490152359,
-0.010738521814346313,
0.13713516294956207,
0.17054246366024017,
0.3386722803115845,
-0.3994382619857788,
-0.01276218332350254,
-0.40015318989753723,
0.10636007785797119,
0.05595990642905235,
0.5959634780883789,
-0.3194735050201416,
-0.05724680423736572,
0.1228642389178276,
0.2665351629257202,
0.2798193097114563,
0.1751793622970581,
0.03328489884734154,
-0.2518419027328491,
-0.049818240106105804,
-0.20809845626354218,
0.4521414339542389,
0.3885689377784729,
-0.1870092898607254,
0.009359277784824371,
0.19440974295139313,
0.12606702744960785,
0.19109922647476196,
-0.0013709543272852898,
0.04598797857761383,
0.24452078342437744,
-0.17825783789157867,
0.18829147517681122,
-0.06445334106683731,
0.12916357815265656,
0.030457131564617157,
0.09237360954284668,
0.5049015283584595,
0.05113818496465683,
0.42281508445739746,
0.2255387306213379,
1.2819311618804932,
-0.13444368541240692,
0.2138417363166809,
-0.19064843654632568,
0.031562335789203644,
0.11712208390235901,
-0.08905009925365448,
0.2319936752319336,
-0.0786614865064621,
0.12645962834358215,
0.0736229196190834,
-0.06341282278299332,
0.013623196631669998,
0.03188417851924896,
-0.3941902220249176,
0.13726048171520233,
-0.3030981719493866,
-0.3074612617492676,
-0.36900821328163147,
0.18296676874160767,
-0.020876070484519005,
-0.2820621132850647,
-0.1807437539100647,
-0.06627398729324341,
-0.047713302075862885,
-0.15064263343811035,
0.014617934823036194,
0.06922374665737152,
-0.2681741416454315,
-0.09856203198432922,
-0.09799894690513611,
-0.10273385047912598,
-0.2832159101963043,
0.11159622669219971,
-0.23696142435073853,
-0.38645118474960327,
0.3440922200679779,
0.4148676097393036,
-0.1306282877922058,
0.260244756937027,
-0.13675160706043243,
0.17210277915000916,
-0.05933249741792679,
-0.26997554302215576,
-0.043566036969423294,
-0.12525275349617004,
-0.12579403817653656,
-0.084401935338974,
0.012107662856578827,
0.03733793646097183,
0.16379740834236145,
-0.29501888155937195,
0.36025089025497437,
-0.17481999099254608,
0.7085207104682922,
0.05469699576497078,
-0.08321923017501831,
-0.12737920880317688,
-0.5596510767936707,
0.01133117824792862,
0.0413069874048233,
0.3711182475090027,
0.18368786573410034,
0.2382621467113495,
0.3910103440284729,
-0.30797329545021057,
0.09752443432807922,
0.06286664307117462,
0.32143065333366394,
-0.019351771101355553,
0.7334331274032593,
-0.1669425517320633,
-0.24656987190246582,
-0.2655656039714813,
0.3216528296470642,
0.03262097015976906,
-0.46233034133911133,
0.19766761362552643,
0.0064533669501543045,
-0.30596277117729187,
-0.10309480130672455,
0.23555214703083038,
0.281893253326416,
0.01150144636631012,
-0.3024430274963379,
0.006057575345039368,
-0.3865136504173279,
0.42251354455947876,
-0.13884885609149933,
0.24326403439044952,
-0.03661605715751648,
-0.4012186825275421,
-0.037431750446558,
0.33536025881767273,
-0.10497825592756271,
0.35959771275520325,
-0.11377076804637909,
0.0796487033367157,
-0.16024309396743774,
-0.045914411544799805,
0.04980330541729927,
-0.30033743381500244,
-0.08745122700929642,
0.2291770875453949,
0.1241423636674881,
-0.0989673063158989,
-0.17979788780212402,
0.17817246913909912,
-0.0540412962436676,
-0.05909053981304169,
0.050346605479717255,
-0.4137822985649109,
-0.09276068210601807,
-0.2805045247077942,
-0.17335744202136993,
-0.2545132637023926,
0.305020272731781,
-0.26176485419273376,
-0.12813037633895874,
-0.16997599601745605,
-0.12822401523590088,
0.15675896406173706,
0.14404767751693726,
0.28881633281707764,
0.0827176421880722,
-0.04548165947198868,
0.23633210361003876,
-0.3123507797718048,
-0.213664248585701,
0.29701918363571167,
0.4324501156806946,
0.20685485005378723,
0.10901323705911636,
0.35136377811431885,
-0.10136912763118744,
-0.19904783368110657,
-0.16252939403057098,
0.1372929811477661,
-0.06279721856117249,
-0.09207586944103241,
0.26274165511131287,
0.016900332644581795,
-0.10337270796298981,
-0.20439253747463226,
-0.12128061056137085,
-0.47361084818840027,
-0.4672917425632477,
0.014250397682189941,
0.05978282168507576,
0.27344194054603577,
-0.2132897824048996,
-0.027308743447065353,
-0.21142804622650146,
0.12402897328138351,
0.0010522750671952963,
0.3375551104545593,
0.05980641767382622,
-0.12982264161109924,
0.000645151361823082,
-0.025792807340621948,
0.5211466550827026,
0.2667185068130493,
-0.3445765972137451,
-0.02376638911664486,
0.4986928403377533,
0.380613774061203,
0.0009742081165313721,
0.10937809944152832,
-0.19614651799201965,
0.22603312134742737,
0.23553869128227234,
0.18194568157196045,
0.19379019737243652,
0.588027834892273,
0.31571099162101746,
-0.08744979649782181,
-0.11103890836238861,
0.03681906312704086,
-0.14954206347465515,
0.031190764158964157,
0.04409037530422211,
0.07463229447603226,
-0.053097471594810486,
0.008255135267972946,
-0.38447701930999756,
0.020522121340036392,
0.04154006391763687,
0.3682135343551636,
0.030564911663532257,
-0.09381832182407379,
0.1930747926235199,
0.043801624327898026,
0.2861438989639282,
-0.22557349503040314,
0.027672601863741875,
-0.1405595988035202,
0.30027857422828674,
-0.11590440571308136,
0.2977314591407776,
0.15087376534938812,
0.0979456678032875,
0.145440474152565,
0.15473821759223938,
0.23534104228019714,
0.03877612203359604,
-0.03797853738069534,
-0.2686648666858673,
0.43101760745048523,
0.013100516051054,
-0.0810769647359848,
-0.07710140198469162,
-0.023991450667381287,
-0.12850423157215118,
0.00038722530007362366,
0.33825868368148804,
0.044658366590738297,
-0.2085217833518982,
-0.07495079934597015,
-0.3417835533618927,
-0.37791919708251953,
-0.06871359795331955,
-0.2507587671279907,
0.4585437774658203,
0.16655685007572174,
-0.12773607671260834,
-0.08843620121479034,
-0.020141683518886566,
-0.029800020158290863,
-0.3091537356376648,
0.4782450795173645,
0.396167129278183,
-0.07927494496107101,
-0.24405229091644287,
-0.2150600403547287,
-0.2994370460510254,
0.04748683422803879,
-0.08219674229621887,
0.1778804361820221,
0.21189536154270172,
0.2039848119020462,
0.04666215181350708,
0.19770748913288116,
0.34318241477012634,
0.09310504794120789,
-0.3775729238986969,
-0.04598455876111984,
-0.2014557123184204,
0.039785731583833694,
0.590576708316803,
0.062300048768520355,
0.1177545040845871,
-0.24675288796424866,
0.25140848755836487,
0.20528841018676758,
-0.14120322465896606,
0.15036046504974365,
-0.13232272863388062,
-0.22573533654212952,
0.22982458770275116,
0.5471314191818237,
-0.03827514499425888,
-0.25664034485816956,
-0.023335371166467667,
-0.17932341992855072,
0.07769463211297989,
0.14796696603298187,
-0.02773522585630417,
0.21860793232917786,
0.36639851331710815,
0.28147321939468384,
-0.4700970947742462,
0.30408740043640137,
-0.005760560743510723,
-0.09435384720563889,
-0.10129036009311676,
0.012115987949073315,
-0.1702944040298462,
-0.0032217344269156456,
0.18029826879501343,
0.3396620750427246,
-0.09550932794809341,
0.08634135127067566,
-0.22265630960464478,
-0.338166207075119,
-0.14711472392082214,
-0.0893627405166626,
0.33787018060684204,
0.35174745321273804,
0.04877571389079094,
0.15463750064373016,
0.3332779109477997,
0.8088228106498718,
0.14672137796878815,
-0.8357332348823547,
0.16065695881843567,
0.11016258597373962,
0.03416164219379425,
-0.2272118777036667,
0.32607096433639526,
-0.08112730085849762,
0.12496094405651093,
-0.1021847352385521,
0.6838568449020386,
-0.04387848824262619,
0.010233787819743156,
-0.31692343950271606,
-0.4951133131980896
] |
https://github.com/huggingface/datasets/issues/1662 | Arrow file is too large when saving vector data | Thanks for your reply @lhoestq.
I want to save original embedding for these sentences for subsequent calculations. So does arrow have a way to save in a compressed format to reduce the size of the file? | I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file? | 36 | Arrow file is too large when saving vector data
I computed the sentence embedding of each sentence of bookcorpus data using bert base and saved them to disk. I used 20M sentences and the obtained arrow file is about 59GB while the original text file is only about 1.3GB. Are there any ways to reduce the size of the arrow file?
Thanks for your reply @lhoestq.
I want to save original embedding for these sentences for subsequent calculations. So does arrow have a way to save in a compressed format to reduce the size of the file? | [
0.06726425886154175,
-0.2825363278388977,
-0.06414581835269928,
0.40237414836883545,
0.08083538711071014,
-0.053776949644088745,
-0.2692086100578308,
0.4793398976325989,
-0.5607515573501587,
0.33150070905685425,
0.10898467153310776,
0.13407444953918457,
-0.1180465891957283,
-0.2116093635559082,
0.04858507215976715,
-0.0961458832025528,
0.059526845812797546,
0.43292221426963806,
0.08931827545166016,
0.013346582651138306,
0.2631240487098694,
0.3559788465499878,
0.09393170475959778,
0.006786219775676727,
-0.3308279812335968,
-0.1569066047668457,
-0.14612576365470886,
0.010834954679012299,
-0.19759443402290344,
-0.24368183314800262,
-0.11174945533275604,
-0.1628139615058899,
0.36647555232048035,
0.29979631304740906,
-0.00012824336590711027,
-0.15534041821956635,
0.0799880102276802,
-0.1324874311685562,
-0.1543598175048828,
0.35063838958740234,
0.0955120399594307,
-0.5090041756629944,
0.0873982384800911,
-0.30858707427978516,
0.17374292016029358,
-0.402608186006546,
-0.10413500666618347,
-0.26268598437309265,
0.6798271536827087,
-0.040570810437202454,
0.0581340417265892,
-0.18769121170043945,
0.045243214815855026,
0.23618455231189728,
0.19475409388542175,
-0.07821328938007355,
-0.11307491362094879,
0.19380031526088715,
0.35747435688972473,
0.36292901635169983,
-0.10653143376111984,
0.2919211685657501,
0.19148756563663483,
-0.2800031006336212,
0.22275924682617188,
-0.22580373287200928,
0.44734621047973633,
0.0007930994033813477,
0.22543200850486755,
0.3514629304409027,
0.5140764117240906,
-0.17594724893569946,
-0.060362040996551514,
0.06379296630620956,
0.4757857918739319,
-0.210997074842453,
0.0174836665391922,
0.28644973039627075,
-0.026595130562782288,
0.05798780918121338,
0.04277022182941437,
-0.663264274597168,
-0.3350246250629425,
-0.012955993413925171,
0.1566057652235031,
-0.23248043656349182,
-0.24347689747810364,
-0.22689101099967957,
0.3395012617111206,
-0.23924730718135834,
0.029350794851779938,
-0.06886201351881027,
-0.18805424869060516,
-0.030901607125997543,
-0.1763370782136917,
-0.25962066650390625,
-0.774530291557312,
-0.17861643433570862,
-0.07960429787635803,
-0.23447604477405548,
0.6635530591011047,
-0.07210008054971695,
0.16422292590141296,
-0.007216349244117737,
0.17663225531578064,
0.3590497672557831,
0.014003254473209381,
0.20104719698429108,
0.07120213657617569,
0.0396764874458313,
0.017117895185947418,
-0.16180697083473206,
-0.5301876664161682,
-0.03966280817985535,
0.19442056119441986,
-0.3796879053115845,
-0.32801955938339233,
-0.03121054917573929,
0.31874987483024597,
0.1300547569990158,
-0.33570584654808044,
0.22888390719890594,
0.02956688031554222,
0.04923609644174576,
0.10427844524383545,
0.31264153122901917,
-0.020885318517684937,
0.04031747207045555,
0.05444164574146271,
0.0019847117364406586,
0.03942931815981865,
-0.1343962550163269,
-0.07810353487730026,
0.02593989111483097,
-0.02751104161143303,
-0.21902531385421753,
0.26047730445861816,
-0.35336366295814514,
-0.007757142186164856,
-0.29648929834365845,
0.040807634592056274,
-0.25859639048576355,
0.20160523056983948,
-0.030253347009420395,
0.0025416389107704163,
0.07522886246442795,
-0.301401823759079,
0.1610337197780609,
-0.12456009536981583,
0.3366653025150299,
-0.4297146797180176,
-0.16500116884708405,
-0.3299647271633148,
-0.017997726798057556,
-0.10477226972579956,
0.17425160109996796,
0.0003863871097564697,
0.12559399008750916,
0.22573307156562805,
-0.1661267876625061,
0.09931429475545883,
-0.1296687126159668,
0.04940791055560112,
-0.23124192655086517,
0.24329876899719238,
-0.0923738181591034,
-0.6731775403022766,
-0.08575792610645294,
-0.27774882316589355,
0.1920730173587799,
0.14007343351840973,
0.6400216817855835,
-0.07441751658916473,
-0.03220169246196747,
0.07835802435874939,
0.35849708318710327,
0.3260306715965271,
0.06675368547439575,
-0.4791611135005951,
0.17747287452220917,
0.22463776171207428,
-0.07861766964197159,
0.10379790514707565,
0.2265956997871399,
0.14926664531230927,
-0.06044401973485947,
-0.22856703400611877,
0.09389787912368774,
0.15773853659629822,
0.03992364555597305,
-0.1941213458776474,
-0.347995400428772,
-0.1874043047428131,
-0.1616000384092331,
-0.37043824791908264,
-0.5568656325340271,
-0.057317860424518585,
0.09939083456993103,
0.2825314700603485,
-0.22716060280799866,
0.22523032128810883,
0.4774550199508667,
0.14139507710933685,
-0.07607102394104004,
0.3271080255508423,
0.14161798357963562,
-0.0021057724952697754,
-0.12576299905776978,
-0.3621920943260193,
-0.5235084295272827,
-0.17561380565166473,
-0.19057273864746094,
0.029315534979104996,
-0.12132618576288223,
0.09392544627189636,
0.15421420335769653,
-0.0850110650062561,
-0.4176620841026306,
-0.16658815741539001,
-0.1945740133523941,
-0.12121807038784027,
-0.1485399454832077,
-0.1625646948814392,
0.04357549548149109,
-0.009354490786790848,
-0.09294389188289642,
0.03508741036057472,
-0.261832594871521,
0.16857580840587616,
0.049346864223480225,
-0.2110937535762787,
0.03348549082875252,
-0.22191327810287476,
0.16857723891735077,
-0.11883972585201263,
0.47821319103240967,
0.07668861001729965,
-0.1507985144853592,
0.023645473644137383,
-0.5871309638023376,
0.5806175470352173,
0.10161985456943512,
0.16395415365695953,
0.13858911395072937,
-0.40029364824295044,
-0.23578856885433197,
0.1655122935771942,
0.0865475982427597,
0.11558432877063751,
-0.20473161339759827,
-0.15760624408721924,
0.029994037002325058,
-0.19122469425201416,
-0.20662619173526764,
0.011387456208467484,
0.2525854706764221,
0.30431029200553894,
0.29301542043685913,
0.13266026973724365,
-0.23424389958381653,
0.3456522524356842,
0.012760065495967865,
0.13843435049057007,
0.506828784942627,
-0.5909455418586731,
-0.30254441499710083,
-0.0011268332600593567,
-0.11281843483448029,
-0.09761154651641846,
0.1313309669494629,
0.06983260810375214,
-0.16972972452640533,
0.5162377953529358,
-0.003106512129306793,
0.3938286602497101,
0.2708300054073334,
0.5881364345550537,
0.24821558594703674,
0.013091947883367538,
0.12249964475631714,
-0.16838404536247253,
0.20596225559711456,
-0.12365729361772537,
-0.11462008953094482,
-0.13433042168617249,
0.14225049316883087,
-0.3604361116886139,
-0.1974015235900879,
-0.18861731886863708,
0.08232729136943817,
-0.03273693099617958,
0.05082999914884567,
0.2275569587945938,
-0.26261264085769653,
-0.09504849463701248,
-0.17463839054107666,
0.15078003704547882,
0.3636558949947357,
0.1913491189479828,
-0.01633559726178646,
0.20368289947509766,
-0.05911977216601372,
-0.11443696171045303,
0.013647623360157013,
-0.06459499895572662,
-0.13140657544136047,
0.042002785950899124,
0.04265932738780975,
0.10853663831949234,
-0.14222265779972076,
-0.144523024559021,
0.08462786674499512,
0.008274544030427933,
-0.24990788102149963,
-0.12913161516189575,
0.0014613792300224304,
-0.7448286414146423,
0.12197189033031464,
-0.27115359902381897,
-0.10417277365922928,
-0.21878905594348907,
0.07208559662103653,
-0.14981336891651154,
-0.05173075571656227,
0.14375481009483337,
-0.11570664495229721,
-0.02839227207005024,
-0.1755824089050293,
0.2919780910015106,
0.03404363617300987,
0.130258247256279,
-0.07112310081720352,
0.37432971596717834,
0.24521875381469727,
-0.0035656956024467945,
-0.018909115344285965,
0.21679650247097015,
-0.3478160500526428,
0.485347718000412,
-0.02477399632334709,
-0.22983263432979584,
0.000007595866918563843,
0.03391151875257492,
0.07554011046886444,
0.1155661791563034,
-0.24314697086811066,
0.23637701570987701,
-0.10750694572925568,
-0.272566020488739,
-0.30930376052856445,
0.17897890508174896,
0.12444518506526947,
-0.05832799896597862,
-0.11500360071659088,
0.07736671715974808,
0.11024457216262817,
0.3835189640522003,
0.48833271861076355,
0.5294554829597473,
-0.13332045078277588,
-0.24173098802566528,
0.04226677492260933,
0.3603092432022095,
0.6346899271011353,
0.12090328335762024,
0.14449721574783325,
0.28172722458839417,
0.19290746748447418,
0.03919936716556549,
0.458518385887146,
-0.10666238516569138,
0.05483928322792053,
0.16236606240272522,
0.2848106622695923,
0.469165563583374,
0.1828642338514328,
0.44998812675476074,
-0.5186032056808472,
-0.036742400377988815,
-0.18537156283855438,
0.4856635332107544,
-0.3974142372608185,
0.3809383809566498,
-0.19534526765346527,
-0.29944145679473877,
0.08462956547737122,
-0.2304922342300415,
0.007098717615008354,
-0.09645235538482666,
0.26053351163864136,
0.04517368599772453,
0.26620304584503174,
-0.14173349738121033,
-0.48900556564331055,
0.1582089066505432,
0.13105788826942444,
-0.2440657615661621,
0.19716711342334747,
0.047417476773262024,
0.15484553575515747,
-0.020117023959755898,
-0.041403621435165405,
0.1315920650959015,
-0.39448976516723633,
-0.08632640540599823,
0.18395908176898956,
-0.43353864550590515,
0.29604750871658325,
-0.06947031617164612,
-0.01648835465312004,
0.02420477196574211,
0.1298883706331253,
-0.12807461619377136,
-0.08045723289251328,
-0.03567679226398468,
0.4960733950138092,
-0.24249619245529175,
0.018064480274915695,
-0.04894275963306427,
0.10101168602705002,
-0.43817123770713806,
-0.08984770625829697,
0.10292831808328629,
0.048928286880254745,
0.302579790353775,
-0.4152066111564636,
-0.09375201910734177,
-0.28964051604270935,
0.03326823562383652,
0.03675362095236778,
0.6221729516983032,
-0.3188769221305847,
-0.04183697700500488,
0.09824078530073166,
0.12287507951259613,
0.23508884012699127,
0.17149952054023743,
0.1339370757341385,
-0.21763861179351807,
0.0213349349796772,
-0.14922894537448883,
0.43139415979385376,
0.25979211926460266,
-0.23778009414672852,
-0.05893438309431076,
0.10891282558441162,
0.07413305342197418,
0.17574891448020935,
-0.16561155021190643,
0.08665496855974197,
0.18175990879535675,
-0.1917169690132141,
0.23767411708831787,
-0.006408281624317169,
0.22625306248664856,
0.12447686493396759,
0.14281553030014038,
0.3252813220024109,
0.07124003767967224,
0.40242141485214233,
0.31040769815444946,
1.0934176445007324,
-0.12878237664699554,
0.28784528374671936,
-0.1855243444442749,
-0.03148222342133522,
0.167728990316391,
-0.07758186757564545,
0.2207028865814209,
-0.05072478950023651,
0.13509133458137512,
0.048908136785030365,
-0.01100248470902443,
0.037684667855501175,
0.0935288742184639,
-0.40082284808158875,
0.1416652500629425,
-0.24950793385505676,
-0.3455016314983368,
-0.28023847937583923,
0.2644974887371063,
-0.011948555707931519,
-0.3063172698020935,
-0.16144408285617828,
-0.05568455159664154,
0.032553669065237045,
-0.16075339913368225,
0.09738418459892273,
-0.04657399654388428,
-0.2276339828968048,
-0.07407832145690918,
-0.053950969129800797,
0.03793793171644211,
-0.21119125187397003,
0.10524682700634003,
-0.20010975003242493,
-0.5033581256866455,
0.32862013578414917,
0.38601404428482056,
-0.1774037629365921,
0.15047535300254822,
-0.09881428629159927,
0.18095825612545013,
0.022999901324510574,
-0.26245006918907166,
-0.06340048462152481,
-0.1264544576406479,
-0.16686999797821045,
-0.11706196516752243,
0.12839123606681824,
0.033948883414268494,
0.0910818874835968,
-0.29947370290756226,
0.584202766418457,
-0.20785634219646454,
0.5878830552101135,
0.09705919027328491,
-0.10306397080421448,
-0.11625140905380249,
-0.5892646908760071,
-0.009627163410186768,
0.03824178874492645,
0.356550931930542,
0.18283900618553162,
0.1842283308506012,
0.4391723871231079,
-0.16127297282218933,
0.13051292300224304,
0.07401198148727417,
0.3857980966567993,
-0.012079210951924324,
0.7654309272766113,
-0.19273726642131805,
-0.16421058773994446,
-0.26334309577941895,
0.2644883096218109,
-0.08467189967632294,
-0.47236889600753784,
0.34654760360717773,
-0.06001141294836998,
-0.24791690707206726,
-0.0745704248547554,
0.20442157983779907,
0.2302245795726776,
0.08355601131916046,
-0.4369382858276367,
0.0162835493683815,
-0.46468472480773926,
0.3239000737667084,
-0.12005817890167236,
0.2729876935482025,
-0.004106547683477402,
-0.31419703364372253,
-0.018617801368236542,
0.33331966400146484,
-0.1124105304479599,
0.32767969369888306,
0.008406886830925941,
0.07496266067028046,
-0.1830725073814392,
0.04973132535815239,
0.10535372048616409,
-0.259788453578949,
-0.08919849246740341,
0.3804855942726135,
0.1472000777721405,
-0.10427164286375046,
-0.19402441382408142,
0.1854444146156311,
-0.10577782243490219,
-0.03358966112136841,
0.029096350073814392,
-0.31541311740875244,
-0.10444587469100952,
-0.21838350594043732,
-0.19828592240810394,
-0.28354281187057495,
0.29155945777893066,
-0.3141530156135559,
-0.0030921734869480133,
-0.20737570524215698,
-0.1813284158706665,
0.11567863821983337,
0.12847544252872467,
0.30494946241378784,
0.03716694936156273,
0.06126442551612854,
0.1911236196756363,
-0.3139713406562805,
-0.30120542645454407,
0.17603419721126556,
0.4389141798019409,
0.09999016672372818,
0.11993283778429031,
0.25177159905433655,
-0.20747114717960358,
-0.24156638979911804,
-0.1788192093372345,
0.18899764120578766,
-0.06644393503665924,
-0.06809963285923004,
0.211832195520401,
-0.017542662099003792,
-0.1619877964258194,
-0.1544407457113266,
-0.2356281876564026,
-0.40703845024108887,
-0.5107870101928711,
-0.05058816820383072,
0.09153087437152863,
0.24923038482666016,
-0.20556990802288055,
-0.02257429249584675,
-0.3179936707019806,
0.11004184931516647,
0.10956834256649017,
0.3319498896598816,
0.2289372831583023,
-0.09584648907184601,
0.04984720051288605,
-0.08748963475227356,
0.5122188329696655,
-0.01793232560157776,
-0.33620646595954895,
-0.04266992211341858,
0.6188861727714539,
0.3766668438911438,
0.05902048200368881,
0.10076268017292023,
-0.13439349830150604,
0.1774662435054779,
0.21420380473136902,
0.2379976212978363,
0.2395050972700119,
0.6591506004333496,
0.3992857336997986,
-0.08307421207427979,
-0.15819044411182404,
0.19431284070014954,
-0.12055549770593643,
-0.038282137364149094,
0.043295010924339294,
0.09451059252023697,
0.010962128639221191,
0.034207869321107864,
-0.31813478469848633,
0.08442264795303345,
0.04973267391324043,
0.40670233964920044,
0.12382429838180542,
0.028505569323897362,
0.1804177463054657,
0.05697499215602875,
0.3310379683971405,
-0.20362626016139984,
0.083132803440094,
-0.10413560271263123,
0.2797207832336426,
-0.1739208996295929,
0.3154948055744171,
0.1687634140253067,
-0.007606737315654755,
0.19977204501628876,
0.18973630666732788,
0.2928086519241333,
0.025732429698109627,
0.1126205325126648,
-0.23407229781150818,
0.5015302300453186,
-0.11012144386768341,
-0.03845486789941788,
-0.045174792408943176,
-0.020372426137328148,
-0.08145754039287567,
-0.01597139611840248,
0.19812661409378052,
0.028814420104026794,
-0.1625748872756958,
0.06185693293809891,
-0.25498270988464355,
-0.3699814975261688,
-0.11744237691164017,
-0.1436951458454132,
0.443327397108078,
0.19816705584526062,
-0.15358489751815796,
-0.17861700057983398,
0.004129187203943729,
-0.02252240851521492,
-0.26838117837905884,
0.5162473917007446,
0.2965548038482666,
-0.205162912607193,
-0.07711079716682434,
-0.2799365520477295,
-0.20560358464717865,
0.027926743030548096,
-0.127735897898674,
0.13986213505268097,
0.21906422078609467,
0.23992390930652618,
0.05450451746582985,
0.27731984853744507,
0.3435633182525635,
0.09854912757873535,
-0.30653131008148193,
-0.058288902044296265,
-0.19809839129447937,
0.04256463795900345,
0.6677460074424744,
0.1645655333995819,
0.14258846640586853,
-0.25012439489364624,
0.18922927975654602,
0.2020077407360077,
-0.16479474306106567,
0.12942875921726227,
-0.1772541105747223,
-0.12512795627117157,
0.1388525813817978,
0.5862323045730591,
-0.11961515247821808,
-0.3609252870082855,
-0.12061350792646408,
-0.16352000832557678,
0.18638955056667328,
0.20665806531906128,
-0.015958890318870544,
0.1790754497051239,
0.4032120406627655,
0.23696914315223694,
-0.3983575999736786,
0.24443763494491577,
0.006342047359794378,
-0.10690559446811676,
-0.1695091426372528,
-0.08912330865859985,
-0.04455427825450897,
-0.04497101902961731,
0.12375270575284958,
0.2627575397491455,
0.051375072449445724,
0.11326148360967636,
-0.29341092705726624,
-0.3352188467979431,
-0.2135392725467682,
-0.10423353314399719,
0.2608755826950073,
0.3320406377315521,
0.10468152165412903,
0.21160806715488434,
0.2618842124938965,
0.754118800163269,
0.12688583135604858,
-0.7142347693443298,
0.22707855701446533,
0.16794565320014954,
0.03547622635960579,
-0.13942362368106842,
0.24233299493789673,
-0.09895525872707367,
0.18499422073364258,
-0.10645391047000885,
0.6509243249893188,
-0.0033635348081588745,
-0.0971023440361023,
-0.45381009578704834,
-0.4735897183418274
] |
https://github.com/huggingface/datasets/issues/1647 | NarrativeQA fails to load with `load_dataset` | Hi @eric-mitchell,
I think the issue might be that this dataset was added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.
For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:
`pip install git+https://github.com/huggingface/datasets.git@master` | When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at
https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/narrativeqa/narrativeqa.py or
https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/narrativeqa/narrativeqa.py
Workaround: manually copy the `narrativeqa.py` builder into my local directory with
curl https://raw.githubusercontent.com/huggingface/datasets/master/datasets/narrativeqa/narrativeqa.py -o narrativeqa.py
and load the dataset as `load_dataset('narrativeqa.py')` everything works fine. I'm on datasets v1.1.3 using Python 3.6.10. | 55 | NarrativeQA fails to load with `load_dataset`
When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at
https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/narrativeqa/narrativeqa.py or
https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/narrativeqa/narrativeqa.py
Workaround: manually copy the `narrativeqa.py` builder into my local directory with
curl https://raw.githubusercontent.com/huggingface/datasets/master/datasets/narrativeqa/narrativeqa.py -o narrativeqa.py
and load the dataset as `load_dataset('narrativeqa.py')` everything works fine. I'm on datasets v1.1.3 using Python 3.6.10.
Hi @eric-mitchell,
I think the issue might be that this dataset was added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.
For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:
`pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.2821936309337616,
0.10543785989284515,
0.03263707086443901,
0.24390901625156403,
0.19000644981861115,
0.17991870641708374,
0.13334022462368011,
0.04128905385732651,
-0.1444731503725052,
0.04415263235569,
-0.014136459678411484,
-0.07569556683301926,
-0.06875252723693848,
0.3853093981742859,
0.08387624472379684,
-0.17096146941184998,
0.044292058795690536,
0.016357891261577606,
0.04713267832994461,
0.09969344735145569,
-0.22753304243087769,
0.6004678010940552,
-0.30601829290390015,
0.02046801894903183,
-0.31629177927970886,
-0.021489689126610756,
-0.16066329181194305,
0.3630978465080261,
-0.18690720200538635,
-0.3998725712299347,
0.6071943044662476,
-0.07123109698295593,
0.223235622048378,
0.5504921674728394,
-0.00011022001126548275,
0.06081557273864746,
0.41069161891937256,
-0.14009623229503632,
-0.28482985496520996,
-0.5453552603721619,
0.2669923007488251,
-0.21122989058494568,
0.21293498575687408,
0.13926827907562256,
-0.16716834902763367,
-0.3874751031398773,
0.20789338648319244,
-0.057246070355176926,
0.32172584533691406,
0.08583502471446991,
0.1936790496110916,
0.33496713638305664,
0.21892733871936798,
-0.18601840734481812,
-0.10067269951105118,
0.42172473669052124,
-0.28788915276527405,
0.5078806281089783,
0.30554884672164917,
-0.4217512607574463,
0.12467493116855621,
0.19895422458648682,
-0.03144018352031708,
-0.005937786772847176,
0.37512996792793274,
-0.0012229448184370995,
0.050107114017009735,
-0.28763651847839355,
0.10676493495702744,
0.36261728405952454,
0.6540015339851379,
-0.37356823682785034,
-0.5450147986412048,
-0.1833542436361313,
0.1010364294052124,
-0.08469673246145248,
0.24124208092689514,
0.2746928036212921,
-0.23947124183177948,
0.13927000761032104,
-0.15002503991127014,
-0.11605927348136902,
-0.1332201510667801,
0.22484025359153748,
-0.10420775413513184,
-0.16514775156974792,
-0.286508172750473,
0.03562386333942413,
0.034837473183870316,
-0.22215057909488678,
-0.15960019826889038,
0.12802328169345856,
-0.22682231664657593,
0.2955130338668823,
-0.2854915261268616,
0.10194885730743408,
0.015547260642051697,
0.22542670369148254,
0.16592392325401306,
-0.21292132139205933,
0.0281510166823864,
-0.04905887693166733,
-0.07644296437501907,
0.15991124510765076,
0.24911567568778992,
0.1045943945646286,
0.32804277539253235,
0.016672708094120026,
0.002523701637983322,
0.45323628187179565,
-0.06477192789316177,
-0.22193261981010437,
-0.0902572050690651,
-0.14600001275539398,
-0.45282432436943054,
-0.2933596670627594,
0.47186529636383057,
-0.3032584488391876,
-0.3878256380558014,
-0.10834435373544693,
-0.18742135167121887,
0.03749489784240723,
0.07710675150156021,
0.49810537695884705,
0.012154449708759785,
0.1539299488067627,
0.01557467132806778,
0.30061590671539307,
-0.25794926285743713,
0.10185942053794861,
-0.2480657398700714,
0.005652707070112228,
-0.03198578208684921,
0.13716597855091095,
0.2997521162033081,
-0.3352165222167969,
0.39408212900161743,
-0.028887901455163956,
-0.06164664030075073,
0.15280352532863617,
-0.006292595528066158,
0.09569486975669861,
-0.20000162720680237,
0.2249584197998047,
-0.12317407131195068,
0.030555179342627525,
0.25137248635292053,
-0.003910716623067856,
-0.06306922435760498,
-0.060995377600193024,
-0.14913108944892883,
-0.2974407970905304,
-0.039886556565761566,
0.14900368452072144,
-0.10698908567428589,
-0.2064625769853592,
-0.07543674856424332,
0.18058794736862183,
0.012837886810302734,
-0.12774424254894257,
-0.08843075484037399,
0.06612143665552139,
-0.004902802407741547,
-0.09034945070743561,
0.20247089862823486,
0.6703976392745972,
-0.2659666836261749,
-0.3223660886287689,
0.0665733814239502,
-0.2062625139951706,
-0.0020021572709083557,
0.20517809689044952,
-0.2598894536495209,
0.0763845443725586,
-0.20339088141918182,
-0.13997367024421692,
0.059409961104393005,
-0.4468630254268646,
-0.21692845225334167,
0.24210350215435028,
-0.055258989334106445,
0.40913790464401245,
0.02521096169948578,
-0.052910953760147095,
-0.08843447268009186,
-0.19379021227359772,
0.11791025102138519,
0.24772199988365173,
0.041410382837057114,
-0.18074724078178406,
-0.07693798094987869,
-0.17321111261844635,
0.1643526703119278,
0.2965083718299866,
-0.25609105825424194,
0.07532331347465515,
0.14433717727661133,
-0.18223431706428528,
0.19343514740467072,
-0.023951616138219833,
-0.07918505370616913,
0.29232150316238403,
0.20212723314762115,
0.12441234290599823,
0.0860619992017746,
0.19877204298973083,
-0.5315409898757935,
0.2751486301422119,
-0.2863558828830719,
-0.034983545541763306,
-0.19519232213497162,
-0.07629168033599854,
-0.10199326276779175,
0.07273673266172409,
-0.34768062829971313,
-0.3338475227355957,
0.0303022600710392,
0.22317278385162354,
0.051064711064100266,
0.10070861876010895,
-0.3703855276107788,
0.36477503180503845,
-0.21497100591659546,
0.17424635589122772,
-0.5457677841186523,
0.019850729033350945,
0.05909401923418045,
-0.10951971262693405,
0.12249654531478882,
0.24372750520706177,
0.05300087854266167,
-0.24648027122020721,
0.0897158831357956,
0.41008076071739197,
-0.26978421211242676,
0.4130956530570984,
0.05338964983820915,
0.002412259578704834,
0.18783755600452423,
-0.3031235933303833,
0.14049580693244934,
-0.053918201476335526,
0.04285407438874245,
0.009165063500404358,
-0.09333907812833786,
0.2232494056224823,
-0.14762337505817413,
0.36390992999076843,
0.03492850810289383,
0.1885385811328888,
0.22452104091644287,
0.083919957280159,
-0.20382502675056458,
-0.23475350439548492,
0.43418213725090027,
-0.1314283311367035,
0.3960679769515991,
-0.09287258982658386,
-0.3104824721813202,
0.0197390615940094,
0.13951784372329712,
0.10801421105861664,
-0.06247442215681076,
0.06291396915912628,
-0.34001514315605164,
0.1228984072804451,
0.08733759820461273,
-0.14928202331066132,
0.4034078121185303,
0.128538116812706,
-0.08788393437862396,
0.12766730785369873,
-0.015185457654297352,
-0.3860321640968323,
0.17122025787830353,
0.03589067980647087,
-0.28869807720184326,
0.030272407457232475,
0.09782328456640244,
0.018704243004322052,
-0.3614238202571869,
0.12839634716510773,
-0.01218502689152956,
0.08790935575962067,
-0.29804515838623047,
0.2551461458206177,
-0.07762714475393295,
-0.3964500427246094,
-0.1199687272310257,
-0.4994731545448303,
-0.298344224691391,
-0.225864976644516,
-0.13542404770851135,
0.11348578333854675,
-0.026937255635857582,
0.20174872875213623,
0.3073233664035797,
0.06790688633918762,
-0.23411782085895538,
-0.19066619873046875,
-0.07233226299285889,
-0.23395909368991852,
-0.1884652078151703,
0.0955381989479065,
0.2967677414417267,
-0.11695548892021179,
0.2403818517923355,
-0.3985350430011749,
0.001997360959649086,
-0.2876363694667816,
-0.2706886827945709,
0.10073985159397125,
-0.2863255739212036,
0.4284828305244446,
0.012971825897693634,
0.22014619410037994,
-0.08363185822963715,
0.023073554039001465,
0.43985849618911743,
-0.022172626107931137,
-0.1318078190088272,
0.17797020077705383,
-0.1867462545633316,
-0.13512170314788818,
-0.1410120576620102,
-0.19607102870941162,
-0.3078117370605469,
-0.4054514169692993,
0.32663631439208984,
0.05240857973694801,
-0.13964258134365082,
0.6374399065971375,
-0.004918226506561041,
0.11098206043243408,
-0.4007159471511841,
0.06911682337522507,
-0.03324556350708008,
-0.5922856330871582,
0.23850668966770172,
-0.3008897006511688,
-0.28147193789482117,
0.3023083806037903,
0.1887841820716858,
0.152756929397583,
0.21652309596538544,
-0.41294384002685547,
-0.18287591636180878,
0.02089856192469597,
0.05962330475449562,
0.12382429093122482,
0.11983687430620193,
0.26800966262817383,
-0.16891559958457947,
0.05834198743104935,
0.004957687109708786,
-0.16306211054325104,
0.05730551481246948,
-0.09543121606111526,
0.29945021867752075,
-0.15536987781524658,
0.43280506134033203,
-0.09932088851928711,
0.515215277671814,
0.4010256230831146,
0.08935140818357468,
0.46762940287590027,
-0.05746089667081833,
0.5533750653266907,
-0.1913195550441742,
-0.3868478834629059,
0.1434224247932434,
0.008641064167022705,
0.2190762758255005,
0.25480103492736816,
0.10880014300346375,
0.22400450706481934,
-0.28822165727615356,
-0.23322391510009766,
-0.17902454733848572,
-0.10511739552021027,
-0.088564433157444,
-0.22266417741775513,
0.5598247051239014,
0.04229596629738808,
0.18394923210144043,
0.11729484796524048,
-0.17119744420051575,
0.07926997542381287,
0.40475958585739136,
0.3063110113143921,
0.1532226800918579,
0.08551953732967377,
-0.02055012434720993,
-0.5750070214271545,
0.20024104416370392,
-0.10059804469347,
0.2336290031671524,
-0.14937439560890198,
-0.09454769641160965,
0.07582419365644455,
-0.05332992225885391,
0.5612582564353943,
0.1697455644607544,
-0.22686611115932465,
0.0816909521818161,
-0.0993022620677948,
-0.7485920190811157,
-0.0011168569326400757,
0.0711871087551117,
0.5246645212173462,
-0.2983528971672058,
0.4550994634628296,
-0.32507357001304626,
-0.1037764847278595,
-0.004916179925203323,
0.28011569380760193,
-0.028797831386327744,
-0.2050735354423523,
-0.41593247652053833,
-0.15266412496566772,
-0.3211810886859894,
-0.13928312063217163,
-0.2078927606344223,
0.2848508059978485,
0.05002707242965698,
0.10920095443725586,
-0.02337796799838543,
-0.08250842988491058,
0.19941076636314392,
0.19007857143878937,
0.3466506898403168,
-0.11188426613807678,
0.31907919049263,
0.3728342056274414,
0.1810118854045868,
0.18777655065059662,
0.7771449685096741,
0.15043267607688904,
-0.6387345790863037,
-0.12013951689004898,
0.1999840885400772,
0.15083575248718262,
0.2416081726551056,
-0.035748664289712906,
0.006625093519687653,
0.13594865798950195,
-0.1526327282190323,
-0.3339592516422272,
-0.030099980533123016,
0.2143164575099945,
-0.07884771376848221,
-0.2795949876308441,
-0.1993095427751541,
0.553547203540802,
-0.14648215472698212,
0.22645513713359833,
0.15385162830352783,
0.1967410147190094,
-0.07328086346387863,
0.0016759131103754044,
-0.1573602855205536,
0.6390525698661804,
-0.04031350463628769,
0.1748255491256714,
0.36791497468948364,
0.15314379334449768,
0.27591755986213684,
-0.017313500866293907,
0.025616329163312912,
-0.3230862021446228,
0.23385804891586304,
-0.05831947177648544,
-0.15537729859352112,
0.25953149795532227,
0.025621188804507256,
-0.1812218874692917,
0.346408873796463,
-0.03828694298863411,
0.23962096869945526,
0.03479630500078201,
0.12209351360797882,
-0.27810347080230713,
-0.2770841419696808,
-0.470225065946579,
0.12313966453075409,
0.0421367771923542,
0.3807179629802704,
-0.23014503717422485,
-0.06410938501358032,
0.00695459172129631,
-0.06810986995697021,
-0.15493372082710266,
0.10490541905164719,
-0.4039306938648224,
-0.03937453031539917,
0.41028180718421936,
-0.4239172339439392,
0.13260334730148315,
0.3218354284763336,
0.2966058552265167,
-0.15431325137615204,
-0.44615739583969116,
0.25387752056121826,
-0.3292991816997528,
-0.40462401509284973,
0.08336403965950012,
-0.06100879982113838,
0.16300563514232635,
-0.0150954220443964,
0.05073196440935135,
0.12752744555473328,
-0.11748550087213516,
-0.01838941127061844,
-0.18438857793807983,
-0.00771833211183548,
-0.0675828754901886,
-0.11120133846998215,
-0.21887648105621338,
-0.18598395586013794,
0.25086110830307007,
-0.10362046957015991,
0.110048308968544,
0.24069204926490784,
-0.05878964439034462,
-0.19244208931922913,
-0.29306545853614807,
-0.1108548492193222,
-0.17387348413467407,
0.20273883640766144,
-0.3240358233451843,
0.0001264028251171112,
0.5568039417266846,
0.39613088965415955,
0.0718972384929657,
-0.07728123664855957,
-0.16106590628623962,
0.32451701164245605,
-0.4137245714664459,
0.10496966540813446,
0.5443444848060608,
0.12437407672405243,
0.11509949713945389,
0.5972669720649719,
0.008531585335731506,
-0.48862266540527344,
-0.03765321522951126,
-0.3821844756603241,
-0.40045636892318726,
0.37679094076156616,
-0.03922373428940773,
-0.0035065598785877228,
0.10438788682222366,
0.36388105154037476,
0.1484958827495575,
-0.10867369174957275,
-0.28120025992393494,
0.014461011625826359,
0.026091797277331352,
0.06659601628780365,
0.34811869263648987,
0.08312363177537918,
0.26031598448753357,
0.1296876221895218,
0.05480927973985672,
0.05856696516275406,
-0.15103308856487274,
-0.15643811225891113,
0.06369294226169586,
0.10974062234163284,
0.08390653878450394,
-0.12602806091308594,
0.030983496457338333,
-0.09641604870557785,
-0.16209109127521515,
-0.27940794825553894,
0.2913074195384979,
0.1293538510799408,
-0.0418575257062912,
0.04816495254635811,
-0.030982736498117447,
0.20610764622688293,
-0.1004876047372818,
0.1286318302154541,
-0.0037092864513397217,
0.1389215737581253,
0.06461077928543091,
-0.15889890491962433,
-0.27914243936538696,
-0.06995022296905518,
0.16894181072711945,
0.18857884407043457,
0.01884617656469345,
0.06427907198667526,
0.2225041687488556,
-0.24091796576976776,
0.08084291219711304,
0.0880453810095787,
0.11944358050823212,
0.35088345408439636,
-0.24692580103874207,
0.21672359108924866,
0.14720997214317322,
0.1262485831975937,
-0.20349085330963135,
-0.0014660817105323076,
-0.18178896605968475,
0.1471039056777954,
-0.014710836112499237,
0.06561019271612167,
0.19217465817928314,
-0.1525166630744934,
0.10163400322198868,
0.1648363471031189,
0.25515061616897583,
0.02916158363223076,
0.21118399500846863,
-0.018463153392076492,
0.08264218270778656,
0.012168023735284805,
0.10496456176042557,
0.10063202679157257,
0.2894348204135895,
0.26161545515060425,
-0.3571733832359314,
-0.03594043850898743,
-0.10557407885789871,
0.2749793529510498,
-0.05007021874189377,
-0.4363563060760498,
-0.009242840111255646,
-0.010961920022964478,
0.2346217930316925,
0.05501239001750946,
-0.23360565304756165,
0.6237165331840515,
-0.38112667202949524,
0.20543093979358673,
-0.29122111201286316,
0.07956959307193756,
-0.15037590265274048,
-0.19136644899845123,
-0.01974276639521122,
-0.16615524888038635,
0.19800344109535217,
-0.07514137029647827,
-0.18107379972934723,
-0.21116645634174347,
0.06077778711915016,
-0.0983833372592926,
-0.16947077214717865,
-0.42213761806488037,
0.12171117961406708,
0.3971256911754608,
0.055069565773010254,
-0.039987705647945404,
0.5224871039390564,
0.29199033975601196,
-0.07469125092029572,
0.26259252429008484,
0.4273854196071625,
0.5418921113014221,
0.16530659794807434,
-0.0831642746925354,
0.23541295528411865,
-0.32072246074676514,
-0.10763634741306305,
0.08704663813114166,
0.3370733857154846,
-0.14402137696743011,
0.14763140678405762,
0.21056482195854187,
0.1527605652809143,
-0.08159037679433823,
-0.07995647192001343,
-0.01379411295056343,
0.4328416585922241,
-0.3931151032447815,
0.09174525737762451,
-0.5244230031967163,
0.0656389370560646,
-0.22229355573654175,
0.1447220891714096,
-0.5138548016548157,
0.12624025344848633,
0.1807166486978531,
0.16175135970115662,
-0.1603775918483734,
-0.16510461270809174,
0.07189252972602844,
-0.04026627913117409,
0.4889541566371918,
0.5259317755699158,
0.24987715482711792,
-0.16651473939418793,
-0.3199678659439087,
-0.7123632431030273,
0.06421444565057755,
-0.06898759305477142,
0.02150542475283146,
0.01602565310895443,
0.18567389249801636,
0.14658889174461365,
0.16422879695892334,
-0.14593510329723358,
0.2376634180545807,
0.028610721230506897,
-0.2953658103942871,
-0.21879792213439941,
-0.23168085515499115,
-0.0019515380263328552,
-0.053266122937202454,
-0.06079968065023422,
0.039126038551330566,
0.08422339707612991,
-0.1931581348180771,
-0.0525391511619091,
-0.08143452554941177,
0.02314557135105133,
0.026958316564559937,
-0.33415672183036804,
0.2552151679992676,
0.03744041547179222,
-0.0859818309545517,
0.08706853538751602,
-0.28097134828567505,
-0.47227293252944946,
-0.37703320384025574,
-0.08239644020795822,
0.20438340306282043,
-0.11287002265453339,
0.48906514048576355,
-0.3747425377368927,
-0.11706504225730896,
-0.21433097124099731,
0.12863196432590485,
0.05705232918262482,
-0.0012536083813756704,
-0.13212163746356964,
0.20015443861484528,
0.009750664234161377,
-0.002339346567168832,
0.08580179512500763,
0.49583494663238525,
0.058685168623924255,
0.06483880430459976,
-0.2739211916923523,
-0.28336238861083984,
0.49153944849967957,
-0.3666217625141144,
-0.002991804853081703,
0.29700854420661926,
0.06307537853717804,
0.06212397664785385,
-0.22944971919059753,
-0.7798359394073486,
0.3636755645275116,
0.23817718029022217,
0.10487139970064163,
-0.03759235143661499,
0.07241463661193848,
0.00009088404476642609,
0.0771133154630661,
-0.1479492038488388,
0.2218928337097168,
0.19365981221199036,
0.00950208492577076,
0.27594268321990967,
0.04318653792142868
] |
https://github.com/huggingface/datasets/issues/1647 | NarrativeQA fails to load with `load_dataset` | Update: HuggingFace did an intermediate release yesterday just before the v2.0.
To load it you can just update `datasets`
`pip install --upgrade datasets` | When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at
https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/narrativeqa/narrativeqa.py or
https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/narrativeqa/narrativeqa.py
Workaround: manually copy the `narrativeqa.py` builder into my local directory with
curl https://raw.githubusercontent.com/huggingface/datasets/master/datasets/narrativeqa/narrativeqa.py -o narrativeqa.py
and load the dataset as `load_dataset('narrativeqa.py')` everything works fine. I'm on datasets v1.1.3 using Python 3.6.10. | 23 | NarrativeQA fails to load with `load_dataset`
When loading the NarrativeQA dataset with `load_dataset('narrativeqa')` as given in the documentation [here](https://huggingface.co/datasets/narrativeqa), I receive a cascade of exceptions, ending with
FileNotFoundError: Couldn't find file locally at narrativeqa/narrativeqa.py, or remotely at
https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/narrativeqa/narrativeqa.py or
https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/narrativeqa/narrativeqa.py
Workaround: manually copy the `narrativeqa.py` builder into my local directory with
curl https://raw.githubusercontent.com/huggingface/datasets/master/datasets/narrativeqa/narrativeqa.py -o narrativeqa.py
and load the dataset as `load_dataset('narrativeqa.py')` everything works fine. I'm on datasets v1.1.3 using Python 3.6.10.
Update: HuggingFace did an intermediate release yesterday just before the v2.0.
To load it you can just update `datasets`
`pip install --upgrade datasets` | [
-0.21995508670806885,
0.04800884425640106,
0.060819294303655624,
0.31242287158966064,
0.19409391283988953,
0.15179798007011414,
0.1400994062423706,
0.021162094548344612,
-0.11976534128189087,
0.0751328095793724,
0.006082003936171532,
-0.10550148785114288,
-0.028470370918512344,
0.32878366112709045,
0.1128823384642601,
-0.1749628186225891,
0.08489322662353516,
0.000028371810913085938,
-0.013289250433444977,
0.10112902522087097,
-0.2477792352437973,
0.5799873471260071,
-0.30450379848480225,
0.049542397260665894,
-0.3111802339553833,
0.040093082934617996,
-0.1827203333377838,
0.41434338688850403,
-0.13449876010417938,
-0.36187294125556946,
0.595512330532074,
-0.09017649292945862,
0.16288602352142334,
0.5966637134552002,
-0.00011595907562877983,
0.0845012366771698,
0.39324432611465454,
-0.12010802328586578,
-0.2960403561592102,
-0.56944739818573,
0.26160937547683716,
-0.198076993227005,
0.214833065867424,
0.1369701623916626,
-0.13914266228675842,
-0.3809948265552521,
0.206424281001091,
-0.015644390136003494,
0.36366409063339233,
0.031105346977710724,
0.1502898633480072,
0.35515788197517395,
0.19134412705898285,
-0.19607795774936676,
-0.12323347479104996,
0.4534870982170105,
-0.27781394124031067,
0.5499458312988281,
0.3091152608394623,
-0.43089425563812256,
0.09272115677595139,
0.16599120199680328,
-0.07540243119001389,
-0.05367632582783699,
0.397549569606781,
-0.02448268234729767,
0.03166378289461136,
-0.22009867429733276,
0.12943024933338165,
0.33377501368522644,
0.5657205581665039,
-0.376656711101532,
-0.5654231905937195,
-0.25165385007858276,
0.08289801329374313,
-0.0521908774971962,
0.3052114248275757,
0.20500440895557404,
-0.2722254991531372,
0.14637260138988495,
-0.2035997062921524,
-0.17536981403827667,
-0.12672507762908936,
0.193586066365242,
-0.11127382516860962,
-0.24348941445350647,
-0.2949475049972534,
0.04355905205011368,
0.07194556295871735,
-0.19504830241203308,
-0.16173702478408813,
0.053405746817588806,
-0.2384520173072815,
0.27822214365005493,
-0.2544953525066376,
0.11044445633888245,
0.009540911763906479,
0.2557699978351593,
0.15535518527030945,
-0.2342420071363449,
0.03596891090273857,
-0.06223750859498978,
-0.08567386120557785,
0.19389328360557556,
0.2793360948562622,
0.1482359915971756,
0.35744988918304443,
-0.025305382907390594,
-0.009560652077198029,
0.4405898451805115,
-0.06952976435422897,
-0.20829644799232483,
-0.0765141174197197,
-0.16826049983501434,
-0.45917391777038574,
-0.3255857527256012,
0.43185311555862427,
-0.30579498410224915,
-0.4052734076976776,
-0.07225394994020462,
-0.2397598922252655,
0.08622296899557114,
0.13741397857666016,
0.4865342080593109,
0.008157896809279919,
0.1582755148410797,
0.005874287337064743,
0.2865971326828003,
-0.26451489329338074,
0.08715043216943741,
-0.24189738929271698,
-0.002281026914715767,
-0.06938767433166504,
0.15701496601104736,
0.23987166583538055,
-0.3612249195575714,
0.3871786892414093,
-0.0175910834223032,
-0.04497390240430832,
0.08161112666130066,
-0.09847382456064224,
0.1081790179014206,
-0.2023356556892395,
0.21869130432605743,
-0.1624399572610855,
0.03172885626554489,
0.2772149443626404,
-0.032687775790691376,
-0.0554952472448349,
-0.06223291903734207,
-0.13774752616882324,
-0.302278071641922,
-0.010477619245648384,
0.10691358149051666,
-0.09468044340610504,
-0.16991908848285675,
-0.11256542056798935,
0.15767249464988708,
-0.013035856187343597,
-0.19913767278194427,
-0.07389847189188004,
0.07068813592195511,
0.010618124157190323,
-0.07340989261865616,
0.24542894959449768,
0.758002758026123,
-0.20567047595977783,
-0.3125587999820709,
0.07113727182149887,
-0.1893506497144699,
0.00014809519052505493,
0.2615223526954651,
-0.2317507117986679,
0.06809737533330917,
-0.25314217805862427,
-0.16076233983039856,
0.0935504138469696,
-0.4468423128128052,
-0.19557642936706543,
0.27993836998939514,
-0.05560433119535446,
0.4567221701145172,
0.05812371149659157,
-0.08012384176254272,
-0.12731000781059265,
-0.24143913388252258,
0.12309686839580536,
0.18933343887329102,
0.024409042671322823,
-0.2065173089504242,
-0.0782088190317154,
-0.15715520083904266,
0.12860746681690216,
0.2847905457019806,
-0.29356205463409424,
0.0772203877568245,
0.14565841853618622,
-0.16466909646987915,
0.13157452642917633,
-0.01659942790865898,
-0.13602100312709808,
0.2849665880203247,
0.14097332954406738,
0.13292890787124634,
0.018208468332886696,
0.20538386702537537,
-0.5579443573951721,
0.28824055194854736,
-0.25707101821899414,
-0.08205951750278473,
-0.16592390835285187,
-0.08407296985387802,
-0.07733062654733658,
0.09831488877534866,
-0.3395567238330841,
-0.3217681348323822,
-0.012640435248613358,
0.2045416384935379,
0.01943255588412285,
0.14642994105815887,
-0.3868192732334137,
0.35743939876556396,
-0.24727116525173187,
0.20671778917312622,
-0.5592113733291626,
-0.03028879314661026,
0.0747719258069992,
-0.11336281150579453,
0.03758883476257324,
0.2636694312095642,
0.09724806249141693,
-0.2482202649116516,
0.09323282539844513,
0.459362268447876,
-0.29424992203712463,
0.4402933716773987,
0.01977374032139778,
-0.03835920989513397,
0.23089583218097687,
-0.242524191737175,
0.049642112106084824,
-0.05453399196267128,
-0.009617535397410393,
0.009318217635154724,
-0.11851977556943893,
0.17284870147705078,
-0.13329187035560608,
0.4073507785797119,
0.045962922275066376,
0.18105846643447876,
0.17978280782699585,
0.06619764864444733,
-0.18184418976306915,
-0.22937126457691193,
0.49124613404273987,
-0.11801822483539581,
0.41627007722854614,
-0.0020718425512313843,
-0.3156050741672516,
-0.017534717917442322,
0.13788148760795593,
0.06923948228359222,
-0.053950801491737366,
0.07907332479953766,
-0.309674471616745,
0.122909776866436,
0.1191897988319397,
-0.14013656973838806,
0.3699493408203125,
0.09570322930812836,
-0.08479033410549164,
0.15238849818706512,
-0.050950173288583755,
-0.396806538105011,
0.20814287662506104,
0.021549534052610397,
-0.3026605546474457,
0.04898563772439957,
0.06660213321447372,
0.036916349083185196,
-0.33450472354888916,
0.0931309312582016,
-0.03840746730566025,
0.046037256717681885,
-0.337476521730423,
0.25506556034088135,
-0.10034172981977463,
-0.4144645035266876,
-0.1569959968328476,
-0.4590071141719818,
-0.322049617767334,
-0.21677885949611664,
-0.14217832684516907,
0.199844628572464,
-0.05571165680885315,
0.1832408607006073,
0.31347960233688354,
0.08836768567562103,
-0.2705674171447754,
-0.2283976823091507,
-0.10646118223667145,
-0.17799188196659088,
-0.20534095168113708,
0.02229851856827736,
0.3676595687866211,
-0.14731597900390625,
0.22599594295024872,
-0.4360032081604004,
-0.07156048715114594,
-0.25550904870033264,
-0.21752801537513733,
0.13567394018173218,
-0.2151544839143753,
0.43112409114837646,
0.04412762075662613,
0.1951388120651245,
-0.10989919304847717,
-0.005534233991056681,
0.5068660974502563,
0.04205413907766342,
-0.15800224244594574,
0.20778144896030426,
-0.12084346264600754,
-0.11335369199514389,
-0.15437838435173035,
-0.10718327015638351,
-0.23484604060649872,
-0.42260676622390747,
0.31712210178375244,
-0.045061223208904266,
-0.1161470115184784,
0.6448141932487488,
0.03878512978553772,
0.14227668941020966,
-0.4684147536754608,
0.08476798236370087,
0.009107398800551891,
-0.5962808728218079,
0.2181992381811142,
-0.23055101931095123,
-0.2328949123620987,
0.2591852843761444,
0.24474985897541046,
0.07690279185771942,
0.26772791147232056,
-0.3939250111579895,
-0.24052117764949799,
0.06837035715579987,
0.04625118896365166,
0.1119181364774704,
0.15607571601867676,
0.24833425879478455,
-0.13630852103233337,
0.07559380680322647,
0.04320720583200455,
-0.15722526609897614,
0.09813658893108368,
-0.10035073012113571,
0.31371787190437317,
-0.1538289189338684,
0.45821812748908997,
-0.10050956159830093,
0.5343387722969055,
0.4117760956287384,
0.09670616686344147,
0.4817892909049988,
-0.026452435180544853,
0.5818596482276917,
-0.2475985884666443,
-0.4075125753879547,
0.09397251158952713,
0.017918959259986877,
0.16710896790027618,
0.22580859065055847,
0.14076118171215057,
0.2846951186656952,
-0.30216726660728455,
-0.30929455161094666,
-0.18816405534744263,
-0.1235714852809906,
-0.08529157936573029,
-0.22346121072769165,
0.5553427934646606,
0.011272870004177094,
0.21709907054901123,
0.19226202368736267,
-0.12640652060508728,
0.08760499954223633,
0.43254995346069336,
0.33531177043914795,
0.1522742509841919,
0.08593200147151947,
-0.027514442801475525,
-0.5519152283668518,
0.1919885277748108,
-0.05151034891605377,
0.27280572056770325,
-0.18160714209079742,
-0.08228126168251038,
0.06500877439975739,
-0.04053958132863045,
0.6027065515518188,
0.20035606622695923,
-0.23879732191562653,
0.0110563263297081,
-0.1418333649635315,
-0.7813398838043213,
0.027684945613145828,
0.1436467170715332,
0.5761935710906982,
-0.21538643538951874,
0.47960710525512695,
-0.3531573414802551,
-0.14385820925235748,
-0.049649059772491455,
0.3080475628376007,
0.00009998306632041931,
-0.22613058984279633,
-0.42018258571624756,
-0.16256636381149292,
-0.2803272604942322,
-0.14164385199546814,
-0.19962535798549652,
0.24763722717761993,
0.09329408407211304,
0.09944756329059601,
-0.04371367394924164,
-0.09130780398845673,
0.19259309768676758,
0.18240918219089508,
0.34721964597702026,
-0.21033865213394165,
0.28969308733940125,
0.3869660496711731,
0.23201635479927063,
0.20815393328666687,
0.7227817177772522,
0.1646447777748108,
-0.591688334941864,
-0.15344256162643433,
0.26968085765838623,
0.18320465087890625,
0.28953349590301514,
-0.028701484203338623,
0.00453457236289978,
0.11956392228603363,
-0.15133841335773468,
-0.3312913179397583,
-0.0692974254488945,
0.2510879933834076,
-0.07247667759656906,
-0.27805471420288086,
-0.1971241980791092,
0.5810284614562988,
-0.17128124833106995,
0.21244080364704132,
0.17250433564186096,
0.25660616159439087,
-0.060708239674568176,
0.013822060078382492,
-0.19728264212608337,
0.6852074265480042,
-0.0016985386610031128,
0.22767381370067596,
0.3490581512451172,
0.17400318384170532,
0.3668690323829651,
0.04133027046918869,
0.05583455041050911,
-0.32590049505233765,
0.2142917513847351,
-0.06215515732765198,
-0.1550910621881485,
0.250483900308609,
0.014320801943540573,
-0.14382047951221466,
0.4169289171695709,
-0.04920104146003723,
0.2519989013671875,
0.05123224854469299,
0.058506183326244354,
-0.3035952150821686,
-0.2866881787776947,
-0.4985898733139038,
0.06551546603441238,
0.08613279461860657,
0.3852565884590149,
-0.22900065779685974,
-0.05527845025062561,
0.043406885117292404,
-0.06505908817052841,
-0.18226318061351776,
0.0976705327630043,
-0.45396164059638977,
-0.08523394167423248,
0.44535377621650696,
-0.42277389764785767,
0.13243892788887024,
0.30798691511154175,
0.27703166007995605,
-0.1352962851524353,
-0.41825059056282043,
0.1905222088098526,
-0.31069985032081604,
-0.3352683186531067,
0.10889120399951935,
-0.06736502796411514,
0.12501958012580872,
0.01808280125260353,
0.09618594497442245,
0.09507406502962112,
-0.138936385512352,
-0.025965046137571335,
-0.17204298079013824,
0.018917448818683624,
-0.11682863533496857,
-0.09131410717964172,
-0.2645077407360077,
-0.20005977153778076,
0.2647669315338135,
-0.113290935754776,
0.07373513281345367,
0.1806701421737671,
-0.04128820449113846,
-0.20207884907722473,
-0.31558433175086975,
-0.11379296332597733,
-0.15681768953800201,
0.24475136399269104,
-0.4322894215583801,
0.029142431914806366,
0.5220115184783936,
0.31197884678840637,
0.09030435979366302,
-0.03781052678823471,
-0.14198195934295654,
0.3267268240451813,
-0.4389438331127167,
0.08693432062864304,
0.4958406686782837,
0.08713783323764801,
0.08123771846294403,
0.602936327457428,
0.08884350210428238,
-0.500125527381897,
-0.029598547145724297,
-0.35013043880462646,
-0.3667311370372772,
0.39607226848602295,
0.05447027459740639,
-0.03504111245274544,
0.11302130669355392,
0.3675632178783417,
0.12757651507854462,
-0.12017656862735748,
-0.2314170002937317,
-0.0022265189327299595,
0.007011843845248222,
0.023714782670140266,
0.36082008481025696,
0.13453277945518494,
0.26971179246902466,
0.09716339409351349,
0.02589426003396511,
0.06918775290250778,
-0.12983591854572296,
-0.11089616268873215,
0.06621533632278442,
0.12978969514369965,
0.0817599892616272,
-0.1085810661315918,
0.01880292221903801,
-0.08335049450397491,
-0.06603182852268219,
-0.2945559620857239,
0.2419244945049286,
0.1824626922607422,
-0.04054282605648041,
-0.026348013430833817,
-0.09775283932685852,
0.3069409430027008,
-0.16080662608146667,
0.1492481231689453,
0.0016986802220344543,
0.17430025339126587,
0.06667148321866989,
-0.21063420176506042,
-0.27346086502075195,
-0.07732231914997101,
0.16420790553092957,
0.17165060341358185,
0.007535986602306366,
0.02811937779188156,
0.20466023683547974,
-0.19684572517871857,
0.06569409370422363,
0.11000308394432068,
0.13708356022834778,
0.39608800411224365,
-0.23151376843452454,
0.21009954810142517,
0.18426433205604553,
0.09292706102132797,
-0.12741464376449585,
-0.0038552305195480585,
-0.11394643783569336,
0.13780748844146729,
-0.02600810118019581,
0.10684073716402054,
0.17584963142871857,
-0.2236822098493576,
0.14280691742897034,
0.1327090859413147,
0.26362743973731995,
0.10223816335201263,
0.16594623029232025,
0.006060115993022919,
0.11741313338279724,
0.053704891353845596,
0.08714263886213303,
0.06809872388839722,
0.3419531285762787,
0.24205438792705536,
-0.3453664183616638,
-0.07669093459844589,
-0.15596693754196167,
0.3327166438102722,
-0.07342042773962021,
-0.4263688921928406,
-0.0034760981798171997,
0.02836250513792038,
0.3028203248977661,
0.052064064890146255,
-0.3099766671657562,
0.626887857913971,
-0.470482736825943,
0.18069061636924744,
-0.23355397582054138,
0.10005916655063629,
-0.1739254891872406,
-0.20237964391708374,
-0.035086020827293396,
-0.160109281539917,
0.19724038243293762,
-0.06918222457170486,
-0.19015850126743317,
-0.2009139508008957,
0.0884610116481781,
-0.06841948628425598,
-0.11633661389350891,
-0.39478686451911926,
0.04981868714094162,
0.3900001049041748,
0.08648201823234558,
-0.060853295028209686,
0.5724348425865173,
0.3500392735004425,
-0.09641964733600616,
0.23737327754497528,
0.43721070885658264,
0.546003520488739,
0.21396933495998383,
-0.0959327220916748,
0.17949862778186798,
-0.34105563163757324,
-0.05208791047334671,
0.06284923106431961,
0.3029099404811859,
-0.19706347584724426,
0.16113246977329254,
0.21856331825256348,
0.11025355756282806,
-0.06317152082920074,
-0.03133584186434746,
-0.052893850952386856,
0.3784725069999695,
-0.45569148659706116,
0.1444171965122223,
-0.5341813564300537,
0.061352118849754333,
-0.21888941526412964,
0.13975933194160461,
-0.507959246635437,
0.11947296559810638,
0.1734575778245926,
0.1381901502609253,
-0.1787901520729065,
-0.10938499867916107,
0.04467882215976715,
0.04174358397722244,
0.4834538996219635,
0.5565122365951538,
0.23548290133476257,
-0.19387081265449524,
-0.33906394243240356,
-0.7109746336936951,
0.10042935609817505,
-0.0644235759973526,
0.08360499888658524,
0.037162721157073975,
0.18259242177009583,
0.10444175451993942,
0.1517062932252884,
-0.1548490673303604,
0.24749700725078583,
0.07491987198591232,
-0.2547398805618286,
-0.18426506221294403,
-0.21683131158351898,
-0.0328449010848999,
-0.11984284222126007,
-0.0634593740105629,
0.012260150164365768,
0.1356174796819687,
-0.21941791474819183,
-0.08621902763843536,
-0.01133587583899498,
0.10025127232074738,
-0.018153954297304153,
-0.32684919238090515,
0.2521873414516449,
0.044870153069496155,
-0.11176846921443939,
0.10691042989492416,
-0.35880082845687866,
-0.37403762340545654,
-0.33773496747016907,
-0.07800832390785217,
0.191656231880188,
-0.1386502981185913,
0.42626217007637024,
-0.38073936104774475,
-0.12615065276622772,
-0.2059415578842163,
0.1716352254152298,
0.09460529685020447,
-0.015034211799502373,
-0.16386105120182037,
0.14818528294563293,
0.002383098006248474,
-0.06771673262119293,
0.11838392913341522,
0.5463752746582031,
0.030455581843852997,
0.11109192669391632,
-0.316728413105011,
-0.25823715329170227,
0.5261232256889343,
-0.39734694361686707,
0.03538474068045616,
0.3021903336048126,
0.0952845960855484,
0.13642358779907227,
-0.24032792448997498,
-0.7155961394309998,
0.2655898332595825,
0.22153200209140778,
0.12628579139709473,
-0.034611720591783524,
0.040374383330345154,
-0.06206519529223442,
0.0697115808725357,
-0.12738938629627228,
0.22380013763904572,
0.22039690613746643,
-0.0228035356849432,
0.3593526780605316,
0.04628218710422516
] |
https://github.com/huggingface/datasets/issues/1644 | HoVeR dataset fails to load | Hover was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `hover` with
```python
from datasets import load_dataset
dataset = load_dataset("hover")
``` | Hi! I'm getting an error when trying to load **HoVeR** dataset. Another one (**SQuAD**) does work for me. I'm using the latest (1.1.3) version of the library.
Steps to reproduce the error:
```python
>>> from datasets import load_dataset
>>> dataset = load_dataset("hover")
Traceback (most recent call last):
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/hover/hover.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/hover/hover.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at hover/hover.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/hover/hover.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/hover/hover.py
``` | 40 | HoVeR dataset fails to load
Hi! I'm getting an error when trying to load **HoVeR** dataset. Another one (**SQuAD**) does work for me. I'm using the latest (1.1.3) version of the library.
Steps to reproduce the error:
```python
>>> from datasets import load_dataset
>>> dataset = load_dataset("hover")
Traceback (most recent call last):
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/hover/hover.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/hover/hover.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/Users/urikz/anaconda/envs/mentionmemory/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at hover/hover.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/hover/hover.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/hover/hover.py
```
Hover was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `hover` with
```python
from datasets import load_dataset
dataset = load_dataset("hover")
``` | [
-0.22146998345851898,
0.058831170201301575,
0.017389439046382904,
0.2946338653564453,
0.2871960401535034,
0.10362928360700607,
0.2778087258338928,
0.21131378412246704,
0.05538632348179817,
0.044101908802986145,
-0.16387642920017242,
-0.025890342891216278,
0.006625708192586899,
-0.1750878393650055,
0.3238520324230194,
-0.17255862057209015,
-0.1127176359295845,
-0.013588301837444305,
-0.21223807334899902,
0.15848039090633392,
-0.03196760639548302,
0.2331240475177765,
-0.15128429234027863,
0.28551411628723145,
-0.034938085824251175,
0.18854697048664093,
-0.047654613852500916,
0.1102088987827301,
-0.0013450030237436295,
-0.5571442246437073,
0.6485422849655151,
0.19645242393016815,
0.2534165382385254,
0.6113682985305786,
-0.00011303119390504435,
0.18799413740634918,
0.4276314377784729,
0.07109380513429642,
-0.4378688633441925,
-0.4516070485115051,
0.19704020023345947,
-0.06657557189464569,
0.40127092599868774,
0.08863141387701035,
-0.1916382610797882,
-0.17436614632606506,
-0.04820232093334198,
-0.35645923018455505,
0.11996065080165863,
0.15156543254852295,
0.23709721863269806,
0.5524003505706787,
-0.0181826651096344,
-0.23221682012081146,
0.2086295187473297,
-0.09328992664813995,
-0.1618075966835022,
0.485995888710022,
0.27792641520500183,
0.000018438324332237244,
0.04152879863977432,
0.12543432414531708,
-0.1783878654241562,
0.16099438071250916,
0.44853484630584717,
-0.025384292006492615,
-0.12751588225364685,
-0.0778702050447464,
0.12467247247695923,
0.23531824350357056,
0.5451825261116028,
-0.25347721576690674,
-0.3022954761981964,
-0.17338162660598755,
0.07655591517686844,
0.13636186718940735,
0.29443231225013733,
-0.2126210778951645,
-0.07162713259458542,
0.1803838163614273,
-0.10281416028738022,
-0.18874265253543854,
-0.06075980141758919,
0.2107253521680832,
0.10045430064201355,
-0.15897426009178162,
-0.23086939752101898,
0.2097775936126709,
0.16375310719013214,
-0.05227571725845337,
0.016059214249253273,
-0.015382345765829086,
0.05355749651789665,
0.21146263182163239,
-0.396317720413208,
0.05930502712726593,
0.03662639483809471,
0.1347661018371582,
0.24338901042938232,
0.30892157554626465,
0.3861992657184601,
-0.03970932215452194,
-0.24996790289878845,
0.13590702414512634,
0.4187657833099365,
0.07825401425361633,
-0.02681216597557068,
-0.3456538915634155,
0.43914681673049927,
0.2833782732486725,
0.1257040649652481,
-0.04637862741947174,
-0.07630614936351776,
-0.05169926956295967,
-0.13375647366046906,
-0.16971006989479065,
0.2196260690689087,
-0.2770836055278778,
-0.2052011787891388,
0.15518584847450256,
-0.11020202189683914,
-0.06193282827734947,
0.17056015133857727,
0.3384838104248047,
-0.17902781069278717,
0.28264838457107544,
0.27994221448898315,
0.27937185764312744,
0.009707005694508553,
-0.13910478353500366,
-0.23068471252918243,
0.3470246195793152,
-0.11351874470710754,
0.16846704483032227,
0.46366778016090393,
-0.3708822429180145,
0.2146410495042801,
0.0527162179350853,
0.2620733976364136,
0.011850055307149887,
-0.06401567906141281,
-0.13087981939315796,
-0.28608420491218567,
0.26200196146965027,
0.03756237402558327,
0.37304601073265076,
0.30326807498931885,
-0.37808817625045776,
-0.07859776169061661,
0.13033609092235565,
-0.10469707101583481,
-0.2736741900444031,
-0.11318448185920715,
0.1407027691602707,
-0.542563259601593,
-0.16900166869163513,
-0.7952101230621338,
-0.11589573323726654,
-0.03740290552377701,
-0.19016727805137634,
-0.17573201656341553,
-0.2521238327026367,
0.11311158537864685,
-0.1844933032989502,
0.25694334506988525,
0.5731604099273682,
-0.46837368607521057,
-0.14176271855831146,
-0.32108548283576965,
-0.2450503408908844,
-0.18950748443603516,
0.049938544631004333,
-0.22909922897815704,
0.014585159718990326,
-0.3759830892086029,
0.2342483252286911,
0.20163211226463318,
-0.5678398013114929,
-0.30436933040618896,
0.18814457952976227,
-0.27375364303588867,
0.1391419619321823,
-0.10961561650037766,
-0.043116725981235504,
0.03428236395120621,
-0.12984970211982727,
-0.27513474225997925,
0.37100130319595337,
0.05525878816843033,
-0.1252245157957077,
-0.15262576937675476,
-0.0876123234629631,
0.02426992356777191,
0.48142385482788086,
-0.005068633705377579,
-0.03461921960115433,
0.11126334220170975,
0.40482988953590393,
0.12384769320487976,
0.008240394294261932,
-0.0026466953568160534,
0.23635613918304443,
0.15572763979434967,
0.06606689840555191,
0.026598893105983734,
-0.2205319106578827,
-0.5138406753540039,
0.2790479362010956,
0.2804960310459137,
0.09340230375528336,
-0.05209864675998688,
0.10988089442253113,
-0.3560431897640228,
-0.062356747686862946,
-0.46877601742744446,
-0.2576199471950531,
0.04207731783390045,
0.26402756571769714,
-0.11192862689495087,
-0.013955611735582352,
-0.22723084688186646,
0.1317775547504425,
-0.14926764369010925,
0.22084829211235046,
-0.20366130769252777,
0.3515729606151581,
-0.12741975486278534,
-0.13949574530124664,
0.11260905861854553,
0.19097787141799927,
0.012746453285217285,
-0.2036847472190857,
-0.11205827444791794,
0.5353552103042603,
-0.19174541532993317,
-0.17021487653255463,
0.14664267003536224,
-0.05164821445941925,
0.1855684369802475,
-0.3324548006057739,
0.019998464733362198,
0.02250507101416588,
0.05274634063243866,
0.009319297969341278,
-0.17551782727241516,
-0.04286088049411774,
-0.030211638659238815,
0.42220550775527954,
0.18181949853897095,
0.11835075169801712,
0.31420159339904785,
0.06899923086166382,
-0.06767414510250092,
-0.18293386697769165,
0.30348244309425354,
0.062291938811540604,
0.4900861382484436,
-0.012033486738801003,
-0.19772586226463318,
0.03603328764438629,
-0.04019593074917793,
-0.0073147062212228775,
0.1719880998134613,
0.22158461809158325,
-0.2188156247138977,
-0.041881293058395386,
-0.07633660733699799,
0.1008971631526947,
0.5481567978858948,
0.09765263646841049,
-0.06733882427215576,
-0.17690923810005188,
0.05829557776451111,
-0.10676561295986176,
0.17593544721603394,
-0.1082828938961029,
-0.07814963161945343,
0.08180774748325348,
0.16082966327667236,
-0.032873764634132385,
-0.2620775103569031,
-0.41196373105049133,
-0.03287110850214958,
0.1852685660123825,
-0.23943445086479187,
0.10622260719537735,
-0.33762553334236145,
-0.18779775500297546,
-0.03780268877744675,
0.05686420574784279,
-0.49069368839263916,
-0.3384879231452942,
-0.24385122954845428,
0.2719501554965973,
0.3034610152244568,
0.05201595276594162,
-0.07912568002939224,
0.2371329367160797,
0.05419205129146576,
0.008798377588391304,
-0.10036198794841766,
0.02277728170156479,
-0.29682931303977966,
0.0321643203496933,
0.1251295655965805,
-0.16560515761375427,
0.12944886088371277,
0.044460147619247437,
0.1059453934431076,
-0.38428112864494324,
-0.13937675952911377,
0.28939443826675415,
-0.09439606964588165,
0.4804419279098511,
0.22285102307796478,
0.3556438684463501,
0.04326874017715454,
0.009781881235539913,
0.5540041923522949,
-0.09708256274461746,
-0.0247859638184309,
0.1292894035577774,
0.0614326149225235,
0.03925778344273567,
-0.1232212632894516,
-0.07998605817556381,
-0.4014403223991394,
-0.31761449575424194,
-0.003122173249721527,
-0.011919930577278137,
-0.16679291427135468,
0.490397185087204,
-0.02616177871823311,
0.21406345069408417,
-0.10699532926082611,
0.19027379155158997,
-0.24191690981388092,
-0.4892962872982025,
0.2002076655626297,
-0.2261955291032791,
-0.23582212626934052,
-0.07731151580810547,
0.22035318613052368,
0.32989779114723206,
-0.16584429144859314,
-0.5135372281074524,
-0.17259588837623596,
-0.03670909255743027,
0.10871219635009766,
-0.021995261311531067,
0.11469684541225433,
0.011017918586730957,
-0.05142878368496895,
-0.05250375717878342,
-0.14490334689617157,
-0.17511741816997528,
-0.14603883028030396,
-0.11885028332471848,
0.26082751154899597,
0.06878260523080826,
0.07319527864456177,
0.12249428033828735,
0.6985939741134644,
-0.11896610260009766,
-0.2699800133705139,
0.5415763258934021,
0.04279936105012894,
0.49274763464927673,
-0.011633142828941345,
-0.5201570987701416,
0.09555861353874207,
-0.09930935502052307,
0.3007572889328003,
-0.04713630676269531,
0.05445609241724014,
0.13665767014026642,
-0.22837300598621368,
0.1179627776145935,
-0.14673349261283875,
-0.1641768217086792,
-0.08457744121551514,
0.1379178762435913,
0.04362116754055023,
0.16995519399642944,
0.01980714499950409,
0.015024010092020035,
-0.20371857285499573,
0.1452023833990097,
0.5837771892547607,
0.14538249373435974,
0.1066029742360115,
-0.1139514148235321,
-0.16015148162841797,
-0.30590757727622986,
0.28983160853385925,
-0.16678845882415771,
0.38803043961524963,
-0.08330228924751282,
0.08692721277475357,
0.07758472859859467,
0.14795997738838196,
0.4434059262275696,
-0.32870471477508545,
0.15855245292186737,
0.1336524784564972,
-0.08577564358711243,
-0.6703966856002808,
-0.093666210770607,
0.09940890967845917,
0.3416185677051544,
-0.00965118408203125,
0.06181894987821579,
-0.26409217715263367,
-0.3057760000228882,
0.40004125237464905,
0.38318437337875366,
-0.08750277757644653,
-0.3635742962360382,
-0.20491451025009155,
-0.276339054107666,
-0.23492753505706787,
-0.33256641030311584,
-0.15484297275543213,
0.23142507672309875,
0.06451050937175751,
0.0727362185716629,
0.07040777057409286,
-0.20614582300186157,
0.22632549703121185,
0.048081327229738235,
0.326200008392334,
0.22283436357975006,
0.11299671232700348,
0.2624368667602539,
0.05051723122596741,
0.08083909004926682,
0.2764735221862793,
-0.09358233213424683,
-0.04074832797050476,
0.4285105764865875,
0.04154331982135773,
0.1869734227657318,
0.21349966526031494,
-0.29700198769569397,
0.26223671436309814,
0.07126484811306,
0.06138855963945389,
-0.09120436757802963,
0.12177148461341858,
0.21872077882289886,
-0.18002407252788544,
0.0382179394364357,
-0.6317683458328247,
0.5229842066764832,
0.25323957204818726,
0.08200779557228088,
0.10123950242996216,
0.05187218263745308,
-0.026395907625555992,
0.12713363766670227,
-0.012430228292942047,
0.8495184779167175,
-0.21155785024166107,
0.23928970098495483,
0.18633496761322021,
0.36003953218460083,
0.5700743198394775,
-0.15962514281272888,
0.026181796565651894,
-0.3569961190223694,
-0.2408914417028427,
-0.047278936952352524,
-0.30126768350601196,
0.10716918110847473,
0.09684285521507263,
-0.04977094382047653,
0.2951695919036865,
-0.21449579298496246,
0.17860396206378937,
0.07608000934123993,
0.28799816966056824,
-0.2931639552116394,
-0.3046194911003113,
-0.2590689957141876,
0.16649292409420013,
-0.3988606333732605,
0.45009198784828186,
-0.12434759736061096,
0.1604430228471756,
-0.09893715381622314,
-0.0784367173910141,
-0.4062735438346863,
0.16231200098991394,
-0.022279640659689903,
0.2918294668197632,
-0.15713869035243988,
-0.40601128339767456,
0.2369614541530609,
0.15660056471824646,
0.08258513361215591,
0.21313199400901794,
-0.1353422999382019,
0.24159015715122223,
-0.2805407643318176,
-0.1442267894744873,
0.0009852678049355745,
-0.03983928635716438,
0.1898033171892166,
-0.053352437913417816,
-0.11391124129295349,
0.08851426839828491,
-0.02806868776679039,
-0.2107798457145691,
0.11506956815719604,
0.10505656898021698,
0.015026498585939407,
-0.20308540761470795,
-0.26193809509277344,
-0.1495787501335144,
0.11536650359630585,
-0.21473531424999237,
0.0846838504076004,
0.3800066113471985,
-0.04074621573090553,
-0.08720894902944565,
0.06375826895236969,
-0.15318891406059265,
0.029035314917564392,
0.5284179449081421,
-0.037912145256996155,
-0.2446855902671814,
0.49417826533317566,
0.4384138584136963,
-0.188335120677948,
-0.10685966908931732,
0.10984290391206741,
0.27747660875320435,
-0.5570070147514343,
0.09444811195135117,
-0.0762704536318779,
0.10072974860668182,
-0.08168186992406845,
0.287708580493927,
0.21531927585601807,
-0.04384482651948929,
-0.06911510229110718,
-0.6689058542251587,
-0.12253429740667343,
0.22637170553207397,
-0.21361126005649567,
-0.009167686104774475,
-0.12617316842079163,
0.08236075937747955,
0.03989125043153763,
-0.31408071517944336,
-0.2577999234199524,
0.19322438538074493,
-0.33865073323249817,
-0.15773671865463257,
0.3997710347175598,
0.015368741005659103,
0.2695316672325134,
-0.17941294610500336,
0.12437291443347931,
0.013405531644821167,
-0.15393531322479248,
-0.13917388021945953,
-0.13384105265140533,
0.15006326138973236,
0.024988526478409767,
-0.08219922333955765,
-0.06613466143608093,
-0.13869760930538177,
0.04268224537372589,
-0.09688001871109009,
0.1971869170665741,
0.1137087270617485,
0.11650912463665009,
-0.2642101049423218,
-0.2311452478170395,
0.019284185022115707,
-0.08963362872600555,
0.16840285062789917,
-0.0009084716439247131,
0.30300813913345337,
0.2946835458278656,
-0.1176852285861969,
0.07761453092098236,
-0.09064324200153351,
0.0178334079682827,
0.12155725806951523,
-0.06872928142547607,
0.10312798619270325,
0.17156195640563965,
-0.39846116304397583,
-0.01874549128115177,
0.481052041053772,
0.38515549898147583,
0.45798012614250183,
-0.1927492767572403,
0.17853492498397827,
-0.06020369380712509,
0.13917356729507446,
-0.19164517521858215,
-0.10173602402210236,
0.10528314113616943,
0.05321350693702698,
-0.03695153817534447,
0.25178778171539307,
-0.07648545503616333,
0.09793521463871002,
0.13440421223640442,
0.1943235695362091,
0.6998494267463684,
0.06285956501960754,
0.10143065452575684,
0.043677907437086105,
-0.028517358005046844,
-0.023717831820249557,
0.28931111097335815,
0.0461047887802124,
0.1912945657968521,
0.20213215053081512,
-0.3849472999572754,
0.12160194665193558,
-0.10055091232061386,
0.021012242883443832,
0.07958588004112244,
-0.45925894379615784,
0.22044532001018524,
0.2550874948501587,
0.35013264417648315,
-0.10386916249990463,
-0.18619108200073242,
0.6454382538795471,
-0.35485878586769104,
0.036370303481817245,
-0.06158893555402756,
-0.05159248784184456,
-0.14585602283477783,
0.1176290363073349,
-0.21804477274417877,
-0.2793150544166565,
-0.2996639609336853,
-0.05026085302233696,
-0.16365160048007965,
-0.282692015171051,
0.14230939745903015,
0.07826068997383118,
-0.01879231631755829,
-0.5962902307510376,
-0.20873481035232544,
0.3028777837753296,
-0.2005789577960968,
-0.025480415672063828,
0.25607624650001526,
0.45210975408554077,
-0.003177158534526825,
0.1849307417869568,
0.34444403648376465,
0.4056622385978699,
0.18729983270168304,
-0.16985151171684265,
0.02105582505464554,
-0.26167938113212585,
-0.020967908203601837,
0.06746289879083633,
-0.040786661207675934,
0.07808180898427963,
-0.031119469553232193,
0.30416807532310486,
0.16811947524547577,
-0.14189964532852173,
0.13467749953269958,
0.07212990522384644,
0.22864855825901031,
-0.4309050440788269,
0.21872937679290771,
-0.3335322141647339,
0.11128317564725876,
-0.2731330394744873,
0.06531542539596558,
-0.5620748996734619,
0.11581046879291534,
0.4431757628917694,
0.20904923975467682,
-0.24614223837852478,
-0.3371419310569763,
0.06588258594274521,
0.17458808422088623,
0.2924456298351288,
0.5197383761405945,
0.07688435912132263,
-0.35134783387184143,
-0.20632249116897583,
-0.927721381187439,
0.1879744827747345,
0.0629231408238411,
0.029270341619849205,
0.056148022413253784,
0.22127428650856018,
0.12573881447315216,
0.28558677434921265,
0.5260551571846008,
-0.11642766743898392,
0.24581098556518555,
-0.14916783571243286,
-0.15902231633663177,
-0.3091540038585663,
-0.029210403561592102,
0.0668424591422081,
-0.18836325407028198,
-0.038977231830358505,
-0.06569617986679077,
-0.09145306050777435,
0.014677479863166809,
-0.3132786154747009,
-0.2859940826892853,
0.09901972115039825,
-0.2107791006565094,
0.42151230573654175,
-0.24977713823318481,
0.35808631777763367,
0.18157365918159485,
-0.26792898774147034,
-0.24540448188781738,
-0.41853067278862,
0.05158160254359245,
0.34902796149253845,
-0.1713770031929016,
0.3201972544193268,
-0.14541389048099518,
-0.1534005105495453,
-0.5415131449699402,
0.04784226790070534,
0.012915793806314468,
0.08876465260982513,
-0.3891158699989319,
0.06315787881612778,
-0.1504518985748291,
0.1437312215566635,
0.01702617108821869,
0.009068191051483154,
-0.1232907623052597,
0.37486010789871216,
-0.2689985930919647,
-0.4195801317691803,
0.6745829582214355,
-0.16998890042304993,
-0.09132935106754303,
-0.09274499863386154,
0.1541091799736023,
-0.40617021918296814,
-0.1239948645234108,
-0.34386584162712097,
-0.007431477308273315,
0.2635873258113861,
0.25509902834892273,
-0.3452773988246918,
-0.1030687540769577,
-0.2710351049900055,
0.06844888627529144,
-0.06514094024896622,
0.2863771319389343,
0.09683267772197723,
-0.15598827600479126,
0.038683947175741196,
0.08216937631368637
] |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | I have encountered the same error with `v1.0.1` and `v1.0.2` on both Windows and Linux environments. However, cloning the repo and using the path to the dataset's root directory worked for me. Even after having the dataset cached - passing the path is the only way (for now) to load the dataset.
```python
from datasets import load_dataset
dataset = load_dataset("squad") # Works
dataset = load_dataset("code_search_net", "python") # Error
dataset = load_dataset("covid_qa_deepset") # Error
path = "/huggingface/datasets/datasets/{}/"
dataset = load_dataset(path.format("code_search_net"), "python") # Works
dataset = load_dataset(path.format("covid_qa_deepset")) # Works
```
| ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
``` | 88 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
```
I have encountered the same error with `v1.0.1` and `v1.0.2` on both Windows and Linux environments. However, cloning the repo and using the path to the dataset's root directory worked for me. Even after having the dataset cached - passing the path is the only way (for now) to load the dataset.
```python
from datasets import load_dataset
dataset = load_dataset("squad") # Works
dataset = load_dataset("code_search_net", "python") # Error
dataset = load_dataset("covid_qa_deepset") # Error
path = "/huggingface/datasets/datasets/{}/"
dataset = load_dataset(path.format("code_search_net"), "python") # Works
dataset = load_dataset(path.format("covid_qa_deepset")) # Works
```
| [
-0.3657994568347931,
-0.14910876750946045,
-0.05358145385980606,
0.33292156457901,
0.430877149105072,
0.12308869510889053,
0.35996267199516296,
0.31735464930534363,
0.3176316022872925,
0.06259839236736298,
-0.23802688717842102,
0.00120096979662776,
-0.08891042321920395,
0.06104440987110138,
0.03860200196504593,
0.019657418131828308,
-0.09693703800439835,
0.04208481311798096,
-0.09131166338920593,
0.018346168100833893,
-0.21038275957107544,
0.09538745135068893,
-0.035420116037130356,
-0.10084477066993713,
-0.11070416122674942,
-0.13737131655216217,
-0.04562951996922493,
0.3429243862628937,
-0.46381595730781555,
-0.24751444160938263,
0.3933924436569214,
-0.05974766984581947,
0.23428121209144592,
0.43292954564094543,
-0.0001103552058339119,
0.1410665661096573,
0.3332580327987671,
-0.13182629644870758,
-0.43658116459846497,
-0.5427045822143555,
-0.2340315580368042,
-0.24828097224235535,
0.12176093459129333,
-0.13929709792137146,
-0.08604875206947327,
-0.26267507672309875,
0.07573141902685165,
-0.16159474849700928,
0.32599514722824097,
0.45968949794769287,
0.27395644783973694,
0.3807637393474579,
0.17290735244750977,
-0.2033829241991043,
0.4229693114757538,
-0.024713940918445587,
-0.1236245185136795,
0.4684588313102722,
0.06930404901504517,
-0.024407735094428062,
0.07985001057386398,
0.07080820202827454,
-0.1889909952878952,
0.13675808906555176,
0.10102821886539459,
-0.12838004529476166,
-0.09865730255842209,
-0.3918553292751312,
0.19865825772285461,
0.20604991912841797,
0.2593173384666443,
-0.14492037892341614,
-0.4517107307910919,
-0.0636468380689621,
0.0942920371890068,
-0.47883862257003784,
0.09187661111354828,
0.23962566256523132,
0.15926451981067657,
0.10965561866760254,
0.03730069473385811,
-0.24976596236228943,
-0.13812634348869324,
0.3669582009315491,
-0.11735157668590546,
0.06643366813659668,
-0.246063232421875,
-0.10646990686655045,
0.06806255877017975,
-0.164712056517601,
-0.15109007060527802,
0.11550154536962509,
-0.20621934533119202,
0.10286708176136017,
-0.2802645266056061,
-0.056664809584617615,
-0.07721180468797684,
-0.0013283640146255493,
0.09711181372404099,
0.25659722089767456,
0.040513232350349426,
-0.00538785383105278,
0.09776834398508072,
0.07146818935871124,
0.05524411052465439,
0.19629524648189545,
-0.003863036632537842,
0.1495785415172577,
0.09311437606811523,
0.36998966336250305,
-0.020326051861047745,
-0.05988669395446777,
-0.46476632356643677,
-0.25023263692855835,
-0.22430504858493805,
-0.2275564968585968,
0.3014705181121826,
-0.2856253683567047,
-0.3109283447265625,
-0.065090112388134,
-0.06925832480192184,
-0.017305487766861916,
0.2589636743068695,
0.5917762517929077,
-0.21996116638183594,
0.10643654316663742,
0.07583523541688919,
0.3028854727745056,
-0.0017313193529844284,
0.24293085932731628,
-0.24847497045993805,
0.4639938771724701,
-0.1429482400417328,
-0.05643370747566223,
0.2510647177696228,
-0.41337284445762634,
0.41459646821022034,
-0.1181405559182167,
0.01099865511059761,
-0.13539904356002808,
-0.03779175877571106,
-0.16318553686141968,
0.1514468491077423,
0.22478823363780975,
-0.06264401227235794,
0.07585769891738892,
0.2453986257314682,
0.0033517368137836456,
-0.19456228613853455,
-0.2132008969783783,
-0.14824482798576355,
-0.4352904260158539,
-0.1609930545091629,
0.2583008408546448,
-0.00898844376206398,
-0.1736530363559723,
-0.13581353425979614,
-0.36661282181739807,
0.1069539412856102,
-0.05935004726052284,
-0.08983730524778366,
-0.20576684176921844,
-0.13394515216350555,
-0.21237832307815552,
0.4348728358745575,
0.6249147057533264,
0.05776376649737358,
-0.1927989423274994,
-0.14818882942199707,
0.12237627804279327,
0.1011740043759346,
0.18794865906238556,
-0.2569374442100525,
0.1325681358575821,
-0.3040418028831482,
-0.2483961284160614,
0.5892067551612854,
-0.47865745425224304,
-0.3480915427207947,
0.4911935031414032,
-0.2445545345544815,
0.0593724399805069,
0.14396417140960693,
-0.10011886805295944,
0.23851872980594635,
0.04851565882563591,
0.5149021148681641,
0.152522012591362,
0.006027890369296074,
-0.07577167451381683,
-0.20675203204154968,
-0.35484352707862854,
-0.16947177052497864,
0.26682522892951965,
0.2473152130842209,
0.12034077942371368,
0.2451995611190796,
0.31102147698402405,
0.05816756933927536,
-0.02357478067278862,
-0.04133238643407822,
0.2516631484031677,
0.2244618535041809,
0.05115453898906708,
-0.20826080441474915,
-0.060526762157678604,
-0.37326186895370483,
0.21851837635040283,
-0.001984149217605591,
0.09431573748588562,
-0.19074876606464386,
0.10804979503154755,
-0.5253342390060425,
-0.041457876563072205,
-0.24759207665920258,
-0.16388830542564392,
0.1638510376214981,
0.2125469297170639,
0.25645673274993896,
0.13565102219581604,
-0.21326373517513275,
0.350999116897583,
-0.12664756178855896,
0.06779779493808746,
-0.21359236538410187,
0.04864167422056198,
-0.16980838775634766,
-0.1537032276391983,
0.129837766289711,
0.1843458116054535,
0.25910237431526184,
-0.28864049911499023,
0.046595003455877304,
0.24315369129180908,
-0.04690813645720482,
-0.2477148324251175,
0.040527671575546265,
0.23633292317390442,
0.23930193483829498,
-0.04645710438489914,
0.154401496052742,
-0.06361351907253265,
0.16308505833148956,
0.05052722245454788,
0.15601284801959991,
0.3476128578186035,
-0.11604441702365875,
0.26532819867134094,
0.2960420846939087,
-0.12879155576229095,
0.3048323094844818,
0.03710387274622917,
0.10481912642717361,
-0.23037365078926086,
0.27540239691734314,
0.11039192974567413,
0.4532397985458374,
0.08788583427667618,
-0.2446535974740982,
-0.03625776618719101,
0.1542770117521286,
0.1417570412158966,
-0.10042419284582138,
0.08807116746902466,
-0.10780785232782364,
0.05031441152095795,
-0.16432204842567444,
0.12598350644111633,
0.4394568204879761,
0.31522542238235474,
-0.003014031797647476,
-0.1307426244020462,
0.14571307599544525,
-0.1901172697544098,
0.2285243272781372,
0.08282925933599472,
0.1319265067577362,
0.09039544314146042,
0.24315237998962402,
0.0604095496237278,
-0.2865852415561676,
-0.41364818811416626,
0.060415737330913544,
0.2175486534833908,
-0.12337245047092438,
0.05431175231933594,
-0.34158021211624146,
-0.4350298047065735,
-0.1832306683063507,
-0.08125612884759903,
-0.11896175146102905,
-0.22244898974895477,
-0.10931102931499481,
0.38502854108810425,
0.0820259153842926,
0.17434938251972198,
-0.3616301715373993,
0.13116607069969177,
0.003489641472697258,
-0.46367576718330383,
-0.020846668630838394,
-0.049859385937452316,
0.023863229900598526,
0.09164667129516602,
0.31019631028175354,
-0.3293980062007904,
0.2989200949668884,
-0.2584400177001953,
-0.3787846565246582,
-0.34379130601882935,
-0.05244942754507065,
0.16397854685783386,
0.0416436567902565,
0.29193219542503357,
0.058481648564338684,
0.2683336138725281,
-0.04782247915863991,
-0.1814962923526764,
0.27852076292037964,
-0.03338020294904709,
-0.10167858749628067,
-0.056819867342710495,
-0.015225191600620747,
0.0047200205735862255,
0.1111132800579071,
-0.3484596312046051,
-0.3846932053565979,
-0.5702347159385681,
0.0012279301881790161,
0.024109605699777603,
0.09762848913669586,
0.16337420046329498,
0.0823182761669159,
0.13954360783100128,
-0.27713483572006226,
0.2637176215648651,
0.002817646600306034,
-0.6356604695320129,
0.3077561855316162,
-0.33546748757362366,
-0.47401848435401917,
0.06365470588207245,
0.07190565019845963,
0.14831218123435974,
0.05984359607100487,
-0.3255211114883423,
-0.11848767101764679,
-0.2935323417186737,
0.09697514772415161,
0.011317480355501175,
0.1488797962665558,
0.15640375018119812,
-0.06274870783090591,
-0.1523786187171936,
-0.0394822359085083,
-0.0744168609380722,
0.028421692550182343,
0.07555346190929413,
0.1952206939458847,
-0.15567055344581604,
0.30543941259384155,
-0.18728011846542358,
0.8105010390281677,
-0.04469044506549835,
-0.25672340393066406,
0.623231053352356,
-0.3263624310493469,
0.5438454151153564,
-0.19529539346694946,
-0.5162588953971863,
-0.08893739432096481,
0.00128956139087677,
0.21688170731067657,
0.04743514209985733,
-0.12295449525117874,
-0.06915910542011261,
-0.38823264837265015,
-0.1752278059720993,
-0.3440132439136505,
-0.1467587649822235,
0.02549194172024727,
-0.05593506991863251,
-0.0069196149706840515,
-0.0019945427775382996,
-0.13490024209022522,
0.07629266381263733,
-0.044844966381788254,
0.10676823556423187,
0.46774595975875854,
0.10589715093374252,
0.13387881219387054,
0.26996639370918274,
-0.12590770423412323,
-0.3153821527957916,
0.22928881645202637,
0.09900809079408646,
0.18408025801181793,
-0.026351533830165863,
-0.1844697892665863,
-0.0765058696269989,
-0.11257845163345337,
0.5402200222015381,
0.023272089660167694,
0.11169776320457458,
0.30337703227996826,
-0.32105961441993713,
-0.40749379992485046,
-0.009445827454328537,
-0.18676722049713135,
0.07283762842416763,
0.42948973178863525,
0.1813540905714035,
-0.32190993428230286,
-0.16755980253219604,
0.3808232545852661,
0.27688974142074585,
-0.16482549905776978,
-0.0369856022298336,
-0.3196113109588623,
-0.29033592343330383,
-0.3800642788410187,
-0.04817163199186325,
0.10762771219015121,
0.4150264859199524,
0.034087173640728,
0.10116872191429138,
-0.2938579022884369,
-0.026018720120191574,
-0.01725190132856369,
0.07507798075675964,
0.3295864462852478,
-0.005177735351026058,
0.2987500727176666,
0.00012709200382232666,
0.47902926802635193,
0.5336912274360657,
0.6083148717880249,
-0.0790778249502182,
-0.16824880242347717,
0.17423701286315918,
0.23881866037845612,
0.05684997886419296,
0.09113869816064835,
-0.16430163383483887,
-0.07607509940862656,
0.10034985095262527,
0.1237163245677948,
0.07576334476470947,
0.4928692579269409,
0.19979821145534515,
-0.10172160714864731,
-0.30607929825782776,
-0.2848148047924042,
0.37999555468559265,
0.005959697067737579,
0.18399696052074432,
0.36174649000167847,
0.17350268363952637,
-0.17937903106212616,
0.1578199863433838,
-0.2865615785121918,
0.8279552459716797,
-0.08830136060714722,
0.18634375929832458,
0.2034924328327179,
-0.17070503532886505,
0.4270979166030884,
0.004430830478668213,
0.26083746552467346,
-0.3066089451313019,
-0.19179415702819824,
0.10685522854328156,
-0.2196326106786728,
-0.04524001479148865,
0.03721798211336136,
-0.0017503723502159119,
0.2464992105960846,
-0.17162050306797028,
-0.25355440378189087,
-0.1752813309431076,
0.4142422080039978,
-0.06009165197610855,
-0.12735615670681,
-0.29728633165359497,
0.12330053746700287,
0.0636468380689621,
0.4764899015426636,
-0.2641226649284363,
-0.02281554788351059,
-0.1227031797170639,
-0.27867045998573303,
-0.2843518555164337,
0.26143744587898254,
-0.09231774508953094,
0.31949836015701294,
-0.3142414093017578,
-0.19946099817752838,
-0.01172499917447567,
-0.14107245206832886,
0.011997856199741364,
-0.012182537466287613,
-0.11364437639713287,
0.09910377115011215,
0.025367673486471176,
-0.43136706948280334,
-0.012650714255869389,
0.10936341434717178,
0.46064111590385437,
-0.17485299706459045,
-0.056960225105285645,
-0.04395218938589096,
-0.12093298137187958,
-0.07641346007585526,
0.06663747131824493,
0.06065049767494202,
-0.1704290807247162,
-0.28526031970977783,
-0.3929140865802765,
0.005713850259780884,
-0.019214875996112823,
-0.28608328104019165,
0.1495039314031601,
0.054130665957927704,
-0.1489328294992447,
-0.14100554585456848,
0.0631333738565445,
-0.36947429180145264,
-0.2614472210407257,
0.5848145484924316,
-0.22904688119888306,
-0.16726593673229218,
0.47557252645492554,
0.13893386721611023,
-0.24537426233291626,
-0.23894688487052917,
-0.057756949216127396,
0.2142285704612732,
-0.3769005537033081,
0.19337308406829834,
0.1458590030670166,
0.21041031181812286,
0.09942837804555893,
0.40533897280693054,
0.22381696105003357,
-0.06555325537919998,
0.16352632641792297,
-0.5226733684539795,
-0.20488253235816956,
0.262917160987854,
-0.07548348605632782,
0.16751886904239655,
0.08345084637403488,
0.03237418830394745,
0.11394163966178894,
-0.04111470282077789,
-0.35816633701324463,
0.02797054871916771,
-0.2944273054599762,
0.05202185735106468,
0.18176890909671783,
-0.02116302400827408,
0.3573221266269684,
0.21044392883777618,
0.24124792218208313,
-0.09528656303882599,
-0.10117126256227493,
-0.28111588954925537,
-0.10542942583560944,
0.13714921474456787,
-0.035185348242521286,
-0.06466817110776901,
-0.1630118489265442,
-0.15914061665534973,
-0.13305053114891052,
-0.06426865607500076,
0.28090721368789673,
0.1647324562072754,
0.011762835085391998,
-0.28477662801742554,
0.09815338253974915,
-0.042120590806007385,
-0.17192241549491882,
0.22524286806583405,
0.10760018974542618,
0.050925977528095245,
0.24895961582660675,
0.2051204890012741,
0.03169727697968483,
-0.10998404026031494,
0.13872338831424713,
-0.290535032749176,
0.06813372671604156,
-0.024092942476272583,
0.21761798858642578,
-0.27601248025894165,
-0.27414217591285706,
0.153818279504776,
0.27452555298805237,
0.40746381878852844,
0.008172674104571342,
0.047038719058036804,
0.21613809466362,
0.26689890027046204,
-0.37733104825019836,
0.018924344331026077,
0.02856457605957985,
-0.1256905049085617,
0.2468959391117096,
0.255074143409729,
-0.10685685276985168,
0.04810285568237305,
0.13607925176620483,
0.22310075163841248,
0.4210965931415558,
-0.07787281274795532,
0.21608766913414001,
-0.17834360897541046,
0.04896638169884682,
-0.10448957979679108,
0.33434227108955383,
0.28297609090805054,
0.43287962675094604,
0.290289968252182,
-0.15966036915779114,
0.3407621681690216,
-0.16929417848587036,
0.16619661450386047,
-0.04292864352464676,
-0.4089372158050537,
0.3431921601295471,
0.15553337335586548,
0.11816783249378204,
-0.05459044873714447,
-0.28554677963256836,
-0.008487768471240997,
-0.0694933831691742,
0.20134535431861877,
-0.11921326816082001,
0.29313769936561584,
-0.1820882260799408,
-0.10907052457332611,
0.0934147983789444,
-0.4112871587276459,
0.0798894613981247,
0.04610728099942207,
0.1834767460823059,
-0.16558101773262024,
0.14624716341495514,
0.2682878375053406,
-0.16758312284946442,
-0.07779644429683685,
-0.01805393025279045,
0.33321481943130493,
0.1199544221162796,
-0.2109154760837555,
0.20816779136657715,
0.22058716416358948,
-0.11674767732620239,
-0.1216178834438324,
0.35573533177375793,
0.59096759557724,
0.3230316936969757,
0.19669397175312042,
0.006357399746775627,
0.15227706730365753,
-0.12971016764640808,
-0.10763058811426163,
0.13932642340660095,
-0.07135576009750366,
0.23523183166980743,
0.17580562829971313,
0.2756284773349762,
-0.29158833622932434,
0.05138206481933594,
-0.08992363512516022,
-0.034118834882974625,
-0.0582946240901947,
0.21728548407554626,
-0.04699613153934479,
-0.12632200121879578,
-0.3412037193775177,
0.21555152535438538,
-0.5843132138252258,
0.4456866979598999,
0.22311004996299744,
0.010193584486842155,
0.1192840114235878,
0.03430074825882912,
0.1173476129770279,
0.11047714948654175,
0.4590657651424408,
0.33333051204681396,
0.2629758417606354,
-0.37811025977134705,
-0.0899774506688118,
-0.5046923160552979,
0.21310590207576752,
-0.13435181975364685,
0.005426427349448204,
0.08418431878089905,
0.23695550858974457,
-0.05534752458333969,
0.002501450479030609,
0.1508084535598755,
0.218392476439476,
0.09023430943489075,
-0.01754169911146164,
-0.2637942135334015,
-0.016126349568367004,
0.07066140323877335,
0.017755502834916115,
0.12976503372192383,
-0.33055853843688965,
0.0024303607642650604,
-0.4772557020187378,
0.09521638602018356,
-0.14542801678180695,
-0.2248672991991043,
-0.1889302134513855,
-0.3420712351799011,
0.3520760238170624,
-0.12084928154945374,
0.15904700756072998,
-0.19753620028495789,
-0.1927536129951477,
-0.2993258535861969,
-0.45228493213653564,
-0.19793860614299774,
0.3398812413215637,
0.33928802609443665,
0.25232818722724915,
-0.26623016595840454,
-0.17875263094902039,
-0.43738287687301636,
0.28318849205970764,
-0.015629183501005173,
-0.21148018538951874,
0.13195638358592987,
-0.08780550211668015,
0.029406137764453888,
-0.027512328699231148,
0.057588737457990646,
0.11311174184083939,
0.03045600838959217,
0.02422300912439823,
-0.35245174169540405,
-0.3214488923549652,
0.532199501991272,
-0.18555016815662384,
-0.09508663415908813,
-0.07175115495920181,
0.26732829213142395,
0.04058866575360298,
-0.0020063836127519608,
-0.5231080651283264,
0.5159045457839966,
0.4153161346912384,
0.06819544732570648,
-0.15660029649734497,
0.18991678953170776,
-0.26911211013793945,
0.04657233878970146,
-0.08129599690437317,
0.17667508125305176,
-0.006289441138505936,
-0.2810450494289398,
-0.19856396317481995,
-0.026659337803721428
] |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | Hi @mrm8488 and @amoux!
The datasets you are trying to load have been added to the library during the community sprint for v2 last month. They will be available with the v2 release!
For now, there are still a couple of solutions to load the datasets:
1. As suggested by @amoux, you can clone the git repo and pass the local path to the script
2. You can also install the latest (master) version of `datasets` using pip: `pip install git+https://github.com/huggingface/datasets.git@master` | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
``` | 81 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
```
Hi @mrm8488 and @amoux!
The datasets you are trying to load have been added to the library during the community sprint for v2 last month. They will be available with the v2 release!
For now, there are still a couple of solutions to load the datasets:
1. As suggested by @amoux, you can clone the git repo and pass the local path to the script
2. You can also install the latest (master) version of `datasets` using pip: `pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.3657994568347931,
-0.14910876750946045,
-0.05358145385980606,
0.33292156457901,
0.430877149105072,
0.12308869510889053,
0.35996267199516296,
0.31735464930534363,
0.3176316022872925,
0.06259839236736298,
-0.23802688717842102,
0.00120096979662776,
-0.08891042321920395,
0.06104440987110138,
0.03860200196504593,
0.019657418131828308,
-0.09693703800439835,
0.04208481311798096,
-0.09131166338920593,
0.018346168100833893,
-0.21038275957107544,
0.09538745135068893,
-0.035420116037130356,
-0.10084477066993713,
-0.11070416122674942,
-0.13737131655216217,
-0.04562951996922493,
0.3429243862628937,
-0.46381595730781555,
-0.24751444160938263,
0.3933924436569214,
-0.05974766984581947,
0.23428121209144592,
0.43292954564094543,
-0.0001103552058339119,
0.1410665661096573,
0.3332580327987671,
-0.13182629644870758,
-0.43658116459846497,
-0.5427045822143555,
-0.2340315580368042,
-0.24828097224235535,
0.12176093459129333,
-0.13929709792137146,
-0.08604875206947327,
-0.26267507672309875,
0.07573141902685165,
-0.16159474849700928,
0.32599514722824097,
0.45968949794769287,
0.27395644783973694,
0.3807637393474579,
0.17290735244750977,
-0.2033829241991043,
0.4229693114757538,
-0.024713940918445587,
-0.1236245185136795,
0.4684588313102722,
0.06930404901504517,
-0.024407735094428062,
0.07985001057386398,
0.07080820202827454,
-0.1889909952878952,
0.13675808906555176,
0.10102821886539459,
-0.12838004529476166,
-0.09865730255842209,
-0.3918553292751312,
0.19865825772285461,
0.20604991912841797,
0.2593173384666443,
-0.14492037892341614,
-0.4517107307910919,
-0.0636468380689621,
0.0942920371890068,
-0.47883862257003784,
0.09187661111354828,
0.23962566256523132,
0.15926451981067657,
0.10965561866760254,
0.03730069473385811,
-0.24976596236228943,
-0.13812634348869324,
0.3669582009315491,
-0.11735157668590546,
0.06643366813659668,
-0.246063232421875,
-0.10646990686655045,
0.06806255877017975,
-0.164712056517601,
-0.15109007060527802,
0.11550154536962509,
-0.20621934533119202,
0.10286708176136017,
-0.2802645266056061,
-0.056664809584617615,
-0.07721180468797684,
-0.0013283640146255493,
0.09711181372404099,
0.25659722089767456,
0.040513232350349426,
-0.00538785383105278,
0.09776834398508072,
0.07146818935871124,
0.05524411052465439,
0.19629524648189545,
-0.003863036632537842,
0.1495785415172577,
0.09311437606811523,
0.36998966336250305,
-0.020326051861047745,
-0.05988669395446777,
-0.46476632356643677,
-0.25023263692855835,
-0.22430504858493805,
-0.2275564968585968,
0.3014705181121826,
-0.2856253683567047,
-0.3109283447265625,
-0.065090112388134,
-0.06925832480192184,
-0.017305487766861916,
0.2589636743068695,
0.5917762517929077,
-0.21996116638183594,
0.10643654316663742,
0.07583523541688919,
0.3028854727745056,
-0.0017313193529844284,
0.24293085932731628,
-0.24847497045993805,
0.4639938771724701,
-0.1429482400417328,
-0.05643370747566223,
0.2510647177696228,
-0.41337284445762634,
0.41459646821022034,
-0.1181405559182167,
0.01099865511059761,
-0.13539904356002808,
-0.03779175877571106,
-0.16318553686141968,
0.1514468491077423,
0.22478823363780975,
-0.06264401227235794,
0.07585769891738892,
0.2453986257314682,
0.0033517368137836456,
-0.19456228613853455,
-0.2132008969783783,
-0.14824482798576355,
-0.4352904260158539,
-0.1609930545091629,
0.2583008408546448,
-0.00898844376206398,
-0.1736530363559723,
-0.13581353425979614,
-0.36661282181739807,
0.1069539412856102,
-0.05935004726052284,
-0.08983730524778366,
-0.20576684176921844,
-0.13394515216350555,
-0.21237832307815552,
0.4348728358745575,
0.6249147057533264,
0.05776376649737358,
-0.1927989423274994,
-0.14818882942199707,
0.12237627804279327,
0.1011740043759346,
0.18794865906238556,
-0.2569374442100525,
0.1325681358575821,
-0.3040418028831482,
-0.2483961284160614,
0.5892067551612854,
-0.47865745425224304,
-0.3480915427207947,
0.4911935031414032,
-0.2445545345544815,
0.0593724399805069,
0.14396417140960693,
-0.10011886805295944,
0.23851872980594635,
0.04851565882563591,
0.5149021148681641,
0.152522012591362,
0.006027890369296074,
-0.07577167451381683,
-0.20675203204154968,
-0.35484352707862854,
-0.16947177052497864,
0.26682522892951965,
0.2473152130842209,
0.12034077942371368,
0.2451995611190796,
0.31102147698402405,
0.05816756933927536,
-0.02357478067278862,
-0.04133238643407822,
0.2516631484031677,
0.2244618535041809,
0.05115453898906708,
-0.20826080441474915,
-0.060526762157678604,
-0.37326186895370483,
0.21851837635040283,
-0.001984149217605591,
0.09431573748588562,
-0.19074876606464386,
0.10804979503154755,
-0.5253342390060425,
-0.041457876563072205,
-0.24759207665920258,
-0.16388830542564392,
0.1638510376214981,
0.2125469297170639,
0.25645673274993896,
0.13565102219581604,
-0.21326373517513275,
0.350999116897583,
-0.12664756178855896,
0.06779779493808746,
-0.21359236538410187,
0.04864167422056198,
-0.16980838775634766,
-0.1537032276391983,
0.129837766289711,
0.1843458116054535,
0.25910237431526184,
-0.28864049911499023,
0.046595003455877304,
0.24315369129180908,
-0.04690813645720482,
-0.2477148324251175,
0.040527671575546265,
0.23633292317390442,
0.23930193483829498,
-0.04645710438489914,
0.154401496052742,
-0.06361351907253265,
0.16308505833148956,
0.05052722245454788,
0.15601284801959991,
0.3476128578186035,
-0.11604441702365875,
0.26532819867134094,
0.2960420846939087,
-0.12879155576229095,
0.3048323094844818,
0.03710387274622917,
0.10481912642717361,
-0.23037365078926086,
0.27540239691734314,
0.11039192974567413,
0.4532397985458374,
0.08788583427667618,
-0.2446535974740982,
-0.03625776618719101,
0.1542770117521286,
0.1417570412158966,
-0.10042419284582138,
0.08807116746902466,
-0.10780785232782364,
0.05031441152095795,
-0.16432204842567444,
0.12598350644111633,
0.4394568204879761,
0.31522542238235474,
-0.003014031797647476,
-0.1307426244020462,
0.14571307599544525,
-0.1901172697544098,
0.2285243272781372,
0.08282925933599472,
0.1319265067577362,
0.09039544314146042,
0.24315237998962402,
0.0604095496237278,
-0.2865852415561676,
-0.41364818811416626,
0.060415737330913544,
0.2175486534833908,
-0.12337245047092438,
0.05431175231933594,
-0.34158021211624146,
-0.4350298047065735,
-0.1832306683063507,
-0.08125612884759903,
-0.11896175146102905,
-0.22244898974895477,
-0.10931102931499481,
0.38502854108810425,
0.0820259153842926,
0.17434938251972198,
-0.3616301715373993,
0.13116607069969177,
0.003489641472697258,
-0.46367576718330383,
-0.020846668630838394,
-0.049859385937452316,
0.023863229900598526,
0.09164667129516602,
0.31019631028175354,
-0.3293980062007904,
0.2989200949668884,
-0.2584400177001953,
-0.3787846565246582,
-0.34379130601882935,
-0.05244942754507065,
0.16397854685783386,
0.0416436567902565,
0.29193219542503357,
0.058481648564338684,
0.2683336138725281,
-0.04782247915863991,
-0.1814962923526764,
0.27852076292037964,
-0.03338020294904709,
-0.10167858749628067,
-0.056819867342710495,
-0.015225191600620747,
0.0047200205735862255,
0.1111132800579071,
-0.3484596312046051,
-0.3846932053565979,
-0.5702347159385681,
0.0012279301881790161,
0.024109605699777603,
0.09762848913669586,
0.16337420046329498,
0.0823182761669159,
0.13954360783100128,
-0.27713483572006226,
0.2637176215648651,
0.002817646600306034,
-0.6356604695320129,
0.3077561855316162,
-0.33546748757362366,
-0.47401848435401917,
0.06365470588207245,
0.07190565019845963,
0.14831218123435974,
0.05984359607100487,
-0.3255211114883423,
-0.11848767101764679,
-0.2935323417186737,
0.09697514772415161,
0.011317480355501175,
0.1488797962665558,
0.15640375018119812,
-0.06274870783090591,
-0.1523786187171936,
-0.0394822359085083,
-0.0744168609380722,
0.028421692550182343,
0.07555346190929413,
0.1952206939458847,
-0.15567055344581604,
0.30543941259384155,
-0.18728011846542358,
0.8105010390281677,
-0.04469044506549835,
-0.25672340393066406,
0.623231053352356,
-0.3263624310493469,
0.5438454151153564,
-0.19529539346694946,
-0.5162588953971863,
-0.08893739432096481,
0.00128956139087677,
0.21688170731067657,
0.04743514209985733,
-0.12295449525117874,
-0.06915910542011261,
-0.38823264837265015,
-0.1752278059720993,
-0.3440132439136505,
-0.1467587649822235,
0.02549194172024727,
-0.05593506991863251,
-0.0069196149706840515,
-0.0019945427775382996,
-0.13490024209022522,
0.07629266381263733,
-0.044844966381788254,
0.10676823556423187,
0.46774595975875854,
0.10589715093374252,
0.13387881219387054,
0.26996639370918274,
-0.12590770423412323,
-0.3153821527957916,
0.22928881645202637,
0.09900809079408646,
0.18408025801181793,
-0.026351533830165863,
-0.1844697892665863,
-0.0765058696269989,
-0.11257845163345337,
0.5402200222015381,
0.023272089660167694,
0.11169776320457458,
0.30337703227996826,
-0.32105961441993713,
-0.40749379992485046,
-0.009445827454328537,
-0.18676722049713135,
0.07283762842416763,
0.42948973178863525,
0.1813540905714035,
-0.32190993428230286,
-0.16755980253219604,
0.3808232545852661,
0.27688974142074585,
-0.16482549905776978,
-0.0369856022298336,
-0.3196113109588623,
-0.29033592343330383,
-0.3800642788410187,
-0.04817163199186325,
0.10762771219015121,
0.4150264859199524,
0.034087173640728,
0.10116872191429138,
-0.2938579022884369,
-0.026018720120191574,
-0.01725190132856369,
0.07507798075675964,
0.3295864462852478,
-0.005177735351026058,
0.2987500727176666,
0.00012709200382232666,
0.47902926802635193,
0.5336912274360657,
0.6083148717880249,
-0.0790778249502182,
-0.16824880242347717,
0.17423701286315918,
0.23881866037845612,
0.05684997886419296,
0.09113869816064835,
-0.16430163383483887,
-0.07607509940862656,
0.10034985095262527,
0.1237163245677948,
0.07576334476470947,
0.4928692579269409,
0.19979821145534515,
-0.10172160714864731,
-0.30607929825782776,
-0.2848148047924042,
0.37999555468559265,
0.005959697067737579,
0.18399696052074432,
0.36174649000167847,
0.17350268363952637,
-0.17937903106212616,
0.1578199863433838,
-0.2865615785121918,
0.8279552459716797,
-0.08830136060714722,
0.18634375929832458,
0.2034924328327179,
-0.17070503532886505,
0.4270979166030884,
0.004430830478668213,
0.26083746552467346,
-0.3066089451313019,
-0.19179415702819824,
0.10685522854328156,
-0.2196326106786728,
-0.04524001479148865,
0.03721798211336136,
-0.0017503723502159119,
0.2464992105960846,
-0.17162050306797028,
-0.25355440378189087,
-0.1752813309431076,
0.4142422080039978,
-0.06009165197610855,
-0.12735615670681,
-0.29728633165359497,
0.12330053746700287,
0.0636468380689621,
0.4764899015426636,
-0.2641226649284363,
-0.02281554788351059,
-0.1227031797170639,
-0.27867045998573303,
-0.2843518555164337,
0.26143744587898254,
-0.09231774508953094,
0.31949836015701294,
-0.3142414093017578,
-0.19946099817752838,
-0.01172499917447567,
-0.14107245206832886,
0.011997856199741364,
-0.012182537466287613,
-0.11364437639713287,
0.09910377115011215,
0.025367673486471176,
-0.43136706948280334,
-0.012650714255869389,
0.10936341434717178,
0.46064111590385437,
-0.17485299706459045,
-0.056960225105285645,
-0.04395218938589096,
-0.12093298137187958,
-0.07641346007585526,
0.06663747131824493,
0.06065049767494202,
-0.1704290807247162,
-0.28526031970977783,
-0.3929140865802765,
0.005713850259780884,
-0.019214875996112823,
-0.28608328104019165,
0.1495039314031601,
0.054130665957927704,
-0.1489328294992447,
-0.14100554585456848,
0.0631333738565445,
-0.36947429180145264,
-0.2614472210407257,
0.5848145484924316,
-0.22904688119888306,
-0.16726593673229218,
0.47557252645492554,
0.13893386721611023,
-0.24537426233291626,
-0.23894688487052917,
-0.057756949216127396,
0.2142285704612732,
-0.3769005537033081,
0.19337308406829834,
0.1458590030670166,
0.21041031181812286,
0.09942837804555893,
0.40533897280693054,
0.22381696105003357,
-0.06555325537919998,
0.16352632641792297,
-0.5226733684539795,
-0.20488253235816956,
0.262917160987854,
-0.07548348605632782,
0.16751886904239655,
0.08345084637403488,
0.03237418830394745,
0.11394163966178894,
-0.04111470282077789,
-0.35816633701324463,
0.02797054871916771,
-0.2944273054599762,
0.05202185735106468,
0.18176890909671783,
-0.02116302400827408,
0.3573221266269684,
0.21044392883777618,
0.24124792218208313,
-0.09528656303882599,
-0.10117126256227493,
-0.28111588954925537,
-0.10542942583560944,
0.13714921474456787,
-0.035185348242521286,
-0.06466817110776901,
-0.1630118489265442,
-0.15914061665534973,
-0.13305053114891052,
-0.06426865607500076,
0.28090721368789673,
0.1647324562072754,
0.011762835085391998,
-0.28477662801742554,
0.09815338253974915,
-0.042120590806007385,
-0.17192241549491882,
0.22524286806583405,
0.10760018974542618,
0.050925977528095245,
0.24895961582660675,
0.2051204890012741,
0.03169727697968483,
-0.10998404026031494,
0.13872338831424713,
-0.290535032749176,
0.06813372671604156,
-0.024092942476272583,
0.21761798858642578,
-0.27601248025894165,
-0.27414217591285706,
0.153818279504776,
0.27452555298805237,
0.40746381878852844,
0.008172674104571342,
0.047038719058036804,
0.21613809466362,
0.26689890027046204,
-0.37733104825019836,
0.018924344331026077,
0.02856457605957985,
-0.1256905049085617,
0.2468959391117096,
0.255074143409729,
-0.10685685276985168,
0.04810285568237305,
0.13607925176620483,
0.22310075163841248,
0.4210965931415558,
-0.07787281274795532,
0.21608766913414001,
-0.17834360897541046,
0.04896638169884682,
-0.10448957979679108,
0.33434227108955383,
0.28297609090805054,
0.43287962675094604,
0.290289968252182,
-0.15966036915779114,
0.3407621681690216,
-0.16929417848587036,
0.16619661450386047,
-0.04292864352464676,
-0.4089372158050537,
0.3431921601295471,
0.15553337335586548,
0.11816783249378204,
-0.05459044873714447,
-0.28554677963256836,
-0.008487768471240997,
-0.0694933831691742,
0.20134535431861877,
-0.11921326816082001,
0.29313769936561584,
-0.1820882260799408,
-0.10907052457332611,
0.0934147983789444,
-0.4112871587276459,
0.0798894613981247,
0.04610728099942207,
0.1834767460823059,
-0.16558101773262024,
0.14624716341495514,
0.2682878375053406,
-0.16758312284946442,
-0.07779644429683685,
-0.01805393025279045,
0.33321481943130493,
0.1199544221162796,
-0.2109154760837555,
0.20816779136657715,
0.22058716416358948,
-0.11674767732620239,
-0.1216178834438324,
0.35573533177375793,
0.59096759557724,
0.3230316936969757,
0.19669397175312042,
0.006357399746775627,
0.15227706730365753,
-0.12971016764640808,
-0.10763058811426163,
0.13932642340660095,
-0.07135576009750366,
0.23523183166980743,
0.17580562829971313,
0.2756284773349762,
-0.29158833622932434,
0.05138206481933594,
-0.08992363512516022,
-0.034118834882974625,
-0.0582946240901947,
0.21728548407554626,
-0.04699613153934479,
-0.12632200121879578,
-0.3412037193775177,
0.21555152535438538,
-0.5843132138252258,
0.4456866979598999,
0.22311004996299744,
0.010193584486842155,
0.1192840114235878,
0.03430074825882912,
0.1173476129770279,
0.11047714948654175,
0.4590657651424408,
0.33333051204681396,
0.2629758417606354,
-0.37811025977134705,
-0.0899774506688118,
-0.5046923160552979,
0.21310590207576752,
-0.13435181975364685,
0.005426427349448204,
0.08418431878089905,
0.23695550858974457,
-0.05534752458333969,
0.002501450479030609,
0.1508084535598755,
0.218392476439476,
0.09023430943489075,
-0.01754169911146164,
-0.2637942135334015,
-0.016126349568367004,
0.07066140323877335,
0.017755502834916115,
0.12976503372192383,
-0.33055853843688965,
0.0024303607642650604,
-0.4772557020187378,
0.09521638602018356,
-0.14542801678180695,
-0.2248672991991043,
-0.1889302134513855,
-0.3420712351799011,
0.3520760238170624,
-0.12084928154945374,
0.15904700756072998,
-0.19753620028495789,
-0.1927536129951477,
-0.2993258535861969,
-0.45228493213653564,
-0.19793860614299774,
0.3398812413215637,
0.33928802609443665,
0.25232818722724915,
-0.26623016595840454,
-0.17875263094902039,
-0.43738287687301636,
0.28318849205970764,
-0.015629183501005173,
-0.21148018538951874,
0.13195638358592987,
-0.08780550211668015,
0.029406137764453888,
-0.027512328699231148,
0.057588737457990646,
0.11311174184083939,
0.03045600838959217,
0.02422300912439823,
-0.35245174169540405,
-0.3214488923549652,
0.532199501991272,
-0.18555016815662384,
-0.09508663415908813,
-0.07175115495920181,
0.26732829213142395,
0.04058866575360298,
-0.0020063836127519608,
-0.5231080651283264,
0.5159045457839966,
0.4153161346912384,
0.06819544732570648,
-0.15660029649734497,
0.18991678953170776,
-0.26911211013793945,
0.04657233878970146,
-0.08129599690437317,
0.17667508125305176,
-0.006289441138505936,
-0.2810450494289398,
-0.19856396317481995,
-0.026659337803721428
] |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | If you don't want to clone entire `datasets` repo, just download the `muchocine` directory and pass the local path to the directory. Cheers! | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
``` | 23 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
```
If you don't want to clone entire `datasets` repo, just download the `muchocine` directory and pass the local path to the directory. Cheers! | [
-0.3657994568347931,
-0.14910876750946045,
-0.05358145385980606,
0.33292156457901,
0.430877149105072,
0.12308869510889053,
0.35996267199516296,
0.31735464930534363,
0.3176316022872925,
0.06259839236736298,
-0.23802688717842102,
0.00120096979662776,
-0.08891042321920395,
0.06104440987110138,
0.03860200196504593,
0.019657418131828308,
-0.09693703800439835,
0.04208481311798096,
-0.09131166338920593,
0.018346168100833893,
-0.21038275957107544,
0.09538745135068893,
-0.035420116037130356,
-0.10084477066993713,
-0.11070416122674942,
-0.13737131655216217,
-0.04562951996922493,
0.3429243862628937,
-0.46381595730781555,
-0.24751444160938263,
0.3933924436569214,
-0.05974766984581947,
0.23428121209144592,
0.43292954564094543,
-0.0001103552058339119,
0.1410665661096573,
0.3332580327987671,
-0.13182629644870758,
-0.43658116459846497,
-0.5427045822143555,
-0.2340315580368042,
-0.24828097224235535,
0.12176093459129333,
-0.13929709792137146,
-0.08604875206947327,
-0.26267507672309875,
0.07573141902685165,
-0.16159474849700928,
0.32599514722824097,
0.45968949794769287,
0.27395644783973694,
0.3807637393474579,
0.17290735244750977,
-0.2033829241991043,
0.4229693114757538,
-0.024713940918445587,
-0.1236245185136795,
0.4684588313102722,
0.06930404901504517,
-0.024407735094428062,
0.07985001057386398,
0.07080820202827454,
-0.1889909952878952,
0.13675808906555176,
0.10102821886539459,
-0.12838004529476166,
-0.09865730255842209,
-0.3918553292751312,
0.19865825772285461,
0.20604991912841797,
0.2593173384666443,
-0.14492037892341614,
-0.4517107307910919,
-0.0636468380689621,
0.0942920371890068,
-0.47883862257003784,
0.09187661111354828,
0.23962566256523132,
0.15926451981067657,
0.10965561866760254,
0.03730069473385811,
-0.24976596236228943,
-0.13812634348869324,
0.3669582009315491,
-0.11735157668590546,
0.06643366813659668,
-0.246063232421875,
-0.10646990686655045,
0.06806255877017975,
-0.164712056517601,
-0.15109007060527802,
0.11550154536962509,
-0.20621934533119202,
0.10286708176136017,
-0.2802645266056061,
-0.056664809584617615,
-0.07721180468797684,
-0.0013283640146255493,
0.09711181372404099,
0.25659722089767456,
0.040513232350349426,
-0.00538785383105278,
0.09776834398508072,
0.07146818935871124,
0.05524411052465439,
0.19629524648189545,
-0.003863036632537842,
0.1495785415172577,
0.09311437606811523,
0.36998966336250305,
-0.020326051861047745,
-0.05988669395446777,
-0.46476632356643677,
-0.25023263692855835,
-0.22430504858493805,
-0.2275564968585968,
0.3014705181121826,
-0.2856253683567047,
-0.3109283447265625,
-0.065090112388134,
-0.06925832480192184,
-0.017305487766861916,
0.2589636743068695,
0.5917762517929077,
-0.21996116638183594,
0.10643654316663742,
0.07583523541688919,
0.3028854727745056,
-0.0017313193529844284,
0.24293085932731628,
-0.24847497045993805,
0.4639938771724701,
-0.1429482400417328,
-0.05643370747566223,
0.2510647177696228,
-0.41337284445762634,
0.41459646821022034,
-0.1181405559182167,
0.01099865511059761,
-0.13539904356002808,
-0.03779175877571106,
-0.16318553686141968,
0.1514468491077423,
0.22478823363780975,
-0.06264401227235794,
0.07585769891738892,
0.2453986257314682,
0.0033517368137836456,
-0.19456228613853455,
-0.2132008969783783,
-0.14824482798576355,
-0.4352904260158539,
-0.1609930545091629,
0.2583008408546448,
-0.00898844376206398,
-0.1736530363559723,
-0.13581353425979614,
-0.36661282181739807,
0.1069539412856102,
-0.05935004726052284,
-0.08983730524778366,
-0.20576684176921844,
-0.13394515216350555,
-0.21237832307815552,
0.4348728358745575,
0.6249147057533264,
0.05776376649737358,
-0.1927989423274994,
-0.14818882942199707,
0.12237627804279327,
0.1011740043759346,
0.18794865906238556,
-0.2569374442100525,
0.1325681358575821,
-0.3040418028831482,
-0.2483961284160614,
0.5892067551612854,
-0.47865745425224304,
-0.3480915427207947,
0.4911935031414032,
-0.2445545345544815,
0.0593724399805069,
0.14396417140960693,
-0.10011886805295944,
0.23851872980594635,
0.04851565882563591,
0.5149021148681641,
0.152522012591362,
0.006027890369296074,
-0.07577167451381683,
-0.20675203204154968,
-0.35484352707862854,
-0.16947177052497864,
0.26682522892951965,
0.2473152130842209,
0.12034077942371368,
0.2451995611190796,
0.31102147698402405,
0.05816756933927536,
-0.02357478067278862,
-0.04133238643407822,
0.2516631484031677,
0.2244618535041809,
0.05115453898906708,
-0.20826080441474915,
-0.060526762157678604,
-0.37326186895370483,
0.21851837635040283,
-0.001984149217605591,
0.09431573748588562,
-0.19074876606464386,
0.10804979503154755,
-0.5253342390060425,
-0.041457876563072205,
-0.24759207665920258,
-0.16388830542564392,
0.1638510376214981,
0.2125469297170639,
0.25645673274993896,
0.13565102219581604,
-0.21326373517513275,
0.350999116897583,
-0.12664756178855896,
0.06779779493808746,
-0.21359236538410187,
0.04864167422056198,
-0.16980838775634766,
-0.1537032276391983,
0.129837766289711,
0.1843458116054535,
0.25910237431526184,
-0.28864049911499023,
0.046595003455877304,
0.24315369129180908,
-0.04690813645720482,
-0.2477148324251175,
0.040527671575546265,
0.23633292317390442,
0.23930193483829498,
-0.04645710438489914,
0.154401496052742,
-0.06361351907253265,
0.16308505833148956,
0.05052722245454788,
0.15601284801959991,
0.3476128578186035,
-0.11604441702365875,
0.26532819867134094,
0.2960420846939087,
-0.12879155576229095,
0.3048323094844818,
0.03710387274622917,
0.10481912642717361,
-0.23037365078926086,
0.27540239691734314,
0.11039192974567413,
0.4532397985458374,
0.08788583427667618,
-0.2446535974740982,
-0.03625776618719101,
0.1542770117521286,
0.1417570412158966,
-0.10042419284582138,
0.08807116746902466,
-0.10780785232782364,
0.05031441152095795,
-0.16432204842567444,
0.12598350644111633,
0.4394568204879761,
0.31522542238235474,
-0.003014031797647476,
-0.1307426244020462,
0.14571307599544525,
-0.1901172697544098,
0.2285243272781372,
0.08282925933599472,
0.1319265067577362,
0.09039544314146042,
0.24315237998962402,
0.0604095496237278,
-0.2865852415561676,
-0.41364818811416626,
0.060415737330913544,
0.2175486534833908,
-0.12337245047092438,
0.05431175231933594,
-0.34158021211624146,
-0.4350298047065735,
-0.1832306683063507,
-0.08125612884759903,
-0.11896175146102905,
-0.22244898974895477,
-0.10931102931499481,
0.38502854108810425,
0.0820259153842926,
0.17434938251972198,
-0.3616301715373993,
0.13116607069969177,
0.003489641472697258,
-0.46367576718330383,
-0.020846668630838394,
-0.049859385937452316,
0.023863229900598526,
0.09164667129516602,
0.31019631028175354,
-0.3293980062007904,
0.2989200949668884,
-0.2584400177001953,
-0.3787846565246582,
-0.34379130601882935,
-0.05244942754507065,
0.16397854685783386,
0.0416436567902565,
0.29193219542503357,
0.058481648564338684,
0.2683336138725281,
-0.04782247915863991,
-0.1814962923526764,
0.27852076292037964,
-0.03338020294904709,
-0.10167858749628067,
-0.056819867342710495,
-0.015225191600620747,
0.0047200205735862255,
0.1111132800579071,
-0.3484596312046051,
-0.3846932053565979,
-0.5702347159385681,
0.0012279301881790161,
0.024109605699777603,
0.09762848913669586,
0.16337420046329498,
0.0823182761669159,
0.13954360783100128,
-0.27713483572006226,
0.2637176215648651,
0.002817646600306034,
-0.6356604695320129,
0.3077561855316162,
-0.33546748757362366,
-0.47401848435401917,
0.06365470588207245,
0.07190565019845963,
0.14831218123435974,
0.05984359607100487,
-0.3255211114883423,
-0.11848767101764679,
-0.2935323417186737,
0.09697514772415161,
0.011317480355501175,
0.1488797962665558,
0.15640375018119812,
-0.06274870783090591,
-0.1523786187171936,
-0.0394822359085083,
-0.0744168609380722,
0.028421692550182343,
0.07555346190929413,
0.1952206939458847,
-0.15567055344581604,
0.30543941259384155,
-0.18728011846542358,
0.8105010390281677,
-0.04469044506549835,
-0.25672340393066406,
0.623231053352356,
-0.3263624310493469,
0.5438454151153564,
-0.19529539346694946,
-0.5162588953971863,
-0.08893739432096481,
0.00128956139087677,
0.21688170731067657,
0.04743514209985733,
-0.12295449525117874,
-0.06915910542011261,
-0.38823264837265015,
-0.1752278059720993,
-0.3440132439136505,
-0.1467587649822235,
0.02549194172024727,
-0.05593506991863251,
-0.0069196149706840515,
-0.0019945427775382996,
-0.13490024209022522,
0.07629266381263733,
-0.044844966381788254,
0.10676823556423187,
0.46774595975875854,
0.10589715093374252,
0.13387881219387054,
0.26996639370918274,
-0.12590770423412323,
-0.3153821527957916,
0.22928881645202637,
0.09900809079408646,
0.18408025801181793,
-0.026351533830165863,
-0.1844697892665863,
-0.0765058696269989,
-0.11257845163345337,
0.5402200222015381,
0.023272089660167694,
0.11169776320457458,
0.30337703227996826,
-0.32105961441993713,
-0.40749379992485046,
-0.009445827454328537,
-0.18676722049713135,
0.07283762842416763,
0.42948973178863525,
0.1813540905714035,
-0.32190993428230286,
-0.16755980253219604,
0.3808232545852661,
0.27688974142074585,
-0.16482549905776978,
-0.0369856022298336,
-0.3196113109588623,
-0.29033592343330383,
-0.3800642788410187,
-0.04817163199186325,
0.10762771219015121,
0.4150264859199524,
0.034087173640728,
0.10116872191429138,
-0.2938579022884369,
-0.026018720120191574,
-0.01725190132856369,
0.07507798075675964,
0.3295864462852478,
-0.005177735351026058,
0.2987500727176666,
0.00012709200382232666,
0.47902926802635193,
0.5336912274360657,
0.6083148717880249,
-0.0790778249502182,
-0.16824880242347717,
0.17423701286315918,
0.23881866037845612,
0.05684997886419296,
0.09113869816064835,
-0.16430163383483887,
-0.07607509940862656,
0.10034985095262527,
0.1237163245677948,
0.07576334476470947,
0.4928692579269409,
0.19979821145534515,
-0.10172160714864731,
-0.30607929825782776,
-0.2848148047924042,
0.37999555468559265,
0.005959697067737579,
0.18399696052074432,
0.36174649000167847,
0.17350268363952637,
-0.17937903106212616,
0.1578199863433838,
-0.2865615785121918,
0.8279552459716797,
-0.08830136060714722,
0.18634375929832458,
0.2034924328327179,
-0.17070503532886505,
0.4270979166030884,
0.004430830478668213,
0.26083746552467346,
-0.3066089451313019,
-0.19179415702819824,
0.10685522854328156,
-0.2196326106786728,
-0.04524001479148865,
0.03721798211336136,
-0.0017503723502159119,
0.2464992105960846,
-0.17162050306797028,
-0.25355440378189087,
-0.1752813309431076,
0.4142422080039978,
-0.06009165197610855,
-0.12735615670681,
-0.29728633165359497,
0.12330053746700287,
0.0636468380689621,
0.4764899015426636,
-0.2641226649284363,
-0.02281554788351059,
-0.1227031797170639,
-0.27867045998573303,
-0.2843518555164337,
0.26143744587898254,
-0.09231774508953094,
0.31949836015701294,
-0.3142414093017578,
-0.19946099817752838,
-0.01172499917447567,
-0.14107245206832886,
0.011997856199741364,
-0.012182537466287613,
-0.11364437639713287,
0.09910377115011215,
0.025367673486471176,
-0.43136706948280334,
-0.012650714255869389,
0.10936341434717178,
0.46064111590385437,
-0.17485299706459045,
-0.056960225105285645,
-0.04395218938589096,
-0.12093298137187958,
-0.07641346007585526,
0.06663747131824493,
0.06065049767494202,
-0.1704290807247162,
-0.28526031970977783,
-0.3929140865802765,
0.005713850259780884,
-0.019214875996112823,
-0.28608328104019165,
0.1495039314031601,
0.054130665957927704,
-0.1489328294992447,
-0.14100554585456848,
0.0631333738565445,
-0.36947429180145264,
-0.2614472210407257,
0.5848145484924316,
-0.22904688119888306,
-0.16726593673229218,
0.47557252645492554,
0.13893386721611023,
-0.24537426233291626,
-0.23894688487052917,
-0.057756949216127396,
0.2142285704612732,
-0.3769005537033081,
0.19337308406829834,
0.1458590030670166,
0.21041031181812286,
0.09942837804555893,
0.40533897280693054,
0.22381696105003357,
-0.06555325537919998,
0.16352632641792297,
-0.5226733684539795,
-0.20488253235816956,
0.262917160987854,
-0.07548348605632782,
0.16751886904239655,
0.08345084637403488,
0.03237418830394745,
0.11394163966178894,
-0.04111470282077789,
-0.35816633701324463,
0.02797054871916771,
-0.2944273054599762,
0.05202185735106468,
0.18176890909671783,
-0.02116302400827408,
0.3573221266269684,
0.21044392883777618,
0.24124792218208313,
-0.09528656303882599,
-0.10117126256227493,
-0.28111588954925537,
-0.10542942583560944,
0.13714921474456787,
-0.035185348242521286,
-0.06466817110776901,
-0.1630118489265442,
-0.15914061665534973,
-0.13305053114891052,
-0.06426865607500076,
0.28090721368789673,
0.1647324562072754,
0.011762835085391998,
-0.28477662801742554,
0.09815338253974915,
-0.042120590806007385,
-0.17192241549491882,
0.22524286806583405,
0.10760018974542618,
0.050925977528095245,
0.24895961582660675,
0.2051204890012741,
0.03169727697968483,
-0.10998404026031494,
0.13872338831424713,
-0.290535032749176,
0.06813372671604156,
-0.024092942476272583,
0.21761798858642578,
-0.27601248025894165,
-0.27414217591285706,
0.153818279504776,
0.27452555298805237,
0.40746381878852844,
0.008172674104571342,
0.047038719058036804,
0.21613809466362,
0.26689890027046204,
-0.37733104825019836,
0.018924344331026077,
0.02856457605957985,
-0.1256905049085617,
0.2468959391117096,
0.255074143409729,
-0.10685685276985168,
0.04810285568237305,
0.13607925176620483,
0.22310075163841248,
0.4210965931415558,
-0.07787281274795532,
0.21608766913414001,
-0.17834360897541046,
0.04896638169884682,
-0.10448957979679108,
0.33434227108955383,
0.28297609090805054,
0.43287962675094604,
0.290289968252182,
-0.15966036915779114,
0.3407621681690216,
-0.16929417848587036,
0.16619661450386047,
-0.04292864352464676,
-0.4089372158050537,
0.3431921601295471,
0.15553337335586548,
0.11816783249378204,
-0.05459044873714447,
-0.28554677963256836,
-0.008487768471240997,
-0.0694933831691742,
0.20134535431861877,
-0.11921326816082001,
0.29313769936561584,
-0.1820882260799408,
-0.10907052457332611,
0.0934147983789444,
-0.4112871587276459,
0.0798894613981247,
0.04610728099942207,
0.1834767460823059,
-0.16558101773262024,
0.14624716341495514,
0.2682878375053406,
-0.16758312284946442,
-0.07779644429683685,
-0.01805393025279045,
0.33321481943130493,
0.1199544221162796,
-0.2109154760837555,
0.20816779136657715,
0.22058716416358948,
-0.11674767732620239,
-0.1216178834438324,
0.35573533177375793,
0.59096759557724,
0.3230316936969757,
0.19669397175312042,
0.006357399746775627,
0.15227706730365753,
-0.12971016764640808,
-0.10763058811426163,
0.13932642340660095,
-0.07135576009750366,
0.23523183166980743,
0.17580562829971313,
0.2756284773349762,
-0.29158833622932434,
0.05138206481933594,
-0.08992363512516022,
-0.034118834882974625,
-0.0582946240901947,
0.21728548407554626,
-0.04699613153934479,
-0.12632200121879578,
-0.3412037193775177,
0.21555152535438538,
-0.5843132138252258,
0.4456866979598999,
0.22311004996299744,
0.010193584486842155,
0.1192840114235878,
0.03430074825882912,
0.1173476129770279,
0.11047714948654175,
0.4590657651424408,
0.33333051204681396,
0.2629758417606354,
-0.37811025977134705,
-0.0899774506688118,
-0.5046923160552979,
0.21310590207576752,
-0.13435181975364685,
0.005426427349448204,
0.08418431878089905,
0.23695550858974457,
-0.05534752458333969,
0.002501450479030609,
0.1508084535598755,
0.218392476439476,
0.09023430943489075,
-0.01754169911146164,
-0.2637942135334015,
-0.016126349568367004,
0.07066140323877335,
0.017755502834916115,
0.12976503372192383,
-0.33055853843688965,
0.0024303607642650604,
-0.4772557020187378,
0.09521638602018356,
-0.14542801678180695,
-0.2248672991991043,
-0.1889302134513855,
-0.3420712351799011,
0.3520760238170624,
-0.12084928154945374,
0.15904700756072998,
-0.19753620028495789,
-0.1927536129951477,
-0.2993258535861969,
-0.45228493213653564,
-0.19793860614299774,
0.3398812413215637,
0.33928802609443665,
0.25232818722724915,
-0.26623016595840454,
-0.17875263094902039,
-0.43738287687301636,
0.28318849205970764,
-0.015629183501005173,
-0.21148018538951874,
0.13195638358592987,
-0.08780550211668015,
0.029406137764453888,
-0.027512328699231148,
0.057588737457990646,
0.11311174184083939,
0.03045600838959217,
0.02422300912439823,
-0.35245174169540405,
-0.3214488923549652,
0.532199501991272,
-0.18555016815662384,
-0.09508663415908813,
-0.07175115495920181,
0.26732829213142395,
0.04058866575360298,
-0.0020063836127519608,
-0.5231080651283264,
0.5159045457839966,
0.4153161346912384,
0.06819544732570648,
-0.15660029649734497,
0.18991678953170776,
-0.26911211013793945,
0.04657233878970146,
-0.08129599690437317,
0.17667508125305176,
-0.006289441138505936,
-0.2810450494289398,
-0.19856396317481995,
-0.026659337803721428
] |
https://github.com/huggingface/datasets/issues/1641 | muchocine dataset cannot be dowloaded | Muchocine was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `muchocine` with
```python
from datasets import load_dataset
dataset = load_dataset("muchocine", split="train")
``` | ```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
``` | 41 | muchocine dataset cannot be dowloaded
```python
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
267 try:
--> 268 local_path = cached_path(file_path, download_config=download_config)
269 except FileNotFoundError:
7 frames
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
281 raise FileNotFoundError(
282 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 283 combined_path, github_file_path, file_path
284 )
285 )
FileNotFoundError: Couldn't find file locally at muchocine/muchocine.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/muchocine/muchocine.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/muchocine/muchocine.py
```
Muchocine was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `muchocine` with
```python
from datasets import load_dataset
dataset = load_dataset("muchocine", split="train")
``` | [
-0.3657994568347931,
-0.14910876750946045,
-0.05358145385980606,
0.33292156457901,
0.430877149105072,
0.12308869510889053,
0.35996267199516296,
0.31735464930534363,
0.3176316022872925,
0.06259839236736298,
-0.23802688717842102,
0.00120096979662776,
-0.08891042321920395,
0.06104440987110138,
0.03860200196504593,
0.019657418131828308,
-0.09693703800439835,
0.04208481311798096,
-0.09131166338920593,
0.018346168100833893,
-0.21038275957107544,
0.09538745135068893,
-0.035420116037130356,
-0.10084477066993713,
-0.11070416122674942,
-0.13737131655216217,
-0.04562951996922493,
0.3429243862628937,
-0.46381595730781555,
-0.24751444160938263,
0.3933924436569214,
-0.05974766984581947,
0.23428121209144592,
0.43292954564094543,
-0.0001103552058339119,
0.1410665661096573,
0.3332580327987671,
-0.13182629644870758,
-0.43658116459846497,
-0.5427045822143555,
-0.2340315580368042,
-0.24828097224235535,
0.12176093459129333,
-0.13929709792137146,
-0.08604875206947327,
-0.26267507672309875,
0.07573141902685165,
-0.16159474849700928,
0.32599514722824097,
0.45968949794769287,
0.27395644783973694,
0.3807637393474579,
0.17290735244750977,
-0.2033829241991043,
0.4229693114757538,
-0.024713940918445587,
-0.1236245185136795,
0.4684588313102722,
0.06930404901504517,
-0.024407735094428062,
0.07985001057386398,
0.07080820202827454,
-0.1889909952878952,
0.13675808906555176,
0.10102821886539459,
-0.12838004529476166,
-0.09865730255842209,
-0.3918553292751312,
0.19865825772285461,
0.20604991912841797,
0.2593173384666443,
-0.14492037892341614,
-0.4517107307910919,
-0.0636468380689621,
0.0942920371890068,
-0.47883862257003784,
0.09187661111354828,
0.23962566256523132,
0.15926451981067657,
0.10965561866760254,
0.03730069473385811,
-0.24976596236228943,
-0.13812634348869324,
0.3669582009315491,
-0.11735157668590546,
0.06643366813659668,
-0.246063232421875,
-0.10646990686655045,
0.06806255877017975,
-0.164712056517601,
-0.15109007060527802,
0.11550154536962509,
-0.20621934533119202,
0.10286708176136017,
-0.2802645266056061,
-0.056664809584617615,
-0.07721180468797684,
-0.0013283640146255493,
0.09711181372404099,
0.25659722089767456,
0.040513232350349426,
-0.00538785383105278,
0.09776834398508072,
0.07146818935871124,
0.05524411052465439,
0.19629524648189545,
-0.003863036632537842,
0.1495785415172577,
0.09311437606811523,
0.36998966336250305,
-0.020326051861047745,
-0.05988669395446777,
-0.46476632356643677,
-0.25023263692855835,
-0.22430504858493805,
-0.2275564968585968,
0.3014705181121826,
-0.2856253683567047,
-0.3109283447265625,
-0.065090112388134,
-0.06925832480192184,
-0.017305487766861916,
0.2589636743068695,
0.5917762517929077,
-0.21996116638183594,
0.10643654316663742,
0.07583523541688919,
0.3028854727745056,
-0.0017313193529844284,
0.24293085932731628,
-0.24847497045993805,
0.4639938771724701,
-0.1429482400417328,
-0.05643370747566223,
0.2510647177696228,
-0.41337284445762634,
0.41459646821022034,
-0.1181405559182167,
0.01099865511059761,
-0.13539904356002808,
-0.03779175877571106,
-0.16318553686141968,
0.1514468491077423,
0.22478823363780975,
-0.06264401227235794,
0.07585769891738892,
0.2453986257314682,
0.0033517368137836456,
-0.19456228613853455,
-0.2132008969783783,
-0.14824482798576355,
-0.4352904260158539,
-0.1609930545091629,
0.2583008408546448,
-0.00898844376206398,
-0.1736530363559723,
-0.13581353425979614,
-0.36661282181739807,
0.1069539412856102,
-0.05935004726052284,
-0.08983730524778366,
-0.20576684176921844,
-0.13394515216350555,
-0.21237832307815552,
0.4348728358745575,
0.6249147057533264,
0.05776376649737358,
-0.1927989423274994,
-0.14818882942199707,
0.12237627804279327,
0.1011740043759346,
0.18794865906238556,
-0.2569374442100525,
0.1325681358575821,
-0.3040418028831482,
-0.2483961284160614,
0.5892067551612854,
-0.47865745425224304,
-0.3480915427207947,
0.4911935031414032,
-0.2445545345544815,
0.0593724399805069,
0.14396417140960693,
-0.10011886805295944,
0.23851872980594635,
0.04851565882563591,
0.5149021148681641,
0.152522012591362,
0.006027890369296074,
-0.07577167451381683,
-0.20675203204154968,
-0.35484352707862854,
-0.16947177052497864,
0.26682522892951965,
0.2473152130842209,
0.12034077942371368,
0.2451995611190796,
0.31102147698402405,
0.05816756933927536,
-0.02357478067278862,
-0.04133238643407822,
0.2516631484031677,
0.2244618535041809,
0.05115453898906708,
-0.20826080441474915,
-0.060526762157678604,
-0.37326186895370483,
0.21851837635040283,
-0.001984149217605591,
0.09431573748588562,
-0.19074876606464386,
0.10804979503154755,
-0.5253342390060425,
-0.041457876563072205,
-0.24759207665920258,
-0.16388830542564392,
0.1638510376214981,
0.2125469297170639,
0.25645673274993896,
0.13565102219581604,
-0.21326373517513275,
0.350999116897583,
-0.12664756178855896,
0.06779779493808746,
-0.21359236538410187,
0.04864167422056198,
-0.16980838775634766,
-0.1537032276391983,
0.129837766289711,
0.1843458116054535,
0.25910237431526184,
-0.28864049911499023,
0.046595003455877304,
0.24315369129180908,
-0.04690813645720482,
-0.2477148324251175,
0.040527671575546265,
0.23633292317390442,
0.23930193483829498,
-0.04645710438489914,
0.154401496052742,
-0.06361351907253265,
0.16308505833148956,
0.05052722245454788,
0.15601284801959991,
0.3476128578186035,
-0.11604441702365875,
0.26532819867134094,
0.2960420846939087,
-0.12879155576229095,
0.3048323094844818,
0.03710387274622917,
0.10481912642717361,
-0.23037365078926086,
0.27540239691734314,
0.11039192974567413,
0.4532397985458374,
0.08788583427667618,
-0.2446535974740982,
-0.03625776618719101,
0.1542770117521286,
0.1417570412158966,
-0.10042419284582138,
0.08807116746902466,
-0.10780785232782364,
0.05031441152095795,
-0.16432204842567444,
0.12598350644111633,
0.4394568204879761,
0.31522542238235474,
-0.003014031797647476,
-0.1307426244020462,
0.14571307599544525,
-0.1901172697544098,
0.2285243272781372,
0.08282925933599472,
0.1319265067577362,
0.09039544314146042,
0.24315237998962402,
0.0604095496237278,
-0.2865852415561676,
-0.41364818811416626,
0.060415737330913544,
0.2175486534833908,
-0.12337245047092438,
0.05431175231933594,
-0.34158021211624146,
-0.4350298047065735,
-0.1832306683063507,
-0.08125612884759903,
-0.11896175146102905,
-0.22244898974895477,
-0.10931102931499481,
0.38502854108810425,
0.0820259153842926,
0.17434938251972198,
-0.3616301715373993,
0.13116607069969177,
0.003489641472697258,
-0.46367576718330383,
-0.020846668630838394,
-0.049859385937452316,
0.023863229900598526,
0.09164667129516602,
0.31019631028175354,
-0.3293980062007904,
0.2989200949668884,
-0.2584400177001953,
-0.3787846565246582,
-0.34379130601882935,
-0.05244942754507065,
0.16397854685783386,
0.0416436567902565,
0.29193219542503357,
0.058481648564338684,
0.2683336138725281,
-0.04782247915863991,
-0.1814962923526764,
0.27852076292037964,
-0.03338020294904709,
-0.10167858749628067,
-0.056819867342710495,
-0.015225191600620747,
0.0047200205735862255,
0.1111132800579071,
-0.3484596312046051,
-0.3846932053565979,
-0.5702347159385681,
0.0012279301881790161,
0.024109605699777603,
0.09762848913669586,
0.16337420046329498,
0.0823182761669159,
0.13954360783100128,
-0.27713483572006226,
0.2637176215648651,
0.002817646600306034,
-0.6356604695320129,
0.3077561855316162,
-0.33546748757362366,
-0.47401848435401917,
0.06365470588207245,
0.07190565019845963,
0.14831218123435974,
0.05984359607100487,
-0.3255211114883423,
-0.11848767101764679,
-0.2935323417186737,
0.09697514772415161,
0.011317480355501175,
0.1488797962665558,
0.15640375018119812,
-0.06274870783090591,
-0.1523786187171936,
-0.0394822359085083,
-0.0744168609380722,
0.028421692550182343,
0.07555346190929413,
0.1952206939458847,
-0.15567055344581604,
0.30543941259384155,
-0.18728011846542358,
0.8105010390281677,
-0.04469044506549835,
-0.25672340393066406,
0.623231053352356,
-0.3263624310493469,
0.5438454151153564,
-0.19529539346694946,
-0.5162588953971863,
-0.08893739432096481,
0.00128956139087677,
0.21688170731067657,
0.04743514209985733,
-0.12295449525117874,
-0.06915910542011261,
-0.38823264837265015,
-0.1752278059720993,
-0.3440132439136505,
-0.1467587649822235,
0.02549194172024727,
-0.05593506991863251,
-0.0069196149706840515,
-0.0019945427775382996,
-0.13490024209022522,
0.07629266381263733,
-0.044844966381788254,
0.10676823556423187,
0.46774595975875854,
0.10589715093374252,
0.13387881219387054,
0.26996639370918274,
-0.12590770423412323,
-0.3153821527957916,
0.22928881645202637,
0.09900809079408646,
0.18408025801181793,
-0.026351533830165863,
-0.1844697892665863,
-0.0765058696269989,
-0.11257845163345337,
0.5402200222015381,
0.023272089660167694,
0.11169776320457458,
0.30337703227996826,
-0.32105961441993713,
-0.40749379992485046,
-0.009445827454328537,
-0.18676722049713135,
0.07283762842416763,
0.42948973178863525,
0.1813540905714035,
-0.32190993428230286,
-0.16755980253219604,
0.3808232545852661,
0.27688974142074585,
-0.16482549905776978,
-0.0369856022298336,
-0.3196113109588623,
-0.29033592343330383,
-0.3800642788410187,
-0.04817163199186325,
0.10762771219015121,
0.4150264859199524,
0.034087173640728,
0.10116872191429138,
-0.2938579022884369,
-0.026018720120191574,
-0.01725190132856369,
0.07507798075675964,
0.3295864462852478,
-0.005177735351026058,
0.2987500727176666,
0.00012709200382232666,
0.47902926802635193,
0.5336912274360657,
0.6083148717880249,
-0.0790778249502182,
-0.16824880242347717,
0.17423701286315918,
0.23881866037845612,
0.05684997886419296,
0.09113869816064835,
-0.16430163383483887,
-0.07607509940862656,
0.10034985095262527,
0.1237163245677948,
0.07576334476470947,
0.4928692579269409,
0.19979821145534515,
-0.10172160714864731,
-0.30607929825782776,
-0.2848148047924042,
0.37999555468559265,
0.005959697067737579,
0.18399696052074432,
0.36174649000167847,
0.17350268363952637,
-0.17937903106212616,
0.1578199863433838,
-0.2865615785121918,
0.8279552459716797,
-0.08830136060714722,
0.18634375929832458,
0.2034924328327179,
-0.17070503532886505,
0.4270979166030884,
0.004430830478668213,
0.26083746552467346,
-0.3066089451313019,
-0.19179415702819824,
0.10685522854328156,
-0.2196326106786728,
-0.04524001479148865,
0.03721798211336136,
-0.0017503723502159119,
0.2464992105960846,
-0.17162050306797028,
-0.25355440378189087,
-0.1752813309431076,
0.4142422080039978,
-0.06009165197610855,
-0.12735615670681,
-0.29728633165359497,
0.12330053746700287,
0.0636468380689621,
0.4764899015426636,
-0.2641226649284363,
-0.02281554788351059,
-0.1227031797170639,
-0.27867045998573303,
-0.2843518555164337,
0.26143744587898254,
-0.09231774508953094,
0.31949836015701294,
-0.3142414093017578,
-0.19946099817752838,
-0.01172499917447567,
-0.14107245206832886,
0.011997856199741364,
-0.012182537466287613,
-0.11364437639713287,
0.09910377115011215,
0.025367673486471176,
-0.43136706948280334,
-0.012650714255869389,
0.10936341434717178,
0.46064111590385437,
-0.17485299706459045,
-0.056960225105285645,
-0.04395218938589096,
-0.12093298137187958,
-0.07641346007585526,
0.06663747131824493,
0.06065049767494202,
-0.1704290807247162,
-0.28526031970977783,
-0.3929140865802765,
0.005713850259780884,
-0.019214875996112823,
-0.28608328104019165,
0.1495039314031601,
0.054130665957927704,
-0.1489328294992447,
-0.14100554585456848,
0.0631333738565445,
-0.36947429180145264,
-0.2614472210407257,
0.5848145484924316,
-0.22904688119888306,
-0.16726593673229218,
0.47557252645492554,
0.13893386721611023,
-0.24537426233291626,
-0.23894688487052917,
-0.057756949216127396,
0.2142285704612732,
-0.3769005537033081,
0.19337308406829834,
0.1458590030670166,
0.21041031181812286,
0.09942837804555893,
0.40533897280693054,
0.22381696105003357,
-0.06555325537919998,
0.16352632641792297,
-0.5226733684539795,
-0.20488253235816956,
0.262917160987854,
-0.07548348605632782,
0.16751886904239655,
0.08345084637403488,
0.03237418830394745,
0.11394163966178894,
-0.04111470282077789,
-0.35816633701324463,
0.02797054871916771,
-0.2944273054599762,
0.05202185735106468,
0.18176890909671783,
-0.02116302400827408,
0.3573221266269684,
0.21044392883777618,
0.24124792218208313,
-0.09528656303882599,
-0.10117126256227493,
-0.28111588954925537,
-0.10542942583560944,
0.13714921474456787,
-0.035185348242521286,
-0.06466817110776901,
-0.1630118489265442,
-0.15914061665534973,
-0.13305053114891052,
-0.06426865607500076,
0.28090721368789673,
0.1647324562072754,
0.011762835085391998,
-0.28477662801742554,
0.09815338253974915,
-0.042120590806007385,
-0.17192241549491882,
0.22524286806583405,
0.10760018974542618,
0.050925977528095245,
0.24895961582660675,
0.2051204890012741,
0.03169727697968483,
-0.10998404026031494,
0.13872338831424713,
-0.290535032749176,
0.06813372671604156,
-0.024092942476272583,
0.21761798858642578,
-0.27601248025894165,
-0.27414217591285706,
0.153818279504776,
0.27452555298805237,
0.40746381878852844,
0.008172674104571342,
0.047038719058036804,
0.21613809466362,
0.26689890027046204,
-0.37733104825019836,
0.018924344331026077,
0.02856457605957985,
-0.1256905049085617,
0.2468959391117096,
0.255074143409729,
-0.10685685276985168,
0.04810285568237305,
0.13607925176620483,
0.22310075163841248,
0.4210965931415558,
-0.07787281274795532,
0.21608766913414001,
-0.17834360897541046,
0.04896638169884682,
-0.10448957979679108,
0.33434227108955383,
0.28297609090805054,
0.43287962675094604,
0.290289968252182,
-0.15966036915779114,
0.3407621681690216,
-0.16929417848587036,
0.16619661450386047,
-0.04292864352464676,
-0.4089372158050537,
0.3431921601295471,
0.15553337335586548,
0.11816783249378204,
-0.05459044873714447,
-0.28554677963256836,
-0.008487768471240997,
-0.0694933831691742,
0.20134535431861877,
-0.11921326816082001,
0.29313769936561584,
-0.1820882260799408,
-0.10907052457332611,
0.0934147983789444,
-0.4112871587276459,
0.0798894613981247,
0.04610728099942207,
0.1834767460823059,
-0.16558101773262024,
0.14624716341495514,
0.2682878375053406,
-0.16758312284946442,
-0.07779644429683685,
-0.01805393025279045,
0.33321481943130493,
0.1199544221162796,
-0.2109154760837555,
0.20816779136657715,
0.22058716416358948,
-0.11674767732620239,
-0.1216178834438324,
0.35573533177375793,
0.59096759557724,
0.3230316936969757,
0.19669397175312042,
0.006357399746775627,
0.15227706730365753,
-0.12971016764640808,
-0.10763058811426163,
0.13932642340660095,
-0.07135576009750366,
0.23523183166980743,
0.17580562829971313,
0.2756284773349762,
-0.29158833622932434,
0.05138206481933594,
-0.08992363512516022,
-0.034118834882974625,
-0.0582946240901947,
0.21728548407554626,
-0.04699613153934479,
-0.12632200121879578,
-0.3412037193775177,
0.21555152535438538,
-0.5843132138252258,
0.4456866979598999,
0.22311004996299744,
0.010193584486842155,
0.1192840114235878,
0.03430074825882912,
0.1173476129770279,
0.11047714948654175,
0.4590657651424408,
0.33333051204681396,
0.2629758417606354,
-0.37811025977134705,
-0.0899774506688118,
-0.5046923160552979,
0.21310590207576752,
-0.13435181975364685,
0.005426427349448204,
0.08418431878089905,
0.23695550858974457,
-0.05534752458333969,
0.002501450479030609,
0.1508084535598755,
0.218392476439476,
0.09023430943489075,
-0.01754169911146164,
-0.2637942135334015,
-0.016126349568367004,
0.07066140323877335,
0.017755502834916115,
0.12976503372192383,
-0.33055853843688965,
0.0024303607642650604,
-0.4772557020187378,
0.09521638602018356,
-0.14542801678180695,
-0.2248672991991043,
-0.1889302134513855,
-0.3420712351799011,
0.3520760238170624,
-0.12084928154945374,
0.15904700756072998,
-0.19753620028495789,
-0.1927536129951477,
-0.2993258535861969,
-0.45228493213653564,
-0.19793860614299774,
0.3398812413215637,
0.33928802609443665,
0.25232818722724915,
-0.26623016595840454,
-0.17875263094902039,
-0.43738287687301636,
0.28318849205970764,
-0.015629183501005173,
-0.21148018538951874,
0.13195638358592987,
-0.08780550211668015,
0.029406137764453888,
-0.027512328699231148,
0.057588737457990646,
0.11311174184083939,
0.03045600838959217,
0.02422300912439823,
-0.35245174169540405,
-0.3214488923549652,
0.532199501991272,
-0.18555016815662384,
-0.09508663415908813,
-0.07175115495920181,
0.26732829213142395,
0.04058866575360298,
-0.0020063836127519608,
-0.5231080651283264,
0.5159045457839966,
0.4153161346912384,
0.06819544732570648,
-0.15660029649734497,
0.18991678953170776,
-0.26911211013793945,
0.04657233878970146,
-0.08129599690437317,
0.17667508125305176,
-0.006289441138505936,
-0.2810450494289398,
-0.19856396317481995,
-0.026659337803721428
] |
https://github.com/huggingface/datasets/issues/1639 | bug with sst2 in glue | Maybe you can use nltk's treebank detokenizer ?
```python
from nltk.tokenize.treebank import TreebankWordDetokenizer
TreebankWordDetokenizer().detokenize("it 's a charming and often affecting journey . ".split())
# "it's a charming and often affecting journey."
``` | Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on this dataset. thank you for your help. @lhoestq
```
>>> a = datasets.load_dataset('glue', 'sst2', split="validation", script_version="master")
Reusing dataset glue (/julia/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
>>> a[:10]
{'idx': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'label': [1, 0, 1, 1, 0, 1, 0, 0, 1, 0], 'sentence': ["it 's a charming and often affecting journey . ", 'unflinchingly bleak and desperate ', 'allows us to hope that nolan is poised to embark a major career as a commercial yet inventive filmmaker . ', "the acting , costumes , music , cinematography and sound are all astounding given the production 's austere locales . ", "it 's slow -- very , very slow . ", 'although laced with humor and a few fanciful touches , the film is a refreshingly serious look at young women . ', 'a sometimes tedious film . ', "or doing last year 's taxes with your ex-wife . ", "you do n't have to know about music to appreciate the film 's easygoing blend of comedy and romance . ", "in exactly 89 minutes , most of which passed as slowly as if i 'd been sitting naked on an igloo , formula 51 sank from quirky to jerky to utter turkey . "]}
``` | 32 | bug with sst2 in glue
Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on this dataset. thank you for your help. @lhoestq
```
>>> a = datasets.load_dataset('glue', 'sst2', split="validation", script_version="master")
Reusing dataset glue (/julia/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
>>> a[:10]
{'idx': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'label': [1, 0, 1, 1, 0, 1, 0, 0, 1, 0], 'sentence': ["it 's a charming and often affecting journey . ", 'unflinchingly bleak and desperate ', 'allows us to hope that nolan is poised to embark a major career as a commercial yet inventive filmmaker . ', "the acting , costumes , music , cinematography and sound are all astounding given the production 's austere locales . ", "it 's slow -- very , very slow . ", 'although laced with humor and a few fanciful touches , the film is a refreshingly serious look at young women . ', 'a sometimes tedious film . ', "or doing last year 's taxes with your ex-wife . ", "you do n't have to know about music to appreciate the film 's easygoing blend of comedy and romance . ", "in exactly 89 minutes , most of which passed as slowly as if i 'd been sitting naked on an igloo , formula 51 sank from quirky to jerky to utter turkey . "]}
```
Maybe you can use nltk's treebank detokenizer ?
```python
from nltk.tokenize.treebank import TreebankWordDetokenizer
TreebankWordDetokenizer().detokenize("it 's a charming and often affecting journey . ".split())
# "it's a charming and often affecting journey."
``` | [
0.11419390141963959,
-0.1911146491765976,
0.05352913960814476,
0.1571246087551117,
0.15624037384986877,
-0.3605674207210541,
0.11344237625598907,
0.4331325590610504,
-0.09326623380184174,
0.023026742041110992,
-0.122538261115551,
0.13916902244091034,
-0.09749662131071091,
0.058675430715084076,
-0.1685887724161148,
-0.111880823969841,
0.27751052379608154,
0.08100581914186478,
-0.31225764751434326,
-0.21526475250720978,
0.14654898643493652,
0.32537731528282166,
-0.221794992685318,
0.19621595740318298,
-0.3749188184738159,
0.0005402080714702606,
-0.0025015659630298615,
-0.16533416509628296,
-0.14702126383781433,
-0.1796659678220749,
-0.361615926027298,
0.12274482846260071,
0.14287737011909485,
0.20761942863464355,
-0.0001284339523408562,
-0.22150340676307678,
0.2694627046585083,
-0.219406396150589,
0.0018539940938353539,
0.2560393810272217,
0.05658382922410965,
-0.5237964391708374,
0.00253779673948884,
-0.31943339109420776,
-0.36693286895751953,
0.10967487841844559,
-0.09383074194192886,
-0.2007993459701538,
0.5336478352546692,
-0.14314329624176025,
0.07676258683204651,
0.2225271314382553,
-0.06195681169629097,
0.10985996574163437,
0.1986178457736969,
0.002521909773349762,
-0.08196449279785156,
0.05609830096364021,
0.09482330828905106,
-0.0120574701577425,
0.14726710319519043,
0.23582331836223602,
-0.12458295375108719,
0.0914946049451828,
0.043576449155807495,
-0.031856030225753784,
-0.33312228322029114,
-0.3354300558567047,
0.1253536194562912,
0.34838104248046875,
0.29528746008872986,
-0.07505951821804047,
-0.5162138342857361,
-0.295261949300766,
-0.05249019339680672,
0.2702248692512512,
-0.11504045873880386,
0.058658115565776825,
0.16404962539672852,
0.4188828766345978,
-0.10411155223846436,
-0.2002941220998764,
-0.05142290145158768,
-0.006700888276100159,
0.13871781527996063,
0.33999165892601013,
0.061235759407281876,
0.15048804879188538,
-0.17371942102909088,
-0.21664221584796906,
-0.44003280997276306,
0.13998374342918396,
-0.5158091187477112,
-0.007779384963214397,
-0.4645267724990845,
-0.11712691187858582,
-0.33234795928001404,
0.08888562023639679,
-0.09495031833648682,
0.24793532490730286,
-0.20732727646827698,
0.10584941506385803,
0.3114406168460846,
-0.2439594268798828,
0.15556369721889496,
0.2846980690956116,
0.2777005136013031,
0.36763039231300354,
0.16047975420951843,
-0.4486634433269501,
-0.13512353599071503,
-0.07237543165683746,
-0.11485020071268082,
0.0376184843480587,
-0.10448510944843292,
0.07744739949703217,
-0.07882940024137497,
-0.25497087836265564,
-0.37546399235725403,
0.08493943512439728,
-0.5258411765098572,
0.20923687517642975,
-0.3027283251285553,
-0.0012374818325042725,
-0.13269254565238953,
0.17517593502998352,
0.01571900025010109,
0.22383469343185425,
-0.0487247034907341,
-0.5905399322509766,
-0.06691794097423553,
0.06010005995631218,
-0.05426468700170517,
0.01923212595283985,
-0.1725624054670334,
0.1348026692867279,
0.029142240062355995,
-0.015335491858422756,
-0.21412156522274017,
-0.035383958369493484,
-0.24142003059387207,
-0.32701271772384644,
0.16873444616794586,
-0.03203475847840309,
-0.24926669895648956,
0.32674193382263184,
-0.12425646185874939,
-0.34371113777160645,
0.18267890810966492,
-0.09522662311792374,
-0.24813666939735413,
0.004811521619558334,
-0.3740371763706207,
-0.07274150848388672,
-0.7066126465797424,
-0.03451850265264511,
0.07380867004394531,
0.3483803868293762,
-0.01705808937549591,
0.37115609645843506,
0.05687616392970085,
-0.13345670700073242,
-0.03937634080648422,
-0.08369599282741547,
0.3642609417438507,
0.5312821865081787,
-0.7039780616760254,
-0.14449909329414368,
0.21933850646018982,
0.037804123014211655,
0.42601117491722107,
0.5988709926605225,
0.3259575366973877,
0.3910282850265503,
-0.11650510877370834,
0.663813591003418,
0.04090028256177902,
-0.17757773399353027,
-0.40849271416664124,
0.3672138750553131,
-0.045497629791498184,
0.06838637590408325,
0.1460830420255661,
-0.02761867828667164,
0.622076153755188,
0.09999866783618927,
0.13522697985172272,
0.11667457222938538,
0.2677465081214905,
-0.058095477521419525,
-0.388386994600296,
-0.17979203164577484,
0.2969619631767273,
-0.0649927407503128,
-0.07485824823379517,
-0.17378681898117065,
-0.0679679736495018,
-0.00064060278236866,
0.11313730478286743,
-0.04432058706879616,
0.1762993186712265,
0.12996621429920197,
0.22526603937149048,
0.36826401948928833,
0.02855478599667549,
0.0050622038543224335,
0.058833006769418716,
-0.01663714274764061,
-0.10670565813779831,
0.2543143033981323,
-0.16925059258937836,
-0.04335029423236847,
0.07088897377252579,
-0.14029768109321594,
0.2227376252412796,
-0.016676537692546844,
0.06201670318841934,
-0.02658599615097046,
-0.0978102833032608,
0.1673716902732849,
-0.049292340874671936,
0.1474597305059433,
0.11148162186145782,
0.13550929725170135,
0.11753040552139282,
0.44811734557151794,
0.2730052173137665,
-0.5152074694633484,
0.03495152294635773,
0.29442569613456726,
0.21933692693710327,
-0.31805524230003357,
-0.1498567759990692,
0.41961589455604553,
-0.27140554785728455,
0.1707668900489807,
-0.1787169873714447,
0.20722568035125732,
-0.17193230986595154,
-0.3247872292995453,
0.18161772191524506,
0.2580247223377228,
0.008703439496457577,
0.11954949051141739,
0.17455917596817017,
0.21860569715499878,
0.29441535472869873,
0.02487381547689438,
-0.2141067534685135,
0.08065249025821686,
-0.01753244362771511,
-0.05251744017004967,
-0.31549587845802307,
-0.2962319254875183,
0.22885344922542572,
-0.26632001996040344,
0.023996341973543167,
0.06512510031461716,
-0.2167956829071045,
0.22626394033432007,
0.30282995104789734,
-0.024799015372991562,
0.37808001041412354,
-0.024171292781829834,
-0.4174865782260895,
0.08292057365179062,
0.18925252556800842,
0.29496654868125916,
0.04036584496498108,
0.19437378644943237,
-0.15164892375469208,
-0.09760138392448425,
0.345419704914093,
-0.016802320256829262,
0.20712050795555115,
0.1002805083990097,
-0.22134630382061005,
0.14481474459171295,
0.1498965471982956,
0.14627939462661743,
-0.02158590778708458,
0.43519848585128784,
-0.21740853786468506,
0.26604023575782776,
-0.5064104199409485,
-0.21888674795627594,
-0.5575276613235474,
-0.5232078433036804,
0.03200624883174896,
0.27031469345092773,
-0.02041935920715332,
-0.04486004263162613,
0.04625396430492401,
-0.35258716344833374,
0.021102260798215866,
0.2890893518924713,
0.12967391312122345,
0.2662615180015564,
-0.07896462827920914,
0.09872373938560486,
-0.034148529171943665,
0.12352500110864639,
-0.3036603033542633,
-0.1553720086812973,
0.00007989350706338882,
0.0990956723690033,
0.13612370193004608,
-0.20756150782108307,
-0.05510532483458519,
-0.4055827260017395,
-0.28908249735832214,
0.15285003185272217,
-0.2902616262435913,
0.39682522416114807,
0.35955923795700073,
0.0558856800198555,
-0.25144490599632263,
0.08704705536365509,
0.22500301897525787,
0.002807583659887314,
-0.013119230978190899,
0.13504238426685333,
-0.15644553303718567,
-0.23933285474777222,
-0.1441880166530609,
-0.07087405771017075,
-0.1651630401611328,
0.10867288708686829,
0.33741921186447144,
-0.3074236810207367,
-0.08731064200401306,
-0.16310982406139374,
-0.4259984493255615,
-0.3015059530735016,
-0.2955169975757599,
-0.14341065287590027,
0.04321853443980217,
-0.315170556306839,
0.45706504583358765,
0.24394188821315765,
-0.29853659868240356,
-0.2668837308883667,
0.072431281208992,
-0.36966651678085327,
-0.36614274978637695,
-0.07543128728866577,
-0.11935660243034363,
-0.4101175367832184,
0.0520404614508152,
-0.1606115698814392,
-0.17843858897686005,
0.17111390829086304,
-0.07009226828813553,
0.05468117445707321,
-0.0876445323228836,
-0.45670056343078613,
0.6257494688034058,
0.22997090220451355,
-0.004340693354606628,
-0.011640261858701706,
0.5590552687644958,
0.5441455245018005,
-0.0169796422123909,
0.198286771774292,
-0.10129417479038239,
0.178725004196167,
-0.16458360850811005,
0.12162941694259644,
0.010244384407997131,
-0.11499547213315964,
0.4203284680843353,
0.10490529984235764,
0.2937062978744507,
0.3908884525299072,
0.0554799884557724,
0.04913518577814102,
0.1942736655473709,
-0.0904608964920044,
-0.4015386402606964,
0.030571337789297104,
-0.14647169411182404,
-0.21811234951019287,
0.07948823273181915,
0.015180140733718872,
0.18558531999588013,
0.023988846689462662,
-0.3088745176792145,
0.36133429408073425,
-0.19715125858783722,
0.5832241177558899,
0.19777294993400574,
-0.6095142960548401,
0.006538878194987774,
-0.40764907002449036,
0.4030981659889221,
0.08599346876144409,
0.5207560658454895,
-0.07307575643062592,
0.011424273252487183,
0.28663021326065063,
0.029270170256495476,
0.6724798083305359,
-0.26326021552085876,
0.13736146688461304,
-0.025467175990343094,
0.05127974599599838,
-0.5708632469177246,
-0.40110278129577637,
-0.3983348309993744,
-0.025887267664074898,
0.6553746461868286,
0.3363978862762451,
-0.3256054222583771,
-0.2960938811302185,
0.10468851774930954,
0.07019741088151932,
-0.19693297147750854,
-0.24616460502147675,
0.1725444197654724,
0.2786082923412323,
0.08332830667495728,
-0.10721433907747269,
0.3308826684951782,
-0.02682315930724144,
0.2947431206703186,
-0.07911962270736694,
-0.10346148163080215,
-0.2804485261440277,
0.24615085124969482,
0.0850125104188919,
0.5140622854232788,
-0.23615798354148865,
0.11352396011352539,
0.09637612104415894,
0.21404443681240082,
-0.27408331632614136,
0.04900725930929184,
-0.026969581842422485,
-0.19384238123893738,
-0.0021208934485912323,
-0.33522897958755493,
0.3915084898471832,
0.10362052172422409,
-0.1898939162492752,
0.3069436252117157,
-0.49632981419563293,
0.211880162358284,
-0.15762849152088165,
0.05354942008852959,
0.38425180315971375,
0.27785906195640564,
-0.013593574985861778,
0.21102188527584076,
-0.11212746053934097,
0.07324029505252838,
-0.21077847480773926,
-0.7628880739212036,
0.4255463480949402,
-0.33961349725723267,
0.263658344745636,
0.14862138032913208,
0.9446773529052734,
0.15460407733917236,
-0.13620884716510773,
-0.15660500526428223,
-0.1592579483985901,
0.6799594759941101,
-0.33956289291381836,
-0.05680544674396515,
-0.3854140639305115,
-0.09039084613323212,
0.036504000425338745,
0.20303377509117126,
-0.1233876422047615,
0.34101247787475586,
-0.323817640542984,
0.47292980551719666,
-0.1593896746635437,
0.21259421110153198,
0.023020215332508087,
0.25443190336227417,
0.4401405155658722,
0.05129265412688255,
0.16340015828609467,
-0.0034908242523670197,
-0.15855485200881958,
0.027612831443548203,
0.043096233159303665,
-0.08260715752840042,
0.13658815622329712,
-0.004112605005502701,
-0.5293956995010376,
-0.0904466062784195,
-0.254434198141098,
-0.18948796391487122,
0.49443674087524414,
0.07694834470748901,
0.11262209713459015,
0.1134759709239006,
0.4654407501220703,
0.4525075852870941,
-0.02715146727859974,
0.00619882345199585,
0.1584916114807129,
0.09397299587726593,
0.42693471908569336,
0.2403831034898758,
0.03543003275990486,
-0.10225976258516312,
-0.20982620120048523,
-0.3369401693344116,
0.1585657298564911,
-0.2532200813293457,
-0.2527690529823303,
-0.3797813653945923,
0.4875214695930481,
-0.14995995163917542,
-0.004630498122423887,
0.0721491351723671,
0.2281368374824524,
-0.08771055936813354,
-0.03926684707403183,
0.03195583075284958,
-0.09081199765205383,
0.3694453835487366,
0.19196458160877228,
-0.3186243176460266,
0.05017334967851639,
0.3725881278514862,
-0.24654975533485413,
0.12455731630325317,
0.5588756799697876,
-0.04067115858197212,
-0.1990904062986374,
-0.201364666223526,
0.197010338306427,
-0.055937834084033966,
-0.359153151512146,
0.16218581795692444,
-0.13997577130794525,
0.03514847159385681,
-0.18263021111488342,
0.04361890256404877,
0.2351415753364563,
-0.18164536356925964,
-0.45900771021842957,
-0.18903383612632751,
0.08519385010004044,
0.07894168049097061,
0.06793658435344696,
0.07089298963546753,
-0.11275516450405121,
0.16787189245224,
-0.08203191310167313,
-0.03858233988285065,
-0.14714959263801575,
0.1248495876789093,
0.005417214706540108,
0.047155313193798065,
0.26468271017074585,
-0.05359800159931183,
-0.31196102499961853,
-0.05131392925977707,
0.03776174038648605,
0.10422945022583008,
0.1823803037405014,
-0.04925233870744705,
-0.09158910810947418,
0.17927344143390656,
-0.03626856580376625,
0.012470444664359093,
0.12468738108873367,
-0.04397837072610855,
-0.05133291706442833,
-0.15333722531795502,
0.04401962086558342,
0.2600453794002533,
0.06429985910654068,
0.5977876782417297,
0.6043589115142822,
-0.05245915800333023,
-0.2097427248954773,
0.17724668979644775,
0.06249798834323883,
0.1499674767255783,
0.0009378832764923573,
0.27684134244918823,
0.47943228483200073,
-0.016795657575130463,
-0.0201252494007349,
0.11437392979860306,
0.16818884015083313,
0.4496704638004303,
0.01795760914683342,
-0.14758573472499847,
-0.11059288680553436,
-0.07084471732378006,
0.014489628374576569,
0.0213266983628273,
-0.043738048523664474,
-0.5781179666519165,
0.32674649357795715,
0.08316460251808167,
-0.14540265500545502,
0.039167240262031555,
0.13992580771446228,
0.15591853857040405,
-0.1391393542289734,
0.13858561217784882,
0.19832399487495422,
0.057575494050979614,
0.09458006173372269,
-0.09207552671432495,
0.49652934074401855,
0.06972715258598328,
-0.1750064194202423,
0.035439178347587585,
0.09010979533195496,
-0.202935591340065,
-0.011736096814274788,
-0.4933755695819855,
-0.054505325853824615,
0.1416078805923462,
0.4102310836315155,
0.05033310130238533,
0.617251992225647,
0.4189932346343994,
0.1054471880197525,
0.2707446813583374,
0.02580437809228897,
0.2571297287940979,
0.015899091958999634,
0.09998150169849396,
0.010553978383541107,
0.4147472083568573,
0.24741771817207336,
-0.6086642742156982,
-0.24627679586410522,
0.2609449326992035,
-0.13394761085510254,
-0.4249435067176819,
-0.16186664998531342,
0.034288614988327026,
-0.1712968647480011,
0.004670128226280212,
-0.21133378148078918,
0.05998032167553902,
-0.01535525918006897,
0.05788663774728775,
0.12013865262269974,
-0.11294099688529968,
-0.4338986277580261,
-0.07756049931049347,
0.40744727849960327,
-0.19770590960979462,
0.5040383338928223,
-0.21162272989749908,
0.16861139237880707,
0.1107262372970581,
0.7201173901557922,
0.1898796260356903,
0.21109959483146667,
-0.1318565309047699,
-0.18513505160808563,
-0.12371809780597687,
0.05083175003528595,
0.09864058345556259,
0.3515790104866028,
-0.19740921258926392,
-0.2484295517206192,
0.13298939168453217,
-0.04466445744037628,
0.013718550093472004,
0.09796501696109772,
-0.26884371042251587,
0.0428909957408905,
-0.23060347139835358,
0.21955525875091553,
0.003214288502931595,
-0.1488933116197586,
0.013095488771796227,
-0.17423829436302185,
-0.24524137377738953,
-0.18855275213718414,
0.04559698700904846,
-0.3163470923900604,
0.0331861674785614,
-0.004387178458273411,
0.016019169241189957,
-0.2716776728630066,
0.342382550239563,
0.1782597154378891,
0.09738590568304062,
0.01791040599346161,
-0.13071070611476898,
-0.030842583626508713,
-0.051633574068546295,
0.057892102748155594,
-0.10784538835287094,
-0.09372144192457199,
0.06822782754898071,
0.22419610619544983,
0.039880141615867615,
0.21005594730377197,
0.6183131337165833,
-0.5300003886222839,
-0.06486320495605469,
-0.5419038534164429,
0.4250277876853943,
0.2149815559387207,
0.3155131936073303,
0.12286652624607086,
-0.11759346723556519,
0.16388414800167084,
0.007826865650713444,
-0.15112629532814026,
0.2757667303085327,
-0.03387182205915451,
-0.04726418852806091,
-0.09181147813796997,
0.41758087277412415,
0.4229000508785248,
0.11064265668392181,
0.06292442232370377,
0.1894165724515915,
-0.07599514722824097,
-0.3760685920715332,
-0.5018302798271179,
0.13999226689338684,
-0.05386163666844368,
0.24183467030525208,
-0.027327559888362885,
0.1390213817358017,
0.07331442087888718,
-0.1430763453245163,
0.0869130790233612,
0.4620881974697113,
-0.3423890173435211,
0.10946406424045563,
-0.08587190508842468,
-0.058678943663835526,
-0.3165740668773651,
-0.17294132709503174,
0.08504346013069153,
0.06711339950561523,
-0.2730294466018677,
-0.09898470342159271,
0.5375220775604248,
-0.40651950240135193,
-0.05240490287542343,
-0.23081491887569427,
0.2738250195980072,
0.4895907938480377,
-0.1418658047914505,
-0.32726582884788513,
-0.4253808856010437,
0.545545756816864,
0.2990840971469879,
-0.0738518238067627,
0.37239959836006165,
0.018753930926322937,
0.01099865511059761,
0.05329855903983116,
-0.014534510672092438,
0.15403331816196442,
-0.11069048941135406,
-0.05083595961332321,
-0.23971864581108093
] |
https://github.com/huggingface/datasets/issues/1639 | bug with sst2 in glue | I don't know if there exists a detokenized version somewhere. Even the version on kaggle is tokenized | Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on this dataset. thank you for your help. @lhoestq
```
>>> a = datasets.load_dataset('glue', 'sst2', split="validation", script_version="master")
Reusing dataset glue (/julia/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
>>> a[:10]
{'idx': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'label': [1, 0, 1, 1, 0, 1, 0, 0, 1, 0], 'sentence': ["it 's a charming and often affecting journey . ", 'unflinchingly bleak and desperate ', 'allows us to hope that nolan is poised to embark a major career as a commercial yet inventive filmmaker . ', "the acting , costumes , music , cinematography and sound are all astounding given the production 's austere locales . ", "it 's slow -- very , very slow . ", 'although laced with humor and a few fanciful touches , the film is a refreshingly serious look at young women . ', 'a sometimes tedious film . ', "or doing last year 's taxes with your ex-wife . ", "you do n't have to know about music to appreciate the film 's easygoing blend of comedy and romance . ", "in exactly 89 minutes , most of which passed as slowly as if i 'd been sitting naked on an igloo , formula 51 sank from quirky to jerky to utter turkey . "]}
``` | 17 | bug with sst2 in glue
Hi
I am getting very low accuracy on SST2 I investigate this and observe that for this dataset sentences are tokenized, while this is correct for the other datasets in GLUE, please see below.
Is there any alternatives I could get untokenized sentences? I am unfortunately under time pressure to report some results on this dataset. thank you for your help. @lhoestq
```
>>> a = datasets.load_dataset('glue', 'sst2', split="validation", script_version="master")
Reusing dataset glue (/julia/datasets/glue/sst2/1.0.0/7c99657241149a24692c402a5c3f34d4c9f1df5ac2e4c3759fadea38f6cb29c4)
>>> a[:10]
{'idx': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'label': [1, 0, 1, 1, 0, 1, 0, 0, 1, 0], 'sentence': ["it 's a charming and often affecting journey . ", 'unflinchingly bleak and desperate ', 'allows us to hope that nolan is poised to embark a major career as a commercial yet inventive filmmaker . ', "the acting , costumes , music , cinematography and sound are all astounding given the production 's austere locales . ", "it 's slow -- very , very slow . ", 'although laced with humor and a few fanciful touches , the film is a refreshingly serious look at young women . ', 'a sometimes tedious film . ', "or doing last year 's taxes with your ex-wife . ", "you do n't have to know about music to appreciate the film 's easygoing blend of comedy and romance . ", "in exactly 89 minutes , most of which passed as slowly as if i 'd been sitting naked on an igloo , formula 51 sank from quirky to jerky to utter turkey . "]}
```
I don't know if there exists a detokenized version somewhere. Even the version on kaggle is tokenized | [
0.10537737607955933,
-0.19167077541351318,
0.05355997011065483,
0.08270998299121857,
0.16840629279613495,
-0.32815656065940857,
0.18542999029159546,
0.43216758966445923,
-0.09194126725196838,
0.030974440276622772,
-0.09434930980205536,
0.146273672580719,
-0.10577023029327393,
0.13801614940166473,
-0.14697466790676117,
-0.05546112358570099,
0.3053625226020813,
0.0720335841178894,
-0.2480500042438507,
-0.18004168570041656,
0.18384353816509247,
0.3005380928516388,
-0.20791320502758026,
0.1841130554676056,
-0.35885894298553467,
0.03331081569194794,
0.04947630316019058,
-0.23540565371513367,
-0.17684093117713928,
-0.2107703536748886,
-0.31414851546287537,
0.15960091352462769,
0.19371581077575684,
0.2096606194972992,
-0.00012753778719343245,
-0.22425462305545807,
0.2872393727302551,
-0.20607876777648926,
0.009137289598584175,
0.2817782759666443,
0.036685511469841,
-0.5301070213317871,
-0.00007700512651354074,
-0.294046550989151,
-0.3653714954853058,
0.10808418691158295,
-0.08724513649940491,
-0.23531018197536469,
0.5179438591003418,
-0.19010426104068756,
0.07258053869009018,
0.25786471366882324,
-0.10189871490001678,
0.09684878587722778,
0.2016627937555313,
-0.023318864405155182,
-0.12448836117982864,
0.10615527629852295,
0.08858736604452133,
0.011952994391322136,
0.1987285166978836,
0.3125150799751282,
-0.09677572548389435,
0.052554041147232056,
0.030971834436058998,
-0.05616901069879532,
-0.38405153155326843,
-0.3257557153701782,
0.14824655652046204,
0.3792476952075958,
0.3166406452655792,
-0.08971966058015823,
-0.5367324352264404,
-0.2675747871398926,
-0.041843481361866,
0.2583253085613251,
-0.11182122677564621,
0.015658918768167496,
0.18248704075813293,
0.4119678735733032,
-0.06461890041828156,
-0.20494741201400757,
-0.03973139822483063,
-0.0683746337890625,
0.1081717312335968,
0.37127333879470825,
0.04451460763812065,
0.14537359774112701,
-0.14979776740074158,
-0.23693077266216278,
-0.44738858938217163,
0.18081034719944,
-0.492033451795578,
-0.055557262152433395,
-0.45407557487487793,
-0.14292117953300476,
-0.38015925884246826,
0.03199900686740875,
-0.061964165419340134,
0.21089424192905426,
-0.1828877180814743,
0.15403003990650177,
0.33702823519706726,
-0.24260398745536804,
0.20380018651485443,
0.3650321662425995,
0.3183137774467468,
0.32220473885536194,
0.17985138297080994,
-0.4099116325378418,
-0.12688419222831726,
-0.06960572302341461,
-0.1418876349925995,
0.04088526591658592,
-0.10731816291809082,
0.0882592722773552,
-0.08757058531045914,
-0.2446335405111313,
-0.4116361141204834,
0.06441658735275269,
-0.566154420375824,
0.22330966591835022,
-0.3138047456741333,
0.008995793759822845,
-0.11197073757648468,
0.18453925848007202,
-0.028031690046191216,
0.20742467045783997,
-0.07276169210672379,
-0.6290405988693237,
-0.06873688846826553,
-0.006210075691342354,
-0.06393766403198242,
0.03415026515722275,
-0.18246884644031525,
0.06881158798933029,
0.03772956132888794,
-0.04753369465470314,
-0.17743174731731415,
-0.028241582214832306,
-0.20626802742481232,
-0.2804599702358246,
0.15518993139266968,
-0.03163914754986763,
-0.23496675491333008,
0.3630230724811554,
-0.09418344497680664,
-0.3709602355957031,
0.17795434594154358,
-0.09376213699579239,
-0.2195092737674713,
0.005576815456151962,
-0.333734929561615,
-0.06513141095638275,
-0.6949191689491272,
-0.058820195496082306,
0.039915893226861954,
0.38619697093963623,
-0.00747641921043396,
0.33101892471313477,
0.045960862189531326,
-0.1881844699382782,
0.017958875745534897,
-0.07917919009923935,
0.37770622968673706,
0.5376535654067993,
-0.7626625895500183,
-0.15810845792293549,
0.1939781904220581,
0.03552199527621269,
0.4186127781867981,
0.5911075472831726,
0.32393619418144226,
0.36470410227775574,
-0.12420133501291275,
0.6969619989395142,
0.004204832017421722,
-0.20895229279994965,
-0.4275869131088257,
0.3860722482204437,
-0.03760944679379463,
0.09093143045902252,
0.15033158659934998,
-0.08617807179689407,
0.6578810214996338,
0.08235255628824234,
0.10308472067117691,
0.03257482871413231,
0.23966462910175323,
-0.10903118550777435,
-0.37926217913627625,
-0.1749335378408432,
0.3303099274635315,
-0.07589620351791382,
-0.09779804944992065,
-0.19179785251617432,
-0.06261465698480606,
-0.002871086820960045,
0.12815862894058228,
0.021716240793466568,
0.20072238147258759,
0.0928255096077919,
0.22457566857337952,
0.37473905086517334,
0.02945375069975853,
0.01793883740901947,
0.0467926450073719,
-0.03802581876516342,
-0.07381666451692581,
0.25133955478668213,
-0.14889250695705414,
-0.08403901010751724,
0.07357105612754822,
-0.14982196688652039,
0.21089337766170502,
-0.06660895049571991,
0.06837517768144608,
-0.05893872678279877,
-0.1446884125471115,
0.1409904807806015,
-0.08637714385986328,
0.11082357913255692,
0.10830441117286682,
0.10277664661407471,
0.10525205731391907,
0.38521653413772583,
0.22138653695583344,
-0.5122485160827637,
0.04791083186864853,
0.2678564488887787,
0.2148488461971283,
-0.34050700068473816,
-0.1625140905380249,
0.3817726671695709,
-0.22307543456554413,
0.15265527367591858,
-0.12534135580062866,
0.24949917197227478,
-0.1301649510860443,
-0.32784411311149597,
0.14817377924919128,
0.25306427478790283,
-0.034763578325510025,
0.15858033299446106,
0.14896386861801147,
0.21861819922924042,
0.28744643926620483,
-0.019062891602516174,
-0.2203674018383026,
0.11574859172105789,
0.051627933979034424,
-0.030916105955839157,
-0.3549940288066864,
-0.3772978186607361,
0.1641123741865158,
-0.30631300806999207,
-0.0073034316301345825,
0.04238336533308029,
-0.20619553327560425,
0.28871041536331177,
0.300026535987854,
-0.04054486006498337,
0.38539883494377136,
-0.03784657269716263,
-0.46040964126586914,
0.05704418569803238,
0.2201634794473648,
0.264900267124176,
-0.040372028946876526,
0.17996422946453094,
-0.11327880620956421,
-0.12886179983615875,
0.35571449995040894,
-0.034090928733348846,
0.17151933908462524,
0.06681591272354126,
-0.24460522830486298,
0.15652236342430115,
0.13426335155963898,
0.1531965732574463,
-0.012229975312948227,
0.44283947348594666,
-0.1954575926065445,
0.2174532115459442,
-0.4741297960281372,
-0.2130083590745926,
-0.5870847105979919,
-0.4550118148326874,
0.016415463760495186,
0.29308754205703735,
-0.038196269422769547,
-0.014981466345489025,
0.09422627091407776,
-0.3488216698169708,
0.01197906956076622,
0.31527915596961975,
0.11487920582294464,
0.2802426815032959,
-0.10824602842330933,
0.09568841010332108,
-0.020212695002555847,
0.09762348234653473,
-0.3434949517250061,
-0.14555688202381134,
-0.0335751473903656,
0.06112517789006233,
0.11608479917049408,
-0.2009539157152176,
-0.00825133454054594,
-0.40968409180641174,
-0.33743393421173096,
0.1583040952682495,
-0.29835420846939087,
0.41411906480789185,
0.348248690366745,
0.06340378522872925,
-0.2890957295894623,
0.12931407988071442,
0.20462830364704132,
-0.025906654074788094,
-0.03650476038455963,
0.09628448635339737,
-0.15973401069641113,
-0.23627057671546936,
-0.11601391434669495,
-0.08978425711393356,
-0.15979982912540436,
0.14398206770420074,
0.3131771683692932,
-0.3221341371536255,
-0.10532501339912415,
-0.2012374997138977,
-0.39475399255752563,
-0.3288002908229828,
-0.2766464948654175,
-0.20735304057598114,
0.014280141331255436,
-0.30166056752204895,
0.4418470859527588,
0.22693467140197754,
-0.3200712203979492,
-0.2176028937101364,
0.09093815088272095,
-0.34194159507751465,
-0.37232255935668945,
-0.05447200685739517,
-0.09800445288419724,
-0.35799622535705566,
0.06813220679759979,
-0.1384383887052536,
-0.23496712744235992,
0.2289200723171234,
-0.015185488387942314,
0.04420533776283264,
-0.0976489782333374,
-0.5201340913772583,
0.6407051086425781,
0.24940326809883118,
0.010442540049552917,
-0.020764648914337158,
0.5019506216049194,
0.5810191631317139,
0.03969081863760948,
0.20456130802631378,
-0.10585972666740417,
0.18143588304519653,
-0.1387353390455246,
0.1529073417186737,
-0.0077934712171554565,
-0.09419076144695282,
0.4422137141227722,
0.07201001048088074,
0.2870485782623291,
0.3915063738822937,
0.03559263050556183,
0.05712559074163437,
0.21651726961135864,
-0.07037234306335449,
-0.3903557062149048,
0.049372460693120956,
-0.16003617644309998,
-0.23602896928787231,
0.05694854259490967,
0.01829563081264496,
0.22009313106536865,
0.020420387387275696,
-0.28401362895965576,
0.4270583391189575,
-0.17365582287311554,
0.5770359635353088,
0.22251053154468536,
-0.6082286238670349,
-0.022230273112654686,
-0.41228359937667847,
0.39475393295288086,
0.07796618342399597,
0.5645368099212646,
-0.0995316207408905,
-0.00904821790754795,
0.30669260025024414,
0.002526733558624983,
0.6872397661209106,
-0.27804940938949585,
0.15428075194358826,
-0.01254165917634964,
0.06327170878648758,
-0.5838256478309631,
-0.4179607033729553,
-0.3970817029476166,
-0.07640942931175232,
0.6016300916671753,
0.3341151773929596,
-0.33603763580322266,
-0.2747054398059845,
0.015032549388706684,
0.0707116425037384,
-0.22073183953762054,
-0.2018718719482422,
0.12713788449764252,
0.2625390291213989,
0.08938145637512207,
-0.10506675392389297,
0.313357949256897,
-0.08050025999546051,
0.267357736825943,
-0.08055084943771362,
-0.09242161363363266,
-0.29197320342063904,
0.20524908602237701,
0.12711317837238312,
0.5027510523796082,
-0.24344484508037567,
0.10086670517921448,
0.18185624480247498,
0.21362042427062988,
-0.1835634857416153,
0.024541636928915977,
-0.019070208072662354,
-0.21385303139686584,
0.014680680818855762,
-0.2935302257537842,
0.32767972350120544,
0.11934124678373337,
-0.1721228063106537,
0.2657178044319153,
-0.43607476353645325,
0.16974735260009766,
-0.1880752444267273,
0.07737056165933609,
0.41603973507881165,
0.2573170065879822,
-0.012892662547528744,
0.17747657001018524,
-0.1614687740802765,
0.06437639892101288,
-0.20973877608776093,
-0.7001760005950928,
0.42325669527053833,
-0.3076149821281433,
0.3103659749031067,
0.19898353517055511,
0.9896332025527954,
0.10341598093509674,
-0.1281590610742569,
-0.1873939335346222,
-0.14728692173957825,
0.6541967988014221,
-0.3806747794151306,
-0.011518130078911781,
-0.3637721538543701,
-0.10582052916288376,
0.03144504129886627,
0.20720094442367554,
-0.10312391072511673,
0.32624781131744385,
-0.35295212268829346,
0.4330960512161255,
-0.22157247364521027,
0.275258868932724,
0.037801120430231094,
0.2362692654132843,
0.4365597367286682,
0.06696748733520508,
0.22202692925930023,
0.004712216556072235,
-0.1494491994380951,
0.0237567201256752,
0.0351635180413723,
-0.07621617615222931,
0.1534465104341507,
0.016905851662158966,
-0.5261893272399902,
-0.07141474634408951,
-0.22559988498687744,
-0.19511236250400543,
0.44059276580810547,
0.08153028786182404,
0.06147211417555809,
0.1002308577299118,
0.48859381675720215,
0.43617019057273865,
-0.06347233802080154,
0.03741972893476486,
0.22013244032859802,
0.08609221875667572,
0.4140883684158325,
0.1954236477613449,
0.041740819811820984,
-0.1117575466632843,
-0.20632779598236084,
-0.346125990152359,
0.20451563596725464,
-0.24364060163497925,
-0.29238754510879517,
-0.353617787361145,
0.4286386966705322,
-0.1844637244939804,
0.06814797222614288,
0.09139055758714676,
0.25526371598243713,
-0.10975196957588196,
-0.03692543879151344,
0.0021963119506835938,
-0.09027682989835739,
0.3685131371021271,
0.19630472362041473,
-0.29318004846572876,
0.04172075539827347,
0.4069787263870239,
-0.23250338435173035,
0.12549437582492828,
0.5497881174087524,
-0.10179140418767929,
-0.22526882588863373,
-0.20670795440673828,
0.19696027040481567,
-0.06032600253820419,
-0.32547181844711304,
0.16026563942432404,
-0.16239061951637268,
0.011825412511825562,
-0.18359555304050446,
0.06688345223665237,
0.24561427533626556,
-0.20724233984947205,
-0.47634509205818176,
-0.17976820468902588,
0.1073339506983757,
0.08391744643449783,
0.047650229185819626,
0.058645401149988174,
-0.12672162055969238,
0.18979619443416595,
-0.10939723998308182,
-0.009338008239865303,
-0.15841270983219147,
0.12023507058620453,
0.021454473957419395,
0.02715802565217018,
0.23102357983589172,
-0.030536845326423645,
-0.2976672649383545,
-0.07441501319408417,
0.03300727158784866,
0.10239015519618988,
0.17231565713882446,
-0.04970274865627289,
-0.11224472522735596,
0.17631660401821136,
-0.02859499678015709,
0.015668421983718872,
0.09269417077302933,
-0.016871336847543716,
-0.04625049605965614,
-0.18399398028850555,
0.0791829377412796,
0.3121454119682312,
0.09697730094194412,
0.5788118839263916,
0.5832951664924622,
-0.03390832990407944,
-0.22207175195217133,
0.16073276102542877,
0.08733732998371124,
0.1841951310634613,
0.05299382284283638,
0.2401019185781479,
0.5068276524543762,
-0.01620934158563614,
0.02800910174846649,
0.15713158249855042,
0.22668713331222534,
0.46449121832847595,
0.004727546125650406,
-0.18731091916561127,
-0.10783751308917999,
-0.05790058523416519,
0.020887259393930435,
0.07254786044359207,
-0.040234919637441635,
-0.6182409524917603,
0.3836399018764496,
0.08685198426246643,
-0.1440352499485016,
0.014253033325076103,
0.15857383608818054,
0.13460788130760193,
-0.17897798120975494,
0.10895422846078873,
0.2710596024990082,
0.10267221927642822,
0.11484776437282562,
-0.10385644435882568,
0.4935486316680908,
0.07005970180034637,
-0.12720313668251038,
-0.005961902439594269,
0.08148859441280365,
-0.17809434235095978,
0.0028196126222610474,
-0.4517572820186615,
0.0024045705795288086,
0.14295846223831177,
0.409323126077652,
0.04268868267536163,
0.6734638214111328,
0.4398101270198822,
0.08567818999290466,
0.24131421744823456,
-0.0056113265454769135,
0.2390042543411255,
0.012507230043411255,
0.09816153347492218,
0.0005225464701652527,
0.3858039081096649,
0.21221843361854553,
-0.627755343914032,
-0.24712057411670685,
0.17453022301197052,
-0.14340895414352417,
-0.4272119700908661,
-0.17966575920581818,
0.03611370176076889,
-0.15212932229042053,
0.012504227459430695,
-0.1833849549293518,
0.08024869114160538,
0.021652095019817352,
0.03698265179991722,
0.07864569127559662,
-0.09421314299106598,
-0.47816646099090576,
-0.10870146006345749,
0.4069793224334717,
-0.14985014498233795,
0.4832809567451477,
-0.18147610127925873,
0.14543336629867554,
0.12166503071784973,
0.6763254404067993,
0.19540190696716309,
0.18640169501304626,
-0.1615891307592392,
-0.1933148354291916,
-0.12661880254745483,
0.06189858168363571,
0.06464321166276932,
0.37717169523239136,
-0.14957965910434723,
-0.26514244079589844,
0.12605656683444977,
-0.04231369495391846,
0.020379818975925446,
0.0936332494020462,
-0.2254326492547989,
0.061436768621206284,
-0.18777580559253693,
0.1608240306377411,
-0.06415988504886627,
-0.11414043605327606,
0.027546238154172897,
-0.14806348085403442,
-0.24052390456199646,
-0.15171755850315094,
0.08452832698822021,
-0.29368987679481506,
0.005808446556329727,
-0.03165459632873535,
0.02937372401356697,
-0.23340100049972534,
0.339612752199173,
0.15425492823123932,
0.037092775106430054,
0.03784382343292236,
-0.07796111702919006,
-0.014546580612659454,
0.013808004558086395,
0.06589741259813309,
-0.07324019074440002,
-0.1268460899591446,
0.09441332519054413,
0.2512851357460022,
0.05238009989261627,
0.22037899494171143,
0.5503811836242676,
-0.4273732602596283,
-0.05797597020864487,
-0.4943716526031494,
0.4398277699947357,
0.23144878447055817,
0.33809611201286316,
0.14919131994247437,
-0.12965460121631622,
0.18905378878116608,
-0.034826651215553284,
-0.1559411883354187,
0.276089072227478,
-0.06668873876333237,
0.021898221224546432,
-0.15626008808612823,
0.5143121480941772,
0.4250682592391968,
0.11746728420257568,
0.07202134281396866,
0.15009252727031708,
-0.08665865659713745,
-0.34027355909347534,
-0.525198757648468,
0.12914764881134033,
-0.07128070294857025,
0.16532567143440247,
-0.03858453780412674,
0.14682812988758087,
0.03437638655304909,
-0.07100936770439148,
0.08204525709152222,
0.4577864110469818,
-0.34807318449020386,
0.07157134264707565,
-0.09071733057498932,
-0.14454646408557892,
-0.26580485701560974,
-0.14291596412658691,
0.06341517716646194,
0.062426671385765076,
-0.2742133140563965,
-0.0804675742983818,
0.5503880977630615,
-0.4103035032749176,
-0.055943869054317474,
-0.2348194271326065,
0.2618359327316284,
0.5103291273117065,
-0.10852552205324173,
-0.30542317032814026,
-0.36572542786598206,
0.5240719318389893,
0.31380319595336914,
-0.06780807673931122,
0.34793636202812195,
0.019190721213817596,
0.005216930061578751,
0.04157761111855507,
0.014119569212198257,
0.14259733259677887,
-0.08072051405906677,
-0.06256438046693802,
-0.21728412806987762
] |
https://github.com/huggingface/datasets/issues/1636 | winogrande cannot be dowloaded | I have same issue for other datasets (`myanmar_news` in my case).
A version of `datasets` runs correctly on my local machine (**without GPU**) which looking for the dataset at
```
https://raw.githubusercontent.com/huggingface/datasets/master/datasets/myanmar_news/myanmar_news.py
```
Meanwhile, other version runs on Colab (**with GPU**) failed to download the dataset. It try to find the dataset at `1.1.3` instead of `master` . If I disable GPU on my Colab, the code can load the dataset without any problem.
Maybe there is some version missmatch with the GPU and CPU version of code for these datasets? | Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", line 148, in <listcomp>
for task in data_args.tasks]
File "/workdir/seq2seq/data/tasks.py", line 65, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 466, in load_dataset
return datasets.load_dataset('winogrande', 'winogrande_l', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py
yo/0 I1224 14:17:46.419031 31226 main shadow.py:122 > Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
``` | 90 | winogrande cannot be dowloaded
Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", line 148, in <listcomp>
for task in data_args.tasks]
File "/workdir/seq2seq/data/tasks.py", line 65, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 466, in load_dataset
return datasets.load_dataset('winogrande', 'winogrande_l', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py
yo/0 I1224 14:17:46.419031 31226 main shadow.py:122 > Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
```
I have same issue for other datasets (`myanmar_news` in my case).
A version of `datasets` runs correctly on my local machine (**without GPU**) which looking for the dataset at
```
https://raw.githubusercontent.com/huggingface/datasets/master/datasets/myanmar_news/myanmar_news.py
```
Meanwhile, other version runs on Colab (**with GPU**) failed to download the dataset. It try to find the dataset at `1.1.3` instead of `master` . If I disable GPU on my Colab, the code can load the dataset without any problem.
Maybe there is some version missmatch with the GPU and CPU version of code for these datasets? | [
-0.3686961829662323,
0.1048513650894165,
-0.06603818386793137,
0.17274318635463715,
0.29317474365234375,
0.06463982909917831,
0.6664780974388123,
0.07428349554538727,
0.32062268257141113,
0.0376306027173996,
-0.12091881781816483,
0.08111276477575302,
-0.027439989149570465,
0.3085547983646393,
0.09155074506998062,
-0.13525237143039703,
-0.1551789939403534,
0.06802830100059509,
-0.38836613297462463,
-0.10357565432786942,
-0.3014272451400757,
0.14499656856060028,
-0.33810919523239136,
0.1980765461921692,
-0.17584359645843506,
-0.324491024017334,
-0.08723630756139755,
0.23034563660621643,
-0.4127733111381531,
-0.18835808336734772,
0.3303748369216919,
-0.1787252426147461,
0.23645862936973572,
0.1999070644378662,
-0.00011195281695108861,
0.026815757155418396,
0.2326926589012146,
-0.08477205038070679,
-0.18676112592220306,
-0.19602929055690765,
-0.02539820782840252,
0.30515849590301514,
0.21871837973594666,
-0.18461795151233673,
-0.022924251854419708,
0.1664848029613495,
-0.16249704360961914,
0.07736483216285706,
0.3128139078617096,
0.5773440599441528,
0.18985451757907867,
0.3975590765476227,
0.2045685201883316,
0.033123552799224854,
-0.4235074818134308,
-0.34243106842041016,
0.021268298849463463,
0.6150705814361572,
0.19083619117736816,
-0.43380266427993774,
0.25480568408966064,
0.0014486059080809355,
0.020758898928761482,
0.11852270364761353,
0.0675942599773407,
-0.17656007409095764,
0.25093305110931396,
-0.41953879594802856,
-0.13115009665489197,
-0.025638669729232788,
0.5311208963394165,
0.021576078608632088,
-0.12968337535858154,
0.20473870635032654,
0.11208992451429367,
-0.2739982306957245,
0.28422966599464417,
0.14771553874015808,
-0.17605642974376678,
0.16499574482440948,
-0.30801740288734436,
-0.058067552745342255,
-0.35820257663726807,
0.32186394929885864,
0.14810027182102203,
0.12652689218521118,
0.02423499897122383,
0.04469910264015198,
0.2552797198295593,
0.08823489397764206,
0.13986431062221527,
0.04881840944290161,
0.0544821098446846,
0.03513127565383911,
-0.4112994968891144,
-0.09043217450380325,
-0.26128071546554565,
0.2552452087402344,
-0.3865046501159668,
0.1501699984073639,
0.10912071168422699,
-0.12554198503494263,
0.4431174695491791,
0.17399051785469055,
0.1946265548467636,
0.3714407682418823,
-0.21295815706253052,
0.23666790127754211,
0.09513281285762787,
0.06976030021905899,
0.14207136631011963,
0.08235599100589752,
-0.6819785833358765,
-0.5539951324462891,
-0.19862788915634155,
0.11796015501022339,
0.13903281092643738,
-0.2845468819141388,
-0.2745521664619446,
-0.09629606455564499,
0.30595919489860535,
0.04979833588004112,
0.3026945888996124,
0.2752324342727661,
-0.07451643794775009,
-0.26296940445899963,
0.277310311794281,
0.2931385636329651,
-0.1387898027896881,
-0.08314327150583267,
-0.004000627435743809,
0.2816756069660187,
-0.15006612241268158,
-0.14288964867591858,
0.22444869577884674,
0.1805664449930191,
0.35480424761772156,
-0.09192544221878052,
0.33880382776260376,
-0.21035100519657135,
0.039484843611717224,
-0.2153778076171875,
-0.23089489340782166,
0.08222898840904236,
-0.12348702549934387,
-0.11333072185516357,
0.3215295672416687,
0.01593949645757675,
-0.024230539798736572,
0.10067112743854523,
-0.31893497705459595,
-0.5324395298957825,
-0.14829090237617493,
0.15273258090019226,
0.0759674534201622,
-0.1154203712940216,
-0.6399575471878052,
-0.12326416373252869,
0.0951325073838234,
-0.046619828790426254,
0.05547669529914856,
-0.4480445981025696,
-0.02783195674419403,
-0.09716936945915222,
0.24783143401145935,
0.4105529189109802,
-0.3679777979850769,
-0.13778595626354218,
0.09758687019348145,
-0.16137687861919403,
-0.06507115811109543,
0.1746540665626526,
-0.3203066885471344,
0.42737647891044617,
-0.42335307598114014,
-0.12217740714550018,
0.4045236110687256,
-0.6057484149932861,
-0.34038448333740234,
0.3660113513469696,
-0.16542422771453857,
-0.12044338881969452,
-0.05427626520395279,
-0.10462471842765808,
0.417209655046463,
-0.13825300335884094,
0.39815837144851685,
0.40147584676742554,
0.050218500196933746,
-0.11298078298568726,
-0.10353249311447144,
-0.28527727723121643,
-0.020298395305871964,
0.3621866703033447,
0.26543495059013367,
0.12934646010398865,
0.07559409737586975,
-0.06607300788164139,
0.060530826449394226,
0.09401445090770721,
-0.259844034910202,
0.3106858730316162,
-0.061209287494421005,
0.1996016502380371,
-0.07990676909685135,
0.29061442613601685,
-0.1260475218296051,
0.16277971863746643,
-0.0035585127770900726,
-0.01614733785390854,
0.04213862121105194,
0.14118190109729767,
-0.10984040051698685,
-0.14481523633003235,
-0.35460472106933594,
-0.10885809361934662,
0.08335772901773453,
-0.07197593152523041,
0.35945817828178406,
-0.11553017795085907,
-0.1014224961400032,
0.2762688398361206,
-0.2571200132369995,
-0.023102637380361557,
-0.04835212603211403,
0.1581779271364212,
-0.22233174741268158,
-0.2964904010295868,
0.13151322305202484,
-0.02643129974603653,
0.29732537269592285,
-0.14547111093997955,
-0.3102455735206604,
0.30248692631721497,
-0.24997930228710175,
0.17106851935386658,
-0.03692363202571869,
0.24736762046813965,
0.1887209266424179,
-0.15695202350616455,
0.11008135229349136,
0.3358825743198395,
0.12039011716842651,
-0.04917394369840622,
0.5043804049491882,
0.17783202230930328,
-0.2820906639099121,
0.3455864191055298,
0.0722014307975769,
0.14100009202957153,
-0.09774495661258698,
0.05392416939139366,
-0.021426556631922722,
0.1489199548959732,
0.3265102505683899,
0.06983554363250732,
0.3296036720275879,
-0.27402999997138977,
-0.0816783532500267,
-0.012763604521751404,
0.13211284577846527,
-0.05828637629747391,
0.1922532320022583,
0.024146361276507378,
-0.05887783318758011,
0.12258899956941605,
-0.13824030756950378,
-0.3534490764141083,
0.6288216710090637,
-0.0779440626502037,
-0.16275453567504883,
0.21682406961917877,
0.0880993902683258,
-0.3022449016571045,
0.42015528678894043,
0.14749863743782043,
0.29161587357521057,
0.1335138976573944,
-0.15423965454101562,
-0.2613520324230194,
-0.21660760045051575,
-0.2510680556297302,
0.17983359098434448,
0.09961014240980148,
-0.23374833166599274,
0.16683338582515717,
-0.20034842193126678,
0.009473748505115509,
-0.2737950384616852,
-0.22174862027168274,
0.07940833270549774,
0.15214331448078156,
0.12782931327819824,
0.3142969608306885,
0.1968611180782318,
0.1366686075925827,
-0.026454374194145203,
0.39197611808776855,
0.043761298060417175,
-0.1345434933900833,
-0.16148698329925537,
-0.2623596787452698,
-0.13330066204071045,
0.05775565281510353,
0.198350727558136,
-0.4033934473991394,
0.30688178539276123,
-0.16776178777217865,
-0.1851498782634735,
0.09819592535495758,
0.13320380449295044,
0.009787719696760178,
0.11004707217216492,
0.6873762607574463,
-0.09918136894702911,
0.3886094093322754,
-0.129368856549263,
0.03918509930372238,
0.24747434258460999,
-0.11370588839054108,
-0.0018730312585830688,
-0.25906699895858765,
0.18355394899845123,
-0.039959002286195755,
0.055946942418813705,
-0.4450828731060028,
-0.6970522403717041,
-0.28901249170303345,
-0.07267449796199799,
-0.298979789018631,
0.2879077196121216,
-0.13435322046279907,
0.12102282047271729,
0.0026093050837516785,
0.2019258290529251,
0.06676536798477173,
-0.13240526616573334,
-0.4622769057750702,
0.277112752199173,
-0.35191190242767334,
-0.3357568085193634,
0.11410894989967346,
0.3950832486152649,
0.22236239910125732,
-0.4351138472557068,
-0.2844529151916504,
-0.34370478987693787,
0.015926619991660118,
0.03041354939341545,
-0.17828965187072754,
-0.13467241823673248,
0.35085582733154297,
-0.1107117161154747,
-0.03814920037984848,
-0.02196500264108181,
0.02492329478263855,
0.05675764009356499,
-0.020718123763799667,
0.22473645210266113,
0.18405845761299133,
0.3671398162841797,
-0.18628884851932526,
0.6083547472953796,
0.07795068621635437,
-0.13700014352798462,
0.14511412382125854,
-0.18707622587680817,
-0.05417006090283394,
-0.06928103417158127,
-0.45185017585754395,
0.4742792546749115,
-0.11318328976631165,
-0.06147409975528717,
0.24528108537197113,
-0.17434754967689514,
0.22077727317810059,
-0.3289111256599426,
-0.17332078516483307,
-0.49005818367004395,
-0.09175104647874832,
-0.11314880847930908,
0.02083653397858143,
0.0024609118700027466,
0.022604521363973618,
0.19673991203308105,
0.1265711933374405,
-0.02006712555885315,
0.22259460389614105,
0.5301416516304016,
0.02820562571287155,
0.26671743392944336,
0.5919967889785767,
-0.16967608034610748,
-0.07555363327264786,
0.27555757761001587,
-0.11741829663515091,
0.3571251928806305,
-0.4477064907550812,
0.1704392433166504,
0.08340365439653397,
0.11574801802635193,
0.6483281254768372,
-0.19207905232906342,
0.255433589220047,
0.00803445279598236,
-0.11074253171682358,
0.045593731105327606,
-0.32558026909828186,
-0.29423457384109497,
-0.09187820553779602,
0.4250551462173462,
0.2422790825366974,
-0.06268826872110367,
0.14462564885616302,
0.11392363905906677,
0.19781482219696045,
-0.37097129225730896,
-0.08546965569257736,
-0.5120493769645691,
-0.3674287497997284,
-0.33525630831718445,
0.35301709175109863,
-0.06709276884794235,
0.30276936292648315,
-0.1915311962366104,
0.12272034585475922,
-0.05131752789020538,
0.12044865638017654,
-0.002483569085597992,
-0.00871450174599886,
0.17352604866027832,
-0.06336038559675217,
0.026005037128925323,
0.0835358127951622,
0.2604658305644989,
0.271880179643631,
0.3621813654899597,
0.25988906621932983,
-0.13696451485157013,
0.13953620195388794,
-0.014169041067361832,
0.09025163948535919,
0.15374915301799774,
-0.24114346504211426,
-0.32072368264198303,
0.14572970569133759,
0.1455242931842804,
-0.13943806290626526,
0.08742785453796387,
0.25186318159103394,
-0.024728402495384216,
-0.2617942690849304,
-0.2276066392660141,
0.114930659532547,
-0.12769511342048645,
-0.0375010184943676,
0.3017037510871887,
-0.13898497819900513,
-0.15150459110736847,
-0.08415516465902328,
0.15525716543197632,
0.9107422828674316,
-0.2133568972349167,
-0.1285695731639862,
0.34816238284111023,
-0.2790903151035309,
0.02010861597955227,
-0.13851866126060486,
0.35388684272766113,
-0.2007005363702774,
-0.0924273133277893,
0.04081692546606064,
-0.1368805319070816,
0.2002817988395691,
0.19129657745361328,
-0.27073603868484497,
0.46818792819976807,
-0.0015256702899932861,
0.13345836102962494,
0.14989905059337616,
0.04044046252965927,
0.2626669108867645,
-0.07808507978916168,
-0.13595452904701233,
0.08451495319604874,
-0.10863910615444183,
0.3842447102069855,
-0.5040244460105896,
-0.21709337830543518,
0.2379847764968872,
-0.43051159381866455,
-0.17654091119766235,
0.4512721002101898,
-0.5486165881156921,
0.32591450214385986,
-0.3944929242134094,
-0.23788544535636902,
-0.0847826600074768,
0.20163343846797943,
0.18860873579978943,
0.09210947901010513,
-0.08778442442417145,
0.16580551862716675,
0.11824401468038559,
-0.2723976969718933,
-0.15852166712284088,
0.009433037601411343,
-0.004127690568566322,
-0.24311012029647827,
-0.41316452622413635,
0.07128659635782242,
0.018076956272125244,
-0.28283727169036865,
-0.2171708047389984,
0.014592189341783524,
0.13362225890159607,
-0.01660837046802044,
-0.16565938293933868,
-0.21646785736083984,
-0.04263991117477417,
-0.20785276591777802,
0.1022472083568573,
-0.2015223652124405,
-0.17095652222633362,
0.29884085059165955,
0.034440889954566956,
-0.2984279990196228,
-0.05022064223885536,
0.5843225717544556,
-0.19910037517547607,
-0.07693115621805191,
0.59266197681427,
0.3001183271408081,
-0.17178252339363098,
-0.32739460468292236,
-0.16805168986320496,
-0.025327378883957863,
-0.30147239565849304,
0.15121571719646454,
0.2889397144317627,
0.22111065685749054,
-0.02313803695142269,
0.33390167355537415,
0.057811930775642395,
0.052214279770851135,
0.0001324005424976349,
-0.506719172000885,
-0.1778174638748169,
0.07083655893802643,
0.13343989849090576,
-0.026304829865694046,
0.15744531154632568,
-0.02854285016655922,
0.1735302209854126,
-0.1489851027727127,
-0.2994317412376404,
-0.05672626942396164,
-0.22369737923145294,
-0.0013175643980503082,
0.2572503983974457,
-0.054026246070861816,
0.2678607106208801,
0.3288381099700928,
0.1292612999677658,
-0.10978776216506958,
0.12412932515144348,
-0.20143932104110718,
-0.04680555313825607,
0.15054446458816528,
0.020648613572120667,
-0.16616691648960114,
-0.20406568050384521,
-0.3078508973121643,
-0.10117499530315399,
0.12024708092212677,
0.14117830991744995,
-0.04101485386490822,
0.06678430736064911,
-0.0007052766159176826,
-0.42087027430534363,
0.13535651564598083,
-0.06239724159240723,
-0.04821857810020447,
-0.12715201079845428,
0.3525930643081665,
-0.1498400717973709,
0.004028093069791794,
0.29365110397338867,
-0.03568432480096817,
-0.20399799942970276,
-0.22545546293258667,
0.0852012112736702,
0.10389738529920578,
0.19687065482139587,
-0.313123881816864,
0.19540049135684967,
-0.2847561836242676,
0.07984642684459686,
0.3708585500717163,
-0.220208078622818,
-0.11239252239465714,
0.1443212926387787,
0.17170636355876923,
-0.2618957757949829,
-0.028833217918872833,
-0.2897731065750122,
0.011201201938092709,
-0.03166128695011139,
0.3273952603340149,
-0.06626855581998825,
-0.18773946166038513,
-0.18997491896152496,
-0.08909321576356888,
0.31794318556785583,
0.13130299746990204,
-0.04741925373673439,
0.46492764353752136,
0.043529022485017776,
-0.06524915993213654,
-0.10277573019266129,
0.1915580928325653,
0.11367500573396683,
0.12372510135173798,
-0.705207109451294,
-0.014679988846182823,
-0.14332443475723267,
0.1492028683423996,
-0.20805156230926514,
-0.21690130233764648,
-0.061534684151411057,
0.008941590785980225,
0.19522535800933838,
0.033375367522239685,
-0.24216026067733765,
-0.2797774076461792,
-0.28291311860084534,
-0.12720049917697906,
-0.47343602776527405,
0.2137409746646881,
-0.1735059916973114,
0.04277428239583969,
-0.25815609097480774,
-0.09923768043518066,
0.08194588124752045,
0.2739165127277374,
0.1573871374130249,
-0.13792887330055237,
0.2114485502243042,
0.18744316697120667,
-0.10460960865020752,
-0.16693124175071716,
-0.05868104100227356,
0.3726678192615509,
-0.15590617060661316,
-0.0019702687859535217,
0.4480983018875122,
0.34004998207092285,
0.29119208455085754,
0.1144418716430664,
0.5526498556137085,
0.49098172783851624,
0.45932766795158386,
-0.08555355668067932,
0.22982341051101685,
-0.03598563000559807,
-0.03666374459862709,
0.08173409104347229,
0.32535162568092346,
0.23341962695121765,
0.27737537026405334,
0.1695166379213333,
0.1561039686203003,
-0.0981178730726242,
0.44868868589401245,
-0.15260489284992218,
-0.13556550443172455,
0.02436099946498871,
0.26836898922920227,
0.22512225806713104,
0.11643529683351517,
-0.33570578694343567,
0.04033248871564865,
-0.6587375998497009,
0.1144014224410057,
0.29173603653907776,
0.2551151514053345,
0.015310391783714294,
-0.04580283537507057,
0.05900334566831589,
-0.14302530884742737,
0.5999675393104553,
0.5157787203788757,
0.42864421010017395,
-0.5772803425788879,
0.0536261647939682,
-0.39346256852149963,
0.10484868288040161,
0.02799709513783455,
-0.22978946566581726,
-0.006612230092287064,
-0.05257677286863327,
-0.10685085505247116,
0.15974372625350952,
0.3771781921386719,
-0.19411157071590424,
0.07131727039813995,
0.34402990341186523,
-0.1549404412508011,
0.18469952046871185,
0.09040527045726776,
0.4121750295162201,
0.21455995738506317,
-0.43630242347717285,
0.13144434988498688,
-0.1117011159658432,
0.017196454107761383,
-0.02134016901254654,
0.12460489571094513,
-0.290375292301178,
-0.33668050169944763,
0.5827986001968384,
0.03904207795858383,
0.501396656036377,
0.044620588421821594,
0.12770995497703552,
-0.09430883824825287,
-0.021208325400948524,
-0.1863379329442978,
0.3635919988155365,
0.20757745206356049,
-0.18968021869659424,
-0.14033398032188416,
-0.057943206280469894,
-0.5768232941627502,
0.10741887986660004,
-0.0909884050488472,
-0.20196929574012756,
-0.1147240698337555,
-0.25469639897346497,
0.015528537333011627,
0.0891183540225029,
0.12023068964481354,
0.0579117126762867,
-0.06671547144651413,
0.10661700367927551,
-0.4519062042236328,
-0.1203516498208046,
0.5304162502288818,
-0.4497506618499756,
-0.10575281083583832,
-0.10277435928583145,
0.3755025565624237,
0.18875667452812195,
0.12160810083150864,
-0.4843393862247467,
0.33283522725105286,
0.1578609198331833,
0.18814262747764587,
-0.06805125623941422,
0.21389485895633698,
-0.22015216946601868,
0.2617909014225006,
-0.015178387984633446,
0.0882180780172348,
-0.2545228898525238,
-0.03242557495832443,
-0.20574989914894104,
-0.1825578212738037
] |
https://github.com/huggingface/datasets/issues/1636 | winogrande cannot be dowloaded | It looks like they're two different issues
----------
First for `myanmar_news`:
It must come from the way you installed `datasets`.
If you install `datasets` from source, then the `myanmar_news` script will be loaded from `master`.
However if you install from `pip` it will get it using the version of the lib (here `1.1.3`) and `myanmar_news` is not available in `1.1.3`.
The difference between your GPU and CPU executions must be the environment, one seems to have installed `datasets` from source and not the other.
----------
Then for `winogrande`:
The errors says that the url https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py is not reachable.
However it works fine on my side.
Does your machine have an internet connection ? Are connections to github blocked by some sort of proxy ?
Can you also try again in case github had issues when you tried the first time ?
| Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", line 148, in <listcomp>
for task in data_args.tasks]
File "/workdir/seq2seq/data/tasks.py", line 65, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 466, in load_dataset
return datasets.load_dataset('winogrande', 'winogrande_l', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py
yo/0 I1224 14:17:46.419031 31226 main shadow.py:122 > Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
``` | 141 | winogrande cannot be dowloaded
Hi,
I am getting this error when trying to run the codes on the cloud. Thank you for any suggestion and help on this @lhoestq
```
File "./finetune_trainer.py", line 318, in <module>
main()
File "./finetune_trainer.py", line 148, in main
for task in data_args.tasks]
File "./finetune_trainer.py", line 148, in <listcomp>
for task in data_args.tasks]
File "/workdir/seq2seq/data/tasks.py", line 65, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 466, in load_dataset
return datasets.load_dataset('winogrande', 'winogrande_l', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py
yo/0 I1224 14:17:46.419031 31226 main shadow.py:122 > Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 260, in <module>
main()
File "/usr/local/lib/python3.6/dist-packages/torch/distributed/launch.py", line 256, in main
cmd=cmd)
```
It looks like they're two different issues
----------
First for `myanmar_news`:
It must come from the way you installed `datasets`.
If you install `datasets` from source, then the `myanmar_news` script will be loaded from `master`.
However if you install from `pip` it will get it using the version of the lib (here `1.1.3`) and `myanmar_news` is not available in `1.1.3`.
The difference between your GPU and CPU executions must be the environment, one seems to have installed `datasets` from source and not the other.
----------
Then for `winogrande`:
The errors says that the url https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/winogrande/winogrande.py is not reachable.
However it works fine on my side.
Does your machine have an internet connection ? Are connections to github blocked by some sort of proxy ?
Can you also try again in case github had issues when you tried the first time ?
| [
-0.3686961829662323,
0.1048513650894165,
-0.06603818386793137,
0.17274318635463715,
0.29317474365234375,
0.06463982909917831,
0.6664780974388123,
0.07428349554538727,
0.32062268257141113,
0.0376306027173996,
-0.12091881781816483,
0.08111276477575302,
-0.027439989149570465,
0.3085547983646393,
0.09155074506998062,
-0.13525237143039703,
-0.1551789939403534,
0.06802830100059509,
-0.38836613297462463,
-0.10357565432786942,
-0.3014272451400757,
0.14499656856060028,
-0.33810919523239136,
0.1980765461921692,
-0.17584359645843506,
-0.324491024017334,
-0.08723630756139755,
0.23034563660621643,
-0.4127733111381531,
-0.18835808336734772,
0.3303748369216919,
-0.1787252426147461,
0.23645862936973572,
0.1999070644378662,
-0.00011195281695108861,
0.026815757155418396,
0.2326926589012146,
-0.08477205038070679,
-0.18676112592220306,
-0.19602929055690765,
-0.02539820782840252,
0.30515849590301514,
0.21871837973594666,
-0.18461795151233673,
-0.022924251854419708,
0.1664848029613495,
-0.16249704360961914,
0.07736483216285706,
0.3128139078617096,
0.5773440599441528,
0.18985451757907867,
0.3975590765476227,
0.2045685201883316,
0.033123552799224854,
-0.4235074818134308,
-0.34243106842041016,
0.021268298849463463,
0.6150705814361572,
0.19083619117736816,
-0.43380266427993774,
0.25480568408966064,
0.0014486059080809355,
0.020758898928761482,
0.11852270364761353,
0.0675942599773407,
-0.17656007409095764,
0.25093305110931396,
-0.41953879594802856,
-0.13115009665489197,
-0.025638669729232788,
0.5311208963394165,
0.021576078608632088,
-0.12968337535858154,
0.20473870635032654,
0.11208992451429367,
-0.2739982306957245,
0.28422966599464417,
0.14771553874015808,
-0.17605642974376678,
0.16499574482440948,
-0.30801740288734436,
-0.058067552745342255,
-0.35820257663726807,
0.32186394929885864,
0.14810027182102203,
0.12652689218521118,
0.02423499897122383,
0.04469910264015198,
0.2552797198295593,
0.08823489397764206,
0.13986431062221527,
0.04881840944290161,
0.0544821098446846,
0.03513127565383911,
-0.4112994968891144,
-0.09043217450380325,
-0.26128071546554565,
0.2552452087402344,
-0.3865046501159668,
0.1501699984073639,
0.10912071168422699,
-0.12554198503494263,
0.4431174695491791,
0.17399051785469055,
0.1946265548467636,
0.3714407682418823,
-0.21295815706253052,
0.23666790127754211,
0.09513281285762787,
0.06976030021905899,
0.14207136631011963,
0.08235599100589752,
-0.6819785833358765,
-0.5539951324462891,
-0.19862788915634155,
0.11796015501022339,
0.13903281092643738,
-0.2845468819141388,
-0.2745521664619446,
-0.09629606455564499,
0.30595919489860535,
0.04979833588004112,
0.3026945888996124,
0.2752324342727661,
-0.07451643794775009,
-0.26296940445899963,
0.277310311794281,
0.2931385636329651,
-0.1387898027896881,
-0.08314327150583267,
-0.004000627435743809,
0.2816756069660187,
-0.15006612241268158,
-0.14288964867591858,
0.22444869577884674,
0.1805664449930191,
0.35480424761772156,
-0.09192544221878052,
0.33880382776260376,
-0.21035100519657135,
0.039484843611717224,
-0.2153778076171875,
-0.23089489340782166,
0.08222898840904236,
-0.12348702549934387,
-0.11333072185516357,
0.3215295672416687,
0.01593949645757675,
-0.024230539798736572,
0.10067112743854523,
-0.31893497705459595,
-0.5324395298957825,
-0.14829090237617493,
0.15273258090019226,
0.0759674534201622,
-0.1154203712940216,
-0.6399575471878052,
-0.12326416373252869,
0.0951325073838234,
-0.046619828790426254,
0.05547669529914856,
-0.4480445981025696,
-0.02783195674419403,
-0.09716936945915222,
0.24783143401145935,
0.4105529189109802,
-0.3679777979850769,
-0.13778595626354218,
0.09758687019348145,
-0.16137687861919403,
-0.06507115811109543,
0.1746540665626526,
-0.3203066885471344,
0.42737647891044617,
-0.42335307598114014,
-0.12217740714550018,
0.4045236110687256,
-0.6057484149932861,
-0.34038448333740234,
0.3660113513469696,
-0.16542422771453857,
-0.12044338881969452,
-0.05427626520395279,
-0.10462471842765808,
0.417209655046463,
-0.13825300335884094,
0.39815837144851685,
0.40147584676742554,
0.050218500196933746,
-0.11298078298568726,
-0.10353249311447144,
-0.28527727723121643,
-0.020298395305871964,
0.3621866703033447,
0.26543495059013367,
0.12934646010398865,
0.07559409737586975,
-0.06607300788164139,
0.060530826449394226,
0.09401445090770721,
-0.259844034910202,
0.3106858730316162,
-0.061209287494421005,
0.1996016502380371,
-0.07990676909685135,
0.29061442613601685,
-0.1260475218296051,
0.16277971863746643,
-0.0035585127770900726,
-0.01614733785390854,
0.04213862121105194,
0.14118190109729767,
-0.10984040051698685,
-0.14481523633003235,
-0.35460472106933594,
-0.10885809361934662,
0.08335772901773453,
-0.07197593152523041,
0.35945817828178406,
-0.11553017795085907,
-0.1014224961400032,
0.2762688398361206,
-0.2571200132369995,
-0.023102637380361557,
-0.04835212603211403,
0.1581779271364212,
-0.22233174741268158,
-0.2964904010295868,
0.13151322305202484,
-0.02643129974603653,
0.29732537269592285,
-0.14547111093997955,
-0.3102455735206604,
0.30248692631721497,
-0.24997930228710175,
0.17106851935386658,
-0.03692363202571869,
0.24736762046813965,
0.1887209266424179,
-0.15695202350616455,
0.11008135229349136,
0.3358825743198395,
0.12039011716842651,
-0.04917394369840622,
0.5043804049491882,
0.17783202230930328,
-0.2820906639099121,
0.3455864191055298,
0.0722014307975769,
0.14100009202957153,
-0.09774495661258698,
0.05392416939139366,
-0.021426556631922722,
0.1489199548959732,
0.3265102505683899,
0.06983554363250732,
0.3296036720275879,
-0.27402999997138977,
-0.0816783532500267,
-0.012763604521751404,
0.13211284577846527,
-0.05828637629747391,
0.1922532320022583,
0.024146361276507378,
-0.05887783318758011,
0.12258899956941605,
-0.13824030756950378,
-0.3534490764141083,
0.6288216710090637,
-0.0779440626502037,
-0.16275453567504883,
0.21682406961917877,
0.0880993902683258,
-0.3022449016571045,
0.42015528678894043,
0.14749863743782043,
0.29161587357521057,
0.1335138976573944,
-0.15423965454101562,
-0.2613520324230194,
-0.21660760045051575,
-0.2510680556297302,
0.17983359098434448,
0.09961014240980148,
-0.23374833166599274,
0.16683338582515717,
-0.20034842193126678,
0.009473748505115509,
-0.2737950384616852,
-0.22174862027168274,
0.07940833270549774,
0.15214331448078156,
0.12782931327819824,
0.3142969608306885,
0.1968611180782318,
0.1366686075925827,
-0.026454374194145203,
0.39197611808776855,
0.043761298060417175,
-0.1345434933900833,
-0.16148698329925537,
-0.2623596787452698,
-0.13330066204071045,
0.05775565281510353,
0.198350727558136,
-0.4033934473991394,
0.30688178539276123,
-0.16776178777217865,
-0.1851498782634735,
0.09819592535495758,
0.13320380449295044,
0.009787719696760178,
0.11004707217216492,
0.6873762607574463,
-0.09918136894702911,
0.3886094093322754,
-0.129368856549263,
0.03918509930372238,
0.24747434258460999,
-0.11370588839054108,
-0.0018730312585830688,
-0.25906699895858765,
0.18355394899845123,
-0.039959002286195755,
0.055946942418813705,
-0.4450828731060028,
-0.6970522403717041,
-0.28901249170303345,
-0.07267449796199799,
-0.298979789018631,
0.2879077196121216,
-0.13435322046279907,
0.12102282047271729,
0.0026093050837516785,
0.2019258290529251,
0.06676536798477173,
-0.13240526616573334,
-0.4622769057750702,
0.277112752199173,
-0.35191190242767334,
-0.3357568085193634,
0.11410894989967346,
0.3950832486152649,
0.22236239910125732,
-0.4351138472557068,
-0.2844529151916504,
-0.34370478987693787,
0.015926619991660118,
0.03041354939341545,
-0.17828965187072754,
-0.13467241823673248,
0.35085582733154297,
-0.1107117161154747,
-0.03814920037984848,
-0.02196500264108181,
0.02492329478263855,
0.05675764009356499,
-0.020718123763799667,
0.22473645210266113,
0.18405845761299133,
0.3671398162841797,
-0.18628884851932526,
0.6083547472953796,
0.07795068621635437,
-0.13700014352798462,
0.14511412382125854,
-0.18707622587680817,
-0.05417006090283394,
-0.06928103417158127,
-0.45185017585754395,
0.4742792546749115,
-0.11318328976631165,
-0.06147409975528717,
0.24528108537197113,
-0.17434754967689514,
0.22077727317810059,
-0.3289111256599426,
-0.17332078516483307,
-0.49005818367004395,
-0.09175104647874832,
-0.11314880847930908,
0.02083653397858143,
0.0024609118700027466,
0.022604521363973618,
0.19673991203308105,
0.1265711933374405,
-0.02006712555885315,
0.22259460389614105,
0.5301416516304016,
0.02820562571287155,
0.26671743392944336,
0.5919967889785767,
-0.16967608034610748,
-0.07555363327264786,
0.27555757761001587,
-0.11741829663515091,
0.3571251928806305,
-0.4477064907550812,
0.1704392433166504,
0.08340365439653397,
0.11574801802635193,
0.6483281254768372,
-0.19207905232906342,
0.255433589220047,
0.00803445279598236,
-0.11074253171682358,
0.045593731105327606,
-0.32558026909828186,
-0.29423457384109497,
-0.09187820553779602,
0.4250551462173462,
0.2422790825366974,
-0.06268826872110367,
0.14462564885616302,
0.11392363905906677,
0.19781482219696045,
-0.37097129225730896,
-0.08546965569257736,
-0.5120493769645691,
-0.3674287497997284,
-0.33525630831718445,
0.35301709175109863,
-0.06709276884794235,
0.30276936292648315,
-0.1915311962366104,
0.12272034585475922,
-0.05131752789020538,
0.12044865638017654,
-0.002483569085597992,
-0.00871450174599886,
0.17352604866027832,
-0.06336038559675217,
0.026005037128925323,
0.0835358127951622,
0.2604658305644989,
0.271880179643631,
0.3621813654899597,
0.25988906621932983,
-0.13696451485157013,
0.13953620195388794,
-0.014169041067361832,
0.09025163948535919,
0.15374915301799774,
-0.24114346504211426,
-0.32072368264198303,
0.14572970569133759,
0.1455242931842804,
-0.13943806290626526,
0.08742785453796387,
0.25186318159103394,
-0.024728402495384216,
-0.2617942690849304,
-0.2276066392660141,
0.114930659532547,
-0.12769511342048645,
-0.0375010184943676,
0.3017037510871887,
-0.13898497819900513,
-0.15150459110736847,
-0.08415516465902328,
0.15525716543197632,
0.9107422828674316,
-0.2133568972349167,
-0.1285695731639862,
0.34816238284111023,
-0.2790903151035309,
0.02010861597955227,
-0.13851866126060486,
0.35388684272766113,
-0.2007005363702774,
-0.0924273133277893,
0.04081692546606064,
-0.1368805319070816,
0.2002817988395691,
0.19129657745361328,
-0.27073603868484497,
0.46818792819976807,
-0.0015256702899932861,
0.13345836102962494,
0.14989905059337616,
0.04044046252965927,
0.2626669108867645,
-0.07808507978916168,
-0.13595452904701233,
0.08451495319604874,
-0.10863910615444183,
0.3842447102069855,
-0.5040244460105896,
-0.21709337830543518,
0.2379847764968872,
-0.43051159381866455,
-0.17654091119766235,
0.4512721002101898,
-0.5486165881156921,
0.32591450214385986,
-0.3944929242134094,
-0.23788544535636902,
-0.0847826600074768,
0.20163343846797943,
0.18860873579978943,
0.09210947901010513,
-0.08778442442417145,
0.16580551862716675,
0.11824401468038559,
-0.2723976969718933,
-0.15852166712284088,
0.009433037601411343,
-0.004127690568566322,
-0.24311012029647827,
-0.41316452622413635,
0.07128659635782242,
0.018076956272125244,
-0.28283727169036865,
-0.2171708047389984,
0.014592189341783524,
0.13362225890159607,
-0.01660837046802044,
-0.16565938293933868,
-0.21646785736083984,
-0.04263991117477417,
-0.20785276591777802,
0.1022472083568573,
-0.2015223652124405,
-0.17095652222633362,
0.29884085059165955,
0.034440889954566956,
-0.2984279990196228,
-0.05022064223885536,
0.5843225717544556,
-0.19910037517547607,
-0.07693115621805191,
0.59266197681427,
0.3001183271408081,
-0.17178252339363098,
-0.32739460468292236,
-0.16805168986320496,
-0.025327378883957863,
-0.30147239565849304,
0.15121571719646454,
0.2889397144317627,
0.22111065685749054,
-0.02313803695142269,
0.33390167355537415,
0.057811930775642395,
0.052214279770851135,
0.0001324005424976349,
-0.506719172000885,
-0.1778174638748169,
0.07083655893802643,
0.13343989849090576,
-0.026304829865694046,
0.15744531154632568,
-0.02854285016655922,
0.1735302209854126,
-0.1489851027727127,
-0.2994317412376404,
-0.05672626942396164,
-0.22369737923145294,
-0.0013175643980503082,
0.2572503983974457,
-0.054026246070861816,
0.2678607106208801,
0.3288381099700928,
0.1292612999677658,
-0.10978776216506958,
0.12412932515144348,
-0.20143932104110718,
-0.04680555313825607,
0.15054446458816528,
0.020648613572120667,
-0.16616691648960114,
-0.20406568050384521,
-0.3078508973121643,
-0.10117499530315399,
0.12024708092212677,
0.14117830991744995,
-0.04101485386490822,
0.06678430736064911,
-0.0007052766159176826,
-0.42087027430534363,
0.13535651564598083,
-0.06239724159240723,
-0.04821857810020447,
-0.12715201079845428,
0.3525930643081665,
-0.1498400717973709,
0.004028093069791794,
0.29365110397338867,
-0.03568432480096817,
-0.20399799942970276,
-0.22545546293258667,
0.0852012112736702,
0.10389738529920578,
0.19687065482139587,
-0.313123881816864,
0.19540049135684967,
-0.2847561836242676,
0.07984642684459686,
0.3708585500717163,
-0.220208078622818,
-0.11239252239465714,
0.1443212926387787,
0.17170636355876923,
-0.2618957757949829,
-0.028833217918872833,
-0.2897731065750122,
0.011201201938092709,
-0.03166128695011139,
0.3273952603340149,
-0.06626855581998825,
-0.18773946166038513,
-0.18997491896152496,
-0.08909321576356888,
0.31794318556785583,
0.13130299746990204,
-0.04741925373673439,
0.46492764353752136,
0.043529022485017776,
-0.06524915993213654,
-0.10277573019266129,
0.1915580928325653,
0.11367500573396683,
0.12372510135173798,
-0.705207109451294,
-0.014679988846182823,
-0.14332443475723267,
0.1492028683423996,
-0.20805156230926514,
-0.21690130233764648,
-0.061534684151411057,
0.008941590785980225,
0.19522535800933838,
0.033375367522239685,
-0.24216026067733765,
-0.2797774076461792,
-0.28291311860084534,
-0.12720049917697906,
-0.47343602776527405,
0.2137409746646881,
-0.1735059916973114,
0.04277428239583969,
-0.25815609097480774,
-0.09923768043518066,
0.08194588124752045,
0.2739165127277374,
0.1573871374130249,
-0.13792887330055237,
0.2114485502243042,
0.18744316697120667,
-0.10460960865020752,
-0.16693124175071716,
-0.05868104100227356,
0.3726678192615509,
-0.15590617060661316,
-0.0019702687859535217,
0.4480983018875122,
0.34004998207092285,
0.29119208455085754,
0.1144418716430664,
0.5526498556137085,
0.49098172783851624,
0.45932766795158386,
-0.08555355668067932,
0.22982341051101685,
-0.03598563000559807,
-0.03666374459862709,
0.08173409104347229,
0.32535162568092346,
0.23341962695121765,
0.27737537026405334,
0.1695166379213333,
0.1561039686203003,
-0.0981178730726242,
0.44868868589401245,
-0.15260489284992218,
-0.13556550443172455,
0.02436099946498871,
0.26836898922920227,
0.22512225806713104,
0.11643529683351517,
-0.33570578694343567,
0.04033248871564865,
-0.6587375998497009,
0.1144014224410057,
0.29173603653907776,
0.2551151514053345,
0.015310391783714294,
-0.04580283537507057,
0.05900334566831589,
-0.14302530884742737,
0.5999675393104553,
0.5157787203788757,
0.42864421010017395,
-0.5772803425788879,
0.0536261647939682,
-0.39346256852149963,
0.10484868288040161,
0.02799709513783455,
-0.22978946566581726,
-0.006612230092287064,
-0.05257677286863327,
-0.10685085505247116,
0.15974372625350952,
0.3771781921386719,
-0.19411157071590424,
0.07131727039813995,
0.34402990341186523,
-0.1549404412508011,
0.18469952046871185,
0.09040527045726776,
0.4121750295162201,
0.21455995738506317,
-0.43630242347717285,
0.13144434988498688,
-0.1117011159658432,
0.017196454107761383,
-0.02134016901254654,
0.12460489571094513,
-0.290375292301178,
-0.33668050169944763,
0.5827986001968384,
0.03904207795858383,
0.501396656036377,
0.044620588421821594,
0.12770995497703552,
-0.09430883824825287,
-0.021208325400948524,
-0.1863379329442978,
0.3635919988155365,
0.20757745206356049,
-0.18968021869659424,
-0.14033398032188416,
-0.057943206280469894,
-0.5768232941627502,
0.10741887986660004,
-0.0909884050488472,
-0.20196929574012756,
-0.1147240698337555,
-0.25469639897346497,
0.015528537333011627,
0.0891183540225029,
0.12023068964481354,
0.0579117126762867,
-0.06671547144651413,
0.10661700367927551,
-0.4519062042236328,
-0.1203516498208046,
0.5304162502288818,
-0.4497506618499756,
-0.10575281083583832,
-0.10277435928583145,
0.3755025565624237,
0.18875667452812195,
0.12160810083150864,
-0.4843393862247467,
0.33283522725105286,
0.1578609198331833,
0.18814262747764587,
-0.06805125623941422,
0.21389485895633698,
-0.22015216946601868,
0.2617909014225006,
-0.015178387984633446,
0.0882180780172348,
-0.2545228898525238,
-0.03242557495832443,
-0.20574989914894104,
-0.1825578212738037
] |
https://github.com/huggingface/datasets/issues/1634 | Inspecting datasets per category | That's interesting, can you tell me what you think would be useful to access to inspect a dataset?
You can filter them in the hub with the search by the way: https://huggingface.co/datasets have you seen it? | Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | 36 | Inspecting datasets per category
Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq
That's interesting, can you tell me what you think would be useful to access to inspect a dataset?
You can filter them in the hub with the search by the way: https://huggingface.co/datasets have you seen it? | [
-0.24553215503692627,
-0.15293332934379578,
-0.22945667803287506,
0.39996546506881714,
0.045951150357723236,
0.22480502724647522,
0.07310544699430466,
0.47074511647224426,
-0.0032283198088407516,
-0.1497344821691513,
-0.5485331416130066,
-0.11188466846942902,
-0.10111619532108307,
0.3258760869503021,
0.08804293721914291,
0.13387081027030945,
-0.026016809046268463,
0.03864731639623642,
-0.09461605548858643,
0.035421520471572876,
-0.07614421099424362,
-0.1488867849111557,
-0.2528308629989624,
0.23969340324401855,
0.012490859255194664,
-0.04310053586959839,
-0.393130898475647,
-0.11434011906385422,
-0.23680005967617035,
-0.3348468244075775,
0.16633152961730957,
0.39593589305877686,
0.37837696075439453,
0.07712286710739136,
-0.00010797196591738611,
-0.007259562611579895,
0.06527754664421082,
0.046406663954257965,
-0.18099795281887054,
0.10473030805587769,
-0.6043123006820679,
-0.26385074853897095,
0.1473354995250702,
-0.12373541295528412,
0.04155120253562927,
-0.06039028242230415,
0.4771704375743866,
-0.25528180599212646,
-0.228376105427742,
-0.051670707762241364,
0.18734483420848846,
0.20587676763534546,
-0.4735040068626404,
0.07813750952482224,
-0.13827025890350342,
0.2351609468460083,
-0.19803382456302643,
-0.04744724556803703,
0.583914041519165,
-0.04096594452857971,
-0.1770186722278595,
0.3836559057235718,
0.10033716261386871,
0.06081080809235573,
0.13912448287010193,
-0.09216941148042679,
-0.08134404569864273,
-0.45091715455055237,
0.08766068518161774,
0.5685508251190186,
0.525390088558197,
-0.0804104432463646,
-0.4150145947933197,
-0.22345423698425293,
-0.18494072556495667,
0.11213615536689758,
-0.41910114884376526,
0.8505075573921204,
-0.075468048453331,
0.1847098171710968,
-0.17600904405117035,
-0.06610976904630661,
-0.29541826248168945,
0.03192255645990372,
-0.14301879703998566,
0.2825133502483368,
-0.0627332404255867,
-0.12892186641693115,
0.22060030698776245,
-0.05082327127456665,
0.3368183374404907,
-0.06825567036867142,
-0.39444106817245483,
0.1516823172569275,
-0.6407148838043213,
-0.23853884637355804,
0.33418184518814087,
0.6969441771507263,
0.18397918343544006,
0.17581172287464142,
0.2753147780895233,
0.21734195947647095,
-0.2307015061378479,
-0.19313734769821167,
0.461651474237442,
0.06555214524269104,
0.2504458725452423,
0.04618973657488823,
0.3031676411628723,
-0.05810801312327385,
-0.020274434238672256,
0.07792233675718307,
-0.11891977488994598,
0.17080886662006378,
-0.23244453966617584,
-0.04159922152757645,
0.19223371148109436,
-0.154595285654068,
-0.19949236512184143,
-0.39035582542419434,
-0.10951994359493256,
-0.4240271747112274,
0.04939301311969757,
0.39368000626564026,
0.13535647094249725,
-0.03219766914844513,
-0.3744388818740845,
0.29824692010879517,
-0.1149066835641861,
-0.5472376942634583,
-0.17876757681369781,
0.03528735414147377,
0.023418527096509933,
-0.017497116699814796,
0.15063264966011047,
-0.10313516855239868,
-0.07085757702589035,
-0.16186922788619995,
0.005419380962848663,
0.038202278316020966,
-0.029030319303274155,
-0.06734704971313477,
0.05501704663038254,
0.08731940388679504,
0.31203800439834595,
-0.19728896021842957,
0.07861429452896118,
0.23586760461330414,
-0.4207358956336975,
-0.1280500590801239,
-0.036129146814346313,
-0.4050109088420868,
-0.04509048908948898,
0.10072557628154755,
-0.3277042508125305,
-0.21923208236694336,
-0.29703983664512634,
0.6114123463630676,
-0.46798834204673767,
0.20388449728488922,
0.07321937382221222,
0.31423187255859375,
0.28378286957740784,
-0.16060493886470795,
-0.19943341612815857,
0.4373908042907715,
-0.19836527109146118,
-0.08610808849334717,
-0.07495778799057007,
-0.2477605640888214,
-0.10426189750432968,
0.10704585909843445,
-0.1139393150806427,
0.21012625098228455,
-0.311068594455719,
0.04092369228601456,
0.8389816880226135,
-0.2249019593000412,
-0.37718257308006287,
0.11569313704967499,
0.3103722929954529,
-0.15059632062911987,
0.1415737271308899,
0.3947981894016266,
-0.061490923166275024,
-0.01083214208483696,
-0.2910553216934204,
0.21920976042747498,
-0.03963272273540497,
-0.013752128928899765,
0.02433614805340767,
-0.3157281279563904,
0.13258624076843262,
0.19021998345851898,
0.03644973412156105,
0.24223315715789795,
0.25645649433135986,
-0.10253981500864029,
0.4131574034690857,
-0.11427146196365356,
-0.1415676325559616,
-0.016897566616535187,
0.10256380587816238,
-0.11944262683391571,
0.09696006774902344,
-0.3000572919845581,
-0.3621154725551605,
0.15790227055549622,
-0.05099589005112648,
0.17990612983703613,
0.03297104686498642,
-0.23693396151065826,
0.006628688424825668,
0.06632240861654282,
-0.14486277103424072,
-0.00710485503077507,
0.25866571068763733,
0.17884260416030884,
0.06137067452073097,
0.13454139232635498,
-0.29378268122673035,
0.2766743302345276,
0.0193649772554636,
0.09654271602630615,
-0.10305468738079071,
0.31323039531707764,
0.14129391312599182,
0.3934918940067291,
0.21392664313316345,
0.15437856316566467,
-0.2115139365196228,
-0.06445111334323883,
0.009008867666125298,
-0.32725200057029724,
-0.20549359917640686,
0.16049742698669434,
0.8943872451782227,
0.669452428817749,
0.25338712334632874,
-0.5422839522361755,
0.27679696679115295,
-0.17604833841323853,
-0.02595997229218483,
0.019859716296195984,
-0.23456889390945435,
0.3427531123161316,
-0.20717619359493256,
0.46225833892822266,
-0.02554471418261528,
-0.03180985152721405,
0.07279840856790543,
0.03643876686692238,
-0.19487766921520233,
0.04179701954126358,
0.4725968539714813,
0.22446541488170624,
0.07035292685031891,
0.1599469780921936,
-0.27082696557044983,
0.28045782446861267,
0.38018953800201416,
-0.1596800535917282,
0.10276849567890167,
0.0950905829668045,
-0.14557534456253052,
-0.014892501756548882,
0.2546902298927307,
0.010494161397218704,
0.07580310106277466,
0.17606067657470703,
0.01711978018283844,
-0.17154176533222198,
0.07468073815107346,
-0.03382338210940361,
-0.009222008287906647,
0.10701040923595428,
-0.09579998254776001,
-0.29574429988861084,
0.39799678325653076,
-0.01506627444177866,
-0.2960931062698364,
-0.15520048141479492,
-0.13192413747310638,
0.15099915862083435,
-0.04634900018572807,
0.290843665599823,
-0.05959179997444153,
-0.5412445068359375,
0.30731192231178284,
-0.29486215114593506,
-0.19219541549682617,
-0.29893648624420166,
0.11416526138782501,
-0.28232595324516296,
0.13020890951156616,
-0.23049061000347137,
-0.4811022877693176,
0.6867519617080688,
-0.09769784659147263,
0.22281110286712646,
-0.09342629462480545,
-0.1628006249666214,
-0.1883011758327484,
0.13113737106323242,
0.44082915782928467,
0.21601495146751404,
0.3410707712173462,
-0.14399810135364532,
0.5487813353538513,
-0.14585548639297485,
-0.30766573548316956,
0.14046591520309448,
0.048141397535800934,
0.199178546667099,
-0.21551275253295898,
0.1595047414302826,
-0.036956917494535446,
0.04782399907708168,
0.060017578303813934,
0.24387907981872559,
-0.08975107967853546,
0.2800734341144562,
-0.23174946010112762,
0.09280332922935486,
0.23716983199119568,
-0.16164955496788025,
-0.4624883234500885,
-0.19634364545345306,
0.12478534877300262,
-0.31230804324150085,
0.3161908984184265,
-0.2666248083114624,
-0.3154158294200897,
-0.16474492847919464,
-0.18345656991004944,
-0.14162945747375488,
-0.08813846856355667,
-0.2221992164850235,
0.04573749750852585,
-0.04126616194844246,
-0.13074375689029694,
-0.1385355293750763,
-0.21076934039592743,
0.37591874599456787,
0.021798880770802498,
-0.39956897497177124,
-0.10290376842021942,
-0.15006205439567566,
0.02717391774058342,
0.17048826813697815,
-0.1327165961265564,
0.062097009271383286,
-0.10577534139156342,
0.07557986676692963,
0.13355666399002075,
0.09407828748226166,
-0.1578185260295868,
-0.11799048632383347,
0.22071503102779388,
0.07055720686912537,
-0.16078269481658936,
0.2513233423233032,
0.3187563419342041,
0.20324307680130005,
0.10248711705207825,
0.263447105884552,
-0.16158822178840637,
0.1351606249809265,
0.3194880187511444,
-0.4736802577972412,
-0.08291616290807724,
0.10242380946874619,
0.0007220301777124405,
0.3073069453239441,
0.24348324537277222,
-0.4967826306819916,
-0.1959158480167389,
0.27155831456184387,
-0.5491095781326294,
-0.2005576640367508,
0.06285878270864487,
-0.07464244216680527,
0.1725081205368042,
0.07263116538524628,
-0.12236838042736053,
-0.06680648028850555,
-0.40726765990257263,
-0.06913182139396667,
0.3100283145904541,
-0.021910130977630615,
-0.17774829268455505,
-0.35663631558418274,
-0.3992902934551239,
-0.09305363148450851,
0.29592713713645935,
-0.15116019546985626,
0.1808464378118515,
-0.030315103009343147,
0.107420913875103,
0.3834604024887085,
0.16616684198379517,
0.35686278343200684,
-0.40373995900154114,
-0.0006811991333961487,
0.024358559399843216,
-0.01736273057758808,
-0.39106565713882446,
0.16192737221717834,
-0.2636988162994385,
-0.024856753647327423,
0.2297748625278473,
-0.07679888606071472,
-0.012844853103160858,
-0.25262176990509033,
-0.016506142914295197,
-0.03203435614705086,
-0.2819534242153168,
-0.2206418812274933,
-0.09812849760055542,
0.11519778519868851,
-0.0012350548058748245,
0.039134200662374496,
-0.3254963159561157,
-0.05033938214182854,
-0.20861531794071198,
0.037072937935590744,
-0.24487797915935516,
-0.152414470911026,
0.28160178661346436,
0.5065797567367554,
-0.10058217495679855,
0.21787306666374207,
0.03892141953110695,
0.2029353529214859,
0.01591513305902481,
0.05365798622369766,
0.4275120794773102,
0.20684517920017242,
-0.47488874197006226,
0.02393404021859169,
0.06551829725503922,
0.2111891210079193,
0.11625267565250397,
0.0514620766043663,
0.05443970113992691,
-0.30593347549438477,
-0.043587833642959595,
-0.4261353313922882,
0.1663312017917633,
0.1503152996301651,
-0.06941239535808563,
-0.5391891002655029,
-0.16277924180030823,
0.7504376769065857,
0.1072370857000351,
-0.2833896279335022,
0.2404269129037857,
0.3694290518760681,
-0.11282917112112045,
0.09114157408475876,
0.024915464222431183,
0.8594045639038086,
-0.001010313630104065,
-0.13982008397579193,
-0.06668731570243835,
-0.1861005425453186,
0.25934991240501404,
-0.4081708788871765,
0.13280946016311646,
-0.23626725375652313,
-0.10622072964906693,
-0.08139277994632721,
-0.17313100397586823,
-0.0003389492630958557,
0.30375540256500244,
-0.027382971718907356,
0.05149801820516586,
0.0020788609981536865,
-0.11820812523365021,
-0.03136850893497467,
-0.06313427537679672,
-0.4598032832145691,
0.07677320390939713,
-0.35657522082328796,
0.16275332868099213,
-0.17471210658550262,
0.4422893226146698,
-0.15720951557159424,
-0.1597500890493393,
-0.12719392776489258,
0.2501041293144226,
-0.7062597274780273,
-0.0980554074048996,
0.08488267660140991,
-0.19566641747951508,
-0.07457797229290009,
-0.028804700821638107,
0.10474053025245667,
0.25027433037757874,
0.33182185888290405,
-0.09714804589748383,
-0.26929035782814026,
0.18167686462402344,
-0.4351149797439575,
0.13366517424583435,
0.04695959389209747,
0.054360754787921906,
-0.061650410294532776,
0.008118264377117157,
-0.4391891062259674,
0.4193749725818634,
0.40690550208091736,
-0.042346734553575516,
-0.3550892472267151,
0.1938815414905548,
-0.07278957962989807,
-0.12760838866233826,
0.13147611916065216,
0.20272651314735413,
0.18437111377716064,
0.24673037230968475,
0.13580460846424103,
0.3787495493888855,
0.08702340722084045,
0.3338123559951782,
0.19076818227767944,
-0.13401949405670166,
-0.08719789981842041,
-0.18786492943763733,
0.321194589138031,
0.04997976869344711,
-0.005857896059751511,
-0.02915734238922596,
0.05367819219827652,
-0.20072606205940247,
0.31662634015083313,
0.05871718376874924,
-0.1811850368976593,
-0.11781958490610123,
-0.26579034328460693,
0.15362073481082916,
0.12929022312164307,
0.08019819855690002,
0.09352508187294006,
-0.06651618331670761,
0.03457513079047203,
-0.4519854187965393,
0.1431041955947876,
0.4041515588760376,
-0.21189115941524506,
0.30518054962158203,
-0.3709363341331482,
-0.3015112578868866,
-0.024806927889585495,
0.27295035123825073,
-0.27669039368629456,
0.0267842598259449,
-0.18138019740581512,
-0.05237603187561035,
-0.17713898420333862,
0.19262787699699402,
-0.04477333649992943,
-0.07371237874031067,
-0.02120334655046463,
-0.14688260853290558,
-0.17947393655776978,
-0.22393667697906494,
0.20256032049655914,
0.13145950436592102,
0.07771843671798706,
0.164657860994339,
0.008062007836997509,
0.009151503443717957,
0.266162246465683,
-0.1670532077550888,
-0.03884381800889969,
-0.3671860098838806,
0.22208109498023987,
0.2739846408367157,
0.4554350972175598,
-0.11852332204580307,
0.05356445163488388,
0.16024410724639893,
-0.03401117026805878,
0.3793413043022156,
0.411810964345932,
0.06565314531326294,
0.04290805384516716,
-0.028226729482412338,
0.06633861362934113,
0.24933534860610962,
0.2505864202976227,
0.010199377313256264,
-0.18394160270690918,
0.06417249888181686,
0.5837348699569702,
0.23111626505851746,
-0.007466673851013184,
0.19204968214035034,
-0.03051885962486267,
0.14680732786655426,
0.06280064582824707,
0.21998117864131927,
-0.15002623200416565,
-0.12810984253883362,
-0.0851433128118515,
0.2809866964817047,
0.03312448784708977,
0.23531219363212585,
0.24951985478401184,
0.26424115896224976,
0.5634088516235352,
-0.17105406522750854,
0.47003334760665894,
-0.088851198554039,
0.3717051148414612,
0.13267631828784943,
-0.03574497625231743,
-0.09361512959003448,
0.20240172743797302,
0.025868244469165802,
0.09117229282855988,
0.21706973016262054,
-0.14020094275474548,
0.18774192035198212,
-0.10604458302259445,
0.13780029118061066,
0.32505273818969727,
-0.2639157772064209,
-0.17943492531776428,
0.24962207674980164,
0.015909940004348755,
0.2467615306377411,
-0.10178697109222412,
-0.034047022461891174,
0.156511589884758,
-0.04894678667187691,
-0.27036598324775696,
0.10944405198097229,
0.20582348108291626,
-0.1287345588207245,
-0.04621130973100662,
-0.31647637486457825,
0.09391452372074127,
0.03475671634078026,
0.0394146628677845,
-0.5336434841156006,
-0.17899107933044434,
-0.00882808119058609,
-0.014398850500583649,
-0.3907332122325897,
0.30657312273979187,
0.42334339022636414,
0.20127826929092407,
-0.06951544433832169,
-0.07414694875478745,
0.0912313163280487,
-0.01971922069787979,
0.3376952111721039,
0.5650490522384644,
-0.05771273002028465,
-0.10127164423465729,
-0.19645963609218597,
0.11047879606485367,
-0.38646045327186584,
-0.15850207209587097,
-0.10473494976758957,
0.06852929294109344,
-0.05974078178405762,
0.031117500737309456,
0.1922679841518402,
0.13584360480308533,
0.011042819358408451,
0.2848905920982361,
-0.12300184369087219,
0.23139317333698273,
-0.20627515017986298,
0.13713856041431427,
-0.1495082825422287,
0.008932508528232574,
-0.07132135331630707,
-0.3597351610660553,
-0.4178459346294403,
-0.09919781237840652,
0.22320051491260529,
-0.16794335842132568,
0.009735530242323875,
-0.1797056496143341,
0.04552478343248367,
0.02833639830350876,
0.2231452763080597,
0.510869562625885,
0.2698989808559418,
0.14742928743362427,
-0.4483955502510071,
-0.21057499945163727,
-0.06876616925001144,
-0.12192992866039276,
-0.05733444169163704,
0.08078998327255249,
0.2413981407880783,
-0.06064087897539139,
0.17887283861637115,
0.16044746339321136,
0.14150388538837433,
0.12747138738632202,
0.3011879324913025,
-0.7209574580192566,
-0.177654430270195,
-0.13194061815738678,
0.4202452600002289,
-0.28230777382850647,
-0.10699482262134552,
0.18881574273109436,
-0.2594943046569824,
-0.10560645163059235,
0.10737945139408112,
0.23284649848937988,
0.1289748102426529,
0.055575892329216,
0.18998533487319946,
0.04244459420442581,
0.26435351371765137,
0.13861560821533203,
0.15428277850151062,
-0.5443912148475647,
-0.23630724847316742,
-0.0446845218539238,
0.06620634347200394,
0.205374076962471,
0.08694040775299072,
-0.18677541613578796,
-0.24339254200458527,
0.3166287839412689,
-0.0002631242386996746,
0.18595632910728455,
0.07023357599973679,
-0.009677492082118988,
-0.1132531389594078,
0.12969830632209778,
-0.12776245176792145,
0.2176865190267563,
0.12160707265138626,
0.12928177416324615,
-0.045011114329099655,
0.21695201098918915,
-0.07596331834793091,
0.12701231241226196,
-0.33622515201568604,
-0.1706351488828659,
0.15586569905281067,
0.028238162398338318,
-0.10276185721158981,
0.13684681057929993,
-0.2595783770084381,
0.039341337978839874,
0.5676422119140625,
-0.1922875940799713,
0.37786969542503357,
0.46717143058776855,
0.4792614281177521,
-0.15092900395393372,
-0.1778731793165207,
-0.019887477159500122,
0.1768820583820343,
-0.34458398818969727,
-0.09931664913892746,
-0.06764084100723267
] |
https://github.com/huggingface/datasets/issues/1634 | Inspecting datasets per category | Hi @thomwolf
thank you, I was not aware of this, I was looking into the data viewer linked into readme page.
This is exactly what I was looking for, but this does not work currently, please see the attached
I am selecting to see all nli datasets in english and it retrieves none. thanks

| Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | 55 | Inspecting datasets per category
Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq
Hi @thomwolf
thank you, I was not aware of this, I was looking into the data viewer linked into readme page.
This is exactly what I was looking for, but this does not work currently, please see the attached
I am selecting to see all nli datasets in english and it retrieves none. thanks

| [
-0.30201923847198486,
0.09379793703556061,
-0.17149360477924347,
0.45885342359542847,
0.06718792021274567,
0.20000866055488586,
0.14744409918785095,
0.49897339940071106,
-0.12374436855316162,
-0.0721699595451355,
-0.6115686297416687,
-0.08187445998191833,
-0.03799274563789368,
0.2360660284757614,
0.13147835433483124,
0.07051226496696472,
0.06599901616573334,
0.07176094502210617,
-0.209844172000885,
-0.07307819277048111,
-0.05905917286872864,
-0.004341369494795799,
-0.2953973412513733,
0.2639477252960205,
0.14820076525211334,
-0.046419426798820496,
-0.40756773948669434,
-0.29137277603149414,
-0.2740222215652466,
-0.35857656598091125,
0.16409629583358765,
0.2567879855632782,
0.43165451288223267,
0.03543590009212494,
-0.0001086130432668142,
-0.016475103795528412,
0.10578887164592743,
0.03241923451423645,
-0.05315030366182327,
0.06286236643791199,
-0.49357154965400696,
-0.301384299993515,
0.2357199639081955,
-0.1952267289161682,
0.059874050319194794,
-0.20242753624916077,
0.5626852512359619,
-0.32423335313796997,
-0.17746759951114655,
0.11381269246339798,
0.17509250342845917,
-0.02249113842844963,
-0.39535847306251526,
0.13455286622047424,
-0.16445055603981018,
0.17679870128631592,
-0.18783877789974213,
-0.13054677844047546,
0.46429771184921265,
-0.035944864153862,
-0.2221887707710266,
0.3846779465675354,
0.1228792816400528,
0.08059944957494736,
-0.022704243659973145,
-0.03946426883339882,
0.06118983402848244,
-0.447368323802948,
0.1216735988855362,
0.6197764873504639,
0.6888501644134521,
-0.05957514047622681,
-0.44070175290107727,
-0.07405506074428558,
-0.16285423934459686,
0.12377513945102692,
-0.39191409945487976,
0.9289368391036987,
-0.11568018794059753,
0.11826196312904358,
-0.13109171390533447,
-0.056632209569215775,
-0.3187268376350403,
0.03470694273710251,
-0.2948162257671356,
0.3741951286792755,
-0.08905648440122604,
-0.09391505271196365,
0.3317599296569824,
-0.17612506449222565,
0.36169007420539856,
0.023248087614774704,
-0.44173911213874817,
0.17991408705711365,
-0.7394192814826965,
-0.13127103447914124,
0.25120818614959717,
0.5415772199630737,
0.20401203632354736,
-0.017231803387403488,
0.2887926995754242,
0.2197982668876648,
-0.21343272924423218,
-0.17207416892051697,
0.4058312475681305,
0.13293761014938354,
0.30100515484809875,
0.04078429937362671,
0.16933542490005493,
-0.15521159768104553,
-0.03372140973806381,
0.07427803426980972,
-0.23330897092819214,
0.020462192595005035,
-0.3318936228752136,
-0.05125091224908829,
0.04368723928928375,
-0.19877822697162628,
-0.2195053994655609,
-0.33563774824142456,
-0.13151384890079498,
-0.45071589946746826,
-0.08317704498767853,
0.36948102712631226,
0.1268961876630783,
-0.00608515739440918,
-0.310035765171051,
0.3781318664550781,
-0.25116947293281555,
-0.6250889301300049,
-0.09854373335838318,
0.07869760692119598,
-0.03957325220108032,
-0.13947373628616333,
0.11782670021057129,
-0.13229218125343323,
-0.07979758083820343,
-0.1720878928899765,
0.0024930238723754883,
0.04422387480735779,
-0.005848313681781292,
-0.09243857860565186,
0.01564730703830719,
-0.03798994794487953,
0.4044885039329529,
-0.16127566993236542,
0.10491219162940979,
-0.00514756515622139,
-0.3377613425254822,
0.02647385373711586,
0.08771040290594101,
-0.2825859487056732,
-0.1999628096818924,
0.11688514798879623,
-0.24463634192943573,
-0.21168801188468933,
-0.14905565977096558,
0.6655651926994324,
-0.382002592086792,
0.10582216084003448,
0.04602459818124771,
0.142082080245018,
0.2311931848526001,
-0.11168171465396881,
-0.1651347279548645,
0.42128580808639526,
-0.4193429946899414,
-0.0928276851773262,
-0.1446889191865921,
-0.332181453704834,
-0.03539379686117172,
0.15781176090240479,
-0.054825156927108765,
0.021256424486637115,
-0.39220744371414185,
0.04737405478954315,
0.8782117366790771,
-0.13899178802967072,
-0.22635944187641144,
0.26559242606163025,
0.38610929250717163,
-0.23135313391685486,
0.25743788480758667,
0.20394335687160492,
0.012582799419760704,
0.04193301498889923,
-0.3922656774520874,
0.12256238609552383,
-0.0020041335374116898,
0.04241058975458145,
0.026857029646635056,
-0.42396920919418335,
0.32479918003082275,
0.17958985269069672,
0.08499950170516968,
0.16553807258605957,
0.3775901794433594,
-0.12532520294189453,
0.5877931118011475,
-0.16689246892929077,
-0.05040167272090912,
0.030041353777050972,
-0.07407516241073608,
-0.09160897135734558,
0.13585101068019867,
-0.21053054928779602,
-0.33967670798301697,
0.11944404989480972,
-0.08264067769050598,
0.320548415184021,
0.06024663522839546,
-0.13974761962890625,
0.11100883036851883,
-0.02982531674206257,
-0.22073854506015778,
-0.06013992801308632,
0.24125400185585022,
0.2704809904098511,
0.0336972139775753,
0.21519342064857483,
-0.2410714477300644,
0.20908139646053314,
0.024501321837306023,
-0.012974830344319344,
-0.02655337005853653,
0.25691622495651245,
0.09074714779853821,
0.3026956617832184,
0.297946572303772,
0.12673833966255188,
-0.17495250701904297,
-0.016949141398072243,
-0.07629329711198807,
-0.33638492226600647,
-0.12743158638477325,
0.17867890000343323,
0.7207256555557251,
0.5630328059196472,
0.21031107008457184,
-0.4626794159412384,
0.33004042506217957,
-0.05296213552355766,
-0.06328873336315155,
0.069593645632267,
-0.31701332330703735,
0.3304571509361267,
-0.09750165045261383,
0.479543536901474,
0.06791502982378006,
-0.023953400552272797,
0.2195025086402893,
0.017905045300722122,
-0.18560858070850372,
-0.11681081354618073,
0.48088541626930237,
0.22766801714897156,
0.052007969468832016,
0.10342004150152206,
-0.35967162251472473,
0.3000662922859192,
0.4525819718837738,
-0.10302300751209259,
0.05467526242136955,
0.029070701450109482,
-0.08715447038412094,
0.050648607313632965,
0.2534509301185608,
0.09192879498004913,
0.05139242112636566,
0.2142789512872696,
0.13532285392284393,
-0.11684969812631607,
0.14315864443778992,
-0.055624473839998245,
0.024094827473163605,
0.0016845539212226868,
-0.0039028797764331102,
-0.19941362738609314,
0.3179623484611511,
-0.13976049423217773,
-0.3216179609298706,
-0.12133045494556427,
-0.004183598794043064,
0.13331612944602966,
-0.06813324242830276,
0.1726483255624771,
-0.2653358280658722,
-0.7509956955909729,
0.06059638410806656,
-0.2273228019475937,
-0.18883353471755981,
-0.25174179673194885,
-0.010462488979101181,
-0.4002918004989624,
0.138711616396904,
-0.11373046785593033,
-0.5434060096740723,
0.5096988677978516,
-0.10510730743408203,
0.35127463936805725,
-0.07058610767126083,
-0.14078155159950256,
-0.3351513743400574,
0.151342511177063,
0.42085930705070496,
0.1502159684896469,
0.19858646392822266,
-0.2169165313243866,
0.4200827479362488,
-0.05846596509218216,
-0.35452279448509216,
0.2315332591533661,
-0.014779932796955109,
0.20975615084171295,
-0.3728644847869873,
0.044746238738298416,
-0.1688537746667862,
0.058438099920749664,
0.03141656145453453,
0.2289772629737854,
-0.12316291034221649,
0.20009323954582214,
-0.1428048312664032,
0.028811324387788773,
0.13682928681373596,
-0.38266727328300476,
-0.5265018343925476,
-0.1817941665649414,
0.033189140260219574,
-0.2954968512058258,
0.43838608264923096,
-0.24919237196445465,
-0.3484259843826294,
-0.11184319108724594,
-0.10755953937768936,
-0.028699031099677086,
-0.043464142829179764,
-0.07345397770404816,
0.119535431265831,
-0.12923282384872437,
-0.22606171667575836,
0.016366157680749893,
-0.11379048228263855,
0.37405529618263245,
-0.08368051052093506,
-0.4422503709793091,
0.04342141002416611,
-0.14056062698364258,
-0.014409372583031654,
0.1422802209854126,
-0.04842907935380936,
0.02855812758207321,
-0.05082577466964722,
0.08691957592964172,
0.04098203778266907,
0.07351161539554596,
-0.06765834242105484,
-0.16297537088394165,
0.16935038566589355,
0.04011301323771477,
-0.04317022114992142,
0.2874176502227783,
0.17871683835983276,
0.20876948535442352,
0.1954711526632309,
0.25796109437942505,
-0.19451522827148438,
0.14247409999370575,
0.3222067952156067,
-0.37743210792541504,
0.04784342274069786,
0.030376531183719635,
0.05589330196380615,
0.3996391296386719,
0.14500197768211365,
-0.6288627982139587,
-0.20841307938098907,
0.3221395015716553,
-0.5552141666412354,
-0.22653524577617645,
0.0888129249215126,
-0.1495361626148224,
0.2075643539428711,
0.020761948078870773,
-0.07759970426559448,
0.08370341360569,
-0.3250209391117096,
-0.15754680335521698,
0.3913149833679199,
0.05090184137225151,
-0.062132108956575394,
-0.33644410967826843,
-0.3859550356864929,
-0.02696909010410309,
0.2864144444465637,
-0.11359424889087677,
0.2579447329044342,
-0.09702115505933762,
0.17194631695747375,
0.3771681785583496,
0.0910000279545784,
0.34237319231033325,
-0.21142469346523285,
0.027968890964984894,
0.09322331845760345,
0.008311986923217773,
-0.281642884016037,
0.06962695717811584,
-0.27883464097976685,
-0.09122046083211899,
0.27751848101615906,
-0.30834802985191345,
-0.0473565049469471,
-0.317927747964859,
-0.053258709609508514,
0.06907912343740463,
-0.34320637583732605,
-0.15130725502967834,
-0.09005311131477356,
0.11406613141298294,
0.03096366487443447,
-0.05891024321317673,
-0.35387030243873596,
-0.003202593419700861,
-0.2659941613674164,
0.06845510005950928,
-0.19138911366462708,
-0.1656217873096466,
0.21111859381198883,
0.377758651971817,
-0.01219850406050682,
0.22064553201198578,
0.02125784009695053,
0.14790336787700653,
0.07719965279102325,
-0.00632316991686821,
0.45154255628585815,
0.2630317807197571,
-0.5572956800460815,
0.08506162464618683,
-0.08003309369087219,
0.2294076532125473,
0.033795423805713654,
0.02240096405148506,
0.00029411911964416504,
-0.1411973088979721,
-0.18524403870105743,
-0.18361203372478485,
0.11435691267251968,
0.19475805759429932,
-0.049711864441633224,
-0.4863707423210144,
-0.33112871646881104,
0.6556466221809387,
0.13671669363975525,
-0.2210981696844101,
0.03183964639902115,
0.31647706031799316,
-0.1561467945575714,
0.07970971614122391,
0.014797113835811615,
0.809086799621582,
0.08011755347251892,
-0.13323846459388733,
-0.04514557123184204,
-0.309368371963501,
0.16277429461479187,
-0.32304447889328003,
0.21057312190532684,
-0.30436310172080994,
-0.035901449620723724,
-0.043817583471536636,
-0.1073022186756134,
0.0576682984828949,
0.39891278743743896,
-0.09604574739933014,
0.0985175296664238,
0.125839963555336,
-0.33139240741729736,
0.07532613724470139,
0.02103729546070099,
-0.38385477662086487,
0.11168920993804932,
-0.261557012796402,
0.13080017268657684,
-0.14905723929405212,
0.2083066999912262,
-0.09444573521614075,
-0.18255800008773804,
-0.042850468307733536,
0.33017969131469727,
-0.6485315561294556,
0.002113519236445427,
0.07144394516944885,
-0.15750151872634888,
-0.17433802783489227,
-0.11075174808502197,
0.2586372196674347,
0.39721816778182983,
0.15679794549942017,
-0.06098250672221184,
-0.26579007506370544,
0.1670798361301422,
-0.2500767409801483,
0.1785644292831421,
0.15062475204467773,
0.10898887366056442,
-0.016676126047968864,
-0.02090594917535782,
-0.45884716510772705,
0.3540346324443817,
0.3280014395713806,
0.07897144556045532,
-0.4013209939002991,
0.211636483669281,
-0.042792558670043945,
-0.06840727478265762,
0.2023307979106903,
0.2025085985660553,
0.17416010797023773,
0.2887028455734253,
0.13742047548294067,
0.3309776186943054,
0.0645349845290184,
0.35727977752685547,
0.20284436643123627,
-0.10399337112903595,
-0.09203140437602997,
-0.19272112846374512,
0.36838316917419434,
0.00010667368769645691,
0.09973669797182083,
0.08618699014186859,
-0.0519411601126194,
-0.1495075672864914,
0.24142569303512573,
-0.04979046806693077,
-0.168158158659935,
-0.23104295134544373,
-0.25214141607284546,
0.33203262090682983,
0.16834253072738647,
0.079003244638443,
-0.06181218475103378,
-0.013420619070529938,
-0.030893197283148766,
-0.501012921333313,
0.1910606026649475,
0.32523810863494873,
-0.3416944146156311,
0.24303051829338074,
-0.18772289156913757,
-0.35071155428886414,
-0.025115132331848145,
0.21022771298885345,
-0.2612725496292114,
-0.013247957453131676,
-0.035597432404756546,
0.03391652554273605,
-0.04639215022325516,
0.24210169911384583,
-0.14718672633171082,
0.015166770666837692,
-0.024263164028525352,
-0.11836104094982147,
-0.08316260576248169,
-0.2031709849834442,
0.22993597388267517,
0.12834882736206055,
0.17624309659004211,
0.06894160062074661,
-0.0022136305924504995,
-0.11511674523353577,
0.1910296231508255,
-0.05165968835353851,
-0.0038870107382535934,
-0.3795301616191864,
0.046346306800842285,
0.4171483516693115,
0.25376778841018677,
-0.0822296068072319,
0.07040037959814072,
0.09265391528606415,
0.03849292919039726,
0.36431241035461426,
0.4042584300041199,
0.1657266467809677,
0.09381231665611267,
0.0037083104252815247,
0.07560432702302933,
0.20108410716056824,
0.15664571523666382,
0.07326417416334152,
-0.11409424990415573,
-0.08398561179637909,
0.6470824480056763,
0.023067936301231384,
0.08766696602106094,
0.18759718537330627,
-0.0351426899433136,
0.13916388154029846,
0.2540566027164459,
0.20667874813079834,
-0.1567816436290741,
-0.1206425353884697,
-0.10989068448543549,
0.1590554267168045,
-0.00802931934595108,
0.26835817098617554,
0.23466762900352478,
0.07484640181064606,
0.6498422622680664,
-0.13660451769828796,
0.39549803733825684,
-0.12225586175918579,
0.3186434507369995,
0.32368066906929016,
-0.0920981913805008,
-0.10560983419418335,
0.22929325699806213,
-0.04026209935545921,
0.03791433572769165,
0.31271791458129883,
-0.22246819734573364,
0.06578314304351807,
-0.005179896950721741,
0.13185127079486847,
0.29215991497039795,
-0.22810181975364685,
-0.15546384453773499,
0.2287597954273224,
-0.0486878901720047,
0.18448764085769653,
-0.030735939741134644,
-0.10372663289308548,
0.289385050535202,
-0.05089620500802994,
-0.2401759922504425,
0.15991106629371643,
0.18401768803596497,
-0.07892018556594849,
-0.08474673330783844,
-0.3151170313358307,
0.03318318724632263,
0.18198318779468536,
-0.04950137063860893,
-0.46057021617889404,
-0.24412426352500916,
0.10629914700984955,
-0.071019247174263,
-0.3761574327945709,
0.26595771312713623,
0.37157467007637024,
0.1353333294391632,
-0.16234232485294342,
0.05865287035703659,
0.14554482698440552,
0.011640876531600952,
0.2370200753211975,
0.6227419376373291,
0.009210623800754547,
0.022094346582889557,
-0.07940071821212769,
-0.07170591503381729,
-0.29607823491096497,
-0.09120094031095505,
-0.07080202549695969,
0.07689745724201202,
-0.01213701069355011,
0.048851944506168365,
0.298801451921463,
0.08733461797237396,
0.03412213176488876,
0.35836294293403625,
-0.053832922130823135,
0.09218339622020721,
-0.22371701896190643,
0.020041093230247498,
-0.046716704964637756,
0.05962468683719635,
-0.07201587408781052,
-0.42675545811653137,
-0.5183419585227966,
-0.09024345129728317,
0.17785046994686127,
-0.08024237304925919,
0.013464584946632385,
-0.23908944427967072,
0.05933292210102081,
0.1258346140384674,
0.15385112166404724,
0.4542291760444641,
0.3827667832374573,
0.08209031075239182,
-0.46271592378616333,
-0.24883516132831573,
-0.125654399394989,
-0.028763648122549057,
-0.023894846439361572,
0.0432419590651989,
0.2596844434738159,
-0.0028936415910720825,
0.2010757178068161,
0.17984306812286377,
0.25672057271003723,
0.09873335808515549,
0.4813726842403412,
-0.6798574924468994,
-0.22807453572750092,
0.030276238918304443,
0.4915425777435303,
-0.3918304145336151,
-0.06669455766677856,
0.18482466042041779,
-0.37216728925704956,
-0.06722468137741089,
0.07142237573862076,
0.23074990510940552,
0.15901881456375122,
0.13293275237083435,
0.17742693424224854,
0.13674597442150116,
0.3408713638782501,
0.10422874242067337,
0.1905263066291809,
-0.5206263065338135,
-0.18191668391227722,
-0.17293612658977509,
0.21669989824295044,
0.21200717985630035,
0.05114533752202988,
-0.15087737143039703,
-0.22233058512210846,
0.28959640860557556,
-0.046110495924949646,
0.0446380153298378,
0.09169347584247589,
0.07095932960510254,
-0.13017700612545013,
0.13775163888931274,
-0.20043547451496124,
0.1721228063106537,
0.10861219465732574,
0.19583551585674286,
-0.0787685215473175,
0.08304661512374878,
-0.016695834696292877,
-0.10731819272041321,
-0.4275692105293274,
-0.15125761926174164,
0.14233353734016418,
0.000047869980335235596,
-0.09570880979299545,
0.18366168439388275,
-0.25015226006507874,
0.06474310904741287,
0.5259504318237305,
-0.2010783851146698,
0.39495953917503357,
0.3639183044433594,
0.4660131335258484,
-0.14261040091514587,
-0.2556733787059784,
-0.026715800166130066,
0.35248249769210815,
-0.3383696675300598,
-0.1640615612268448,
-0.10330923646688461
] |
https://github.com/huggingface/datasets/issues/1634 | Inspecting datasets per category | I see 4 results for NLI in English but indeed some are not tagged yet and missing (GLUE), we will focus on that in January (cc @yjernite): https://huggingface.co/datasets?filter=task_ids:natural-language-inference,languages:en | Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq | 28 | Inspecting datasets per category
Hi
Is there a way I could get all NLI datasets/all QA datasets to get some understanding of available datasets per category? this is hard for me to inspect the datasets one by one in the webpage, thanks for the suggestions @lhoestq
I see 4 results for NLI in English but indeed some are not tagged yet and missing (GLUE), we will focus on that in January (cc @yjernite): https://huggingface.co/datasets?filter=task_ids:natural-language-inference,languages:en | [
-0.11279809474945068,
0.015688925981521606,
-0.21974018216133118,
0.41256511211395264,
-0.007914446294307709,
0.026991672813892365,
0.0843830332159996,
0.47353893518447876,
-0.062111128121614456,
-0.16040928661823273,
-0.5733581781387329,
-0.12270784378051758,
0.05213512107729912,
0.3426796793937683,
0.1644429713487625,
0.04189688712358475,
0.10088887810707092,
-0.08332669734954834,
-0.270966112613678,
-0.17617939412593842,
-0.04699482023715973,
0.17894311249256134,
-0.27012062072753906,
0.3549455404281616,
0.06591648608446121,
-0.09399423003196716,
-0.404634028673172,
-0.32893064618110657,
-0.23773114383220673,
-0.2400820404291153,
0.18901567161083221,
0.25084829330444336,
0.4176182150840759,
-0.036529265344142914,
-0.00011022416583728045,
-0.08504407107830048,
0.003994878381490707,
-0.04078123718500137,
-0.07300785928964615,
0.06113240122795105,
-0.4303302466869354,
-0.3196312189102173,
0.12862271070480347,
-0.17661052942276,
-0.010697152465581894,
-0.11428872495889664,
0.451152503490448,
-0.32399919629096985,
-0.16360054910182953,
0.04338832572102547,
0.18186788260936737,
0.009308043867349625,
-0.4813205301761627,
0.14607326686382294,
-0.1470404863357544,
0.12926575541496277,
-0.08277776092290878,
-0.06045475974678993,
0.5571924448013306,
-0.22514192759990692,
-0.18278372287750244,
0.44458428025245667,
0.1540628969669342,
-0.027767576277256012,
-0.15100768208503723,
0.013274653814733028,
-0.046417854726314545,
-0.5090122222900391,
0.07524421066045761,
0.612457811832428,
0.49612659215927124,
-0.047368310391902924,
-0.5171001553535461,
-0.1746857464313507,
-0.1840708702802658,
0.07520998269319534,
-0.41217297315597534,
0.8895875811576843,
-0.14193028211593628,
0.20884056389331818,
0.00840717926621437,
-0.08510060608386993,
-0.22147002816200256,
0.11873111128807068,
-0.15822717547416687,
0.43878990411758423,
-0.07387515902519226,
-0.11774273961782455,
0.2705904245376587,
-0.20108284056186676,
0.06274916976690292,
0.060807522386312485,
-0.3862091898918152,
0.18608854711055756,
-0.6950967311859131,
-0.17724427580833435,
0.3227951228618622,
0.5855032205581665,
0.27109867334365845,
0.016767829656600952,
0.19476133584976196,
0.1557919979095459,
-0.18262669444084167,
-0.16104117035865784,
0.45672324299812317,
0.13540445268154144,
0.28857916593551636,
0.003753802739083767,
0.18451133370399475,
-0.11340075731277466,
-0.09744136035442352,
0.08301761746406555,
-0.18951384723186493,
0.10466692596673965,
-0.21435385942459106,
0.011317520402371883,
0.028319992125034332,
-0.2254146933555603,
-0.2909221053123474,
-0.30716827511787415,
-0.1820039451122284,
-0.48495739698410034,
-0.10875288397073746,
0.33962762355804443,
0.11630325764417648,
0.03484177589416504,
-0.22047826647758484,
0.41935718059539795,
-0.21939204633235931,
-0.684600293636322,
-0.08825661242008209,
0.09982781112194061,
-0.08022767305374146,
-0.08057685941457748,
0.09930326044559479,
-0.015353202819824219,
-0.05751203000545502,
-0.20193521678447723,
-0.06990188360214233,
0.1084723025560379,
-0.006327327340841293,
-0.189262256026268,
0.1160750538110733,
-0.074107825756073,
0.28710436820983887,
-0.1090264543890953,
0.07476851344108582,
0.06659408658742905,
-0.44901496171951294,
-0.13772135972976685,
0.10823340713977814,
-0.23637060821056366,
-0.18906012177467346,
0.08967267721891403,
-0.23550984263420105,
-0.2154625654220581,
-0.23159122467041016,
0.8258104920387268,
-0.3214227557182312,
0.2188814878463745,
0.13484394550323486,
0.1498851478099823,
0.20460078120231628,
-0.11596307903528214,
-0.10721244663000107,
0.3968372344970703,
-0.3240877389907837,
-0.21457767486572266,
-0.07695762813091278,
-0.29346248507499695,
0.06218145415186882,
0.32322046160697937,
-0.0426836833357811,
0.17016099393367767,
-0.3040452003479004,
0.13323992490768433,
0.8199770450592041,
-0.13118603825569153,
-0.23020383715629578,
0.19674955308437347,
0.37111496925354004,
-0.19047223031520844,
0.22967812418937683,
0.18329252302646637,
0.007221940904855728,
0.004039364866912365,
-0.20378395915031433,
0.33672159910202026,
0.03404669463634491,
-0.03241465240716934,
0.01622791215777397,
-0.4255027770996094,
0.3276369571685791,
0.14728514850139618,
0.07693391293287277,
0.10071809589862823,
0.2246592938899994,
-0.20184235274791718,
0.38584330677986145,
-0.10286226868629456,
-0.04768127202987671,
-0.01388765498995781,
0.027466079220175743,
-0.12087531387805939,
0.06700902432203293,
-0.2728036642074585,
-0.3843848407268524,
0.12366818636655807,
-0.08264879882335663,
0.41633176803588867,
-0.07324762642383575,
-0.12292157113552094,
0.10079178214073181,
-0.009619064629077911,
-0.11530975997447968,
-0.07036224007606506,
0.2301853597164154,
0.3147181272506714,
0.1181117594242096,
0.24422256648540497,
-0.31338414549827576,
0.28152498602867126,
-0.03721980005502701,
0.02236386016011238,
-0.10914874076843262,
0.28443944454193115,
0.08756819367408752,
0.18311896920204163,
0.22486326098442078,
0.27346181869506836,
-0.29312771558761597,
-0.03110073320567608,
-0.04026379436254501,
-0.40109679102897644,
-0.2481614202260971,
0.11657621711492538,
0.8087969422340393,
0.5512920022010803,
0.17433960735797882,
-0.5052915811538696,
0.277075856924057,
-0.1331368237733841,
-0.03359918296337128,
0.07977967709302902,
-0.0714486762881279,
0.3099628686904907,
-0.08872336149215698,
0.5227499008178711,
0.07428354024887085,
-0.07797762751579285,
0.18782085180282593,
0.10123865306377411,
-0.240910142660141,
-0.07132621109485626,
0.5350940823554993,
0.07951425015926361,
0.060188908129930496,
0.16167010366916656,
-0.436093270778656,
0.21460944414138794,
0.5328049659729004,
-0.16467292606830597,
0.14951588213443756,
0.10126876831054688,
-0.041698940098285675,
-0.031021974980831146,
0.23568417131900787,
0.036794353276491165,
0.10249664634466171,
0.22888979315757751,
0.1723770648241043,
-0.2392047941684723,
0.1234091967344284,
-0.05173158645629883,
0.07334835827350616,
-0.0261237770318985,
-0.09740541875362396,
-0.23877859115600586,
0.3937012851238251,
-0.002642502076923847,
-0.357214093208313,
-0.06608010083436966,
-0.1198122426867485,
0.1046433076262474,
0.003451000899076462,
0.23260800540447235,
-0.20027278363704681,
-0.8213554620742798,
0.1187010332942009,
-0.2470669001340866,
-0.26008594036102295,
-0.19192205369472504,
-0.002495996654033661,
-0.569118082523346,
0.1178918182849884,
-0.10620875656604767,
-0.4092339873313904,
0.4692081809043884,
-0.206366628408432,
0.1681918054819107,
-0.12869781255722046,
-0.2273901402950287,
-0.33208587765693665,
0.13562317192554474,
0.3242717385292053,
0.1927649825811386,
0.29860714077949524,
-0.3433547019958496,
0.2622004747390747,
0.01034671813249588,
-0.3482648730278015,
0.18699093163013458,
-0.06819067895412445,
0.2572002708911896,
-0.24911066889762878,
0.10208205878734589,
-0.0885111540555954,
0.017412632703781128,
0.14670433104038239,
0.27077510952949524,
-0.1872178614139557,
0.12840400636196136,
-0.24762748181819916,
0.07735522836446762,
0.14848841726779938,
-0.4460298717021942,
-0.5780338048934937,
-0.16831117868423462,
0.09256602823734283,
-0.3575116693973541,
0.3129070997238159,
-0.14965324103832245,
-0.40641650557518005,
-0.12070074677467346,
-0.2696777880191803,
0.06109178066253662,
-0.09285667538642883,
-0.09289060533046722,
0.021101631224155426,
0.09063101559877396,
-0.11156153678894043,
-0.1502603143453598,
-0.1687968671321869,
0.4150242805480957,
-0.0158121008425951,
-0.35856473445892334,
-0.02269037812948227,
-0.18676838278770447,
0.16306141018867493,
0.1342712938785553,
0.05550540238618851,
0.10855312645435333,
-0.09285002946853638,
0.08015833795070648,
0.0759950578212738,
-0.0502447783946991,
0.03574666753411293,
-0.016505487263202667,
0.24079671502113342,
0.08276006579399109,
0.01903863623738289,
0.23616287112236023,
0.30499985814094543,
0.2867231070995331,
0.019042160362005234,
0.37180057168006897,
-0.04245114326477051,
0.13735854625701904,
0.18455424904823303,
-0.43064990639686584,
0.0667114332318306,
0.10645557940006256,
0.08978592604398727,
0.3318334221839905,
0.18408066034317017,
-0.5415427088737488,
-0.24354270100593567,
0.22471004724502563,
-0.6125221848487854,
-0.23156076669692993,
0.11452296376228333,
-0.04137922823429108,
0.22355744242668152,
0.05448115989565849,
-0.18671345710754395,
0.07312898337841034,
-0.20608940720558167,
-0.08632741868495941,
0.32742035388946533,
0.04440896585583687,
-0.03822661191225052,
-0.41391193866729736,
-0.35296887159347534,
-0.10646987706422806,
0.24926450848579407,
-0.09234172105789185,
0.25073733925819397,
-0.18122458457946777,
0.1780225932598114,
0.3566059470176697,
0.1714971959590912,
0.298510879278183,
-0.4001652002334595,
-0.06983242183923721,
0.0733717679977417,
-0.02757035568356514,
-0.24777446687221527,
0.1407763808965683,
-0.2982816696166992,
-0.23071952164173126,
0.5297492146492004,
-0.1279582381248474,
-0.21481731534004211,
-0.4016868770122528,
-0.06554221361875534,
0.16824141144752502,
-0.1684609353542328,
-0.19046293199062347,
-0.1303548961877823,
0.0730411633849144,
0.02911992184817791,
0.11324932426214218,
-0.2631710171699524,
-0.09100471436977386,
-0.12260697782039642,
0.04158683493733406,
-0.1461171954870224,
-0.13333192467689514,
0.232002392411232,
0.3934747576713562,
-0.08921021223068237,
0.19899429380893707,
0.0685407966375351,
0.075070321559906,
0.08075034618377686,
-0.13423192501068115,
0.4367634952068329,
0.053344592452049255,
-0.5336012840270996,
0.003344861790537834,
0.07958319783210754,
0.41838547587394714,
0.1011236160993576,
0.05388361215591431,
0.13817855715751648,
-0.20145882666110992,
-0.19796328246593475,
-0.23967206478118896,
0.16222859919071198,
0.30172935128211975,
0.0723010003566742,
-0.446211040019989,
-0.20704631507396698,
0.5728650093078613,
0.19233959913253784,
-0.33889079093933105,
0.04431115835905075,
0.3722044825553894,
-0.19554081559181213,
0.1116703525185585,
-0.023638740181922913,
0.8318285942077637,
-0.011386692523956299,
-0.024948250502347946,
-0.051616132259368896,
-0.20599819719791412,
0.3324962556362152,
-0.17511297762393951,
0.09265945106744766,
-0.1611167937517166,
0.03117579221725464,
0.0351073294878006,
-0.08330744504928589,
-0.08926669508218765,
0.3349156975746155,
-0.0461580865085125,
0.3119550049304962,
0.08011740446090698,
-0.23091420531272888,
0.08957059681415558,
-0.0007284842431545258,
-0.30860042572021484,
-0.006998647004365921,
-0.385208398103714,
0.1337171494960785,
-0.19530753791332245,
0.36498287320137024,
-0.1054602637887001,
-0.17721466720104218,
0.019565995782613754,
0.29569846391677856,
-0.6136062741279602,
0.028719406574964523,
-0.017908679321408272,
-0.23326502740383148,
-0.04624282941222191,
-0.03401454910635948,
0.24205607175827026,
0.36919450759887695,
0.30977433919906616,
-0.08127221465110779,
-0.1127195805311203,
0.09262555837631226,
-0.3355250060558319,
0.20840612053871155,
0.1703902631998062,
0.09010566771030426,
0.06888272613286972,
0.03777153789997101,
-0.47513264417648315,
0.2571144104003906,
0.36888256669044495,
0.2071535438299179,
-0.4394448399543762,
0.171400785446167,
-0.03945890814065933,
-0.04765308275818825,
0.09178291261196136,
0.31836897134780884,
0.17992331087589264,
0.3305414617061615,
0.13408958911895752,
0.46757733821868896,
0.10358788073062897,
0.2855609953403473,
0.18667717278003693,
-0.1476491093635559,
-0.1027945876121521,
-0.2752370834350586,
0.38387638330459595,
0.09563279151916504,
0.0610085166990757,
0.03611172363162041,
-0.0017126798629760742,
-0.18806767463684082,
0.13578149676322937,
0.002686306368559599,
-0.25261184573173523,
-0.22610066831111908,
-0.1686776727437973,
0.11456479132175446,
0.02995830960571766,
0.10383813083171844,
0.04093702882528305,
-0.11367440968751907,
0.05266133323311806,
-0.43894028663635254,
0.16440846025943756,
0.4572063684463501,
-0.3517320156097412,
0.10875552892684937,
-0.15651588141918182,
-0.36795154213905334,
-0.033091265708208084,
0.2793288230895996,
-0.26042866706848145,
-0.011719788424670696,
-0.07938816398382187,
0.03503040596842766,
0.018034525215625763,
0.18265995383262634,
0.035274870693683624,
0.06611302495002747,
-0.02314942143857479,
-0.12586525082588196,
-0.1180763691663742,
-0.2314397096633911,
0.18047884106636047,
0.1233825832605362,
0.10916797071695328,
0.1509302258491516,
0.12248272448778152,
-0.20742186903953552,
0.31527841091156006,
-0.22372719645500183,
-0.04649050533771515,
-0.4435858130455017,
0.1362687349319458,
0.5214183926582336,
0.20451682806015015,
-0.0018961280584335327,
0.06143076717853546,
0.10717429220676422,
-0.024113886058330536,
0.2194354385137558,
0.39663586020469666,
0.0885312557220459,
0.15940913558006287,
-0.008455969393253326,
-0.020198484882712364,
0.14514219760894775,
0.17397303879261017,
0.026504158973693848,
-0.22403571009635925,
0.05964523181319237,
0.49384137988090515,
0.01466977410018444,
0.07915259897708893,
0.1161775141954422,
0.014948869124054909,
0.07958600670099258,
0.24586310982704163,
0.22827227413654327,
-0.20866042375564575,
0.03245063126087189,
-0.0744105875492096,
0.22344961762428284,
0.02671869471669197,
0.3163641393184662,
0.27872389554977417,
0.15076985955238342,
0.6196379065513611,
-0.25984805822372437,
0.2862078845500946,
-0.12575487792491913,
0.30938053131103516,
0.13474805653095245,
0.14414966106414795,
-0.04862010106444359,
0.18307726085186005,
-0.080140620470047,
0.015888147056102753,
0.1508244127035141,
-0.12723571062088013,
0.12010835856199265,
-0.024170201271772385,
0.16049450635910034,
0.2226887047290802,
-0.15395446121692657,
-0.14970256388187408,
0.3708000183105469,
0.07187994569540024,
0.1828458607196808,
-0.0070505887269973755,
0.15332137048244476,
0.2372005730867386,
-0.1322704702615738,
-0.17764142155647278,
0.17262448370456696,
0.1134883388876915,
-0.15955962240695953,
-0.07778497785329819,
-0.23168891668319702,
-0.006204664707183838,
0.10588406026363373,
-0.11732593178749084,
-0.511646032333374,
-0.13076531887054443,
0.1200510710477829,
-0.004591956734657288,
-0.4869019389152527,
0.09608428925275803,
0.34253567457199097,
0.17254284024238586,
-0.11817960441112518,
0.2598575949668884,
0.08710373193025589,
-0.06762005388736725,
0.14242324233055115,
0.6825016736984253,
0.027133218944072723,
-0.09932246804237366,
-0.15038742125034332,
0.03497271239757538,
-0.3102736175060272,
-0.07083375006914139,
-0.10330653935670853,
0.14933735132217407,
0.022761262953281403,
0.08814339339733124,
0.2851002514362335,
0.0849182978272438,
0.02881605178117752,
0.22959117591381073,
-0.05702013894915581,
0.0951017439365387,
-0.2746158540248871,
0.1256343424320221,
-0.21146009862422943,
0.11312758177518845,
-0.20317742228507996,
-0.3252635598182678,
-0.5201649069786072,
0.026821918785572052,
0.10281872749328613,
-0.07540703564882278,
0.017699509859085083,
-0.21099966764450073,
0.04027922824025154,
0.04403281211853027,
0.10299377888441086,
0.5331732034683228,
0.40435829758644104,
0.03491976857185364,
-0.4275892972946167,
-0.2034168243408203,
-0.1857510507106781,
-0.130843386054039,
0.043198615312576294,
-0.08204757422208786,
0.25202739238739014,
0.09092728793621063,
0.15339955687522888,
0.031821250915527344,
0.2669096887111664,
0.12372923642396927,
0.30933877825737,
-0.7733201384544373,
-0.20533424615859985,
-0.148576557636261,
0.544917643070221,
-0.30121612548828125,
-0.0835856944322586,
0.020554766058921814,
-0.39498618245124817,
-0.1135885939002037,
0.07801677286624908,
0.17753031849861145,
0.1522609442472458,
0.23333840072155,
0.1484048217535019,
0.2053355574607849,
0.39415496587753296,
0.05288747698068619,
0.0722302570939064,
-0.36293312907218933,
-0.2571236491203308,
-0.13939407467842102,
0.2454862892627716,
0.17172428965568542,
0.08296225219964981,
-0.22163501381874084,
-0.10208481550216675,
0.29004037380218506,
-0.04593509063124657,
0.01885659247636795,
0.003992406185716391,
0.02092914842069149,
-0.07186998426914215,
0.25038453936576843,
-0.3015882074832916,
0.18159213662147522,
0.2532261610031128,
0.1314145028591156,
-0.09511281549930573,
0.12345348298549652,
0.005102131515741348,
-0.03727102279663086,
-0.42896705865859985,
-0.1710696518421173,
0.11410937458276749,
0.07152068614959717,
0.02372847869992256,
0.17305678129196167,
-0.3309936821460724,
0.013358280062675476,
0.5041660666465759,
-0.13861465454101562,
0.3007953464984894,
0.3942505121231079,
0.5251535773277283,
-0.08203606307506561,
-0.1610569804906845,
-0.06670787930488586,
0.2772643566131592,
-0.3969743847846985,
-0.03342682123184204,
-0.16311557590961456
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.