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/1634 | Inspecting datasets per category | Hi! You can use `huggingface_hub`'s `list_datasets` for that now:
```python
import huggingface_hub # pip install huggingface_hub
huggingface_hub.list_datasets(filter="task_categories:question-answering")
# or
huggingface_hub.list_datasets(filter=("task_categories: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 | 22 | 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! You can use `huggingface_hub`'s `list_datasets` for that now:
```python
import huggingface_hub # pip install huggingface_hub
huggingface_hub.list_datasets(filter="task_categories:question-answering")
# or
huggingface_hub.list_datasets(filter=("task_categories:natural-language-inference", "languages:"en"))
``` | [
-0.2519453167915344,
-0.3884786367416382,
-0.24103423953056335,
0.5527003407478333,
0.0945143848657608,
0.10464224964380264,
0.004489745944738388,
0.4645841419696808,
0.14036278426647186,
-0.10026074945926666,
-0.6388819813728333,
-0.020045027136802673,
-0.16443081200122833,
0.4233398735523224,
0.11546417325735092,
0.04016895219683647,
0.12337543815374374,
-0.054898425936698914,
-0.22206491231918335,
-0.09346337616443634,
-0.0829748660326004,
0.11819107085466385,
-0.22536957263946533,
0.2539367079734802,
0.08423899114131927,
-0.08874169737100601,
-0.4002648890018463,
-0.17186367511749268,
-0.23040582239627838,
-0.2919834852218628,
0.2638983726501465,
0.3018124997615814,
0.3824845254421234,
0.06055373325943947,
-0.000111865607323125,
-0.07669848203659058,
-0.09540809690952301,
-0.0997152179479599,
-0.1752721071243286,
-0.04313404858112335,
-0.3640378713607788,
-0.3803423345088959,
0.20818164944648743,
-0.1484164297580719,
-0.04286107048392296,
-0.0951763167977333,
0.40764784812927246,
-0.15842100977897644,
0.06592972576618195,
0.07166319340467453,
0.17508263885974884,
0.4321177005767822,
-0.42433086037635803,
0.0984700620174408,
-0.21064510941505432,
0.20803390443325043,
-0.15014402568340302,
0.021350134164094925,
0.5716384053230286,
-0.04472953826189041,
-0.09327835589647293,
0.48103031516075134,
0.11105860769748688,
0.0956936627626419,
0.09972070157527924,
-0.025333985686302185,
-0.05119480937719345,
-0.4868055284023285,
0.019966715946793556,
0.5916250944137573,
0.3192425072193146,
-0.18026897311210632,
-0.4789927303791046,
-0.31636252999305725,
-0.21831364929676056,
0.05705603212118149,
-0.46165674924850464,
0.8429909944534302,
-0.15387605130672455,
0.07823023200035095,
-0.08745364844799042,
-0.044323939830064774,
-0.2523912787437439,
0.030179452151060104,
-0.023277297616004944,
0.3902319371700287,
-0.14004647731781006,
-0.10225490480661392,
0.23386172950267792,
-0.14214788377285004,
-0.01835041493177414,
0.07283230870962143,
-0.2658518850803375,
0.21764621138572693,
-0.7502325177192688,
-0.24105075001716614,
0.3792913258075714,
0.7141063809394836,
0.2850603461265564,
0.174296572804451,
0.23361966013908386,
0.20419412851333618,
-0.1904071569442749,
-0.18051677942276,
0.48732617497444153,
0.13839083909988403,
0.21041852235794067,
0.010826625861227512,
0.12847870588302612,
0.017664536833763123,
0.023818444460630417,
0.10395419597625732,
-0.21323241293430328,
0.16064856946468353,
-0.289382666349411,
-0.005084926262497902,
0.20458152890205383,
-0.1154802218079567,
-0.27755630016326904,
-0.2702411115169525,
-0.172017902135849,
-0.388359397649765,
0.030797362327575684,
0.45252469182014465,
-0.0011313295690342784,
-0.05649395287036896,
-0.34302693605422974,
0.45758914947509766,
-0.2497420310974121,
-0.3120725154876709,
-0.16778148710727692,
0.0008663106709718704,
0.014017689973115921,
-0.05279534310102463,
0.14583803713321686,
-0.11855818331241608,
0.04777749627828598,
-0.08494890481233597,
0.13978290557861328,
0.09047849476337433,
-0.07333305478096008,
-0.12812648713588715,
0.10277199000120163,
0.047932304441928864,
0.30990955233573914,
-0.13802789151668549,
0.20225447416305542,
0.14749962091445923,
-0.5138852000236511,
-0.26349616050720215,
-0.02407124638557434,
-0.2847752273082733,
-0.08612119406461716,
0.0453338697552681,
-0.2860473394393921,
-0.11860695481300354,
-0.3992149531841278,
0.6939145922660828,
-0.3931642174720764,
0.32602909207344055,
0.13675710558891296,
0.24511294066905975,
0.1824098825454712,
-0.14080536365509033,
-0.09047505259513855,
0.44310277700424194,
-0.003600027412176132,
-0.26351770758628845,
0.08815856277942657,
-0.32199668884277344,
-0.172528475522995,
0.2418815791606903,
-0.04559919238090515,
0.1601000428199768,
-0.28479814529418945,
0.09444268047809601,
0.6413329243659973,
-0.33302041888237,
-0.24717822670936584,
0.14699533581733704,
0.3660770058631897,
0.014077650383114815,
0.252021849155426,
0.2691866159439087,
-0.0794634222984314,
-0.02827034331858158,
-0.1520998626947403,
0.20122931897640228,
0.06494548916816711,
0.0803331509232521,
0.030341792851686478,
-0.4231179356575012,
0.09995922446250916,
0.13043281435966492,
0.06279659271240234,
0.1290762722492218,
0.09576324373483658,
-0.16722914576530457,
0.4753349721431732,
-0.1166587620973587,
-0.1808304488658905,
-0.03902202844619751,
0.12550966441631317,
0.04805551469326019,
0.019164031371474266,
-0.44495275616645813,
-0.46160316467285156,
0.18224197626113892,
-0.06072679162025452,
0.3433343470096588,
-0.13690811395645142,
-0.2604982554912567,
-0.023092173039913177,
0.060268089175224304,
-0.111072838306427,
-0.0906486064195633,
0.2375088930130005,
0.24460181593894958,
0.23528015613555908,
0.14743901789188385,
-0.3086966574192047,
0.38195663690567017,
0.11298716068267822,
0.1614667773246765,
-0.21449114382266998,
0.2819422483444214,
0.1876956820487976,
0.23920442163944244,
0.27703025937080383,
0.25664806365966797,
-0.16772857308387756,
-0.11318656802177429,
0.1032310277223587,
-0.304424524307251,
-0.14305941760540009,
0.1447117030620575,
0.6703855395317078,
0.530396580696106,
0.1976615935564041,
-0.3551546037197113,
0.14949244260787964,
-0.08330988883972168,
0.050635602325201035,
0.09916678816080093,
-0.04813145846128464,
0.4680989384651184,
-0.19644439220428467,
0.5520759224891663,
0.08219225704669952,
-0.0069601405411958694,
0.07511850446462631,
0.12011677026748657,
-0.21252566576004028,
0.021342851221561432,
0.533250093460083,
0.13339528441429138,
0.032304469496011734,
0.13245335221290588,
-0.4238564670085907,
0.1556829810142517,
0.404596745967865,
-0.0587669312953949,
0.09232953190803528,
0.0364096537232399,
-0.10864850133657455,
0.07234234362840652,
0.23678036034107208,
-0.044182807207107544,
0.09954537451267242,
0.1503877490758896,
0.0018056035041809082,
-0.07185699045658112,
0.06892324239015579,
0.005123913288116455,
0.023145325481891632,
0.15808464586734772,
-0.14737509191036224,
-0.2138148546218872,
0.35434776544570923,
-0.06920456141233444,
-0.35867637395858765,
-0.065284363925457,
-0.2462184578180313,
0.18630412220954895,
-0.10964571684598923,
0.277434766292572,
-0.05744325369596481,
-0.6378233432769775,
0.11205138266086578,
-0.3598453998565674,
-0.25936463475227356,
-0.16290009021759033,
0.01599576510488987,
-0.3899104595184326,
0.1711466908454895,
-0.12745048105716705,
-0.29323047399520874,
0.48608720302581787,
-0.18052595853805542,
0.09279665350914001,
-0.09257514029741287,
-0.19459201395511627,
-0.09962134808301926,
0.08668991923332214,
0.3411621153354645,
0.22771990299224854,
0.34534430503845215,
-0.36746931076049805,
0.2803327441215515,
-0.05479944497346878,
-0.2922349274158478,
0.15985028445720673,
-0.1674954891204834,
0.3019653260707855,
-0.12088818848133087,
0.15257622301578522,
-0.1540389060974121,
-0.08987747877836227,
0.1424003392457962,
0.2476193904876709,
-0.17357295751571655,
0.16905856132507324,
-0.18810895085334778,
0.11161442846059799,
0.1382731795310974,
-0.27343183755874634,
-0.5395963788032532,
-0.2425161749124527,
0.332455039024353,
-0.2081495076417923,
0.34551382064819336,
-0.13346050679683685,
-0.33847498893737793,
-0.15026742219924927,
-0.3109150528907776,
0.0484946072101593,
-0.08780913800001144,
-0.1246860921382904,
-0.03330616280436516,
-0.018195724114775658,
-0.08901754021644592,
-0.1657029241323471,
-0.18120524287223816,
0.4887188673019409,
-0.06312259286642075,
-0.351523756980896,
-0.22183242440223694,
-0.2926245629787445,
0.2189248502254486,
0.10154673457145691,
0.1118476465344429,
0.1448306143283844,
-0.13779762387275696,
0.13754110038280487,
0.0999831035733223,
0.01486971229314804,
-0.018755905330181122,
-0.14021971821784973,
0.08997490257024765,
0.022476818412542343,
-0.05139894783496857,
0.15346676111221313,
0.41127240657806396,
0.4010605812072754,
0.14158451557159424,
0.3095478415489197,
-0.1855076551437378,
0.17135828733444214,
0.23806500434875488,
-0.5180201530456543,
0.017355773597955704,
0.13197477161884308,
0.05881179869174957,
0.33169788122177124,
0.2219316065311432,
-0.26127880811691284,
-0.24786290526390076,
0.227399080991745,
-0.610156774520874,
-0.3066757619380951,
0.07987605780363083,
0.010251477360725403,
0.19513598084449768,
-0.015532556921243668,
-0.14019905030727386,
-0.1011963039636612,
-0.31171631813049316,
-0.12232276797294617,
0.3667665719985962,
-0.06361184269189835,
-0.07075164467096329,
-0.3663140833377838,
-0.3609923720359802,
-0.2394067347049713,
0.33611440658569336,
-0.11424465477466583,
0.12080595642328262,
-0.08722516149282455,
0.06517121195793152,
0.3450464606285095,
0.10828893631696701,
0.3926498293876648,
-0.15910255908966064,
-0.08071456849575043,
-0.08021032810211182,
-0.1595689356327057,
-0.46610140800476074,
0.13700373470783234,
-0.31186193227767944,
-0.02601533755660057,
0.32048726081848145,
0.16779616475105286,
-0.2817361652851105,
-0.4036673605442047,
-0.1246921569108963,
0.0676562488079071,
-0.2076830416917801,
-0.10647057741880417,
-0.23575952649116516,
-0.00748414546251297,
0.022669116035103798,
0.16792337596416473,
-0.21769939363002777,
0.040726155042648315,
-0.04969409108161926,
0.11415070295333862,
-0.1516069769859314,
-0.13679693639278412,
0.3962111473083496,
0.46305230259895325,
0.023615587502717972,
0.21092748641967773,
0.05417203530669212,
0.11608979105949402,
0.03234744071960449,
-0.010726416483521461,
0.5825079679489136,
0.00982096791267395,
-0.5781561136245728,
-0.12654301524162292,
0.19781841337680817,
0.35996168851852417,
0.11220857501029968,
-0.05376139283180237,
0.20314562320709229,
-0.20960083603858948,
0.0639154464006424,
-0.5150195956230164,
0.2159828245639801,
0.3241753876209259,
0.03931761533021927,
-0.3468528389930725,
-0.2246738225221634,
0.6073362827301025,
0.18055175244808197,
-0.2686995565891266,
0.02246733568608761,
0.4637567400932312,
-0.14316053688526154,
0.07529481500387192,
-0.007767170667648315,
0.7542251348495483,
-0.04398670792579651,
0.019955048337578773,
0.11330831050872803,
-0.27093908190727234,
0.4103923738002777,
-0.26287657022476196,
0.13844959437847137,
-0.14104902744293213,
-0.013886534608900547,
0.007873831316828728,
-0.14731523394584656,
-0.021308667957782745,
0.1858949512243271,
-0.0977679044008255,
0.1542108803987503,
-0.02258061245083809,
-0.10372304916381836,
-0.13948962092399597,
-0.07763809710741043,
-0.5543469190597534,
0.027528781443834305,
-0.5884870886802673,
0.11816394329071045,
-0.27279865741729736,
0.401263028383255,
-0.11773909628391266,
-0.16577504575252533,
-0.06347385793924332,
0.1730702966451645,
-0.6964836716651917,
-0.17208939790725708,
-0.020023174583911896,
-0.2765207290649414,
0.09083694219589233,
-0.07665162533521652,
0.11705060303211212,
0.382805198431015,
0.3466112017631531,
-0.09552788734436035,
-0.21375736594200134,
0.10348731279373169,
-0.4853179454803467,
0.14648623764514923,
0.002548417542129755,
0.07694842666387558,
0.022655311971902847,
0.030807651579380035,
-0.41114476323127747,
0.2874014675617218,
0.41120174527168274,
0.172779843211174,
-0.45024529099464417,
0.26382315158843994,
-0.08527533710002899,
-0.08052311092615128,
0.05906401947140694,
0.2509865164756775,
0.2123449593782425,
0.3224155902862549,
0.09546568989753723,
0.4068070650100708,
0.033159490674734116,
0.3031623065471649,
0.15001682937145233,
-0.19460883736610413,
-0.11963248252868652,
-0.1848663091659546,
0.34561705589294434,
-0.009754825383424759,
0.05822187662124634,
0.02715565636754036,
0.010748732835054398,
-0.18791493773460388,
0.16359946131706238,
0.02229228988289833,
-0.24994361400604248,
-0.03852573037147522,
-0.05528801307082176,
0.11038331687450409,
0.03158325329422951,
0.17806829512119293,
0.0800192654132843,
-0.15511783957481384,
0.11705632507801056,
-0.4491592049598694,
0.009661294519901276,
0.47144466638565063,
-0.19881053268909454,
0.16264863312244415,
-0.2130149006843567,
-0.2891830503940582,
-0.0006039552390575409,
0.2992318868637085,
-0.25862646102905273,
0.025179842486977577,
-0.20658761262893677,
-0.03354146331548691,
-0.17170262336730957,
0.13518992066383362,
0.18230228126049042,
-0.0338885635137558,
-0.03399167209863663,
-0.12831763923168182,
-0.2505045235157013,
-0.20325058698654175,
0.1041700690984726,
0.14860811829566956,
0.051365241408348083,
0.11674223095178604,
0.10883211344480515,
0.02745985984802246,
0.37764373421669006,
-0.2604958713054657,
0.0755099207162857,
-0.18115785717964172,
0.19755782186985016,
0.4218820333480835,
0.2991580069065094,
0.005268901586532593,
0.10710969567298889,
0.025092290714383125,
-0.031034551560878754,
0.22622035443782806,
0.452979177236557,
-0.040946416556835175,
-0.08994939178228378,
-0.04563482478260994,
0.10485084354877472,
0.2385692298412323,
0.345764696598053,
-0.09421000629663467,
-0.23342838883399963,
0.10692684352397919,
0.30935075879096985,
0.04889236390590668,
0.16856518387794495,
0.19512677192687988,
0.09316720068454742,
0.16984611749649048,
0.193372905254364,
0.19760555028915405,
-0.1844603270292282,
0.004296876955777407,
-0.019982460886240005,
0.18937371671199799,
0.08007524907588959,
0.4254133701324463,
0.1842908263206482,
0.14775747060775757,
0.5663039684295654,
-0.24182885885238647,
0.38454753160476685,
-0.004558771848678589,
0.3430123031139374,
0.14660565555095673,
0.06989416480064392,
-0.061028290539979935,
0.21040788292884827,
0.024647502228617668,
0.1498745083808899,
0.093348428606987,
-0.2399398386478424,
0.16774268448352814,
-0.28251394629478455,
0.01129293441772461,
0.36978790163993835,
-0.1645827442407608,
-0.2451312094926834,
0.1792883276939392,
0.05371500551700592,
0.19602805376052856,
-0.14007315039634705,
0.2862124741077423,
0.0533059798181057,
-0.09367889910936356,
-0.2790515422821045,
0.21883317828178406,
0.0830860435962677,
-0.2884693145751953,
0.11811639368534088,
-0.2561661899089813,
-0.014905549585819244,
0.10791710019111633,
-0.0019849687814712524,
-0.7405802011489868,
-0.10454156994819641,
0.05244849622249603,
0.035433080047369,
-0.39743196964263916,
0.026212507858872414,
0.4047122597694397,
0.1356160044670105,
-0.00914505124092102,
0.01865115948021412,
0.09563908725976944,
-0.03691203147172928,
0.12178754806518555,
0.6231223344802856,
0.11915428936481476,
-0.10395561158657074,
-0.1560923457145691,
0.03437536582350731,
-0.28239449858665466,
0.016054248437285423,
-0.14168347418308258,
0.10848116129636765,
-0.024264805018901825,
0.24386869370937347,
0.2509659230709076,
0.09395354986190796,
-0.00819997675716877,
0.19975674152374268,
-0.18700170516967773,
0.19554439187049866,
-0.33431005477905273,
0.18166494369506836,
-0.3626658022403717,
0.11557858437299728,
-0.1296541392803192,
-0.3123120069503784,
-0.632765531539917,
0.0044816723093390465,
0.05275268480181694,
-0.0009160260669887066,
0.08008097112178802,
-0.25858935713768005,
0.038288239389657974,
0.07916128635406494,
0.2584621012210846,
0.4829859733581543,
0.4137311279773712,
0.00654536671936512,
-0.365475058555603,
-0.27818116545677185,
-0.21460488438606262,
-0.06485706567764282,
-0.02644221857190132,
-0.04561077058315277,
0.24161221086978912,
-0.004779241979122162,
0.1568409651517868,
0.003661707043647766,
0.01038304902613163,
0.11762434989213943,
0.2193537950515747,
-0.7013366222381592,
-0.12708978354930878,
-0.16615769267082214,
0.3540213108062744,
-0.08040869981050491,
0.039485931396484375,
0.13138709962368011,
-0.38223978877067566,
-0.12223809212446213,
0.0824691504240036,
0.2486693263053894,
0.057376522570848465,
0.0017230883240699768,
0.09305279701948166,
0.1074913889169693,
0.3506793975830078,
0.05988012254238129,
0.0341271236538887,
-0.3900388479232788,
-0.19389215111732483,
-0.15448617935180664,
0.08320844918489456,
0.10465851426124573,
0.22560760378837585,
-0.36052343249320984,
-0.24528904259204865,
0.26380544900894165,
0.10107770562171936,
0.2226685732603073,
-0.19252969324588776,
0.18800638616085052,
-0.06083037704229355,
0.1705765426158905,
-0.24872978031635284,
0.25320228934288025,
0.3323090970516205,
0.05762317404150963,
0.021032502874732018,
0.19209454953670502,
-0.1327657699584961,
0.21025533974170685,
-0.41927027702331543,
-0.15859989821910858,
0.06457836180925369,
0.09085002541542053,
-0.06351836770772934,
0.022621335461735725,
-0.4985920488834381,
0.10071232169866562,
0.46977031230926514,
-0.11488702148199081,
0.342521995306015,
0.4756454825401306,
0.38600093126296997,
-0.22687891125679016,
-0.12326160073280334,
-0.018456965684890747,
0.22158220410346985,
-0.3414965867996216,
0.10326361656188965,
-0.15577825903892517
] |
https://github.com/huggingface/datasets/issues/1633 | social_i_qa wrong format of labels | @lhoestq, should I raise a PR for this? Just a minor change while reading labels text file | Hi,
there is extra "\n" in labels of social_i_qa datasets, no big deal, but I was wondering if you could remove it to make it consistent.
so label is 'label': '1\n', not '1'
thanks
```
>>> import datasets
>>> from datasets import load_dataset
>>> dataset = load_dataset(
... 'social_i_qa')
cahce dir /julia/cache/datasets
Downloading: 4.72kB [00:00, 3.52MB/s]
cahce dir /julia/cache/datasets
Downloading: 2.19kB [00:00, 1.81MB/s]
Using custom data configuration default
Reusing dataset social_i_qa (/julia/datasets/social_i_qa/default/0.1.0/4a4190cc2d2482d43416c2167c0c5dccdd769d4482e84893614bd069e5c3ba06)
>>> dataset['train'][0]
{'answerA': 'like attending', 'answerB': 'like staying home', 'answerC': 'a good friend to have', 'context': 'Cameron decided to have a barbecue and gathered her friends together.', 'label': '1\n', 'question': 'How would Others feel as a result?'}
```
| 17 | social_i_qa wrong format of labels
Hi,
there is extra "\n" in labels of social_i_qa datasets, no big deal, but I was wondering if you could remove it to make it consistent.
so label is 'label': '1\n', not '1'
thanks
```
>>> import datasets
>>> from datasets import load_dataset
>>> dataset = load_dataset(
... 'social_i_qa')
cahce dir /julia/cache/datasets
Downloading: 4.72kB [00:00, 3.52MB/s]
cahce dir /julia/cache/datasets
Downloading: 2.19kB [00:00, 1.81MB/s]
Using custom data configuration default
Reusing dataset social_i_qa (/julia/datasets/social_i_qa/default/0.1.0/4a4190cc2d2482d43416c2167c0c5dccdd769d4482e84893614bd069e5c3ba06)
>>> dataset['train'][0]
{'answerA': 'like attending', 'answerB': 'like staying home', 'answerC': 'a good friend to have', 'context': 'Cameron decided to have a barbecue and gathered her friends together.', 'label': '1\n', 'question': 'How would Others feel as a result?'}
```
@lhoestq, should I raise a PR for this? Just a minor change while reading labels text file | [
0.013278502970933914,
-0.22193095088005066,
-0.07822702825069427,
0.3724215030670166,
0.1299581378698349,
-0.19164708256721497,
0.06086030974984169,
0.22497950494289398,
-0.222904771566391,
0.3125813603401184,
-0.16639094054698944,
-0.34459614753723145,
-0.07857692241668701,
0.5373512506484985,
-0.17301848530769348,
0.09000389277935028,
0.12208906561136246,
0.2645391821861267,
0.6475265026092529,
-0.13833114504814148,
-0.236980140209198,
0.10507222265005112,
-0.03369860351085663,
0.310111939907074,
-0.27854740619659424,
-0.21144607663154602,
0.009386328980326653,
-0.38062283396720886,
-0.10083156079053879,
-0.4061313569545746,
0.1285594403743744,
0.3338828384876251,
0.11164820194244385,
0.35321044921875,
-0.00012609649274963886,
-0.0991126000881195,
0.004004381597042084,
-0.14661234617233276,
0.08174246549606323,
0.14558561146259308,
-0.221451997756958,
-0.17443394660949707,
-0.17492614686489105,
0.21100273728370667,
-0.11032141745090485,
-0.559004008769989,
-0.10154557228088379,
-0.1866578459739685,
-0.07105623185634613,
0.2300126552581787,
0.06246034428477287,
-0.26003211736679077,
-0.2793862819671631,
0.09436953812837601,
0.22922641038894653,
0.20069898664951324,
0.23535126447677612,
0.15371790528297424,
0.09999258816242218,
0.2369866818189621,
0.6244637370109558,
0.7521876096725464,
-0.30691269040107727,
-0.18391981720924377,
0.14555636048316956,
0.07033753395080566,
0.4446067214012146,
-0.33975377678871155,
0.09115400910377502,
0.2607862949371338,
0.820328950881958,
-0.10310272127389908,
-0.22672496736049652,
-0.1876581609249115,
0.16670601069927216,
-0.2670750319957733,
-0.22240287065505981,
0.08341328799724579,
-0.04340516775846481,
0.2503173053264618,
-0.05842609331011772,
-0.2887457609176636,
-0.08034982532262802,
0.07057232409715652,
0.15262813866138458,
0.46753329038619995,
-0.011962552554905415,
0.14699622988700867,
-0.26059624552726746,
-0.08356413245201111,
-0.014339026995003223,
0.030111581087112427,
-0.3768484592437744,
-0.19467169046401978,
-0.1289009302854538,
-0.0656706690788269,
-0.25197482109069824,
-0.026943795382976532,
-0.04138593375682831,
0.15955409407615662,
0.044083867222070694,
-0.1755918562412262,
0.04663871228694916,
-0.15682408213615417,
0.38570263981819153,
-0.010250518098473549,
0.3896237015724182,
0.4299490451812744,
0.10115952789783478,
-0.2825556695461273,
-0.10600462555885315,
-0.17742276191711426,
0.18767359852790833,
-0.22096748650074005,
0.17004358768463135,
-0.014760293066501617,
0.24543730914592743,
-0.38654249906539917,
-0.23927387595176697,
0.019928831607103348,
-0.5819665789604187,
0.003889561165124178,
-0.13839496672153473,
0.07427841424942017,
-0.11850401014089584,
0.42210251092910767,
-0.041907258331775665,
0.12136401236057281,
-0.23244407773017883,
-0.301433801651001,
-0.15089672803878784,
-0.2516448199748993,
0.18777701258659363,
-0.10848979651927948,
-0.03643278777599335,
0.02380463480949402,
-0.1202060654759407,
-0.016203291714191437,
0.10375358164310455,
-0.003325376659631729,
-0.19932734966278076,
-0.2320936918258667,
0.31657740473747253,
0.05541839823126793,
-0.16989603638648987,
0.21578362584114075,
-0.15356430411338806,
-0.3747541308403015,
-0.2571626603603363,
0.15142571926116943,
-0.337330162525177,
-0.2044190764427185,
-0.09372254461050034,
0.12886647880077362,
0.24725602567195892,
-0.26789772510528564,
-0.17426437139511108,
0.3157113492488861,
0.35740017890930176,
-0.2569465935230255,
0.31621605157852173,
-0.32474738359451294,
0.2047552764415741,
0.02658867835998535,
-0.06072213500738144,
0.30768388509750366,
-0.5260059833526611,
-0.2504107356071472,
0.3707747459411621,
0.004788530990481377,
0.5158601999282837,
0.586571455001831,
0.10359817743301392,
0.21587222814559937,
-0.060179613530635834,
0.05087536573410034,
0.33923426270484924,
-0.611167311668396,
-0.26792827248573303,
0.2674909234046936,
0.15763390064239502,
0.01045340858399868,
0.22179438173770905,
0.1839434653520584,
0.3711938261985779,
0.00811910629272461,
0.11328449845314026,
0.020472770556807518,
-0.01631740666925907,
-0.14601917564868927,
-0.33527427911758423,
-0.05686365067958832,
0.24592645466327667,
0.12216818332672119,
-0.2678990960121155,
0.05764618143439293,
-0.2807745337486267,
-0.5657577514648438,
0.23226159811019897,
-0.2211877703666687,
0.06537999212741852,
0.21205119788646698,
0.716232419013977,
0.4489494562149048,
0.06949781626462936,
0.08742926269769669,
-0.2416492998600006,
-0.04660482332110405,
-0.08825719356536865,
0.18438318371772766,
0.14299775660037994,
-0.4669780731201172,
-0.10747294872999191,
-0.13399405777454376,
-0.1955721527338028,
0.003102261573076248,
-0.012968730181455612,
0.06121739745140076,
-0.18430837988853455,
-0.003784051164984703,
0.05234390124678612,
0.46537771821022034,
0.11080873012542725,
0.12751233577728271,
-0.0339820459485054,
0.03524217754602432,
-0.08142369985580444,
-0.038732461631298065,
0.0021276846528053284,
0.40827298164367676,
0.3573406934738159,
0.18276181817054749,
0.005924782250076532,
0.34415361285209656,
-0.1253071427345276,
-0.10070537030696869,
0.12072553485631943,
0.19699746370315552,
0.10398448258638382,
-0.36003679037094116,
0.12427587807178497,
0.16534535586833954,
-0.21498966217041016,
0.07781531661748886,
-0.14910900592803955,
0.20280838012695312,
0.18939869105815887,
0.0931471660733223,
-0.408924400806427,
-0.1642622947692871,
0.27639108896255493,
0.049543533474206924,
-0.15346652269363403,
-0.06705788522958755,
0.23084929585456848,
-0.4607712924480438,
0.1187175065279007,
-0.06202194094657898,
-0.577555239200592,
0.34429576992988586,
0.40505775809288025,
-0.012082641944289207,
0.02642715349793434,
0.18601229786872864,
-0.09404826909303665,
-0.15709656476974487,
-0.006394386291503906,
0.2693271338939667,
0.100881427526474,
0.09705008566379547,
-0.12720173597335815,
0.059443920850753784,
0.3202556371688843,
-0.1740097552537918,
0.2839941084384918,
-0.043914392590522766,
-0.17476163804531097,
0.09198140352964401,
0.23628194630146027,
0.08947674185037613,
0.15764585137367249,
-0.130817711353302,
-0.37975451350212097,
0.26612040400505066,
-0.4184513986110687,
0.13029195368289948,
-0.09847069531679153,
-0.4785614311695099,
-0.1266462504863739,
-0.6135708689689636,
-0.42690157890319824,
-0.24207620322704315,
0.11060739308595657,
-0.2983394265174866,
0.16993223130702972,
0.2767065465450287,
0.43500736355781555,
0.3092655539512634,
-0.24356798827648163,
-0.262922078371048,
-0.027162104845046997,
-0.178380087018013,
-0.328860342502594,
-0.11307376623153687,
-0.1880236119031906,
0.2747868299484253,
-0.06250475347042084,
-0.30440399050712585,
-0.00501304492354393,
0.06773529946804047,
-0.3274461328983307,
0.11880040913820267,
-0.07947421818971634,
0.02035081945359707,
0.26153135299682617,
0.024734459817409515,
-0.1166636198759079,
0.2391010820865631,
-0.08811745047569275,
-0.1330469697713852,
0.2544918358325958,
0.10260510444641113,
-0.44905444979667664,
-0.018313519656658173,
-0.2510603666305542,
-0.32212552428245544,
-0.6444743275642395,
0.20277747511863708,
0.10544392466545105,
-0.016282998025417328,
0.001672837883234024,
0.19188262522220612,
-0.18052545189857483,
-0.18404804170131683,
0.08048754185438156,
-0.22438666224479675,
-0.13261911273002625,
-0.319198340177536,
0.1793171614408493,
0.020745908841490746,
0.11994393169879913,
-0.04467276483774185,
0.1645192801952362,
-0.2015760838985443,
-0.14025549590587616,
-0.603583812713623,
-0.07575345039367676,
-0.040242597460746765,
0.13389572501182556,
-0.2781125605106354,
0.03216201066970825,
0.11699338257312775,
0.05271011218428612,
0.030411923304200172,
0.06370187550783157,
-0.11292962729930878,
0.2649344801902771,
0.1484680473804474,
-0.0023495182394981384,
-0.1855299472808838,
-0.008192654699087143,
-0.07801827788352966,
0.20508870482444763,
0.30467796325683594,
0.009388815611600876,
-0.1823558807373047,
-0.057435326278209686,
0.48109060525894165,
0.15288594365119934,
-0.010181372053921223,
0.1953224539756775,
0.09056559205055237,
0.028843756765127182,
0.28907066583633423,
-0.013894431293010712,
0.2910848557949066,
0.10262097418308258,
0.12995171546936035,
-0.16873601078987122,
0.01803690195083618,
0.05375588685274124,
-0.011669512838125229,
0.3652871251106262,
0.09655143320560455,
-0.07514330744743347,
-0.2847788333892822,
-0.32241395115852356,
-0.15408679842948914,
0.10939379036426544,
0.09821146726608276,
0.06853002309799194,
-0.7366597652435303,
0.2314043641090393,
-0.27452608942985535,
0.45884692668914795,
0.1567830592393875,
0.1876431107521057,
-0.08239589631557465,
0.5042704939842224,
0.033667631447315216,
0.203130841255188,
0.7495095729827881,
-0.4833984971046448,
-0.19921517372131348,
-0.057626545429229736,
0.5623437762260437,
-0.44477197527885437,
-0.19094255566596985,
-0.18526464700698853,
-0.046611085534095764,
0.38808509707450867,
0.581483006477356,
-0.1556285172700882,
-0.24547521770000458,
0.13113608956336975,
0.01301706861704588,
-0.3311719000339508,
-0.13961318135261536,
-0.2438621073961258,
-0.2152126133441925,
-0.0462426133453846,
0.21716244518756866,
0.22121034562587738,
0.18514658510684967,
-0.09942632168531418,
0.0331837423145771,
0.2082672119140625,
0.1589769423007965,
0.36343854665756226,
-0.03929486498236656,
0.5451882481575012,
0.07773616909980774,
-0.08651553094387054,
0.12713773548603058,
-0.055554963648319244,
0.4668225944042206,
0.4707155227661133,
-0.3658132553100586,
-0.8872764706611633,
-0.27744361758232117,
-0.5907794237136841,
0.350809782743454,
0.2769886255264282,
0.20574532449245453,
0.06823495030403137,
0.11293454468250275,
0.3727315664291382,
0.014834115281701088,
0.023488512262701988,
0.1559741348028183,
0.08040162920951843,
-0.5741949081420898,
-0.29320359230041504,
0.11847147345542908,
0.4049559235572815,
-0.1286846101284027,
-0.22831463813781738,
0.3316231071949005,
-0.48510074615478516,
0.21465237438678741,
0.02876165136694908,
1.1100393533706665,
0.19283176958560944,
0.007546424865722656,
0.05073775351047516,
-0.5905680060386658,
0.5280002355575562,
-0.23892758786678314,
0.08013439178466797,
-0.41311872005462646,
-0.2406003624200821,
-0.003655683249235153,
0.05368926748633385,
-0.015324912965297699,
0.4041560888290405,
-0.40886059403419495,
0.4386075437068939,
-0.3602982759475708,
0.11456753313541412,
-0.02290920726954937,
-0.06355354189872742,
0.43669840693473816,
0.21982990205287933,
-0.052572302520275116,
-0.0685366615653038,
-0.5413905382156372,
-0.2055848091840744,
-0.1460253894329071,
0.12142466753721237,
-0.15928268432617188,
-0.19596314430236816,
-0.27010610699653625,
-0.2113206386566162,
-0.156149223446846,
-0.43046581745147705,
0.361722469329834,
-0.2764853835105896,
0.1328817456960678,
0.4572090804576874,
0.6024861931800842,
0.1135130375623703,
-0.1463373601436615,
0.14341823756694794,
0.09362880885601044,
0.31833240389823914,
0.12895594537258148,
0.11196134239435196,
-0.28957605361938477,
-0.0769176334142685,
-0.4365360736846924,
-0.14683565497398376,
0.1348627358675003,
-0.20347733795642853,
-0.5684266090393066,
-0.341550350189209,
0.16227704286575317,
-0.21312616765499115,
0.07191857695579529,
0.04340984672307968,
0.2710583508014679,
-0.042733073234558105,
-0.034441933035850525,
0.0456840842962265,
-0.059433456510305405,
0.17857947945594788,
0.06712326407432556,
-0.377167284488678,
-0.17311780154705048,
-0.014465004205703735,
0.24687990546226501,
-0.08162127435207367,
0.27105870842933655,
-0.019207105040550232,
-0.1909542679786682,
-0.20252725481987,
0.2634911835193634,
0.14645743370056152,
-0.5441139340400696,
0.0609951876103878,
-0.16385333240032196,
0.07946014404296875,
-0.030808044597506523,
0.2564077079296112,
0.004027187824249268,
-0.03159770369529724,
0.2597411572933197,
-0.3851791322231293,
0.2269781082868576,
0.10865000635385513,
-0.03260083124041557,
0.1026049554347992,
0.2620752453804016,
0.21814154088497162,
-0.08533988147974014,
0.12889407575130463,
-0.20335149765014648,
0.16361631453037262,
0.08832830935716629,
0.2151658982038498,
0.025273537263274193,
0.03248706832528114,
0.1106400117278099,
-0.08607390522956848,
-0.07725756615400314,
0.00304533913731575,
0.07007043063640594,
-0.043546952307224274,
-0.07928071916103363,
0.2268337607383728,
-0.03636696934700012,
-0.12248177081346512,
0.04904214292764664,
0.1170395016670227,
-0.07863369584083557,
0.014212534762918949,
-0.07856059074401855,
0.181928813457489,
0.30690932273864746,
0.616104781627655,
-0.11885815858840942,
0.1722610592842102,
-0.3997143507003784,
0.0934915840625763,
0.1612648367881775,
0.27382057905197144,
0.24349214136600494,
0.20889049768447876,
-0.079768605530262,
-0.15043605864048004,
-0.23474669456481934,
0.29148852825164795,
0.477630615234375,
0.44188350439071655,
-0.15351390838623047,
-0.4760376811027527,
0.27653634548187256,
0.24330629408359528,
0.09448928385972977,
0.23768386244773865,
-0.3268946707248688,
-0.24156281352043152,
0.36895424127578735,
0.09491625428199768,
-0.07111644744873047,
-0.024973658844828606,
0.22570757567882538,
0.03657698258757591,
-0.27062827348709106,
0.27002716064453125,
0.388773113489151,
-0.10363374650478363,
0.06771570444107056,
0.15328839421272278,
0.26033055782318115,
-0.13358891010284424,
0.19779464602470398,
0.042033419013023376,
-0.18601123988628387,
-0.05698198452591896,
0.3656994700431824,
0.13098163902759552,
-0.30414190888404846,
0.3884834051132202,
0.3095376193523407,
0.026284078136086464,
0.5513893961906433,
0.09686972200870514,
-0.07185038179159164,
-0.35411015152931213,
-0.0751098245382309,
0.2516709268093109,
-0.22926682233810425,
0.1444123387336731,
0.17540450394153595,
0.07369914650917053,
-0.1805107146501541,
-0.527427613735199,
0.1953853964805603,
-0.10648991167545319,
-0.12188781052827835,
-0.14604917168617249,
-0.11443154513835907,
0.141431987285614,
-0.037604235112667084,
-0.0730077251791954,
-0.2854776382446289,
-0.04157157987356186,
-0.18230843544006348,
-0.028949439525604248,
-0.3202757239341736,
-0.33209460973739624,
-0.24819210171699524,
-0.1464114487171173,
0.5078226327896118,
-0.2194054126739502,
0.0949152261018753,
0.28474298119544983,
-0.02563633769750595,
0.18726186454296112,
0.1846114993095398,
0.3080630898475647,
0.0011356957256793976,
-0.08315505087375641,
0.041736021637916565,
-0.01249091885983944,
-0.026935672387480736,
0.3436034917831421,
-0.07960763573646545,
0.38353198766708374,
-0.18745245039463043,
0.0750449001789093,
0.08622505515813828,
-0.014071695506572723,
0.28238430619239807,
0.33203116059303284,
0.578344464302063,
-0.18135276436805725,
0.24417880177497864,
-0.01804136484861374,
-0.23721522092819214,
-0.16460870206356049,
-0.04718976467847824,
-0.24354064464569092,
0.025675270706415176,
0.3854938745498657,
0.15205173194408417,
0.12114547938108444,
-0.034945547580718994,
-0.0011294204741716385,
0.06412027031183243,
0.3271697759628296,
0.5245550870895386,
0.09893263876438141,
-0.0985146015882492,
-0.0012731924653053284,
-0.3565162420272827,
0.3220432996749878,
-0.21695828437805176,
0.004210537299513817,
0.08717144280672073,
-0.004114173352718353,
0.0526883602142334,
-0.08614873886108398,
0.007178597152233124,
0.16733227670192719,
-0.11688884347677231,
-0.04561612755060196,
-0.3623967170715332,
-0.09294256567955017,
-0.24735711514949799,
0.29263541102409363,
0.2325422167778015,
-0.16252219676971436,
0.17496702075004578,
-0.05658934637904167,
-0.05891619250178337,
0.01245519332587719,
-0.08418242633342743,
0.08196571469306946,
0.2315061241388321,
0.26786088943481445,
0.2439596951007843,
0.15750116109848022,
0.0843430757522583,
-0.4018861651420593,
0.16838276386260986,
-0.006998477969318628,
-0.41114285588264465,
0.45599061250686646,
0.04541169852018356,
0.46687743067741394,
-0.22870324552059174,
0.18615080416202545,
-0.006997324526309967,
0.005960017442703247,
0.18378625810146332,
0.33153995871543884,
-0.24726945161819458,
0.2213967740535736,
0.3472175896167755,
-0.2395341545343399,
-0.01763242483139038,
0.12374240905046463,
0.16332027316093445,
0.059629492461681366,
-0.3737598657608032,
-0.0125352144241333,
0.39901202917099,
0.14994677901268005,
-0.06896503269672394,
-0.054144397377967834,
0.42189446091651917,
0.39163368940353394,
-0.11868757754564285,
-0.4830701947212219,
-0.000491708517074585,
0.5178112387657166,
-0.20288407802581787,
-0.3391345739364624,
0.2773769497871399,
-0.010076679289340973,
0.02315802499651909,
0.0059453509747982025,
-0.160888671875,
0.36166927218437195,
-0.22528843581676483,
0.12175023555755615,
-0.2094772905111313
] |
https://github.com/huggingface/datasets/issues/1630 | Adding UKP Argument Aspect Similarity Corpus | Adding a link to the guide on adding a dataset if someone want to give it a try: https://github.com/huggingface/datasets#add-a-new-dataset-to-the-hub
we should add this guide to the issue template @lhoestq | Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic.
- **Paper:** https://www.aclweb.org/anthology/P19-1054/
- **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998
- **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Thank you | 29 | Adding UKP Argument Aspect Similarity Corpus
Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic.
- **Paper:** https://www.aclweb.org/anthology/P19-1054/
- **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998
- **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Thank you
Adding a link to the guide on adding a dataset if someone want to give it a try: https://github.com/huggingface/datasets#add-a-new-dataset-to-the-hub
we should add this guide to the issue template @lhoestq | [
-0.3177594542503357,
-0.26209214329719543,
-0.07429419457912445,
-0.1360730230808258,
-0.11523175239562988,
0.17070797085762024,
0.3080388009548187,
0.20302274823188782,
-0.23973600566387177,
0.055295154452323914,
-0.2352132946252823,
0.475263386964798,
-0.09524580836296082,
-0.11932976543903351,
0.30167457461357117,
-0.43202027678489685,
-0.047760628163814545,
0.1427706480026245,
0.04846678674221039,
-0.13633261620998383,
0.07596872746944427,
0.18808594346046448,
-0.16969233751296997,
-0.26046061515808105,
-0.26458799839019775,
-0.02049836330115795,
-0.18069924414157867,
0.11529871821403503,
0.07022641599178314,
-0.34484973549842834,
0.09815942496061325,
0.12901484966278076,
-0.15334849059581757,
0.038217827677726746,
-0.00010206109436694533,
-0.2599647045135498,
0.3763657212257385,
-0.0408448800444603,
-0.07813107967376709,
-0.09491664171218872,
-0.12566225230693817,
0.21322713792324066,
-0.1509781777858734,
-0.036838024854660034,
-0.2771831750869751,
0.03431442379951477,
-0.06541243940591812,
0.15636521577835083,
0.34730908274650574,
0.2343629002571106,
0.2541933059692383,
0.14340409636497498,
0.14921267330646515,
-0.23057222366333008,
0.08400772511959076,
0.373762309551239,
-0.14660410583019257,
0.03938538581132889,
0.48196470737457275,
0.38655298948287964,
-0.14644846320152283,
0.30242735147476196,
-0.025290073826909065,
-0.05571838840842247,
0.035598739981651306,
-0.14983752369880676,
-0.11701127141714096,
-0.04550599306821823,
0.03582943603396416,
0.23392254114151,
0.5025719404220581,
-0.06957235187292099,
-0.24304808676242828,
-0.4196178913116455,
0.15499448776245117,
0.23117883503437042,
-0.06978721171617508,
0.01607752963900566,
-0.17107725143432617,
0.25503861904144287,
0.105316162109375,
-0.012905328534543514,
-0.43248456716537476,
0.042339399456977844,
-0.013129275292158127,
0.32886385917663574,
-0.13894899189472198,
-0.1893429458141327,
0.08433200418949127,
-0.12068943679332733,
-0.13154125213623047,
-0.1259640008211136,
0.2005767971277237,
0.027281776070594788,
0.17820540070533752,
-0.2032248079776764,
0.22735083103179932,
0.037280742079019547,
0.3695318400859833,
-0.3269726634025574,
0.10831151157617569,
0.002405911684036255,
-0.018423058092594147,
0.17281955480575562,
0.17591580748558044,
0.05226284638047218,
0.028791025280952454,
-0.13384392857551575,
-0.02706369012594223,
0.06939944624900818,
-0.036907993257045746,
0.29783928394317627,
0.039893534034490585,
-0.00695254560559988,
-0.37518826127052307,
-0.0728975161910057,
-0.01888122782111168,
-0.5017317533493042,
-0.32179486751556396,
-0.13458701968193054,
0.21764805912971497,
-0.017038468271493912,
0.008849667385220528,
0.10973871499300003,
0.11242589354515076,
0.13904455304145813,
-0.07876650989055634,
0.15467536449432373,
-0.08387855440378189,
-0.2307530641555786,
-0.1956537663936615,
0.10750709474086761,
-0.23002633452415466,
-0.09058739989995956,
0.4115206003189087,
-0.1559680551290512,
0.2945150136947632,
0.02937837690114975,
0.2517842650413513,
0.14795346558094025,
-0.13277913630008698,
0.2535914480686188,
0.19565612077713013,
-0.0287260003387928,
-0.1515618860721588,
-0.2560284435749054,
0.10437671840190887,
-0.04172562435269356,
-0.34611764550209045,
0.03458624333143234,
0.04300784319639206,
-0.1798156052827835,
-0.27259665727615356,
0.27648255228996277,
-0.5586658716201782,
-0.4412408173084259,
-0.047659583389759064,
0.5198410749435425,
-0.14330130815505981,
-0.16629251837730408,
0.013627849519252777,
0.2717224061489105,
-0.507297158241272,
-0.05810726061463356,
-0.15438316762447357,
0.43451792001724243,
-0.10156947374343872,
-0.4384259283542633,
-0.0022475586738437414,
-0.025831419974565506,
0.0073462799191474915,
0.15870678424835205,
-0.18579350411891937,
0.006217055022716522,
-0.19647441804409027,
0.17171378433704376,
0.20903262495994568,
-0.19327707588672638,
-0.17424306273460388,
0.27812686562538147,
-0.28397443890571594,
0.17650634050369263,
0.25578969717025757,
-0.07703904807567596,
0.29238349199295044,
-0.17224204540252686,
0.4016658663749695,
0.402904212474823,
-0.00465925969183445,
0.015304883942008018,
-0.25783562660217285,
-0.11968210339546204,
-0.28780484199523926,
0.14950568974018097,
-0.1504547894001007,
0.11320160329341888,
0.21908336877822876,
0.031254883855581284,
0.4210236668586731,
-0.12996834516525269,
-0.08442647755146027,
0.35259127616882324,
0.2251746505498886,
-0.3548799753189087,
0.061618201434612274,
-0.40812307596206665,
0.021356698125600815,
-0.16960576176643372,
-0.22756537795066833,
0.3027374744415283,
0.09402145445346832,
-0.15677106380462646,
-0.22180867195129395,
-0.09600483626127243,
0.0356404185295105,
-0.27852901816368103,
0.2104332447052002,
-0.14567911624908447,
0.05427663400769234,
0.030360251665115356,
-0.006594959646463394,
0.23625653982162476,
-0.07330270111560822,
-0.08862806111574173,
-0.25778424739837646,
0.17871925234794617,
-0.08213666826486588,
-0.13711217045783997,
0.43848469853401184,
0.537251353263855,
-0.1583573818206787,
0.05285080522298813,
0.014016179367899895,
-0.22174900770187378,
0.02231667935848236,
0.30428534746170044,
0.07007922232151031,
0.29158514738082886,
0.38266029953956604,
-0.4362526535987854,
0.22043783962726593,
-0.2790268361568451,
-0.11335929483175278,
0.0008922815322875977,
-0.445390909910202,
0.46373945474624634,
0.09304988384246826,
-0.123948834836483,
-0.08555863052606583,
0.07222682237625122,
0.014726081863045692,
-0.11996802687644958,
-0.1925409585237503,
-0.3562738299369812,
0.5151848793029785,
0.1732233315706253,
0.1354527473449707,
0.13012193143367767,
-0.051696546375751495,
0.24549755454063416,
0.007155165076255798,
-0.025641895830631256,
0.11576168239116669,
0.3170928657054901,
-0.3822300434112549,
-0.28529465198516846,
0.24557754397392273,
-0.27779266238212585,
0.3180720806121826,
0.5747032165527344,
0.1599912941455841,
-0.019975779578089714,
-0.16916683316230774,
-0.21883144974708557,
0.07335741817951202,
0.01930786296725273,
0.08864260464906693,
0.1600492298603058,
0.431027352809906,
0.16732271015644073,
-0.5958176255226135,
0.012693841010332108,
-0.12766918540000916,
-0.055753156542778015,
-0.14621324837207794,
-0.12519921362400055,
-0.13359162211418152,
-0.1093117967247963,
-0.1628483384847641,
0.27156293392181396,
0.1880190372467041,
-0.2080155611038208,
0.18448203802108765,
0.035440534353256226,
-0.03651830181479454,
0.3215629756450653,
-0.0671001672744751,
0.3225330710411072,
-0.2832520306110382,
-0.05948387831449509,
-0.015334207564592361,
-0.27365222573280334,
-0.15722045302391052,
0.3251059353351593,
0.03640680015087128,
0.12419316172599792,
0.3659243583679199,
-0.1462060511112213,
0.22110162675380707,
-0.2115405946969986,
-0.7749059796333313,
0.20801372826099396,
-0.11933426558971405,
0.38873961567878723,
0.30730366706848145,
-0.3305593729019165,
-0.16707517206668854,
-0.18042339384555817,
0.06940828263759613,
-0.08577509224414825,
-0.2479080855846405,
0.033435672521591187,
-0.5105165243148804,
-0.26469120383262634,
-0.00851927325129509,
-0.20551243424415588,
0.02085796371102333,
-0.44576916098594666,
0.4158596396446228,
-0.16665838658809662,
0.0813387930393219,
0.4588480293750763,
0.028474178165197372,
0.128166064620018,
-0.34061768651008606,
0.4250284731388092,
-0.28786560893058777,
-0.1325175017118454,
0.18041689693927765,
-0.3023088574409485,
-0.3168964087963104,
-0.3453714847564697,
-0.19916100800037384,
0.09029640257358551,
-0.11528512090444565,
-0.2429618537425995,
-0.45266643166542053,
-0.025047240778803825,
0.18815062940120697,
0.03536325693130493,
0.005660694092512131,
0.11621491611003876,
0.06698714941740036,
-0.21454404294490814,
-0.12146466970443726,
-0.0915147066116333,
0.06817792356014252,
0.2476428747177124,
0.19036488234996796,
-0.11284277588129044,
-0.1599102020263672,
0.2046280950307846,
0.10313161462545395,
0.28237080574035645,
-0.18710295855998993,
0.15933391451835632,
0.1396973431110382,
-0.0036140568554401398,
-0.08062238246202469,
-0.2352098822593689,
0.4480727016925812,
0.08094656467437744,
-0.033597949892282486,
0.5477821826934814,
0.1974954903125763,
-0.39340049028396606,
-0.07717762142419815,
-0.3385390043258667,
-0.18244770169258118,
-0.15245915949344635,
0.12738509476184845,
0.0976104885339737,
0.2027919888496399,
-0.06705455482006073,
-0.4088737666606903,
-0.4249368906021118,
-0.27896448969841003,
0.2690778970718384,
0.29856371879577637,
0.21018144488334656,
0.012068923562765121,
0.017309535294771194,
0.38228660821914673,
-0.37036895751953125,
0.25344008207321167,
0.1584356427192688,
-0.17598408460617065,
-0.4221256971359253,
-0.1351897120475769,
0.038830358535051346,
0.16019727289676666,
0.5583925247192383,
-0.12257114797830582,
-0.1864277720451355,
-0.00815974548459053,
0.22020503878593445,
-0.25681746006011963,
0.26707303524017334,
-0.23819755017757416,
-0.1835957020521164,
0.24319937825202942,
0.01952924206852913,
-0.2546621561050415,
0.06630055606365204,
0.4586404263973236,
0.05613817647099495,
0.11798752844333649,
-0.5310835838317871,
0.07422736287117004,
-0.0560557059943676,
-0.34936705231666565,
0.045116622000932693,
0.21928274631500244,
-0.019863076508045197,
0.19944658875465393,
0.00017694011330604553,
0.03628885746002197,
0.16767340898513794,
0.3099413812160492,
0.1876986026763916,
-0.051529448479413986,
0.10457655787467957,
0.20322509109973907,
-0.06726822257041931,
0.08472900837659836,
0.08912064880132675,
0.31015872955322266,
-0.11345244944095612,
-0.19360974431037903,
-0.04424455761909485,
-0.1725534349679947,
0.2790645956993103,
0.2448088526725769,
0.3807346820831299,
0.06861022114753723,
-0.1615300178527832,
-0.1260260045528412,
-0.2227456122636795,
-0.1062127947807312,
-0.10796637088060379,
0.11058726906776428,
-0.06545940786600113,
-0.03598826006054878,
0.6073562502861023,
0.128779336810112,
-0.17757925391197205,
-0.09605042636394501,
0.25196611881256104,
-0.21407820284366608,
0.520673394203186,
0.16976135969161987,
0.7450042963027954,
0.15919506549835205,
0.2997281551361084,
0.20001551508903503,
0.01387612521648407,
0.3534678518772125,
0.15296441316604614,
0.029200799763202667,
0.03412400558590889,
-0.09712066501379013,
-0.001361427828669548,
-0.1323673129081726,
0.1203547865152359,
0.16600140929222107,
-0.3217507302761078,
-0.16497279703617096,
-0.03831091895699501,
-0.23650002479553223,
0.22116133570671082,
0.20233280956745148,
0.0448923259973526,
-0.36511096358299255,
-0.42408546805381775,
0.24697086215019226,
-0.13437339663505554,
0.1706785261631012,
0.03805822506546974,
-0.2022247314453125,
-0.042929548770189285,
-0.03100752830505371,
-0.5856844782829285,
0.05534890294075012,
-0.07529423385858536,
-0.07770656049251556,
0.2622395157814026,
-0.18734444677829742,
0.5644804239273071,
0.18071387708187103,
0.35909533500671387,
0.028032608330249786,
-0.27759411931037903,
0.23997372388839722,
0.04370591789484024,
-0.07897654920816422,
0.11656555533409119,
-0.057853393256664276,
0.5153157114982605,
-0.20044726133346558,
-0.19244399666786194,
-0.08601341396570206,
0.17791683971881866,
-0.16075173020362854,
-0.26894140243530273,
-0.06857012212276459,
-0.21057645976543427,
-0.09776614606380463,
-0.2652692198753357,
0.20511344075202942,
0.00322936475276947,
-0.3100394308567047,
0.18153591454029083,
0.2395736575126648,
-0.2013949602842331,
0.29026663303375244,
0.24056120216846466,
-0.1960430145263672,
-0.001021532341837883,
0.3272321820259094,
0.13248208165168762,
-0.503720223903656,
0.25058436393737793,
0.39555713534355164,
-0.19328062236309052,
-0.2894613742828369,
-0.34085243940353394,
-0.18443377315998077,
-0.32016241550445557,
-0.06852510571479797,
0.2198488712310791,
-0.2964034974575043,
0.016288399696350098,
0.2609226107597351,
0.3364142179489136,
0.1512770652770996,
0.04173123463988304,
-0.090887650847435,
-0.23049335181713104,
0.10809917002916336,
-0.1421358734369278,
0.13113674521446228,
-0.023878999054431915,
0.13465897738933563,
0.09777718782424927,
0.14896123111248016,
-0.481018990278244,
0.052830770611763,
-0.017636984586715698,
-0.1355934888124466,
-0.0027508195489645004,
-0.3389400243759155,
-0.08220887929201126,
-0.1554582118988037,
0.20253896713256836,
-0.06504132598638535,
-0.17797933518886566,
-0.34479230642318726,
-0.23459193110466003,
0.09863189607858658,
-0.08086615800857544,
0.04068707674741745,
0.08412162959575653,
0.08095987141132355,
0.09706582129001617,
0.08018816262483597,
0.31451886892318726,
0.43017905950546265,
0.08090277761220932,
0.0007434850558638573,
-0.09574906527996063,
-0.2233082354068756,
0.3939966559410095,
0.05985433608293533,
0.04916166514158249,
-0.007654733955860138,
0.1516759693622589,
0.02788498066365719,
-0.0662030428647995,
0.00257052481174469,
0.1824297159910202,
0.40904009342193604,
0.21444955468177795,
0.16242602467536926,
0.00958273559808731,
0.16899721324443817,
-0.14345036447048187,
0.44857922196388245,
-0.1726195514202118,
-0.26818177103996277,
-0.017328154295682907,
-0.1098327785730362,
-0.19753670692443848,
0.32610490918159485,
-0.4386689066886902,
-0.15579812228679657,
0.0030844639986753464,
0.0961802527308464,
0.15370924770832062,
0.16241507232189178,
0.42359739542007446,
0.10974916815757751,
0.11213547736406326,
0.10382350534200668,
0.34866422414779663,
-0.20831061899662018,
-0.0960363894701004,
-0.03737905994057655,
0.2513187527656555,
-0.12413714826107025,
-0.1307869553565979,
0.3298063278198242,
0.34609588980674744,
-0.2174161821603775,
-0.11439872533082962,
0.1837361752986908,
-0.059202902019023895,
0.24949878454208374,
0.4559996724128723,
0.11299754679203033,
0.2678764760494232,
0.23346002399921417,
0.1402198076248169,
0.30240923166275024,
0.13124150037765503,
0.4737321436405182,
0.3824748396873474,
-0.18721939623355865,
-0.06228986382484436,
0.2784093916416168,
0.03414154052734375,
-0.22360965609550476,
-0.3117968440055847,
-0.19668854773044586,
-0.3885117173194885,
-0.30818745493888855,
-0.08879047632217407,
0.05429462343454361,
0.2801857888698578,
-0.05394850671291351,
0.1133825033903122,
-0.2112012356519699,
0.023737061768770218,
0.17914053797721863,
0.2579673230648041,
-0.11999443173408508,
0.2507944405078888,
0.12957289814949036,
0.007570572197437286,
0.37689799070358276,
0.45936819911003113,
0.4203951060771942,
-0.13593177497386932,
0.02925555594265461,
0.05087537690997124,
-0.45982903242111206,
-0.08239099383354187,
-0.14497362077236176,
0.20349502563476562,
0.18628878891468048,
-0.08453717827796936,
0.365068256855011,
0.21709026396274567,
-0.2189105898141861,
0.11199818551540375,
-0.03213358297944069,
-0.35237011313438416,
0.0021475376561284065,
-0.027616925537586212,
-0.07941049337387085,
0.02141348272562027,
-0.10644741356372833,
0.2010621726512909,
-0.22254431247711182,
0.11518237739801407,
0.2842946946620941,
-0.2529407739639282,
-0.024495186284184456,
0.19077670574188232,
0.14361928403377533,
-0.06376393139362335,
0.09683236479759216,
0.6004701852798462,
0.0889655202627182,
-0.0785522535443306,
-0.001081027090549469,
-0.36150062084198,
0.16157925128936768,
0.17434856295585632,
-0.04731354862451553,
0.08985269069671631,
-0.05911046266555786,
0.31264740228652954,
0.16483373939990997,
-0.14538665115833282,
-0.08241568505764008,
-0.280449777841568,
-0.008878931403160095,
-0.4129317104816437,
0.22155293822288513,
0.321580171585083,
0.08258051425218582,
0.009224660694599152,
0.15511882305145264,
-0.18307821452617645,
0.2540992796421051,
0.14663982391357422,
-0.44477248191833496,
0.07900331914424896,
-0.07056199759244919,
-0.23158028721809387,
-0.1591314673423767,
0.14498040080070496,
0.37416812777519226,
-0.20301896333694458,
-0.10476486384868622,
-0.06947106122970581,
-0.4452859163284302,
-0.09148971736431122,
0.18069222569465637,
-0.04449867084622383,
0.2864479720592499,
0.02508166991174221,
-0.3154512941837311,
0.43503811955451965,
0.045414768159389496,
0.06648582220077515,
-0.07946008443832397,
-0.49809718132019043,
0.40531113743782043,
-0.09959320724010468,
0.17165455222129822,
-0.00013402197510004044,
0.2879059314727783,
0.15464389324188232,
0.05814266949892044,
0.09733615815639496,
-0.547749400138855,
0.4831722676753998,
-0.03982521966099739,
-0.15989132225513458,
0.018867477774620056,
0.17348814010620117,
-0.12724855542182922,
-0.0517868772149086,
-0.7925340533256531,
-0.10580334812402725,
0.26554423570632935,
-0.06395506113767624,
0.06548671424388885,
0.2744801938533783,
0.20280839502811432,
-0.2423507422208786,
-0.14271600544452667,
0.21733050048351288,
0.003085903823375702,
0.04261987656354904,
-0.15589271485805511,
-0.1839768886566162
] |
https://github.com/huggingface/datasets/issues/1630 | Adding UKP Argument Aspect Similarity Corpus | thanks @thomwolf , this is added now. The template is correct, sorry my mistake not to include it. | Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic.
- **Paper:** https://www.aclweb.org/anthology/P19-1054/
- **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998
- **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Thank you | 18 | Adding UKP Argument Aspect Similarity Corpus
Hi, this would be great to have this dataset included.
## Adding a Dataset
- **Name:** UKP Argument Aspect Similarity Corpus
- **Description:** The UKP Argument Aspect Similarity Corpus (UKP ASPECT) includes 3,595 sentence pairs over 28 controversial topics. Each sentence pair was annotated via crowdsourcing as either “high similarity”, “some similarity”, “no similarity” or “not related” with respect to the topic.
- **Paper:** https://www.aclweb.org/anthology/P19-1054/
- **Data:** https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/1998
- **Motivation:** this is one of the datasets currently used frequently in recent adapter papers like https://arxiv.org/pdf/2005.00247.pdf
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Thank you
thanks @thomwolf , this is added now. The template is correct, sorry my mistake not to include it. | [
-0.25509050488471985,
-0.21735551953315735,
-0.08474956452846527,
-0.2169913500547409,
-0.0947982519865036,
0.14514204859733582,
0.3672693073749542,
0.20975424349308014,
-0.28977102041244507,
0.06342773139476776,
-0.16650453209877014,
0.45421475172042847,
-0.029844004660844803,
-0.18061646819114685,
0.2641552984714508,
-0.4156152307987213,
-0.027721188962459564,
0.21057447791099548,
0.04906807839870453,
-0.12465420365333557,
0.06299224495887756,
0.232680082321167,
-0.13028238713741302,
-0.20147167146205902,
-0.22896075248718262,
-0.019644109532237053,
-0.17398640513420105,
0.1471981257200241,
0.03512997180223465,
-0.29671794176101685,
0.11241213977336884,
0.09166206419467926,
-0.14180994033813477,
0.014610141515731812,
-0.00009905704064294696,
-0.21177417039871216,
0.38629865646362305,
-0.0606793537735939,
-0.04646475985646248,
-0.03324657678604126,
-0.13121479749679565,
0.16339026391506195,
-0.08496101945638657,
-0.059751879423856735,
-0.2971862852573395,
-0.12490309029817581,
-0.06287626922130585,
0.19796887040138245,
0.3083142638206482,
0.2179928570985794,
0.28304323554039,
0.04127872735261917,
0.153201162815094,
-0.22317667305469513,
0.05422751605510712,
0.37248414754867554,
-0.1918722689151764,
-0.03738918900489807,
0.5217648148536682,
0.35279154777526855,
-0.0901431068778038,
0.341472327709198,
-0.0033208057284355164,
-0.05115051940083504,
0.00036172568798065186,
-0.1810990571975708,
-0.012932658195495605,
-0.015320222824811935,
0.036777839064598083,
0.19646012783050537,
0.543729305267334,
-0.019000254571437836,
-0.16203485429286957,
-0.30951428413391113,
0.16467411816120148,
0.2289222925901413,
-0.055297158658504486,
0.0089114336296916,
-0.1429758220911026,
0.2687634825706482,
0.1516706645488739,
-0.010594658553600311,
-0.4237985610961914,
0.09620550274848938,
-0.023436114192008972,
0.28197410702705383,
-0.10689857602119446,
-0.23804566264152527,
0.03802327811717987,
-0.12128831446170807,
-0.0602223239839077,
-0.0872785747051239,
0.12364104390144348,
-0.03166286274790764,
0.1669948846101761,
-0.16711153090000153,
0.21001285314559937,
-0.07290754467248917,
0.34891149401664734,
-0.2743949890136719,
0.12910212576389313,
-0.04052569717168808,
0.03962020203471184,
0.20481988787651062,
0.1561383754014969,
-0.004823730792850256,
-0.04070236533880234,
-0.09370153397321701,
-0.03611084073781967,
0.10356642305850983,
0.021805550903081894,
0.2918519079685211,
0.01992662250995636,
-0.10532017052173615,
-0.3434862494468689,
-0.02915288507938385,
0.03005480393767357,
-0.4530247449874878,
-0.25991612672805786,
-0.13878406584262848,
0.1700325310230255,
0.022882619872689247,
-0.10208303481340408,
0.09021344780921936,
0.14587390422821045,
0.1284775733947754,
-0.026247099041938782,
0.1271076202392578,
-0.08042383193969727,
-0.2611059844493866,
-0.23238837718963623,
0.1441008746623993,
-0.2995676100254059,
-0.132802814245224,
0.3934415578842163,
-0.11389081180095673,
0.3081299960613251,
0.07449370622634888,
0.2730947732925415,
0.10366453230381012,
-0.06931933015584946,
0.2856168746948242,
0.2270003855228424,
0.015159737318754196,
-0.07420556247234344,
-0.18955588340759277,
0.14804412424564362,
-0.05153220146894455,
-0.2750717103481293,
0.13070328533649445,
-0.039867572486400604,
-0.17131786048412323,
-0.2809179425239563,
0.2983585000038147,
-0.4681396484375,
-0.3936266303062439,
-0.013923488557338715,
0.48828697204589844,
-0.08491296321153641,
-0.1932043880224228,
-0.005328461527824402,
0.2781381905078888,
-0.4548720121383667,
-0.05430819094181061,
-0.12085746973752975,
0.4197543263435364,
-0.17984408140182495,
-0.38134804368019104,
-0.03475900739431381,
-0.011961240321397781,
0.10905322432518005,
0.21436238288879395,
-0.21663551032543182,
0.04784665256738663,
-0.256017804145813,
0.12005867063999176,
0.23291857540607452,
-0.10013308376073837,
-0.16215647757053375,
0.3018571138381958,
-0.258217990398407,
0.11790164560079575,
0.26959991455078125,
-0.14707955718040466,
0.3066030442714691,
-0.101156085729599,
0.30368903279304504,
0.3539860248565674,
0.0040287841111421585,
0.07867315411567688,
-0.2685268819332123,
-0.06393343210220337,
-0.24090708792209625,
0.07826976478099823,
-0.17724734544754028,
0.08906112611293793,
0.19350215792655945,
0.01828181743621826,
0.43114566802978516,
-0.12526684999465942,
-0.08609755337238312,
0.42742061614990234,
0.249818354845047,
-0.407520592212677,
0.12116760015487671,
-0.3079817593097687,
0.03602972626686096,
-0.24486875534057617,
-0.22059836983680725,
0.31748512387275696,
0.11798470467329025,
-0.08110255002975464,
-0.29766085743904114,
-0.15367692708969116,
-0.020659301429986954,
-0.3938335180282593,
0.22140240669250488,
-0.10083772242069244,
-0.03912882134318352,
0.01019594818353653,
0.06451590359210968,
0.17181870341300964,
-0.13506919145584106,
-0.14064893126487732,
-0.21262100338935852,
0.18253427743911743,
-0.1382213830947876,
-0.12045642733573914,
0.44875434041023254,
0.48458632826805115,
-0.1282465159893036,
0.08058341592550278,
-0.02324773371219635,
-0.22063642740249634,
0.1197182759642601,
0.27510374784469604,
0.022778410464525223,
0.2776455879211426,
0.33600401878356934,
-0.5113828778266907,
0.19971013069152832,
-0.24881352484226227,
-0.1310187131166458,
-0.047906000167131424,
-0.4224361181259155,
0.427772581577301,
0.1416531503200531,
-0.13453373312950134,
-0.09113740921020508,
0.0684770941734314,
0.09271733462810516,
-0.1663670390844345,
-0.1857134997844696,
-0.34880009293556213,
0.4322529733181,
0.21753636002540588,
0.11759473383426666,
0.10990457236766815,
-0.07201913744211197,
0.2330864667892456,
0.08711698651313782,
0.011365063488483429,
0.13062196969985962,
0.266499400138855,
-0.3690462112426758,
-0.30795949697494507,
0.20834605395793915,
-0.29463255405426025,
0.27482321858406067,
0.5568579435348511,
0.15251579880714417,
-0.02657048963010311,
-0.14361870288848877,
-0.2622219920158386,
0.15154318511486053,
0.0207325741648674,
0.04837209731340408,
0.2199467122554779,
0.4446837604045868,
0.07521812617778778,
-0.5359094738960266,
0.05896731838583946,
-0.08684102445840836,
-0.062348514795303345,
-0.16611936688423157,
-0.13921114802360535,
-0.14263178408145905,
-0.10336853563785553,
-0.1718827784061432,
0.25522613525390625,
0.2509304881095886,
-0.25080978870391846,
0.1935919225215912,
-0.0319356732070446,
-0.062148913741111755,
0.4448682367801666,
-0.03992197662591934,
0.2686152458190918,
-0.22337706387043,
-0.05999305844306946,
-0.02976849675178528,
-0.22062258422374725,
-0.20545333623886108,
0.360784113407135,
-0.03176547959446907,
0.0920395478606224,
0.31156718730926514,
-0.1617509424686432,
0.25780004262924194,
-0.28071722388267517,
-0.7797288298606873,
0.24889759719371796,
-0.07634671032428741,
0.36547788977622986,
0.30326730012893677,
-0.28146952390670776,
-0.18476516008377075,
-0.12163763493299484,
0.10280820727348328,
-0.06736242771148682,
-0.28817296028137207,
0.10801218450069427,
-0.5512280464172363,
-0.22370821237564087,
-0.03712344169616699,
-0.2512822449207306,
0.028251107782125473,
-0.44560521841049194,
0.2751120924949646,
-0.1886966973543167,
0.0891917273402214,
0.47359082102775574,
0.09872737526893616,
0.06264425069093704,
-0.3358849287033081,
0.38521838188171387,
-0.24084238708019257,
-0.15128660202026367,
0.2256617695093155,
-0.3280215859413147,
-0.3354622423648834,
-0.2680984139442444,
-0.16326408088207245,
0.0857120007276535,
-0.148407444357872,
-0.20601913332939148,
-0.3856871426105499,
0.028741540387272835,
0.12818698585033417,
0.01266041025519371,
0.0350097119808197,
0.14693862199783325,
0.05282517522573471,
-0.2421971559524536,
-0.16276557743549347,
-0.03612171858549118,
0.05566493421792984,
0.12270839512348175,
0.2691577672958374,
-0.12861201167106628,
-0.1232236698269844,
0.18247933685779572,
0.17259657382965088,
0.277220219373703,
-0.16745896637439728,
0.16011112928390503,
0.17299801111221313,
0.023011766374111176,
-0.10878979414701462,
-0.23263977468013763,
0.40227019786834717,
0.10666903853416443,
-0.0373142771422863,
0.5552398562431335,
0.1904856562614441,
-0.44852039217948914,
-0.044692929834127426,
-0.27312472462654114,
-0.21301516890525818,
-0.13096921145915985,
0.15545544028282166,
0.13484686613082886,
0.25474831461906433,
-0.043278682976961136,
-0.3884184956550598,
-0.3537807762622833,
-0.2758011221885681,
0.2993520200252533,
0.38023656606674194,
0.2101038247346878,
0.017851226031780243,
0.03812745586037636,
0.45005369186401367,
-0.33878061175346375,
0.21278005838394165,
0.09773167222738266,
-0.17083990573883057,
-0.3681967556476593,
-0.1383674591779709,
0.018846623599529266,
0.17106927931308746,
0.523973822593689,
-0.13029620051383972,
-0.1656356304883957,
0.03974684700369835,
0.2249462902545929,
-0.1826341152191162,
0.18406982719898224,
-0.2657272517681122,
-0.1511659026145935,
0.34827688336372375,
-0.06050582230091095,
-0.24170741438865662,
0.07557142525911331,
0.3531865179538727,
-0.00652049807831645,
0.08217361569404602,
-0.5406854152679443,
0.04636814072728157,
-0.0891818106174469,
-0.3288062810897827,
0.0031819045543670654,
0.2573784589767456,
-0.0292348675429821,
0.1765134632587433,
-0.08737637102603912,
0.02347576804459095,
0.14363649487495422,
0.2640921473503113,
0.13923154771327972,
-0.014664426445960999,
0.06317716091871262,
0.16939277946949005,
-0.12591560184955597,
0.15626873075962067,
0.08818003535270691,
0.2713102400302887,
-0.19644364714622498,
-0.18426069617271423,
0.04676888510584831,
-0.24739940464496613,
0.30689117312431335,
0.20264002680778503,
0.32752516865730286,
0.015270307660102844,
-0.22730447351932526,
-0.16828246414661407,
-0.16779105365276337,
-0.13983100652694702,
-0.06102140247821808,
0.12910908460617065,
-0.008048057556152344,
-0.12440508604049683,
0.5076529383659363,
0.12565405666828156,
-0.1580706238746643,
-0.08654788136482239,
0.2473791390657425,
-0.22255901992321014,
0.47219377756118774,
0.16246569156646729,
0.717564582824707,
0.20777437090873718,
0.29809093475341797,
0.22703832387924194,
0.03308114409446716,
0.360380083322525,
0.12632620334625244,
0.032984618097543716,
-0.04454270750284195,
-0.12408600747585297,
0.01104327104985714,
-0.18488579988479614,
0.13661010563373566,
0.1808670461177826,
-0.2793703079223633,
-0.11877797544002533,
-0.07668816298246384,
-0.21338948607444763,
0.26054927706718445,
0.1746494621038437,
0.16050751507282257,
-0.3124159276485443,
-0.3768991529941559,
0.26054614782333374,
-0.12390881776809692,
0.07777136564254761,
0.003837408497929573,
-0.18900758028030396,
-0.06120291352272034,
-0.06623576581478119,
-0.5578237175941467,
0.06303011626005173,
-0.10442090034484863,
-0.04952818155288696,
0.281922847032547,
-0.24597474932670593,
0.6087459325790405,
0.11595889925956726,
0.2833862006664276,
0.061880066990852356,
-0.28827741742134094,
0.2918896973133087,
0.10368290543556213,
-0.09512057900428772,
0.024364499375224113,
0.0019367840141057968,
0.529742956161499,
-0.22256609797477722,
-0.19395780563354492,
-0.09203784912824631,
0.11307615786790848,
-0.15548810362815857,
-0.30304068326950073,
-0.10457257926464081,
-0.17483031749725342,
-0.178548201918602,
-0.28519174456596375,
0.16015195846557617,
0.01735944300889969,
-0.3412758409976959,
0.2080584466457367,
0.25936704874038696,
-0.1455937623977661,
0.257159024477005,
0.2816723585128784,
-0.1585879921913147,
0.04497489333152771,
0.24410825967788696,
0.10890252888202667,
-0.461335152387619,
0.29779112339019775,
0.4687359929084778,
-0.20474106073379517,
-0.3268459439277649,
-0.32451608777046204,
-0.1668381243944168,
-0.2777346968650818,
-0.09718753397464752,
0.18314824998378754,
-0.2413516342639923,
0.048864882439374924,
0.263670414686203,
0.3334892988204956,
0.1942247748374939,
0.02767377719283104,
-0.1031775176525116,
-0.19914782047271729,
0.07999367266893387,
-0.23334629833698273,
0.10950834304094315,
0.010601557791233063,
0.1481609046459198,
0.09065984934568405,
0.13694141805171967,
-0.5098272562026978,
0.00133219244889915,
0.03219647705554962,
-0.1800953894853592,
-0.01932082697749138,
-0.3365173935890198,
-0.05856938287615776,
-0.11749550700187683,
0.21565620601177216,
-0.05070143938064575,
-0.15580341219902039,
-0.3780559301376343,
-0.19907425343990326,
0.09615153074264526,
-0.07903674989938736,
0.035750970244407654,
0.11844341456890106,
0.06343227624893188,
0.041071295738220215,
0.10098672658205032,
0.2178908735513687,
0.31171715259552,
0.09496700018644333,
0.04902276396751404,
-0.14543502032756805,
-0.2813730239868164,
0.3790167570114136,
-0.002232946455478668,
0.03245976194739342,
0.006073221564292908,
0.08344145864248276,
0.016449589282274246,
-0.034716926515102386,
-0.0203404501080513,
0.18159638345241547,
0.40510237216949463,
0.16782554984092712,
0.2308516502380371,
0.02034759894013405,
0.164113849401474,
-0.10451929271221161,
0.38078099489212036,
-0.19276101887226105,
-0.317074716091156,
-0.05970199406147003,
-0.13393904268741608,
-0.20309633016586304,
0.3534931242465973,
-0.48494699597358704,
-0.17977504432201385,
-0.009466808289289474,
0.17851319909095764,
0.1269882619380951,
0.12139805406332016,
0.4179602861404419,
0.04716448485851288,
0.08096028119325638,
0.09763843566179276,
0.3344087302684784,
-0.24120987951755524,
-0.11428387463092804,
-0.004866559058427811,
0.22789333760738373,
-0.11083932220935822,
-0.118825264275074,
0.34897109866142273,
0.2673996686935425,
-0.17274110019207,
-0.024431712925434113,
0.14874939620494843,
-0.013089116662740707,
0.2514118254184723,
0.39527007937431335,
0.053028654307127,
0.25093787908554077,
0.20945286750793457,
0.1447480320930481,
0.24467530846595764,
0.16454821825027466,
0.44187381863594055,
0.5188908576965332,
-0.09205135703086853,
-0.047869592905044556,
0.30864185094833374,
-0.012114815413951874,
-0.21445685625076294,
-0.3662443161010742,
-0.15571680665016174,
-0.3725655674934387,
-0.33335578441619873,
-0.10563482344150543,
0.10671227425336838,
0.27522045373916626,
-0.08308501541614532,
0.11899545043706894,
-0.22572889924049377,
0.0540933758020401,
0.20051023364067078,
0.22162899374961853,
-0.1693563163280487,
0.2730739414691925,
0.1126307025551796,
-0.011319652199745178,
0.3106685280799866,
0.4625348448753357,
0.40745270252227783,
-0.1355503648519516,
0.07331667840480804,
-0.024507448077201843,
-0.4439846873283386,
-0.1523755043745041,
-0.12303842604160309,
0.1964578479528427,
0.19101068377494812,
-0.13919760286808014,
0.38203001022338867,
0.22165440022945404,
-0.2278258502483368,
0.12161189317703247,
0.05716262757778168,
-0.34739071130752563,
0.028945542871952057,
0.011018380522727966,
-0.08618403971195221,
0.021926432847976685,
-0.09245380759239197,
0.23014137148857117,
-0.22236868739128113,
0.05385589599609375,
0.3591843843460083,
-0.18499398231506348,
-0.0838170275092125,
0.14058884978294373,
0.16086485981941223,
-0.09252028167247772,
0.095749631524086,
0.5441212058067322,
0.08552061766386032,
-0.0714191272854805,
-0.05764138698577881,
-0.30613529682159424,
0.2435712218284607,
0.11594134569168091,
-0.055658191442489624,
0.07073511928319931,
-0.0005545467138290405,
0.3331013023853302,
0.10930060595273972,
-0.07133796811103821,
0.0372493714094162,
-0.2677500545978546,
0.03548996150493622,
-0.4806913733482361,
0.16152340173721313,
0.25756508111953735,
0.0987803190946579,
-0.0019959397614002228,
0.17560186982154846,
-0.1971772164106369,
0.28201115131378174,
0.19822898507118225,
-0.46321141719818115,
0.015261083841323853,
-0.011471224948763847,
-0.13308660686016083,
-0.1617695838212967,
0.20441152155399323,
0.36169853806495667,
-0.2048712968826294,
-0.11798663437366486,
-0.04834790155291557,
-0.4750310480594635,
-0.10030578821897507,
0.28634217381477356,
-0.0007375515997409821,
0.2644277811050415,
0.05184675753116608,
-0.3618207275867462,
0.35714566707611084,
0.021162142977118492,
0.03542099893093109,
-0.15313482284545898,
-0.5680055022239685,
0.4435119926929474,
-0.0379805751144886,
0.15291351079940796,
0.00007775332778692245,
0.24056389927864075,
0.08783823251724243,
-0.024710722267627716,
0.05712054669857025,
-0.6042079925537109,
0.43178021907806396,
-0.04805796220898628,
-0.16939890384674072,
0.019191700965166092,
0.18761752545833588,
-0.16916653513908386,
0.034827329218387604,
-0.7300875186920166,
-0.11697186529636383,
0.26552197337150574,
-0.03941619396209717,
0.09245289862155914,
0.23214776813983917,
0.2379315346479416,
-0.12491205334663391,
-0.1324487030506134,
0.26939743757247925,
0.07332397997379303,
0.029936006292700768,
-0.24652621150016785,
-0.20176367461681366
] |
https://github.com/huggingface/datasets/issues/1627 | `Dataset.map` disable progress bar | Progress bar can be disabled like this:
```python
from datasets.utils.logging import set_verbosity_error
set_verbosity_error()
```
There is this line in `Dataset.map`:
```python
not_verbose = bool(logger.getEffectiveLevel() > WARNING)
```
So any logging level higher than `WARNING` turns off the progress bar. | I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that? | 39 | `Dataset.map` disable progress bar
I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that?
Progress bar can be disabled like this:
```python
from datasets.utils.logging import set_verbosity_error
set_verbosity_error()
```
There is this line in `Dataset.map`:
```python
not_verbose = bool(logger.getEffectiveLevel() > WARNING)
```
So any logging level higher than `WARNING` turns off the progress bar. | [
-0.3458341956138611,
-0.31814825534820557,
-0.05070168524980545,
-0.18781761825084686,
0.3254142999649048,
-0.00022193044424057007,
0.23117807507514954,
0.15339916944503784,
-0.3758894205093384,
0.2149728238582611,
0.1782129853963852,
0.6198930144309998,
-0.20778530836105347,
0.08135075867176056,
-0.12505634129047394,
0.05414782464504242,
-0.09379775077104568,
0.28804272413253784,
-0.44471147656440735,
0.16689105331897736,
-0.12052901089191437,
-0.026863371953368187,
-0.41998130083084106,
0.11331156641244888,
-0.09804969280958176,
-0.08746669441461563,
0.457766056060791,
-0.21001791954040527,
0.11117784678936005,
-0.5028156042098999,
0.12555430829524994,
0.5249207019805908,
-0.10224707424640656,
0.29636573791503906,
-0.0001341136230621487,
0.024378478527069092,
0.33348625898361206,
0.11614547669887543,
0.05768078193068504,
0.2084130048751831,
-0.3663836121559143,
-0.3946355879306793,
0.33815914392471313,
-0.1342763453722,
0.07320870459079742,
-0.17253988981246948,
-0.2612758278846741,
-0.5232917666435242,
0.4219363331794739,
-0.07769602537155151,
-0.036538321524858475,
0.5038113594055176,
-0.46776458621025085,
0.5086692571640015,
-0.07450222223997116,
0.08102738857269287,
-0.3309802711009979,
-0.09992983937263489,
0.5109072923660278,
-0.014143740758299828,
-0.23878315091133118,
0.3522941470146179,
-0.29595544934272766,
0.15424932539463043,
0.258466511964798,
-0.08268597722053528,
0.6052771210670471,
-0.521735429763794,
0.25378575921058655,
0.1346682906150818,
0.5032683610916138,
-0.5142661333084106,
-0.10393883287906647,
-0.14594610035419464,
-0.04857831448316574,
0.05449845641851425,
0.14872273802757263,
-0.3223779499530792,
-0.36468952894210815,
0.16250163316726685,
-0.988785445690155,
-0.36624419689178467,
-0.09185458719730377,
-0.060170263051986694,
-0.12029187381267548,
0.04364807531237602,
-0.0014368370175361633,
0.04603986442089081,
0.11003285646438599,
-0.015139173716306686,
0.20325292646884918,
0.009032851085066795,
-0.08877143263816833,
0.25801631808280945,
-0.255309522151947,
-0.351219117641449,
0.1488700807094574,
-0.04207240045070648,
0.028852656483650208,
0.3671565055847168,
-0.14672857522964478,
0.2798498868942261,
0.02951696515083313,
0.11891220510005951,
0.1812521517276764,
0.0157955139875412,
0.4012874662876129,
-0.010917923413217068,
0.3395792245864868,
-0.45462027192115784,
0.05087752267718315,
0.3440842926502228,
0.4707217514514923,
-0.5852708220481873,
0.5751400589942932,
0.3569723963737488,
0.20220041275024414,
-0.10908572375774384,
0.1236841008067131,
0.016916543245315552,
0.28795546293258667,
-0.0798744410276413,
0.20361652970314026,
0.025617405772209167,
0.2679225206375122,
-0.1138719692826271,
-0.2338976263999939,
0.0312829315662384,
-0.17879557609558105,
-0.1378447562456131,
0.11075293272733688,
-0.2916526198387146,
-0.2107669711112976,
0.11035984009504318,
0.027511481195688248,
0.20050349831581116,
-0.014857910573482513,
0.052561186254024506,
0.04562060534954071,
0.07953472435474396,
0.45266854763031006,
-0.051011741161346436,
0.548970103263855,
0.6221914291381836,
-0.256961852312088,
0.18886509537696838,
0.05754644051194191,
0.26225173473358154,
-0.413228303194046,
0.479164719581604,
0.1666654348373413,
-0.27827540040016174,
-0.03732229024171829,
-0.10183003544807434,
-0.14096426963806152,
0.17847879230976105,
-0.48760345578193665,
0.24153214693069458,
0.22389134764671326,
0.08738189935684204,
0.38781508803367615,
-0.17321763932704926,
-0.3146272599697113,
-0.06295237690210342,
0.262042373418808,
0.4065774083137512,
-0.30151647329330444,
-0.2856300473213196,
-0.11734700202941895,
-0.24161240458488464,
0.05049801990389824,
-0.1054372638463974,
-0.20113879442214966,
0.28155750036239624,
-0.016780929639935493,
-0.07039949297904968,
0.3614419102668762,
-0.23437903821468353,
-0.3531351685523987,
0.41103389859199524,
-0.04786025360226631,
-0.07190337777137756,
-0.0759117379784584,
0.24481695890426636,
0.047488320618867874,
-0.07252069562673569,
-0.18606194853782654,
0.09206473082304001,
0.030761051923036575,
0.07732143253087997,
0.14977559447288513,
-0.18750664591789246,
0.23417802155017853,
-0.0015332717448472977,
0.12414532899856567,
0.2763521373271942,
0.13995739817619324,
-0.420554518699646,
0.18933455646038055,
0.2317565530538559,
0.1503295600414276,
0.35515326261520386,
-0.1651834398508072,
-0.40155160427093506,
-0.1150018647313118,
-0.26288965344429016,
-0.22998228669166565,
0.07863406836986542,
-0.061730243265628815,
-0.14734028279781342,
-0.16880039870738983,
-0.24426981806755066,
-0.06554171442985535,
0.06734246015548706,
-0.129970520734787,
0.29826754331588745,
-0.13440273702144623,
-0.5122271776199341,
0.03675873205065727,
-0.14992454648017883,
-0.38692396879196167,
0.21677258610725403,
0.19451500475406647,
0.10121087729930878,
0.16969256103038788,
0.050269871950149536,
0.4599851369857788,
-0.11364904046058655,
-0.08034734427928925,
0.13882136344909668,
0.04870311915874481,
0.08295498043298721,
-0.0290943905711174,
0.364970862865448,
0.10313774645328522,
0.252363920211792,
0.1710757613182068,
0.397409588098526,
0.03768729791045189,
-0.2247939109802246,
-0.10371141880750656,
0.20837374031543732,
-0.41886666417121887,
0.18209269642829895,
0.19958102703094482,
0.1599496454000473,
-0.17943966388702393,
0.23463016748428345,
-0.18047353625297546,
0.14075586199760437,
0.14449040591716766,
-0.08886673301458359,
-0.47314825654029846,
-0.30310654640197754,
0.06848497688770294,
0.34226134419441223,
0.3420711159706116,
-0.0974302887916565,
0.24732407927513123,
-0.00837419182062149,
0.32446128129959106,
0.14240577816963196,
0.21366822719573975,
-0.19833165407180786,
-0.34557297825813293,
0.21949344873428345,
-0.04596228897571564,
0.17145676910877228,
0.4166843295097351,
0.012521114200353622,
0.3845881223678589,
0.24532999098300934,
-0.15307816863059998,
0.0026160161942243576,
-0.062106482684612274,
0.3627317547798157,
0.07303719222545624,
0.05455724149942398,
-0.09628830850124359,
-0.12597553431987762,
-0.2269727885723114,
-0.21557296812534332,
-0.12287189066410065,
0.04080745577812195,
-0.1454327255487442,
0.1795249879360199,
-0.3290635943412781,
-0.007762446999549866,
0.0007106801494956017,
-0.14326785504817963,
-0.4804578423500061,
-0.13543985784053802,
0.2090538591146469,
0.05309247598052025,
-0.05288701876997948,
0.5098965764045715,
0.12428748607635498,
0.13999222218990326,
0.03017529286444187,
-0.2715522050857544,
-0.28545886278152466,
-0.2685709595680237,
0.3451518416404724,
-0.1722872108221054,
-0.08656524121761322,
-0.20583446323871613,
0.11001534014940262,
-0.18521356582641602,
0.13965480029582977,
-0.21644164621829987,
0.04353095591068268,
0.1771794855594635,
0.0013084746897220612,
0.08813633024692535,
-0.05939804017543793,
0.10970716923475266,
0.01036977767944336,
0.5180323719978333,
-0.09426161646842957,
-0.0591810941696167,
0.09951552748680115,
-0.12634484469890594,
-0.03158164396882057,
0.08438479155302048,
-0.12177589535713196,
0.3325325548648834,
-0.10456415265798569,
-0.09941883385181427,
-0.08349701762199402,
-0.3843750059604645,
0.050282396376132965,
0.1206875592470169,
-0.16465550661087036,
-0.05170170217752457,
-0.1406530886888504,
-0.19261695444583893,
0.13430599868297577,
-0.48989900946617126,
0.3091023862361908,
-0.14702028036117554,
0.1182011067867279,
0.08016622066497803,
0.16742642223834991,
0.11824323236942291,
0.2631872892379761,
-0.3549214005470276,
0.028355944901704788,
-0.17273125052452087,
-0.002367369830608368,
-0.21318069100379944,
0.0833468958735466,
0.3554985225200653,
0.195270374417305,
0.06048974394798279,
-0.05586438998579979,
-0.10409727692604065,
-0.056738875806331635,
0.06316660344600677,
0.0698355883359909,
0.034459829330444336,
-0.04738200455904007,
-0.23664292693138123,
0.6141842007637024,
0.09199896454811096,
-0.09191279113292694,
-0.10338668525218964,
0.009051045402884483,
0.1637832671403885,
0.1960848867893219,
-0.0705556645989418,
-0.5262030363082886,
0.01438876986503601,
-0.045922018587589264,
-0.03228220343589783,
0.12145226448774338,
-0.06317555904388428,
0.04502067714929581,
-0.050489507615566254,
0.11694218963384628,
-0.24030110239982605,
-0.1419677883386612,
-0.4802061915397644,
0.4614349901676178,
-0.015753906220197678,
0.22694802284240723,
-0.2995600998401642,
0.10650132596492767,
0.10621301829814911,
0.24548432230949402,
0.32973581552505493,
-0.24374985694885254,
-0.0746302679181099,
-0.044657718390226364,
-0.3279978036880493,
0.23836621642112732,
0.09333542734384537,
0.03166772425174713,
-0.0943402573466301,
-0.026582814753055573,
0.1586088240146637,
0.24833618104457855,
0.3697468638420105,
-0.40774065256118774,
0.25930923223495483,
0.16661067306995392,
-0.20872695744037628,
-0.2014462947845459,
-0.046393875032663345,
0.1423129141330719,
0.4433344006538391,
0.2257811725139618,
0.16260859370231628,
0.1485942304134369,
-0.2219478189945221,
-0.057801634073257446,
0.04102237522602081,
-0.3618222773075104,
-0.31291013956069946,
-0.5531742572784424,
-0.04248186945915222,
-0.06294073164463043,
0.17486682534217834,
0.07016454637050629,
-0.3610954284667969,
-0.16324275732040405,
-0.29493194818496704,
-0.06108298897743225,
-0.32101044058799744,
0.0023081228137016296,
0.43097740411758423,
0.0183989480137825,
0.02231842279434204,
-0.10538731515407562,
0.21956034004688263,
-0.11724783480167389,
-0.1520589292049408,
-0.03621506690979004,
0.28929418325424194,
-0.15509270131587982,
0.07413432747125626,
-0.24779406189918518,
0.3164277672767639,
-0.08285917341709137,
-0.25518903136253357,
0.2867896556854248,
0.008752048946917057,
0.23706330358982086,
-0.27472472190856934,
-0.06445614248514175,
0.3154395520687103,
0.10040880739688873,
-0.33067744970321655,
0.04420683532953262,
0.27547046542167664,
0.13312779366970062,
-0.12231934815645218,
0.1277172714471817,
-0.16907121241092682,
-0.18334265053272247,
-0.35258281230926514,
0.2918332815170288,
0.7135697603225708,
-0.43192076683044434,
-0.14465416967868805,
-0.3559747040271759,
0.008892856538295746,
0.18571516871452332,
-0.08899502456188202,
0.2825491428375244,
-0.14818696677684784,
-0.36730852723121643,
-0.2275436818599701,
-0.30261585116386414,
0.4402596056461334,
0.3619305491447449,
-0.15238291025161743,
0.0919799655675888,
-0.19030115008354187,
0.09562872350215912,
-0.1654457300901413,
-0.23925140500068665,
0.24740295112133026,
-0.2798160910606384,
-0.3376830816268921,
-0.0935482382774353,
0.03621883690357208,
0.15865959227085114,
-0.07397166639566422,
0.17442578077316284,
0.29332441091537476,
0.16522836685180664,
-0.22261914610862732,
-0.208199143409729,
0.12400148063898087,
0.1661003679037094,
0.27096718549728394,
-0.3187803626060486,
0.3715473711490631,
0.11752964556217194,
0.5764488577842712,
0.1615431159734726,
-0.12305960059165955,
0.0815666988492012,
0.2311413288116455,
0.21432305872440338,
-0.1447824388742447,
0.2635619640350342,
0.1395493745803833,
-0.05011846125125885,
-0.12516307830810547,
0.3880836069583893,
0.0825444906949997,
-0.376578152179718,
0.09794597327709198,
0.04494818300008774,
0.3170093297958374,
-0.04572335630655289,
0.5854789018630981,
0.2599981427192688,
0.4253350496292114,
-0.032994870096445084,
-0.06442323327064514,
0.27724623680114746,
-0.019904864951968193,
0.6531317234039307,
-0.2949051558971405,
-0.4707323908805847,
0.0545516312122345,
-0.03166450560092926,
0.061584778130054474,
-0.1299026906490326,
0.15897797048091888,
0.03803255781531334,
-0.17935866117477417,
-0.21405619382858276,
0.0968191996216774,
-0.05295625701546669,
-0.2472255825996399,
0.2621440887451172,
0.23970378935337067,
0.12602384388446808,
-0.11000115424394608,
0.16425174474716187,
-0.3169593811035156,
0.09665460139513016,
-0.5039530396461487,
-0.10025644302368164,
-0.5480382442474365,
-0.03173261135816574,
-0.12394930422306061,
0.2156190276145935,
0.0691368505358696,
0.2939619719982147,
0.13577382266521454,
-0.05528539419174194,
-0.06057793274521828,
-0.29185742139816284,
-0.19005005061626434,
0.10288384556770325,
0.2943025827407837,
0.2551986873149872,
-0.05629407614469528,
-0.13305658102035522,
-0.29160603880882263,
-0.1227191835641861,
-0.28878042101860046,
-0.036020390689373016,
-0.11811591684818268,
0.2696971595287323,
-0.12209690362215042,
-0.3067595660686493,
-0.005685420706868172,
-0.061339184641838074,
-0.08334055542945862,
-0.10337474942207336,
0.20956097543239594,
0.14203697443008423,
0.216864213347435,
0.4606216847896576,
0.09343761205673218,
-0.09804760664701462,
-0.46939486265182495,
-0.1366826444864273,
0.21189554035663605,
0.19917228817939758,
0.0767970085144043,
0.2837648391723633,
0.04226679727435112,
0.10529616475105286,
-0.16420407593250275,
0.1334049105644226,
0.4515683650970459,
0.10654892772436142,
0.1396983116865158,
-0.0659106969833374,
0.11603198945522308,
-0.11089092493057251,
0.16326797008514404,
0.004991449415683746,
-0.2694738209247589,
-0.45462512969970703,
-0.025795206427574158,
-0.0599919930100441,
-0.10778782516717911,
-0.3891783654689789,
0.35271498560905457,
0.02813752368092537,
0.1355990469455719,
0.35332614183425903,
-0.21319852769374847,
0.4176567792892456,
0.3382108211517334,
0.14074167609214783,
0.08049376308917999,
-0.2204902172088623,
-0.031242650002241135,
0.3701891005039215,
0.17103159427642822,
0.08874131739139557,
0.5669944286346436,
0.6067852973937988,
0.05317770689725876,
0.13925525546073914,
0.11548073589801788,
0.3828786611557007,
0.15801040828227997,
0.14145250618457794,
-0.31689268350601196,
-0.1274825483560562,
-0.09636886417865753,
-0.009729146957397461,
-0.260093629360199,
-0.06681831926107407,
0.19621190428733826,
-0.25956404209136963,
0.07257295399904251,
-0.13589070737361908,
-0.1593063920736313,
0.3143872022628784,
0.09492973238229752,
-0.3213035762310028,
0.42965108156204224,
0.16117015480995178,
0.1368112415075302,
0.01689063012599945,
0.04106122627854347,
0.15977543592453003,
0.4636189639568329,
-0.0748363733291626,
0.3082239329814911,
0.019969813525676727,
0.20717492699623108,
0.07325221598148346,
0.10554958879947662,
-0.02123728021979332,
-0.44325125217437744,
-0.42407917976379395,
0.4105764925479889,
0.17806033790111542,
0.19959405064582825,
-0.05919825658202171,
0.10313177853822708,
-0.3407038748264313,
-0.10462021827697754,
-0.14144840836524963,
0.09070537239313126,
-0.2635654807090759,
0.3098531663417816,
-0.21037989854812622,
0.13719606399536133,
-0.0053019337356090546,
-0.12273892760276794,
0.13736571371555328,
-0.15336817502975464,
-0.07795973122119904,
0.38198792934417725,
-0.24432049691677094,
0.6768485307693481,
0.31963518261909485,
-0.20336058735847473,
0.04860418289899826,
0.14905889332294464,
-0.10841414332389832,
-0.19079475104808807,
0.5342122912406921,
-0.12826566398143768,
-0.029631439596414566,
-0.07151518762111664,
-0.044548943638801575,
-0.2661738693714142,
0.5012584924697876,
0.19110777974128723,
0.4887460470199585,
-0.1981479972600937,
-0.13378646969795227,
-0.6350818872451782,
-0.03760542720556259,
0.42336228489875793,
-0.13821682333946228,
0.2652040123939514,
-0.06546095013618469,
0.0015621930360794067,
0.545061469078064,
0.5351591110229492,
-0.28669124841690063,
-0.17608848214149475,
-0.24134311079978943,
0.004928145557641983,
0.10902245342731476,
-0.2878255844116211,
0.14912647008895874,
-0.2585896849632263,
-0.19850406050682068,
0.27690988779067993,
0.24399399757385254,
-0.1533011794090271,
0.10967119038105011,
-0.2206154316663742,
0.2532631456851959,
0.09405678510665894,
0.2637476325035095,
0.038215525448322296,
0.0974494218826294,
0.07152683287858963,
-0.0023836754262447357,
0.11344045400619507,
-0.03385696932673454,
-0.05485079064965248,
0.10857627540826797,
-0.015014391392469406,
0.002987593412399292,
-0.39703503251075745,
0.360434353351593,
-0.24246257543563843,
-0.03262469917535782,
0.1972200572490692,
0.19988320767879486,
-0.04877421259880066,
-0.0447782538831234,
0.14103087782859802,
0.18028587102890015,
-0.07110533863306046,
0.046282678842544556,
0.25302544236183167,
0.5813789367675781,
-0.1706368625164032,
0.0019504036754369736,
0.15940624475479126,
-0.3025982975959778,
-0.44529518485069275,
-0.25261425971984863,
0.3208005428314209,
-0.09664607793092728,
-0.3266310393810272,
-0.5128281712532043,
-0.1314958781003952,
0.14361199736595154,
-0.19417032599449158,
-0.2234552502632141,
0.28817111253738403,
-0.4045100808143616,
0.12137474119663239,
-0.001225098967552185,
0.3339448869228363,
0.012128066271543503,
0.36690667271614075,
-0.4686106741428375,
-0.0919874906539917
] |
https://github.com/huggingface/datasets/issues/1627 | `Dataset.map` disable progress bar | From the linked issues above, an up-to-date solution is:
```python
from datasets.utils.logging import disable_progress_bar
disable_progress_bar()
```
https://github.com/huggingface/datasets/blob/c6e08fcfc3a04e53430c26fa7c07da4cb18d977d/src/datasets/utils/logging.py#L233-L236 | I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that? | 17 | `Dataset.map` disable progress bar
I can't find anything to turn off the `tqdm` progress bars while running a preprocessing function using `Dataset.map`. I want to do akin to `disable_tqdm=True` in the case of `transformers`. Is there something like that?
From the linked issues above, an up-to-date solution is:
```python
from datasets.utils.logging import disable_progress_bar
disable_progress_bar()
```
https://github.com/huggingface/datasets/blob/c6e08fcfc3a04e53430c26fa7c07da4cb18d977d/src/datasets/utils/logging.py#L233-L236 | [
-0.37022754549980164,
-0.22095642983913422,
-0.054708220064640045,
-0.2880571484565735,
0.3272436857223511,
-0.044213756918907166,
0.3078070282936096,
0.1528039127588272,
-0.40020933747291565,
0.16308408975601196,
0.13180799782276154,
0.5952814817428589,
-0.18850359320640564,
0.14950205385684967,
-0.08733360469341278,
0.1216295063495636,
-0.0266936793923378,
0.27826815843582153,
-0.5297191143035889,
0.18215548992156982,
-0.11344972252845764,
0.007443304173648357,
-0.4123801589012146,
0.08637695014476776,
-0.18175122141838074,
-0.038879163563251495,
0.47786828875541687,
-0.2343941628932953,
0.15190178155899048,
-0.4586438536643982,
0.1326584666967392,
0.5078456401824951,
-0.15854397416114807,
0.31578072905540466,
-0.00013366271741688251,
0.044232726097106934,
0.3345322608947754,
0.11827920377254486,
0.036141037940979004,
0.18059495091438293,
-0.39686569571495056,
-0.38685110211372375,
0.3498465120792389,
-0.10370098054409027,
0.10842954367399216,
-0.13263441622257233,
-0.26917487382888794,
-0.5062344074249268,
0.4119213819503784,
-0.05862397700548172,
-0.022056926041841507,
0.49650850892066956,
-0.5113198161125183,
0.4443608224391937,
-0.05132237821817398,
0.2262246161699295,
-0.32226142287254333,
-0.1604703813791275,
0.5232597589492798,
-0.11055918782949448,
-0.25139138102531433,
0.3731246292591095,
-0.28216543793678284,
0.09871412813663483,
0.24449408054351807,
-0.07208472490310669,
0.5552653074264526,
-0.5081754922866821,
0.2424946427345276,
0.1442231833934784,
0.44345471262931824,
-0.5271138548851013,
-0.12727274000644684,
-0.2061811089515686,
-0.05790522322058678,
0.04222895950078964,
0.15358445048332214,
-0.32201191782951355,
-0.32715466618537903,
0.15241895616054535,
-1.0259668827056885,
-0.3573947846889496,
-0.07063333690166473,
-0.08403363823890686,
-0.17085902392864227,
-0.0200817808508873,
0.020578056573867798,
0.009429242461919785,
0.09444963932037354,
-0.019657548516988754,
0.21483542025089264,
0.008795876055955887,
-0.0886853039264679,
0.24483463168144226,
-0.3385299742221832,
-0.29894888401031494,
0.1529821902513504,
-0.02342545986175537,
0.03649105131626129,
0.3879854679107666,
-0.15440158545970917,
0.2674729526042938,
0.0019673770293593407,
0.10225562006235123,
0.16336078941822052,
0.051664236932992935,
0.36721307039260864,
0.03189456835389137,
0.35064446926116943,
-0.4354054629802704,
0.03064468875527382,
0.31942427158355713,
0.5277059078216553,
-0.5653712749481201,
0.5216540098190308,
0.34227001667022705,
0.22293713688850403,
-0.0852484405040741,
0.10899285227060318,
0.04851217195391655,
0.3508542776107788,
-0.019498135894536972,
0.23550523817539215,
0.005365811288356781,
0.3177332580089569,
-0.07957501709461212,
-0.1828916072845459,
0.0867961123585701,
-0.21148253977298737,
-0.1496516913175583,
0.07130492478609085,
-0.2917686998844147,
-0.19755475223064423,
0.11243205517530441,
0.06811422109603882,
0.1924196481704712,
0.0031854482367634773,
0.07684961706399918,
0.1274929940700531,
0.12759284675121307,
0.4022185504436493,
-0.07349139451980591,
0.5451286435127258,
0.6730462908744812,
-0.2820335030555725,
0.1627398133277893,
0.05452743172645569,
0.2896517515182495,
-0.35967308282852173,
0.47687235474586487,
0.18435326218605042,
-0.2628236413002014,
-0.003011254593729973,
-0.08791599422693253,
-0.1903800666332245,
0.152995303273201,
-0.4438875615596771,
0.26557737588882446,
0.22356966137886047,
0.11122488975524902,
0.35807740688323975,
-0.18094579875469208,
-0.3098964989185333,
-0.02661946415901184,
0.29925110936164856,
0.4170567989349365,
-0.30107733607292175,
-0.27256080508232117,
-0.1716543585062027,
-0.24544894695281982,
0.04800911247730255,
-0.15881380438804626,
-0.16244521737098694,
0.2808327078819275,
-0.02020604908466339,
-0.039776675403118134,
0.33816656470298767,
-0.20036283135414124,
-0.31885284185409546,
0.36061492562294006,
-0.037919458001852036,
-0.06785045564174652,
-0.09879837185144424,
0.2320512980222702,
0.1071837842464447,
-0.09707099199295044,
-0.1815589964389801,
0.13303381204605103,
0.012058451771736145,
0.1262238472700119,
0.13977423310279846,
-0.18402501940727234,
0.18299870193004608,
0.054181378334760666,
0.13984887301921844,
0.204116091132164,
0.10794635117053986,
-0.436479777097702,
0.14732252061367035,
0.2074829787015915,
0.16482020914554596,
0.3164268136024475,
-0.09291869401931763,
-0.3869052529335022,
-0.10443784296512604,
-0.24254456162452698,
-0.3097858130931854,
0.07834949344396591,
-0.04868248850107193,
-0.18486684560775757,
-0.23340918123722076,
-0.27290529012680054,
-0.0391150638461113,
0.0975036770105362,
-0.11748474836349487,
0.2988833487033844,
-0.11585506796836853,
-0.5288597345352173,
0.009726792573928833,
-0.0833696648478508,
-0.3266095221042633,
0.21187187731266022,
0.24458704888820648,
0.10443089157342911,
0.20129387080669403,
0.1194438636302948,
0.4849075973033905,
-0.0890827476978302,
-0.10148243606090546,
0.16433008015155792,
0.04588009789586067,
0.1005168929696083,
-0.04370656982064247,
0.3911261558532715,
0.09233603626489639,
0.2873144745826721,
0.17232505977153778,
0.4749116897583008,
0.0892115980386734,
-0.18755361437797546,
-0.1025133952498436,
0.18451844155788422,
-0.40729644894599915,
0.11737034469842911,
0.17777088284492493,
0.17946714162826538,
-0.15138524770736694,
0.24053791165351868,
-0.19955140352249146,
0.15215246379375458,
0.1483181118965149,
-0.10599953681230545,
-0.45348402857780457,
-0.32134297490119934,
0.05636229366064072,
0.29811936616897583,
0.31315141916275024,
-0.09649258852005005,
0.2196647822856903,
0.03274950385093689,
0.3148086965084076,
0.16789551079273224,
0.16609758138656616,
-0.18709400296211243,
-0.34064191579818726,
0.24719902873039246,
-0.02698289044201374,
0.18161195516586304,
0.42463672161102295,
0.018024992197752,
0.39032599329948425,
0.2678815424442291,
-0.14614540338516235,
-0.02358326129615307,
-0.04111730307340622,
0.36738163232803345,
0.07279886305332184,
0.07597829401493073,
-0.057367607951164246,
-0.17449218034744263,
-0.23948371410369873,
-0.18972201645374298,
-0.1113569512963295,
-0.005151672288775444,
-0.17829646170139313,
0.163284033536911,
-0.354280561208725,
-0.012907503172755241,
-0.0030262963846325874,
-0.1495913416147232,
-0.44122934341430664,
-0.2013327181339264,
0.25072842836380005,
0.10683465003967285,
-0.14559964835643768,
0.5175385475158691,
0.10663571953773499,
0.1450163722038269,
0.06371411681175232,
-0.30567947030067444,
-0.32294797897338867,
-0.2426886409521103,
0.3510149121284485,
-0.17225317656993866,
-0.08237766474485397,
-0.19593006372451782,
0.15463969111442566,
-0.16657550632953644,
0.16325120627880096,
-0.25152286887168884,
-0.03043987601995468,
0.18019568920135498,
0.01880103349685669,
0.08065591007471085,
-0.02439749240875244,
0.06432446837425232,
0.0327560156583786,
0.52189040184021,
-0.07060322910547256,
-0.0834033340215683,
0.08970742672681808,
-0.11420145630836487,
-0.026025356724858284,
0.09151563048362732,
-0.1990717053413391,
0.359650582075119,
-0.11498188227415085,
-0.16399438679218292,
-0.08528687059879303,
-0.4425283372402191,
0.039622701704502106,
0.12754815816879272,
-0.17787449061870575,
-0.07379189133644104,
-0.1417633593082428,
-0.22790494561195374,
0.13411910831928253,
-0.4279462993144989,
0.36996695399284363,
-0.13580068945884705,
0.1147097796201706,
0.07500381767749786,
0.16662657260894775,
0.04997267946600914,
0.32653236389160156,
-0.367079496383667,
-0.07460778206586838,
-0.1820579618215561,
0.0118497833609581,
-0.16366080939769745,
0.11352052539587021,
0.3070892095565796,
0.17947402596473694,
0.06316528469324112,
-0.081019327044487,
-0.07566612958908081,
0.00570041686296463,
0.017628636211156845,
0.0540042519569397,
0.04431180655956268,
-0.033356353640556335,
-0.19879162311553955,
0.660365641117096,
0.11614350974559784,
-0.11047524213790894,
-0.12326423823833466,
-0.010213879868388176,
0.22045555710792542,
0.11012023687362671,
-0.06910664588212967,
-0.5685107111930847,
-0.00354728102684021,
-0.07086403667926788,
-0.02699977159500122,
0.12455356121063232,
-0.04044347256422043,
0.046472176909446716,
0.06302021443843842,
0.09558344632387161,
-0.30220088362693787,
-0.11234864592552185,
-0.5034845471382141,
0.49350491166114807,
-0.018449191004037857,
0.25687897205352783,
-0.2510681450366974,
0.061531007289886475,
0.11436621844768524,
0.23682984709739685,
0.33233335614204407,
-0.2677227556705475,
-0.08657916635274887,
-0.024606365710496902,
-0.44734400510787964,
0.2528238594532013,
0.07260523736476898,
0.0700223296880722,
-0.10882727056741714,
-0.10446169972419739,
0.14061866700649261,
0.26606449484825134,
0.413967490196228,
-0.37252330780029297,
0.2428552657365799,
0.16631190478801727,
-0.2537674903869629,
-0.14918695390224457,
-0.07787482440471649,
0.1450294703245163,
0.4107174575328827,
0.28221890330314636,
0.24010957777500153,
0.1290876567363739,
-0.24286647140979767,
-0.10680711269378662,
0.02301771193742752,
-0.3382742702960968,
-0.32238635420799255,
-0.5220999717712402,
-0.05793819576501846,
-0.027766134589910507,
0.1739536076784134,
0.12697860598564148,
-0.3707171380519867,
-0.2378237545490265,
-0.2754687964916229,
-0.11848372220993042,
-0.3092508316040039,
0.03135792911052704,
0.3996981680393219,
0.0621224008500576,
0.016270475462079048,
-0.010745126754045486,
0.2622804641723633,
-0.13825201988220215,
-0.11656378209590912,
-0.006974395364522934,
0.27026277780532837,
-0.20947343111038208,
0.05127484351396561,
-0.271700918674469,
0.3168353736400604,
-0.006589025259017944,
-0.2236543446779251,
0.22911173105239868,
-0.022732865065336227,
0.22035828232765198,
-0.35006001591682434,
-0.03704686462879181,
0.2737308144569397,
0.10208072513341904,
-0.326386958360672,
0.06705906987190247,
0.28503963351249695,
0.12411685287952423,
-0.12346964329481125,
0.10408298671245575,
-0.1902204304933548,
-0.16198277473449707,
-0.36987048387527466,
0.26318061351776123,
0.6527931094169617,
-0.39708101749420166,
-0.1154455840587616,
-0.28980955481529236,
-0.03958836570382118,
0.13606472313404083,
-0.08283758163452148,
0.2579263746738434,
-0.19555455446243286,
-0.43748462200164795,
-0.18822145462036133,
-0.3381827473640442,
0.411966472864151,
0.3321092128753662,
-0.12377674877643585,
0.03151610493659973,
-0.19703635573387146,
0.1414569914340973,
-0.16938839852809906,
-0.25826090574264526,
0.29390186071395874,
-0.29832446575164795,
-0.2807260751724243,
-0.08080059289932251,
0.07293399423360825,
0.08030737936496735,
-0.09415476024150848,
0.15242302417755127,
0.2659483850002289,
0.1779927909374237,
-0.20299436151981354,
-0.19729232788085938,
0.1736094355583191,
0.1953555941581726,
0.3250458836555481,
-0.3152546286582947,
0.3836934566497803,
0.12206177413463593,
0.5908094644546509,
0.14986862242221832,
-0.10631532967090607,
0.11159929633140564,
0.24253517389297485,
0.3476957082748413,
-0.09410527348518372,
0.23120152950286865,
0.11638612300157547,
-0.0038467086851596832,
-0.06775131821632385,
0.2966972589492798,
0.05203476548194885,
-0.36688971519470215,
0.09557752311229706,
0.0008051842451095581,
0.26365476846694946,
-0.08954405784606934,
0.5978724360466003,
0.24122613668441772,
0.47072839736938477,
-0.03698842227458954,
-0.057992976158857346,
0.2826613485813141,
-0.012827993370592594,
0.660733163356781,
-0.35108044743537903,
-0.4405546486377716,
0.06122370436787605,
-0.003576032817363739,
0.012075856328010559,
-0.12175334990024567,
0.15176931023597717,
0.07528303563594818,
-0.22923780977725983,
-0.18515995144844055,
0.08898112922906876,
-0.0551673099398613,
-0.30181610584259033,
0.2841271162033081,
0.203596293926239,
0.08356347680091858,
-0.09024118632078171,
0.13879701495170593,
-0.37260931730270386,
0.04164138808846474,
-0.45113325119018555,
-0.11605946719646454,
-0.5531569719314575,
-0.024240650236606598,
-0.17707385122776031,
0.22982950508594513,
0.09586290270090103,
0.2764611840248108,
0.10566316545009613,
-0.04314705729484558,
-0.07330872118473053,
-0.2786199152469635,
-0.14203715324401855,
0.11952293664216995,
0.26216378808021545,
0.1941063106060028,
-0.012375530786812305,
-0.16074933111667633,
-0.27478593587875366,
-0.08947870880365372,
-0.3679297864437103,
-0.036534376442432404,
-0.11231297254562378,
0.2623291313648224,
-0.10377316921949387,
-0.31568700075149536,
0.04116503521800041,
-0.05268312990665436,
-0.0876666009426117,
-0.12795472145080566,
0.26911628246307373,
0.13427960872650146,
0.15137037634849548,
0.4126770794391632,
0.0756305679678917,
-0.09362757951021194,
-0.3827422857284546,
-0.1406152993440628,
0.2386854887008667,
0.179723858833313,
0.04303275793790817,
0.30246487259864807,
-0.008798372931778431,
0.11892810463905334,
-0.15366749465465546,
0.13433389365673065,
0.4369168281555176,
0.07817612588405609,
0.1443900763988495,
-0.054216451942920685,
0.09463533759117126,
-0.036488525569438934,
0.19173507392406464,
0.024650394916534424,
-0.3173306882381439,
-0.456660658121109,
0.03142265975475311,
-0.041395388543605804,
-0.11916229128837585,
-0.36620065569877625,
0.39195412397384644,
0.07341191172599792,
0.1266857534646988,
0.3348707854747772,
-0.09120644629001617,
0.39293065667152405,
0.34832924604415894,
0.1771988868713379,
0.06398376077413559,
-0.232375368475914,
0.019541315734386444,
0.3813559114933014,
0.10577987134456635,
0.13780905306339264,
0.5614296197891235,
0.5521806478500366,
-0.03702106326818466,
0.23259180784225464,
0.11208762973546982,
0.34176892042160034,
0.1592881679534912,
0.12646278738975525,
-0.3026970326900482,
-0.19310209155082703,
-0.10363428294658661,
-0.03651922941207886,
-0.2864721715450287,
-0.06474041193723679,
0.1636517345905304,
-0.2466593086719513,
0.07515235245227814,
-0.12066255509853363,
-0.202621728181839,
0.34820833802223206,
0.06589764356613159,
-0.28894197940826416,
0.4420202076435089,
0.16855475306510925,
0.12855106592178345,
0.025594089180231094,
0.06717922538518906,
0.15516355633735657,
0.522017240524292,
-0.09577080607414246,
0.3102765679359436,
0.03766442835330963,
0.19876304268836975,
0.05145712569355965,
0.1128656268119812,
-0.03879271447658539,
-0.4281514585018158,
-0.3612368106842041,
0.4041110873222351,
0.22415244579315186,
0.20433542132377625,
-0.04075628146529198,
0.11546311527490616,
-0.2822268009185791,
-0.14240208268165588,
-0.16197791695594788,
0.09032983332872391,
-0.2707764506340027,
0.3298278748989105,
-0.2033030390739441,
0.1321197748184204,
0.052669916301965714,
-0.12304699420928955,
0.13385948538780212,
-0.1469111293554306,
-0.10170300304889679,
0.39655330777168274,
-0.19802245497703552,
0.6986768245697021,
0.326611191034317,
-0.16263867914676666,
0.07248891144990921,
0.10053563117980957,
-0.07880955934524536,
-0.2291174679994583,
0.5751574635505676,
-0.12280911952257156,
0.014090973883867264,
-0.02961394563317299,
-0.039383940398693085,
-0.2355184257030487,
0.466222882270813,
0.19099341332912445,
0.38275817036628723,
-0.20021066069602966,
-0.17480729520320892,
-0.5996041297912598,
-0.06777303665876389,
0.4286397397518158,
-0.088202103972435,
0.28028783202171326,
-0.068479523062706,
0.00782591849565506,
0.4917551875114441,
0.5018148422241211,
-0.3660156726837158,
-0.10919827967882156,
-0.19655075669288635,
-0.024720676243305206,
0.1728777438402176,
-0.34541136026382446,
0.12881460785865784,
-0.2277195155620575,
-0.18424054980278015,
0.2899753749370575,
0.2950861155986786,
-0.13289573788642883,
0.1245136708021164,
-0.1730642318725586,
0.2094622552394867,
0.07074600458145142,
0.2574029564857483,
0.08063352108001709,
0.06596404314041138,
0.10203325003385544,
0.0017512328922748566,
0.07303628325462341,
-0.06737196445465088,
-0.08143389970064163,
0.09408372640609741,
-0.0801355391740799,
0.034897420555353165,
-0.37367525696754456,
0.2925049960613251,
-0.2030343860387802,
-0.09214427322149277,
0.20947428047657013,
0.11748576164245605,
-0.11317279189825058,
-0.039181455969810486,
0.08538971096277237,
0.2239447832107544,
-0.06334563344717026,
0.05983618646860123,
0.2272602766752243,
0.5881167054176331,
-0.16166743636131287,
-0.05604337155818939,
0.13354822993278503,
-0.3060764670372009,
-0.48497018218040466,
-0.2631097435951233,
0.2956267297267914,
-0.11769969016313553,
-0.2821984589099884,
-0.5116720199584961,
-0.1726304590702057,
0.11400293558835983,
-0.26782655715942383,
-0.14065678417682648,
0.30737948417663574,
-0.3688797950744629,
0.08509080111980438,
-0.03760167211294174,
0.2920650541782379,
0.02134949341416359,
0.32536211609840393,
-0.4907377064228058,
-0.11026306450366974
] |
https://github.com/huggingface/datasets/issues/1624 | Cannot download ade_corpus_v2 | Hi @him1411, the dataset you are trying to load has been added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.
For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:
`pip install git+https://github.com/huggingface/datasets.git@master` | I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
| 54 | Cannot download ade_corpus_v2
I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
Hi @him1411, the dataset you are trying to load has been added during the community sprint and has not been released yet. It will be available with the v2 of `datasets`.
For now, you should be able to load the datasets after installing the latest (master) version of `datasets` using pip:
`pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.039910007268190384,
-0.19826680421829224,
-0.11339426040649414,
0.2741904854774475,
0.2603810429573059,
0.2967449724674225,
-0.041011881083250046,
0.3299030363559723,
0.04059923067688942,
-0.16820742189884186,
-0.2708157002925873,
-0.27591580152511597,
0.07905707508325577,
-0.20605531334877014,
-0.026711605489253998,
-0.3234892785549164,
-0.1370057761669159,
0.0029615461826324463,
-0.026570133864879608,
-0.027478396892547607,
-0.11521366983652115,
0.336395800113678,
-0.2073076069355011,
-0.03673512488603592,
0.21099789440631866,
0.062041595578193665,
-0.19153174757957458,
0.0425676628947258,
-0.2808460593223572,
-0.3533931076526642,
0.5380765795707703,
-0.11053210496902466,
0.23150554299354553,
0.45905396342277527,
-0.0001128967633121647,
0.15900084376335144,
0.27904564142227173,
-0.025145774707198143,
-0.3658040165901184,
-0.5255260467529297,
-0.08579759299755096,
0.024819569662213326,
-0.09268608689308167,
-0.3844040632247925,
-0.1996404230594635,
-0.3515525162220001,
0.18975161015987396,
-0.1212049052119255,
0.16255371272563934,
0.30066239833831787,
0.25918048620224,
-0.0057052187621593475,
0.2623303234577179,
-0.4079148769378662,
-0.04306362569332123,
0.009238123893737793,
-0.09600740671157837,
0.14798998832702637,
0.07549576461315155,
0.27736398577690125,
0.5707494020462036,
0.22456298768520355,
-0.2179100066423416,
0.11625203490257263,
-0.06703177839517593,
0.10035093128681183,
0.10890121757984161,
-0.32147401571273804,
0.3586632311344147,
-0.03973596543073654,
0.6245003342628479,
-0.17226547002792358,
-0.50324946641922,
0.051336146891117096,
0.08338407427072525,
-0.11212056130170822,
0.12365031242370605,
0.08619413524866104,
-0.25766873359680176,
0.2251093089580536,
-0.2712177634239197,
-0.2157212644815445,
-0.2600765526294708,
0.09146179258823395,
0.006864637136459351,
-0.07850949466228485,
-0.17403434216976166,
-0.019697897136211395,
-0.030911732465028763,
0.0808810144662857,
-0.3524933159351349,
0.04836276173591614,
-0.11847656965255737,
0.30025237798690796,
0.06737469136714935,
-0.0911046713590622,
-0.19552665948867798,
-0.08834715932607651,
0.19062688946723938,
0.06683924794197083,
0.2124762088060379,
-0.24061748385429382,
-0.011944698169827461,
-0.046968042850494385,
-0.03924296423792839,
0.20329414308071136,
0.17633865773677826,
-0.06675128638744354,
0.2336612492799759,
0.47721272706985474,
0.15159261226654053,
-0.21674084663391113,
-0.19390463829040527,
-0.24426555633544922,
-0.2289283126592636,
0.15822824835777283,
0.28034549951553345,
-0.4474123418331146,
-0.22765037417411804,
-0.05531976372003555,
-0.053549472242593765,
0.197368785738945,
0.07596126198768616,
0.29296186566352844,
-0.20966579020023346,
-0.017662804573774338,
-0.03925987705588341,
0.2517109513282776,
-0.0915941372513771,
-0.0751965194940567,
-0.1726430505514145,
0.09851525723934174,
-0.1267765909433365,
-0.07123599201440811,
0.43346017599105835,
-0.172145813703537,
0.5568086504936218,
-0.01730453222990036,
-0.16515448689460754,
0.0689440667629242,
-0.0026072226464748383,
-0.2857435643672943,
-0.15626350045204163,
0.40757277607917786,
0.25705695152282715,
0.40130817890167236,
0.05110631883144379,
-0.11404977738857269,
-0.09576937556266785,
-0.21485894918441772,
-0.1625620722770691,
-0.2975969612598419,
0.16403105854988098,
0.2230682671070099,
-0.038036756217479706,
-0.030029289424419403,
-0.22160905599594116,
-0.06868648529052734,
0.1481541246175766,
-0.08524365723133087,
-0.004936479032039642,
0.1350700706243515,
-0.572783887386322,
-0.25645050406455994,
0.2576947510242462,
0.38924527168273926,
-0.10783842951059341,
0.09250049293041229,
-0.12848025560379028,
-0.0780445784330368,
-0.08280763775110245,
0.11367426812648773,
-0.1936369091272354,
0.14397576451301575,
-0.39537981152534485,
0.09600608050823212,
0.39239823818206787,
-0.9619322419166565,
-0.5316287875175476,
0.3074181377887726,
-0.07905944436788559,
-0.047662459313869476,
0.2594873607158661,
-0.19341632723808289,
0.3689078390598297,
-0.39700737595558167,
0.09918080270290375,
0.14451341331005096,
0.09603063017129898,
-0.11700364947319031,
0.044786546379327774,
-0.04557923972606659,
-0.124108225107193,
0.05402837321162224,
-0.013933863490819931,
0.19008687138557434,
0.16393724083900452,
0.0328419953584671,
0.3211567997932434,
0.10877782106399536,
0.18163572251796722,
0.34670203924179077,
0.1078856885433197,
-0.19506891071796417,
0.10399223119020462,
-0.11413078010082245,
-0.30884459614753723,
0.3227965235710144,
-0.08069609850645065,
0.07405993342399597,
-0.24619324505329132,
-0.10484439134597778,
-0.47446832060813904,
-0.12191544473171234,
-0.19644416868686676,
-0.455078661441803,
0.0906679704785347,
0.01838783174753189,
0.5066971182823181,
0.13172991573810577,
-0.06047603115439415,
0.38361722230911255,
-0.08543229103088379,
0.14246055483818054,
-0.1503286212682724,
0.014787686988711357,
0.07334877550601959,
0.05328739807009697,
-0.006844211369752884,
-0.08000435680150986,
0.16336992383003235,
0.016876252368092537,
-0.075294628739357,
0.1261768937110901,
-0.014680987223982811,
0.27814537286758423,
0.17999151349067688,
-0.011048078536987305,
0.2677808701992035,
-0.31158560514450073,
0.07273022085428238,
-0.046925727277994156,
0.24210737645626068,
0.039274878799915314,
0.06233004480600357,
-0.12995058298110962,
0.10016049444675446,
0.11439148336648941,
0.3588016629219055,
0.1484082192182541,
0.3363645672798157,
-0.11690977215766907,
0.14122024178504944,
-0.18315625190734863,
0.25097987055778503,
0.12453126907348633,
0.1148848682641983,
-0.15475086867809296,
-0.08815087378025055,
0.27406445145606995,
0.13303323090076447,
0.17477157711982727,
-0.08553814142942429,
0.07763809710741043,
-0.18775612115859985,
0.16350072622299194,
-0.08247905224561691,
0.4590257704257965,
0.4656778573989868,
0.2134690135717392,
0.32763880491256714,
0.15851172804832458,
0.0019473875872790813,
-0.18738619983196259,
0.32499298453330994,
0.036076657474040985,
0.1105055883526802,
0.1557205319404602,
0.11182121187448502,
0.14686021208763123,
-0.0375959686934948,
-0.10023820400238037,
0.2401794195175171,
0.220389723777771,
-0.13140203058719635,
-0.10943916440010071,
-0.15903116762638092,
-0.44306161999702454,
-0.22771941125392914,
-0.10688680410385132,
0.06231782212853432,
0.008061544969677925,
-0.024154499173164368,
0.424264132976532,
0.1728569120168686,
-0.08494729548692703,
-0.3658926486968994,
-0.08588577806949615,
-0.04958430677652359,
-0.12702231109142303,
-0.09285102784633636,
0.2467515617609024,
-0.2537054121494293,
0.11247742176055908,
0.14385424554347992,
0.17897260189056396,
0.3550392985343933,
-0.27211323380470276,
0.04800453782081604,
-0.38240644335746765,
-0.08088108152151108,
0.24352949857711792,
0.03410927951335907,
0.3125130534172058,
0.10897152870893478,
0.20867955684661865,
-0.1823417693376541,
-0.053017180413007736,
0.24196326732635498,
-0.08756883442401886,
-0.4155234098434448,
-0.012269597500562668,
-0.0029779670294374228,
-0.0665704756975174,
-0.15374226868152618,
-0.35995402932167053,
-0.28670862317085266,
-0.2513728439807892,
-0.2509933114051819,
0.02425551414489746,
0.1879398673772812,
0.44311872124671936,
-0.2806207835674286,
0.061779703944921494,
0.223906472325325,
0.28294697403907776,
-0.2250179648399353,
-0.22123996913433075,
0.36121219396591187,
-0.5924844145774841,
-0.3680437207221985,
0.10459411144256592,
0.14526112377643585,
0.4514109492301941,
0.2817084789276123,
-0.45922762155532837,
-0.23888230323791504,
-0.08160916715860367,
-0.2589484751224518,
0.03346056118607521,
-0.1563778668642044,
0.3027188181877136,
-0.21874165534973145,
-0.07499741017818451,
0.00019794702529907227,
0.059510279446840286,
0.2751671373844147,
-0.05087818205356598,
0.1851987987756729,
-0.011379517614841461,
0.35129567980766296,
0.11260569095611572,
0.4582700729370117,
0.6416578888893127,
0.07692352682352066,
0.5418628454208374,
-0.10502921789884567,
0.11223658919334412,
-0.05191393941640854,
-0.5397058129310608,
-0.10246570408344269,
0.15211263298988342,
0.24265433847904205,
0.16496767103672028,
0.20394161343574524,
-0.05575738847255707,
-0.39710235595703125,
-0.3225969076156616,
-0.4174732565879822,
-0.18017123639583588,
-0.22190488874912262,
0.09951342642307281,
0.2833353877067566,
0.06296342611312866,
0.24355077743530273,
0.04854812100529671,
-0.06822225451469421,
0.11764031648635864,
0.36478257179260254,
-0.04342656582593918,
0.224877268075943,
-0.08994044363498688,
-0.04285137355327606,
-0.6552765369415283,
0.32406479120254517,
0.12035367637872696,
0.3302399814128876,
-0.14741390943527222,
0.20848923921585083,
0.09195984154939651,
0.13005654513835907,
0.8983016610145569,
-0.3449047803878784,
0.2532888650894165,
-0.11148661375045776,
-0.07095702737569809,
-0.3883155286312103,
0.082161545753479,
0.12135778367519379,
0.6417461633682251,
0.07564369589090347,
0.329854279756546,
-0.2659648060798645,
0.0007724573370069265,
0.19214192032814026,
-0.021740682423114777,
-0.14267252385616302,
-0.11551066488027573,
-0.09763331711292267,
-0.6872631907463074,
-0.1449575126171112,
-0.2012651562690735,
0.032259486615657806,
0.2486923485994339,
0.14113207161426544,
-0.11974658071994781,
-0.03154047578573227,
0.02477816864848137,
0.13347293436527252,
0.0047182850539684296,
0.2767629623413086,
0.17534595727920532,
0.38983485102653503,
0.516526460647583,
0.043667133897542953,
0.14912834763526917,
0.5392693877220154,
-0.12789390981197357,
-0.23254084587097168,
0.05559539049863815,
0.015853796154260635,
-0.04605650156736374,
0.3378152847290039,
-0.04068794474005699,
-0.002751164138317108,
-0.046329885721206665,
-0.17849715054035187,
-0.06931985914707184,
-0.1893952339887619,
0.4800874888896942,
0.02873706817626953,
-0.45288437604904175,
-0.47922834753990173,
0.13774444162845612,
0.02322624996304512,
-0.097199946641922,
0.18937842547893524,
-0.043293848633766174,
-0.2816012501716614,
0.09847331047058105,
-0.1655665934085846,
0.8319461941719055,
0.12182214856147766,
-0.10145559906959534,
0.08637246489524841,
-0.017924323678016663,
0.6187044978141785,
0.03801868110895157,
0.17367130517959595,
0.03257540240883827,
-0.24180258810520172,
-0.12735167145729065,
-0.08442120999097824,
0.12532003223896027,
0.061558980494737625,
-0.2623634338378906,
0.4733439087867737,
-0.02832736447453499,
0.11725044250488281,
0.014117484912276268,
0.2744515538215637,
-0.3345465064048767,
-0.15428727865219116,
-0.5114954710006714,
0.14244703948497772,
-0.051275625824928284,
0.5752466917037964,
-0.17241689562797546,
-0.18298476934432983,
-0.19185681641101837,
-0.31336724758148193,
-0.3538985848426819,
0.19429001212120056,
-0.08382969349622726,
0.27772200107574463,
-0.09150451421737671,
-0.15450307726860046,
0.020819608122110367,
0.28358569741249084,
0.737890899181366,
0.06754335016012192,
-0.4196717143058777,
0.22908873856067657,
-0.09601453691720963,
-0.2218797653913498,
0.267486035823822,
-0.3062761723995209,
0.22006604075431824,
-0.3007253408432007,
-0.19651049375534058,
0.10976918786764145,
0.11543625593185425,
-0.0586116723716259,
0.2039772868156433,
-0.3506627082824707,
-0.3065341114997864,
-0.08933406323194504,
-0.24515506625175476,
0.12803080677986145,
0.08099083602428436,
-0.1501709520816803,
0.08210888504981995,
-0.14295314252376556,
-0.05947527661919594,
-0.022308990359306335,
-0.009250707924365997,
-0.25088560581207275,
0.03214287757873535,
0.576047956943512,
0.09496670961380005,
-0.20159156620502472,
0.5825810432434082,
0.09902709722518921,
-0.1363517940044403,
-0.20644769072532654,
-0.49929335713386536,
-0.23286257684230804,
-0.5102229714393616,
0.05133110657334328,
-0.016133572906255722,
0.4604519009590149,
0.02257927693426609,
0.058998070657253265,
0.2213425189256668,
-0.2192225456237793,
0.012276958674192429,
-0.5906423330307007,
-0.14323723316192627,
0.2018970251083374,
-0.018450673669576645,
-0.046525757759809494,
-0.12276922166347504,
0.10955114662647247,
0.2810792028903961,
-0.27133908867836,
-0.2889397442340851,
0.14525030553340912,
-0.10610701143741608,
-0.23062220215797424,
0.008170437067747116,
-0.011199798434972763,
0.37461936473846436,
0.0014024591073393822,
0.12064535915851593,
0.17641222476959229,
-0.2742571532726288,
-0.13492229580879211,
-0.051517315208911896,
0.13658900558948517,
-0.2135879397392273,
-0.1935386061668396,
-0.04902184009552002,
-0.34881913661956787,
-0.28684669733047485,
0.13962525129318237,
0.048308517783880234,
0.3250527083873749,
0.18914486467838287,
-0.29409435391426086,
0.11803606152534485,
0.09762406349182129,
-0.04454278200864792,
0.4540591239929199,
-0.13998349010944366,
0.2237018197774887,
0.2420470118522644,
0.24685899913311005,
-0.15910744667053223,
-0.15583935379981995,
-0.0036874806974083185,
-0.10547070950269699,
-0.11140604317188263,
-0.2081742286682129,
0.29274311661720276,
-0.12297555804252625,
0.2513771653175354,
0.3190286159515381,
0.19425863027572632,
0.06021156534552574,
-0.24267853796482086,
0.24174116551876068,
0.1946668028831482,
0.2053767442703247,
-0.3600095808506012,
0.05268330127000809,
0.15884745121002197,
0.06561627238988876,
-0.14897218346595764,
0.19195789098739624,
0.1248755156993866,
-0.06312171369791031,
0.21207869052886963,
0.22096717357635498,
0.7554407715797424,
-0.023686956614255905,
0.0659237802028656,
0.03362040966749191,
0.09272092580795288,
0.02006823569536209,
-0.030456433072686195,
0.19077421724796295,
0.3175687789916992,
0.2540685832500458,
-0.3543514013290405,
0.13528203964233398,
-0.057889968156814575,
0.1832675188779831,
0.07914385199546814,
-0.37902095913887024,
0.009143825620412827,
0.3755665421485901,
0.08549997955560684,
0.2810346186161041,
0.05546075105667114,
0.3250521421432495,
-0.09684301167726517,
0.05959634855389595,
-0.5663069486618042,
0.39757946133613586,
0.038207873702049255,
-0.010100976563990116,
-0.27896666526794434,
-0.337844580411911,
-0.02487897500395775,
0.004161860793828964,
0.0006080083549022675,
-0.2313055545091629,
-0.032800763845443726,
-0.08485935628414154,
-0.3778831362724304,
-0.39947986602783203,
-0.111241914331913,
0.10670655220746994,
0.14571106433868408,
-0.1347806602716446,
0.42595240473747253,
0.2621907591819763,
-0.10368403792381287,
0.23202510178089142,
0.6412653923034668,
0.1760903298854828,
0.14274892210960388,
0.07044549286365509,
0.051933933049440384,
0.11930309236049652,
-0.12216354161500931,
-0.07697070389986038,
0.22118809819221497,
0.15236864984035492,
-0.00020351633429527283,
0.26250287890434265,
0.16210848093032837,
-0.07364073395729065,
0.06113444268703461,
0.010587267577648163,
0.17766065895557404,
-0.06689678132534027,
0.34333962202072144,
-0.24653878808021545,
0.277549684047699,
-0.13332965970039368,
0.13627026975154877,
-0.6502066254615784,
-0.15369804203510284,
0.34322676062583923,
-0.4141463041305542,
0.10784609615802765,
-0.06824053078889847,
0.05605448782444,
0.07450942695140839,
0.08696545660495758,
0.4335426092147827,
0.3255804479122162,
-0.19704683125019073,
-0.30158692598342896,
-0.547892689704895,
0.1837693154811859,
-0.02473553642630577,
0.13807351887226105,
0.006542607210576534,
0.0673832893371582,
0.03492563217878342,
0.08044011890888214,
0.22386321425437927,
0.18082429468631744,
-0.13177217543125153,
0.15757900476455688,
-0.293644517660141,
-0.10275346040725708,
-0.16008320450782776,
0.06324514746665955,
-0.08792747557163239,
-0.29944419860839844,
0.12700097262859344,
-0.09992731362581253,
0.05273512750864029,
-0.19371452927589417,
0.22057953476905823,
0.05706821754574776,
-0.27987197041511536,
0.34688347578048706,
0.1318029910326004,
0.1966947615146637,
-0.15342965722084045,
-0.17815548181533813,
-0.23232123255729675,
-0.15240010619163513,
-0.11935169994831085,
0.3400591015815735,
0.08740463852882385,
-0.030133161693811417,
-0.23318792879581451,
0.025914767757058144,
-0.011909134685993195,
0.11982887238264084,
0.034745343029499054,
-0.008333798497915268,
-0.3551759421825409,
0.1296231597661972,
-0.4348863363265991,
0.0018164622597396374,
-0.08957876265048981,
0.07528899610042572,
-0.021338418126106262,
-0.0050707608461380005,
-0.13253523409366608,
-0.34247684478759766,
0.7437354922294617,
-0.4379320442676544,
0.05654795095324516,
0.15733401477336884,
0.3597733676433563,
-0.11364386230707169,
-0.089494489133358,
-0.42213696241378784,
0.03420140594244003,
0.3630833625793457,
0.06601569056510925,
-0.254145085811615,
0.22540892660617828,
-0.1688338965177536,
-0.07437380403280258,
-0.06628594547510147,
0.37912166118621826,
-0.10865380614995956,
-0.38197141885757446,
0.05678308382630348,
-0.04172636941075325
] |
https://github.com/huggingface/datasets/issues/1624 | Cannot download ade_corpus_v2 | `ade_corpus_v2` was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `ade_corpus_v2` with
```python
from datasets import load_dataset
dataset = load_dataset("ade_corpus_v2", "Ade_corpos_v2_drug_ade_relation")
```
(looks like there is a typo in the configuration name, we'll fix it for the v2.0 release of `datasets` soon) | I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
| 61 | Cannot download ade_corpus_v2
I tried this to get the dataset following this url : https://huggingface.co/datasets/ade_corpus_v2
but received this error :
`Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 278, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 486, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/opt/anaconda3/lib/python3.7/site-packages/datasets/load.py", line 282, in prepare_module
combined_path, github_file_path, file_path
FileNotFoundError: Couldn't find file locally at ade_corpus_v2/ade_corpus_v2.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/ade_corpus_v2/ade_corpus_v2.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/ade_corpus_v2/ade_corpus_v2.py`
`ade_corpus_v2` was added recently, that's why it wasn't available yet.
To load it you can just update `datasets`
```
pip install --upgrade datasets
```
and then you can load `ade_corpus_v2` with
```python
from datasets import load_dataset
dataset = load_dataset("ade_corpus_v2", "Ade_corpos_v2_drug_ade_relation")
```
(looks like there is a typo in the configuration name, we'll fix it for the v2.0 release of `datasets` soon) | [
-0.039910007268190384,
-0.19826680421829224,
-0.11339426040649414,
0.2741904854774475,
0.2603810429573059,
0.2967449724674225,
-0.041011881083250046,
0.3299030363559723,
0.04059923067688942,
-0.16820742189884186,
-0.2708157002925873,
-0.27591580152511597,
0.07905707508325577,
-0.20605531334877014,
-0.026711605489253998,
-0.3234892785549164,
-0.1370057761669159,
0.0029615461826324463,
-0.026570133864879608,
-0.027478396892547607,
-0.11521366983652115,
0.336395800113678,
-0.2073076069355011,
-0.03673512488603592,
0.21099789440631866,
0.062041595578193665,
-0.19153174757957458,
0.0425676628947258,
-0.2808460593223572,
-0.3533931076526642,
0.5380765795707703,
-0.11053210496902466,
0.23150554299354553,
0.45905396342277527,
-0.0001128967633121647,
0.15900084376335144,
0.27904564142227173,
-0.025145774707198143,
-0.3658040165901184,
-0.5255260467529297,
-0.08579759299755096,
0.024819569662213326,
-0.09268608689308167,
-0.3844040632247925,
-0.1996404230594635,
-0.3515525162220001,
0.18975161015987396,
-0.1212049052119255,
0.16255371272563934,
0.30066239833831787,
0.25918048620224,
-0.0057052187621593475,
0.2623303234577179,
-0.4079148769378662,
-0.04306362569332123,
0.009238123893737793,
-0.09600740671157837,
0.14798998832702637,
0.07549576461315155,
0.27736398577690125,
0.5707494020462036,
0.22456298768520355,
-0.2179100066423416,
0.11625203490257263,
-0.06703177839517593,
0.10035093128681183,
0.10890121757984161,
-0.32147401571273804,
0.3586632311344147,
-0.03973596543073654,
0.6245003342628479,
-0.17226547002792358,
-0.50324946641922,
0.051336146891117096,
0.08338407427072525,
-0.11212056130170822,
0.12365031242370605,
0.08619413524866104,
-0.25766873359680176,
0.2251093089580536,
-0.2712177634239197,
-0.2157212644815445,
-0.2600765526294708,
0.09146179258823395,
0.006864637136459351,
-0.07850949466228485,
-0.17403434216976166,
-0.019697897136211395,
-0.030911732465028763,
0.0808810144662857,
-0.3524933159351349,
0.04836276173591614,
-0.11847656965255737,
0.30025237798690796,
0.06737469136714935,
-0.0911046713590622,
-0.19552665948867798,
-0.08834715932607651,
0.19062688946723938,
0.06683924794197083,
0.2124762088060379,
-0.24061748385429382,
-0.011944698169827461,
-0.046968042850494385,
-0.03924296423792839,
0.20329414308071136,
0.17633865773677826,
-0.06675128638744354,
0.2336612492799759,
0.47721272706985474,
0.15159261226654053,
-0.21674084663391113,
-0.19390463829040527,
-0.24426555633544922,
-0.2289283126592636,
0.15822824835777283,
0.28034549951553345,
-0.4474123418331146,
-0.22765037417411804,
-0.05531976372003555,
-0.053549472242593765,
0.197368785738945,
0.07596126198768616,
0.29296186566352844,
-0.20966579020023346,
-0.017662804573774338,
-0.03925987705588341,
0.2517109513282776,
-0.0915941372513771,
-0.0751965194940567,
-0.1726430505514145,
0.09851525723934174,
-0.1267765909433365,
-0.07123599201440811,
0.43346017599105835,
-0.172145813703537,
0.5568086504936218,
-0.01730453222990036,
-0.16515448689460754,
0.0689440667629242,
-0.0026072226464748383,
-0.2857435643672943,
-0.15626350045204163,
0.40757277607917786,
0.25705695152282715,
0.40130817890167236,
0.05110631883144379,
-0.11404977738857269,
-0.09576937556266785,
-0.21485894918441772,
-0.1625620722770691,
-0.2975969612598419,
0.16403105854988098,
0.2230682671070099,
-0.038036756217479706,
-0.030029289424419403,
-0.22160905599594116,
-0.06868648529052734,
0.1481541246175766,
-0.08524365723133087,
-0.004936479032039642,
0.1350700706243515,
-0.572783887386322,
-0.25645050406455994,
0.2576947510242462,
0.38924527168273926,
-0.10783842951059341,
0.09250049293041229,
-0.12848025560379028,
-0.0780445784330368,
-0.08280763775110245,
0.11367426812648773,
-0.1936369091272354,
0.14397576451301575,
-0.39537981152534485,
0.09600608050823212,
0.39239823818206787,
-0.9619322419166565,
-0.5316287875175476,
0.3074181377887726,
-0.07905944436788559,
-0.047662459313869476,
0.2594873607158661,
-0.19341632723808289,
0.3689078390598297,
-0.39700737595558167,
0.09918080270290375,
0.14451341331005096,
0.09603063017129898,
-0.11700364947319031,
0.044786546379327774,
-0.04557923972606659,
-0.124108225107193,
0.05402837321162224,
-0.013933863490819931,
0.19008687138557434,
0.16393724083900452,
0.0328419953584671,
0.3211567997932434,
0.10877782106399536,
0.18163572251796722,
0.34670203924179077,
0.1078856885433197,
-0.19506891071796417,
0.10399223119020462,
-0.11413078010082245,
-0.30884459614753723,
0.3227965235710144,
-0.08069609850645065,
0.07405993342399597,
-0.24619324505329132,
-0.10484439134597778,
-0.47446832060813904,
-0.12191544473171234,
-0.19644416868686676,
-0.455078661441803,
0.0906679704785347,
0.01838783174753189,
0.5066971182823181,
0.13172991573810577,
-0.06047603115439415,
0.38361722230911255,
-0.08543229103088379,
0.14246055483818054,
-0.1503286212682724,
0.014787686988711357,
0.07334877550601959,
0.05328739807009697,
-0.006844211369752884,
-0.08000435680150986,
0.16336992383003235,
0.016876252368092537,
-0.075294628739357,
0.1261768937110901,
-0.014680987223982811,
0.27814537286758423,
0.17999151349067688,
-0.011048078536987305,
0.2677808701992035,
-0.31158560514450073,
0.07273022085428238,
-0.046925727277994156,
0.24210737645626068,
0.039274878799915314,
0.06233004480600357,
-0.12995058298110962,
0.10016049444675446,
0.11439148336648941,
0.3588016629219055,
0.1484082192182541,
0.3363645672798157,
-0.11690977215766907,
0.14122024178504944,
-0.18315625190734863,
0.25097987055778503,
0.12453126907348633,
0.1148848682641983,
-0.15475086867809296,
-0.08815087378025055,
0.27406445145606995,
0.13303323090076447,
0.17477157711982727,
-0.08553814142942429,
0.07763809710741043,
-0.18775612115859985,
0.16350072622299194,
-0.08247905224561691,
0.4590257704257965,
0.4656778573989868,
0.2134690135717392,
0.32763880491256714,
0.15851172804832458,
0.0019473875872790813,
-0.18738619983196259,
0.32499298453330994,
0.036076657474040985,
0.1105055883526802,
0.1557205319404602,
0.11182121187448502,
0.14686021208763123,
-0.0375959686934948,
-0.10023820400238037,
0.2401794195175171,
0.220389723777771,
-0.13140203058719635,
-0.10943916440010071,
-0.15903116762638092,
-0.44306161999702454,
-0.22771941125392914,
-0.10688680410385132,
0.06231782212853432,
0.008061544969677925,
-0.024154499173164368,
0.424264132976532,
0.1728569120168686,
-0.08494729548692703,
-0.3658926486968994,
-0.08588577806949615,
-0.04958430677652359,
-0.12702231109142303,
-0.09285102784633636,
0.2467515617609024,
-0.2537054121494293,
0.11247742176055908,
0.14385424554347992,
0.17897260189056396,
0.3550392985343933,
-0.27211323380470276,
0.04800453782081604,
-0.38240644335746765,
-0.08088108152151108,
0.24352949857711792,
0.03410927951335907,
0.3125130534172058,
0.10897152870893478,
0.20867955684661865,
-0.1823417693376541,
-0.053017180413007736,
0.24196326732635498,
-0.08756883442401886,
-0.4155234098434448,
-0.012269597500562668,
-0.0029779670294374228,
-0.0665704756975174,
-0.15374226868152618,
-0.35995402932167053,
-0.28670862317085266,
-0.2513728439807892,
-0.2509933114051819,
0.02425551414489746,
0.1879398673772812,
0.44311872124671936,
-0.2806207835674286,
0.061779703944921494,
0.223906472325325,
0.28294697403907776,
-0.2250179648399353,
-0.22123996913433075,
0.36121219396591187,
-0.5924844145774841,
-0.3680437207221985,
0.10459411144256592,
0.14526112377643585,
0.4514109492301941,
0.2817084789276123,
-0.45922762155532837,
-0.23888230323791504,
-0.08160916715860367,
-0.2589484751224518,
0.03346056118607521,
-0.1563778668642044,
0.3027188181877136,
-0.21874165534973145,
-0.07499741017818451,
0.00019794702529907227,
0.059510279446840286,
0.2751671373844147,
-0.05087818205356598,
0.1851987987756729,
-0.011379517614841461,
0.35129567980766296,
0.11260569095611572,
0.4582700729370117,
0.6416578888893127,
0.07692352682352066,
0.5418628454208374,
-0.10502921789884567,
0.11223658919334412,
-0.05191393941640854,
-0.5397058129310608,
-0.10246570408344269,
0.15211263298988342,
0.24265433847904205,
0.16496767103672028,
0.20394161343574524,
-0.05575738847255707,
-0.39710235595703125,
-0.3225969076156616,
-0.4174732565879822,
-0.18017123639583588,
-0.22190488874912262,
0.09951342642307281,
0.2833353877067566,
0.06296342611312866,
0.24355077743530273,
0.04854812100529671,
-0.06822225451469421,
0.11764031648635864,
0.36478257179260254,
-0.04342656582593918,
0.224877268075943,
-0.08994044363498688,
-0.04285137355327606,
-0.6552765369415283,
0.32406479120254517,
0.12035367637872696,
0.3302399814128876,
-0.14741390943527222,
0.20848923921585083,
0.09195984154939651,
0.13005654513835907,
0.8983016610145569,
-0.3449047803878784,
0.2532888650894165,
-0.11148661375045776,
-0.07095702737569809,
-0.3883155286312103,
0.082161545753479,
0.12135778367519379,
0.6417461633682251,
0.07564369589090347,
0.329854279756546,
-0.2659648060798645,
0.0007724573370069265,
0.19214192032814026,
-0.021740682423114777,
-0.14267252385616302,
-0.11551066488027573,
-0.09763331711292267,
-0.6872631907463074,
-0.1449575126171112,
-0.2012651562690735,
0.032259486615657806,
0.2486923485994339,
0.14113207161426544,
-0.11974658071994781,
-0.03154047578573227,
0.02477816864848137,
0.13347293436527252,
0.0047182850539684296,
0.2767629623413086,
0.17534595727920532,
0.38983485102653503,
0.516526460647583,
0.043667133897542953,
0.14912834763526917,
0.5392693877220154,
-0.12789390981197357,
-0.23254084587097168,
0.05559539049863815,
0.015853796154260635,
-0.04605650156736374,
0.3378152847290039,
-0.04068794474005699,
-0.002751164138317108,
-0.046329885721206665,
-0.17849715054035187,
-0.06931985914707184,
-0.1893952339887619,
0.4800874888896942,
0.02873706817626953,
-0.45288437604904175,
-0.47922834753990173,
0.13774444162845612,
0.02322624996304512,
-0.097199946641922,
0.18937842547893524,
-0.043293848633766174,
-0.2816012501716614,
0.09847331047058105,
-0.1655665934085846,
0.8319461941719055,
0.12182214856147766,
-0.10145559906959534,
0.08637246489524841,
-0.017924323678016663,
0.6187044978141785,
0.03801868110895157,
0.17367130517959595,
0.03257540240883827,
-0.24180258810520172,
-0.12735167145729065,
-0.08442120999097824,
0.12532003223896027,
0.061558980494737625,
-0.2623634338378906,
0.4733439087867737,
-0.02832736447453499,
0.11725044250488281,
0.014117484912276268,
0.2744515538215637,
-0.3345465064048767,
-0.15428727865219116,
-0.5114954710006714,
0.14244703948497772,
-0.051275625824928284,
0.5752466917037964,
-0.17241689562797546,
-0.18298476934432983,
-0.19185681641101837,
-0.31336724758148193,
-0.3538985848426819,
0.19429001212120056,
-0.08382969349622726,
0.27772200107574463,
-0.09150451421737671,
-0.15450307726860046,
0.020819608122110367,
0.28358569741249084,
0.737890899181366,
0.06754335016012192,
-0.4196717143058777,
0.22908873856067657,
-0.09601453691720963,
-0.2218797653913498,
0.267486035823822,
-0.3062761723995209,
0.22006604075431824,
-0.3007253408432007,
-0.19651049375534058,
0.10976918786764145,
0.11543625593185425,
-0.0586116723716259,
0.2039772868156433,
-0.3506627082824707,
-0.3065341114997864,
-0.08933406323194504,
-0.24515506625175476,
0.12803080677986145,
0.08099083602428436,
-0.1501709520816803,
0.08210888504981995,
-0.14295314252376556,
-0.05947527661919594,
-0.022308990359306335,
-0.009250707924365997,
-0.25088560581207275,
0.03214287757873535,
0.576047956943512,
0.09496670961380005,
-0.20159156620502472,
0.5825810432434082,
0.09902709722518921,
-0.1363517940044403,
-0.20644769072532654,
-0.49929335713386536,
-0.23286257684230804,
-0.5102229714393616,
0.05133110657334328,
-0.016133572906255722,
0.4604519009590149,
0.02257927693426609,
0.058998070657253265,
0.2213425189256668,
-0.2192225456237793,
0.012276958674192429,
-0.5906423330307007,
-0.14323723316192627,
0.2018970251083374,
-0.018450673669576645,
-0.046525757759809494,
-0.12276922166347504,
0.10955114662647247,
0.2810792028903961,
-0.27133908867836,
-0.2889397442340851,
0.14525030553340912,
-0.10610701143741608,
-0.23062220215797424,
0.008170437067747116,
-0.011199798434972763,
0.37461936473846436,
0.0014024591073393822,
0.12064535915851593,
0.17641222476959229,
-0.2742571532726288,
-0.13492229580879211,
-0.051517315208911896,
0.13658900558948517,
-0.2135879397392273,
-0.1935386061668396,
-0.04902184009552002,
-0.34881913661956787,
-0.28684669733047485,
0.13962525129318237,
0.048308517783880234,
0.3250527083873749,
0.18914486467838287,
-0.29409435391426086,
0.11803606152534485,
0.09762406349182129,
-0.04454278200864792,
0.4540591239929199,
-0.13998349010944366,
0.2237018197774887,
0.2420470118522644,
0.24685899913311005,
-0.15910744667053223,
-0.15583935379981995,
-0.0036874806974083185,
-0.10547070950269699,
-0.11140604317188263,
-0.2081742286682129,
0.29274311661720276,
-0.12297555804252625,
0.2513771653175354,
0.3190286159515381,
0.19425863027572632,
0.06021156534552574,
-0.24267853796482086,
0.24174116551876068,
0.1946668028831482,
0.2053767442703247,
-0.3600095808506012,
0.05268330127000809,
0.15884745121002197,
0.06561627238988876,
-0.14897218346595764,
0.19195789098739624,
0.1248755156993866,
-0.06312171369791031,
0.21207869052886963,
0.22096717357635498,
0.7554407715797424,
-0.023686956614255905,
0.0659237802028656,
0.03362040966749191,
0.09272092580795288,
0.02006823569536209,
-0.030456433072686195,
0.19077421724796295,
0.3175687789916992,
0.2540685832500458,
-0.3543514013290405,
0.13528203964233398,
-0.057889968156814575,
0.1832675188779831,
0.07914385199546814,
-0.37902095913887024,
0.009143825620412827,
0.3755665421485901,
0.08549997955560684,
0.2810346186161041,
0.05546075105667114,
0.3250521421432495,
-0.09684301167726517,
0.05959634855389595,
-0.5663069486618042,
0.39757946133613586,
0.038207873702049255,
-0.010100976563990116,
-0.27896666526794434,
-0.337844580411911,
-0.02487897500395775,
0.004161860793828964,
0.0006080083549022675,
-0.2313055545091629,
-0.032800763845443726,
-0.08485935628414154,
-0.3778831362724304,
-0.39947986602783203,
-0.111241914331913,
0.10670655220746994,
0.14571106433868408,
-0.1347806602716446,
0.42595240473747253,
0.2621907591819763,
-0.10368403792381287,
0.23202510178089142,
0.6412653923034668,
0.1760903298854828,
0.14274892210960388,
0.07044549286365509,
0.051933933049440384,
0.11930309236049652,
-0.12216354161500931,
-0.07697070389986038,
0.22118809819221497,
0.15236864984035492,
-0.00020351633429527283,
0.26250287890434265,
0.16210848093032837,
-0.07364073395729065,
0.06113444268703461,
0.010587267577648163,
0.17766065895557404,
-0.06689678132534027,
0.34333962202072144,
-0.24653878808021545,
0.277549684047699,
-0.13332965970039368,
0.13627026975154877,
-0.6502066254615784,
-0.15369804203510284,
0.34322676062583923,
-0.4141463041305542,
0.10784609615802765,
-0.06824053078889847,
0.05605448782444,
0.07450942695140839,
0.08696545660495758,
0.4335426092147827,
0.3255804479122162,
-0.19704683125019073,
-0.30158692598342896,
-0.547892689704895,
0.1837693154811859,
-0.02473553642630577,
0.13807351887226105,
0.006542607210576534,
0.0673832893371582,
0.03492563217878342,
0.08044011890888214,
0.22386321425437927,
0.18082429468631744,
-0.13177217543125153,
0.15757900476455688,
-0.293644517660141,
-0.10275346040725708,
-0.16008320450782776,
0.06324514746665955,
-0.08792747557163239,
-0.29944419860839844,
0.12700097262859344,
-0.09992731362581253,
0.05273512750864029,
-0.19371452927589417,
0.22057953476905823,
0.05706821754574776,
-0.27987197041511536,
0.34688347578048706,
0.1318029910326004,
0.1966947615146637,
-0.15342965722084045,
-0.17815548181533813,
-0.23232123255729675,
-0.15240010619163513,
-0.11935169994831085,
0.3400591015815735,
0.08740463852882385,
-0.030133161693811417,
-0.23318792879581451,
0.025914767757058144,
-0.011909134685993195,
0.11982887238264084,
0.034745343029499054,
-0.008333798497915268,
-0.3551759421825409,
0.1296231597661972,
-0.4348863363265991,
0.0018164622597396374,
-0.08957876265048981,
0.07528899610042572,
-0.021338418126106262,
-0.0050707608461380005,
-0.13253523409366608,
-0.34247684478759766,
0.7437354922294617,
-0.4379320442676544,
0.05654795095324516,
0.15733401477336884,
0.3597733676433563,
-0.11364386230707169,
-0.089494489133358,
-0.42213696241378784,
0.03420140594244003,
0.3630833625793457,
0.06601569056510925,
-0.254145085811615,
0.22540892660617828,
-0.1688338965177536,
-0.07437380403280258,
-0.06628594547510147,
0.37912166118621826,
-0.10865380614995956,
-0.38197141885757446,
0.05678308382630348,
-0.04172636941075325
] |
https://github.com/huggingface/datasets/issues/1618 | Can't filter language:EN on https://huggingface.co/datasets | Cool @mapmeld ! My 2 cents (for a next iteration), it would be cool to have a small search widget in the filter dropdown as you have a ton of languages now here! Closing this in the meantime. | When visiting https://huggingface.co/datasets, I don't see an obvious way to filter only English datasets. This is unexpected for me, am I missing something? I'd expect English to be selectable in the language widget. This problem reproduced on Mozilla Firefox and MS Edge:

| 38 | Can't filter language:EN on https://huggingface.co/datasets
When visiting https://huggingface.co/datasets, I don't see an obvious way to filter only English datasets. This is unexpected for me, am I missing something? I'd expect English to be selectable in the language widget. This problem reproduced on Mozilla Firefox and MS Edge:

Cool @mapmeld ! My 2 cents (for a next iteration), it would be cool to have a small search widget in the filter dropdown as you have a ton of languages now here! Closing this in the meantime. | [
0.06971998512744904,
-0.19046902656555176,
-0.09927427768707275,
-0.1423214077949524,
0.30437880754470825,
-0.19676372408866882,
-0.02429012581706047,
0.24369804561138153,
0.22994771599769592,
0.07343113422393799,
-0.38515704870224,
-0.02649671956896782,
0.10657740384340286,
0.3587079644203186,
0.0037258462980389595,
-0.029382139444351196,
0.008229874074459076,
-0.24211588501930237,
-0.01935412734746933,
-0.3352010250091553,
-0.021907463669776917,
0.2305803745985031,
0.014451451599597931,
0.19680199027061462,
0.034466858953237534,
0.14416836202144623,
0.23950260877609253,
0.11891070008277893,
-0.3369818925857544,
0.16110530495643616,
0.4430657923221588,
0.08394378423690796,
-0.2019207775592804,
0.07226812839508057,
-0.00011320968042127788,
0.18430207669734955,
0.28210607171058655,
-0.2375728338956833,
-0.31227174401283264,
-0.49016016721725464,
0.08330778032541275,
0.029877183958888054,
0.0978153795003891,
0.16041073203086853,
-0.19112983345985413,
-0.08885364234447479,
0.016486085951328278,
-0.5040478110313416,
0.13587576150894165,
0.2542886734008789,
0.13792888820171356,
0.22679604589939117,
-0.2300952821969986,
0.1821138560771942,
0.17065589129924774,
0.28348106145858765,
-0.1793496161699295,
-0.21517154574394226,
0.6144518852233887,
0.010362021625041962,
-0.024525895714759827,
0.3743492066860199,
0.1897171586751938,
-0.20653636753559113,
-0.019753672182559967,
-0.06956011056900024,
-0.08642289787530899,
-0.3363248407840729,
0.43899816274642944,
0.41790536046028137,
0.346248984336853,
0.15787383913993835,
-0.36980023980140686,
-0.03494046628475189,
-0.23118244111537933,
0.28968849778175354,
0.24065083265304565,
0.28268176317214966,
-0.49620312452316284,
0.29232239723205566,
-0.14967428147792816,
-0.6224765777587891,
0.1252487301826477,
0.45650070905685425,
-0.1259598433971405,
0.8481768369674683,
0.01094912737607956,
0.06485790014266968,
0.3868459165096283,
-0.20223161578178406,
0.08749720454216003,
-0.17366129159927368,
0.1670813411474228,
0.27504125237464905,
0.025852616876363754,
0.20476031303405762,
0.04993858188390732,
0.5662867426872253,
0.1952953040599823,
-0.068339504301548,
-0.5048609972000122,
0.4946342706680298,
-0.08479204028844833,
-0.035723984241485596,
0.2893124222755432,
-0.11086246371269226,
0.3451494574546814,
-0.04522904381155968,
0.4507940411567688,
-0.05670766159892082,
-0.02163364365696907,
-0.03043171763420105,
0.15885451436042786,
-0.01096382737159729,
-0.40004241466522217,
-0.32528403401374817,
0.10046172142028809,
-0.4018626809120178,
-0.25093427300453186,
-0.08281008899211884,
0.025390267372131348,
-0.5085736513137817,
0.37275731563568115,
0.2321229875087738,
0.23306481540203094,
0.020055972039699554,
-0.05363999307155609,
0.31883567571640015,
-0.2947303354740143,
-0.33789992332458496,
-0.06592801213264465,
0.08882535994052887,
-0.3805270791053772,
-0.2679072618484497,
0.09167121350765228,
-0.4386592209339142,
0.19774150848388672,
0.06603717803955078,
0.04288160800933838,
-0.09820480644702911,
-0.1369183212518692,
0.15869712829589844,
0.12991850078105927,
0.20439773797988892,
-0.16095419228076935,
0.2599790096282959,
0.5038834810256958,
-0.726670503616333,
-0.02654719352722168,
-0.007213883101940155,
-0.3502407670021057,
0.039247799664735794,
-0.44423532485961914,
0.07698507606983185,
-0.15539506077766418,
-0.18465951085090637,
0.2390429675579071,
0.627336323261261,
-0.08627381175756454,
-0.03932171314954758,
0.09916940331459045,
0.2599025070667267,
-0.3728787899017334,
0.27739959955215454,
0.12850382924079895,
0.15000911056995392,
-0.5414361357688904,
-0.39757299423217773,
-0.14067359268665314,
-0.20484428107738495,
0.16026902198791504,
0.16117531061172485,
-0.12806336581707,
-0.4564214050769806,
-0.05613664537668228,
0.12319168448448181,
0.22898781299591064,
-0.024881377816200256,
-0.3259279727935791,
0.025333767756819725,
0.085187166929245,
0.07721378654241562,
-0.17574739456176758,
-0.12106568366289139,
-0.17560291290283203,
-0.009973499923944473,
0.08501699566841125,
0.13118486106395721,
-0.11313314735889435,
-0.18143145740032196,
-0.11082439869642258,
-0.023086784407496452,
0.6042265295982361,
0.22406403720378876,
0.20613740384578705,
-0.15745437145233154,
0.16370660066604614,
0.017263125628232956,
0.2774576246738434,
-0.2118108570575714,
-0.04157256335020065,
0.14400053024291992,
0.23561979830265045,
0.15679790079593658,
0.14798131585121155,
-0.15420375764369965,
-0.24222564697265625,
-0.07081256061792374,
0.05864611268043518,
0.33457934856414795,
-0.09090577065944672,
-0.09991756081581116,
-0.158477783203125,
0.05504859238862991,
-0.29361698031425476,
-0.2847730219364166,
0.10344971716403961,
0.07071398198604584,
-0.2660558819770813,
0.2952747642993927,
-0.15304049849510193,
0.003563692793250084,
-0.022844891995191574,
0.01287703774869442,
-0.16866281628608704,
0.14235366880893707,
-0.03224135935306549,
0.07861051708459854,
-0.2693582773208618,
0.12887905538082123,
0.09608404338359833,
-0.09005620330572128,
-0.13980576395988464,
-0.10389699786901474,
0.35781440138816833,
-0.05118294060230255,
0.5464036464691162,
0.09469258040189743,
0.3221946954727173,
-0.2679734230041504,
-0.0512738898396492,
0.2520981431007385,
0.09335431456565857,
0.07471304386854172,
-0.4248594045639038,
0.23525667190551758,
0.2121911644935608,
0.35937944054603577,
0.15627124905586243,
0.15331290662288666,
0.4778582751750946,
0.04000253602862358,
-0.33783552050590515,
-0.4407452940940857,
0.4604889154434204,
-0.036416079849004745,
0.1299149990081787,
0.09749040752649307,
-0.4817984402179718,
0.15626074373722076,
0.3481701910495758,
0.2584574818611145,
0.44311243295669556,
0.4171914756298065,
0.05444257706403732,
-0.15998920798301697,
0.16776451468467712,
0.057511914521455765,
-0.07278561592102051,
0.16399775445461273,
0.3393566608428955,
0.045149073004722595,
0.1474931389093399,
-0.28359487652778625,
0.02940424531698227,
0.07793300598859787,
-0.003288265084847808,
-0.15365371108055115,
0.2630382180213928,
-0.38839516043663025,
-0.7758850455284119,
0.39439550042152405,
-0.128850519657135,
-0.13439913094043732,
0.07317419350147247,
0.2974517345428467,
-0.6716728210449219,
-0.42740702629089355,
0.14349444210529327,
-0.06969940662384033,
-0.6090423464775085,
-0.33005908131599426,
0.36098772287368774,
-0.177285298705101,
-0.07292647659778595,
0.0878157764673233,
0.00434204563498497,
0.14578711986541748,
-0.244167298078537,
0.06682642549276352,
-0.3475687503814697,
-0.2859019339084625,
-0.22794735431671143,
0.036886487156152725,
0.3765653669834137,
0.2082703858613968,
0.21329276263713837,
-0.07078012824058533,
0.0950176939368248,
-0.11854178458452225,
-0.8488960266113281,
0.165174663066864,
0.04369409754872322,
0.4854833781719208,
-0.058954477310180664,
0.19181405007839203,
-0.33609241247177124,
0.09609250724315643,
0.4884258508682251,
-0.03414686769247055,
-0.22123907506465912,
0.1713186502456665,
0.12589213252067566,
0.11979175359010696,
-0.022521652281284332,
-0.20724385976791382,
-0.4753741919994354,
-0.0032553132623434067,
-0.38890135288238525,
-0.18907126784324646,
-0.08132743835449219,
0.06113336235284805,
-0.13920651376247406,
-0.13344715535640717,
-0.42439720034599304,
-0.08048094809055328,
-0.44382819533348083,
-0.10250703990459442,
0.2734500765800476,
-0.014187775552272797,
-0.0718325525522232,
0.17323480546474457,
0.21183577179908752,
-0.0628606379032135,
-0.022612113505601883,
-0.2528596818447113,
-0.06480859220027924,
-0.14174795150756836,
0.049946125596761703,
0.12612977623939514,
0.09766842424869537,
0.23447439074516296,
-0.07710026949644089,
0.0769517719745636,
-0.2106243073940277,
-0.2498844861984253,
-0.0035376176238059998,
-0.11335039883852005,
0.37060287594795227,
-0.09665506333112717,
0.3994733989238739,
0.2778927981853485,
0.4070091247558594,
-0.04098428040742874,
0.3978930711746216,
0.729615330696106,
0.36980390548706055,
0.37861642241477966,
-0.18081381916999817,
-0.3395788073539734,
0.15187475085258484,
-0.053051382303237915,
0.067484050989151,
0.1528005301952362,
0.2572990655899048,
-0.2912735641002655,
-0.2542266249656677,
-0.17622050642967224,
-0.20759442448616028,
-0.13269810378551483,
0.07500740140676498,
0.226345494389534,
-0.0904255285859108,
0.20022089779376984,
0.09714511781930923,
0.29216936230659485,
-0.09773684293031693,
-0.09512169659137726,
0.4100567102432251,
-0.025229454040527344,
0.20255134999752045,
-0.31468793749809265,
-0.40607547760009766,
-0.22732985019683838,
0.1209268793463707,
0.0852564349770546,
0.366311639547348,
-0.46235391497612,
0.09974836558103561,
0.4209720492362976,
0.14236170053482056,
0.5113821029663086,
-0.3275407552719116,
-0.21699689328670502,
-0.19326959550380707,
-0.3665875494480133,
-0.2917202413082123,
0.1333189457654953,
-0.04153114929795265,
-0.08906674385070801,
0.3254944682121277,
0.11389847099781036,
-0.29776012897491455,
-0.3260323703289032,
-0.2396516501903534,
0.2806362807750702,
-0.074127197265625,
0.06951890140771866,
-0.14204996824264526,
-0.2998773455619812,
-0.3416672945022583,
0.27771976590156555,
0.027630547061562538,
0.010121019557118416,
0.1436527520418167,
0.11659978330135345,
0.13288640975952148,
0.26186150312423706,
0.02037496119737625,
0.10747212171554565,
-0.1997939646244049,
0.12035353481769562,
-0.3877084255218506,
0.1785956621170044,
0.2634787857532501,
-0.23615816235542297,
0.5840198397636414,
0.05448755994439125,
-0.4106302261352539,
-0.10294320434331894,
-0.1549549400806427,
0.2495320439338684,
0.32772862911224365,
0.21763962507247925,
0.1701340675354004,
0.4617418348789215,
-0.07367956638336182,
0.24619993567466736,
-0.07040002942085266,
0.08763360232114792,
0.3339957892894745,
-0.41728639602661133,
-0.2025863379240036,
0.2991059720516205,
-0.19632026553153992,
0.0929349958896637,
0.17674823105335236,
0.6078706383705139,
-0.11597307026386261,
0.004391610622406006,
0.03158373013138771,
0.9024520516395569,
0.04553939402103424,
-0.08177830278873444,
-0.1098656877875328,
-0.13398543000221252,
0.18324971199035645,
-0.02732091397047043,
-0.14899942278862,
0.06250302493572235,
-0.11969521641731262,
-0.1612454354763031,
0.16521860659122467,
0.13119180500507355,
-0.05192626267671585,
-0.10834426432847977,
0.2160114347934723,
-0.20774830877780914,
-0.3687964975833893,
0.49097031354904175,
0.1842215359210968,
-0.2601143419742584,
-0.03383210301399231,
-0.09490989148616791,
0.08622084558010101,
-0.015845976769924164,
0.4588499665260315,
0.14629605412483215,
-0.02674073725938797,
-0.0477764829993248,
-0.295096755027771,
-0.47841984033584595,
0.02057742327451706,
-0.2033831626176834,
-0.019725628197193146,
-0.04155001416802406,
-0.461143434047699,
0.33673611283302307,
-0.03872430697083473,
0.3308035135269165,
0.23571699857711792,
-0.2417200207710266,
0.438230961561203,
0.029657110571861267,
0.06165766343474388,
-0.15899710357189178,
-0.042162030935287476,
0.3224780261516571,
-0.09995050728321075,
-0.4679795205593109,
-0.0917440727353096,
0.06480943411588669,
-0.16042780876159668,
-0.33167800307273865,
0.030195094645023346,
-0.014068029820919037,
0.3370954692363739,
-0.3215787708759308,
0.0008817538619041443,
0.11602599918842316,
-0.3203571140766144,
0.05104697123169899,
0.15397462248802185,
0.16021612286567688,
-0.31304988265037537,
0.41735175251960754,
-0.06305611878633499,
-0.20245033502578735,
0.26920172572135925,
0.08887643367052078,
0.16345703601837158,
0.31317755579948425,
0.47892725467681885,
-0.3741089105606079,
-0.12804557383060455,
-0.009291678667068481,
0.1501128226518631,
-0.03838234767317772,
-0.30020126700401306,
0.06304606050252914,
-0.14665202796459198,
-0.13069839775562286,
-0.03745727613568306,
-0.18902365863323212,
-0.055026791989803314,
-0.2686323821544647,
-0.419450581073761,
0.26426807045936584,
0.15632176399230957,
-0.16154101490974426,
-0.15814116597175598,
-0.058808498084545135,
-0.2340727299451828,
0.2292053997516632,
0.0600799098610878,
-0.1987728774547577,
-0.09521251916885376,
0.07084525376558304,
0.00044072046875953674,
0.08095138520002365,
0.31351783871650696,
0.0671558529138565,
-0.23152640461921692,
-0.014163772575557232,
-0.1911027878522873,
-0.05476353317499161,
-0.1556665301322937,
-0.07700976729393005,
0.012950688600540161,
0.2241220474243164,
-0.2560296058654785,
0.3213592767715454,
0.09874402731657028,
0.2911233901977539,
-0.1497281938791275,
0.060009200125932693,
0.2371496856212616,
0.13116276264190674,
0.02193383499979973,
-0.12331843376159668,
-0.17236530780792236,
0.35826295614242554,
-0.026293661445379257,
0.01919785887002945,
0.029298722743988037,
0.19044248759746552,
-0.06006873399019241,
0.4209100902080536,
0.019978798925876617,
-0.05220234394073486,
-0.06740117818117142,
-0.105073481798172,
0.3562834858894348,
-0.2561871409416199,
-0.07849811017513275,
0.24875277280807495,
0.08992087095975876,
-0.023822307586669922,
0.21567831933498383,
-0.006719575263559818,
0.2575019598007202,
0.3767143487930298,
0.127165749669075,
-0.3480815291404724,
-0.27087822556495667,
0.43936797976493835,
0.06961892545223236,
0.09128797054290771,
0.05186562240123749,
-0.020996153354644775,
0.19002768397331238,
0.5934479236602783,
-0.21735960245132446,
0.0005982406437397003,
-0.2812071442604065,
0.3986511826515198,
0.11680043488740921,
0.041448552161455154,
0.0038439370691776276,
0.21096743643283844,
-0.09584382176399231,
-0.1941690742969513,
0.2776305079460144,
0.0010261088609695435,
0.1392681747674942,
0.015783820301294327,
0.2865014374256134,
-0.04347636550664902,
-0.18262800574302673,
-0.277884304523468,
0.06300517916679382,
-0.17198380827903748,
0.025473419576883316,
0.1456587165594101,
0.008559055626392365,
0.16860339045524597,
-0.29468268156051636,
-0.15675094723701477,
0.44295161962509155,
-0.03485894203186035,
-0.16607294976711273,
-0.016146134585142136,
-0.2395256757736206,
-0.032703712582588196,
0.19648873805999756,
-0.013230428099632263,
-0.22293876111507416,
0.04008498415350914,
-0.055427342653274536,
-0.03730863332748413,
-0.26081493496894836,
0.057833004742860794,
-0.22985145449638367,
-0.20410007238388062,
0.09645803272724152,
0.330518901348114,
0.01451379805803299,
0.03864670917391777,
0.03856189548969269,
0.07439614087343216,
-0.10651163756847382,
0.17055165767669678,
0.002662752754986286,
-0.06757642328739166,
-0.21305109560489655,
-0.10341021418571472,
-0.10135746002197266,
0.333780437707901,
0.23960696160793304,
0.04204028472304344,
0.2500341534614563,
0.12112843990325928,
-0.04485490545630455,
0.21429869532585144,
0.1440337747335434,
-0.038588009774684906,
-0.11121353507041931,
-0.24716585874557495,
-0.19677254557609558,
0.5320685505867004,
-0.36618876457214355,
-0.40232032537460327,
-0.28966671228408813,
0.35550427436828613,
0.09563013911247253,
-0.13504484295845032,
-0.0017210273072123528,
-0.2280672937631607,
0.055331937968730927,
0.14242835342884064,
0.12697505950927734,
0.30299216508865356,
0.19738978147506714,
0.16200639307498932,
-0.29897475242614746,
-0.4763532876968384,
-0.13803043961524963,
-0.22680974006652832,
0.03385283052921295,
0.03324657306075096,
-0.07970830053091049,
0.3156285881996155,
0.2846124768257141,
0.37455064058303833,
0.08537376672029495,
-0.10244489461183548,
0.0912109762430191,
-0.1856527030467987,
0.02260538563132286,
0.253464937210083,
0.27649980783462524,
-0.006992839276790619,
0.025896556675434113,
0.13364410400390625,
-0.13133634626865387,
-0.03211376816034317,
-0.15810944139957428,
0.3250003457069397,
-0.20641572773456573,
-0.34133249521255493,
0.17504805326461792,
0.09749242663383484,
0.4911986291408539,
-0.1743943691253662,
0.20772552490234375,
0.0252879336476326,
-0.22330008447170258,
-0.35999158024787903,
0.4798063635826111,
0.1770719289779663,
0.20941892266273499,
-0.06207647919654846,
-0.24230603873729706,
0.015404791571199894,
0.36566516757011414,
-0.1404818594455719,
0.27854979038238525,
0.04357542097568512,
0.025752654299139977,
0.26446765661239624,
-0.2237759381532669,
-0.12013451755046844,
0.1116725355386734,
0.04576469585299492,
-0.2715980112552643,
-0.013840444386005402,
-0.15576952695846558,
0.30855792760849,
-0.13012529909610748,
-0.3394054174423218,
-0.17376179993152618,
-0.1860189437866211,
0.3233475387096405,
-0.24385550618171692,
-0.1015704944729805,
-0.00651492178440094,
-0.054777927696704865,
0.034306108951568604,
0.09154847264289856,
0.11759443581104279,
-0.0001388518139719963,
-0.1157764345407486,
-0.32086455821990967,
0.1700102835893631,
0.41630226373672485,
-0.03590501472353935,
-0.02185680717229843,
-0.07236891984939575
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi @SapirWeissbuch,
When you are saying it freezes, at that time it is unzipping the file from the zip file it downloaded. Since it's a very heavy file it'll take some time. It was taking ~11GB after unzipping when it started reading examples for me. Hope that helps!

| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 54 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Hi @SapirWeissbuch,
When you are saying it freezes, at that time it is unzipping the file from the zip file it downloaded. Since it's a very heavy file it'll take some time. It was taking ~11GB after unzipping when it started reading examples for me. Hope that helps!

| [
-0.04190830886363983,
0.172739177942276,
-0.05846252664923668,
0.4489467740058899,
0.08309242129325867,
0.2269361913204193,
0.2345205396413803,
0.08806474506855011,
0.1740853637456894,
-0.0008379369974136353,
-0.218278169631958,
0.25953221321105957,
0.001813407987356186,
0.08185411989688873,
-0.09897124767303467,
-0.006977371871471405,
-0.09746343642473221,
-0.14111505448818207,
0.20997217297554016,
0.15325038135051727,
-0.14022400975227356,
0.5456247925758362,
-0.2876875400543213,
-0.3265477418899536,
-0.17791339755058289,
-0.056436292827129364,
0.059068404138088226,
0.20663762092590332,
-0.03975720703601837,
-0.2740008533000946,
0.5494996309280396,
0.2960209846496582,
0.02834179624915123,
0.5103060007095337,
-0.00011635050759650767,
-0.20480066537857056,
0.31319040060043335,
-0.0038419198244810104,
-0.4972882866859436,
-0.2235814481973648,
-0.34295764565467834,
-0.025589074939489365,
0.05713006854057312,
0.07337190955877304,
0.05386243760585785,
0.45520132780075073,
-0.11311934888362885,
-0.6822662353515625,
0.03994157910346985,
0.07208830118179321,
0.14936463534832,
-0.06460092961788177,
-0.1997612714767456,
-0.10221821069717407,
0.12196248769760132,
-0.1928972452878952,
-0.2828271985054016,
0.4720596671104431,
0.2885798215866089,
0.06578362733125687,
0.2345459759235382,
0.2593851387500763,
0.004688078537583351,
0.33775991201400757,
0.09886866062879562,
0.058191459625959396,
-0.3259819447994232,
-0.3113314211368561,
0.4224758446216583,
0.2790926396846771,
0.870347261428833,
-0.2963438332080841,
-0.17542530596256256,
-0.04236719757318497,
0.07155478745698929,
-0.10383499413728714,
0.2577141225337982,
0.08885394781827927,
-0.4103254973888397,
-0.03350793197751045,
-0.12320312112569809,
-0.16443772614002228,
-0.0424618199467659,
0.0381719246506691,
-0.19275550544261932,
-0.2027973234653473,
-0.1956019401550293,
-0.02447318285703659,
0.12112908065319061,
0.015482248738408089,
0.3752964735031128,
-0.2665829360485077,
-0.22031089663505554,
0.14168979227542877,
-0.6825617551803589,
0.08890832960605621,
-0.1432446539402008,
0.15206775069236755,
0.16610857844352722,
0.17739662528038025,
0.2389194220304489,
0.25082919001579285,
-0.24167172610759735,
-0.030046306550502777,
0.2960168719291687,
0.4848724901676178,
-0.06710370630025864,
-0.0906195119023323,
0.31288576126098633,
0.28915882110595703,
-0.11636680364608765,
0.06469817459583282,
-0.11278852820396423,
-0.054056063294410706,
-0.008818762376904488,
-0.13952726125717163,
0.1751491278409958,
-0.3751082122325897,
-0.30672523379325867,
0.06588945537805557,
0.015586808323860168,
0.16772231459617615,
0.03495558351278305,
0.35437312722206116,
-0.37634122371673584,
0.21569758653640747,
-0.11200108379125595,
-0.0455826073884964,
-0.16613931953907013,
-0.04197898879647255,
-0.08614879101514816,
-0.1404377967119217,
0.054352615028619766,
0.16929468512535095,
0.41187813878059387,
-0.13295046985149384,
0.07463642209768295,
-0.213166281580925,
0.1723814606666565,
-0.04189680889248848,
0.09637542068958282,
-0.4568724036216736,
-0.03222588449716568,
0.1924804300069809,
0.03704172000288963,
0.41386863589286804,
-0.20778527855873108,
-0.15930971503257751,
-0.16452670097351074,
0.2517724633216858,
-0.2718759775161743,
-0.14364728331565857,
-0.007460152730345726,
0.0797770768404007,
-0.4005436897277832,
-0.07223310321569443,
-0.16829580068588257,
0.123660147190094,
0.19611245393753052,
-0.04326929152011871,
-0.02369781583547592,
0.050155580043792725,
-0.3369024395942688,
-0.26000937819480896,
0.24583977460861206,
0.652167558670044,
-0.4494021236896515,
0.3058449923992157,
-0.3420862853527069,
0.12999914586544037,
0.08046834170818329,
0.2561938762664795,
-0.0010043474612757564,
0.033772699534893036,
-0.40615907311439514,
0.014971263706684113,
0.32122868299484253,
-0.3201256990432739,
-0.7326213717460632,
0.3826342225074768,
-0.025631535798311234,
0.2514272928237915,
0.03034725785255432,
0.22565016150474548,
0.12269506603479385,
-0.07492391020059586,
0.1661730855703354,
0.4375929832458496,
-0.1711919903755188,
-0.03169315680861473,
-0.4060001075267792,
-0.27152588963508606,
0.10053408145904541,
0.16994322836399078,
-0.16595670580863953,
0.06792843341827393,
-0.036284543573856354,
0.11878808587789536,
0.15565109252929688,
0.38641875982284546,
0.05886886268854141,
0.3071848154067993,
0.26692700386047363,
0.00021661072969436646,
0.07096731662750244,
-0.06712442636489868,
-0.8073764443397522,
0.4343363046646118,
-0.06533671170473099,
-0.15220773220062256,
-0.1980060487985611,
-0.014248929917812347,
-0.4346858561038971,
-0.167531818151474,
-0.27412813901901245,
-0.24887171387672424,
-0.010911241173744202,
0.09870430827140808,
0.3192571699619293,
0.2353905290365219,
0.10141506791114807,
0.6483373045921326,
0.3068910837173462,
-0.04809381067752838,
-0.43788227438926697,
0.08920280635356903,
0.051903508603572845,
-0.11640143394470215,
-0.06460776180028915,
-0.034109532833099365,
0.017602145671844482,
-0.20084603130817413,
-0.21785417199134827,
0.20844241976737976,
0.17331324517726898,
0.13113728165626526,
-0.017283499240875244,
0.01905350387096405,
0.2716844081878662,
0.019391808658838272,
0.2862115800380707,
0.05080904811620712,
0.3185540735721588,
-0.2622423768043518,
-0.19592729210853577,
-0.01481446623802185,
-0.45809516310691833,
0.21771559119224548,
-0.11056147515773773,
-0.02374606393277645,
0.21065564453601837,
0.02731567993760109,
0.2022930532693863,
-0.04649681970477104,
0.29694682359695435,
0.1381288766860962,
0.3851884603500366,
-0.18209315836429596,
0.01593862473964691,
0.31547632813453674,
0.2811933159828186,
0.1673019975423813,
-0.03329964727163315,
0.15286032855510712,
-0.10994986444711685,
-0.05774059146642685,
0.15848490595817566,
0.42889857292175293,
0.631771445274353,
0.014672375284135342,
0.19706250727176666,
-0.022159026935696602,
0.21543455123901367,
-0.27553898096084595,
0.05128583312034607,
0.08255268633365631,
-0.13017785549163818,
0.15446767210960388,
0.1960984170436859,
-0.038420699536800385,
0.17956191301345825,
-0.10357099771499634,
0.10965714603662491,
0.15328240394592285,
-0.03082265518605709,
0.29521724581718445,
-0.21021908521652222,
-0.19186031818389893,
0.06593552231788635,
-0.09631923586130142,
-0.004773210734128952,
-0.4441174566745758,
-0.16199588775634766,
0.3785778880119324,
0.2477113902568817,
-0.06512915343046188,
-0.06939661502838135,
0.25230956077575684,
0.10835939645767212,
-0.540651798248291,
-0.34030064940452576,
-0.2089051753282547,
-0.2180713713169098,
0.015159953385591507,
0.27168017625808716,
0.06324092298746109,
0.20639866590499878,
-0.0864795669913292,
-0.047574181109666824,
-0.18135862052440643,
-0.13955162465572357,
-0.02015937864780426,
-0.05433034151792526,
0.42905256152153015,
0.06743831932544708,
0.3619534969329834,
-0.1399616301059723,
0.24676497280597687,
0.0067673297598958015,
0.03047928772866726,
-0.08653886616230011,
0.0126488097012043,
0.034026339650154114,
0.19702446460723877,
-0.11441242694854736,
-0.37647563219070435,
-0.3245883584022522,
-0.4204919934272766,
0.20191405713558197,
-0.018498871475458145,
0.003930073231458664,
0.3973691165447235,
0.08295710384845734,
0.07035999000072479,
0.26589950919151306,
-0.16686215996742249,
-0.3439252972602844,
-0.3762112259864807,
0.6043846011161804,
-0.18681217730045319,
-0.14604467153549194,
0.03936270996928215,
-0.04985395073890686,
0.3061043620109558,
0.11345541477203369,
-0.542765736579895,
0.04214746877551079,
-0.5677761435508728,
0.5096669793128967,
-0.1733066886663437,
-0.17211605608463287,
0.26837843656539917,
-0.22143062949180603,
0.09259366989135742,
-0.0034910254180431366,
-0.12495414912700653,
0.01683695614337921,
0.22907283902168274,
0.27334654331207275,
0.19163888692855835,
0.11653077602386475,
0.16388636827468872,
0.5300636291503906,
0.11570870876312256,
0.10980568826198578,
0.3600558936595917,
0.20783840119838715,
0.4153869152069092,
-0.20221972465515137,
-0.09817817062139511,
-0.02498772367835045,
-0.10806804895401001,
-0.1985756754875183,
0.05855531245470047,
0.07588841021060944,
0.11344365775585175,
-0.18274584412574768,
0.20208457112312317,
0.12776535749435425,
-0.14852027595043182,
0.04092104732990265,
-0.4448767900466919,
-0.039867594838142395,
0.17566710710525513,
0.12372686713933945,
0.16601654887199402,
-0.4054836332798004,
0.11432710289955139,
0.17499443888664246,
-0.16036659479141235,
-0.009718463756144047,
0.32624584436416626,
0.2560053765773773,
-0.5234524607658386,
0.2162797749042511,
0.018100466579198837,
0.2151673287153244,
-0.2940828204154968,
0.1594325304031372,
0.1931454837322235,
-0.03338068351149559,
0.6104548573493958,
-0.07350587844848633,
0.119847871363163,
0.08442364633083344,
-0.07221298664808273,
-0.2800076901912689,
0.0625382661819458,
-0.03275541961193085,
0.22158993780612946,
0.09467780590057373,
0.08402741700410843,
-0.3307250142097473,
0.2568325102329254,
-0.09678401052951813,
0.3848523199558258,
-0.12862692773342133,
-0.2640790641307831,
-0.2131870537996292,
-0.3541560173034668,
-0.17596755921840668,
-0.16634202003479004,
0.056222103536129,
0.10602262616157532,
-0.05014185607433319,
-0.16647818684577942,
-0.02325025387108326,
-0.14097923040390015,
-0.06459297239780426,
0.20140394568443298,
0.18987679481506348,
0.03232093155384064,
0.550743043422699,
0.16355982422828674,
-0.5343501567840576,
0.002834109589457512,
0.5873193740844727,
0.07281544059515,
-0.2510008215904236,
0.08643344789743423,
-0.022748691961169243,
-0.33731257915496826,
0.3260502815246582,
-0.2240007519721985,
-0.013417497277259827,
-0.16963711380958557,
0.0024738460779190063,
0.05499184876680374,
0.17463192343711853,
-0.07468076795339584,
-0.06571333110332489,
-0.1519862711429596,
-0.4081589877605438,
0.4954632818698883,
0.03500158339738846,
-0.15286999940872192,
0.5628783106803894,
-0.3258576989173889,
-0.10961005836725235,
0.19979487359523773,
-0.17324528098106384,
0.8595936298370361,
-0.17773546278476715,
0.08551876246929169,
0.11731976270675659,
-0.25101757049560547,
0.4928020238876343,
-0.2547515332698822,
0.05001875385642052,
-0.28746768832206726,
-0.3076956272125244,
0.07846271991729736,
-0.17395740747451782,
0.16240689158439636,
-0.062266431748867035,
-0.3460332155227661,
0.2888250946998596,
-0.3253987729549408,
0.01831950806081295,
-0.04006773978471756,
0.115846186876297,
-0.22509144246578217,
-0.17197124660015106,
-0.220720112323761,
0.17394569516181946,
-0.2580856680870056,
0.343728244304657,
-0.17793381214141846,
0.005782157648354769,
-0.32536330819129944,
0.1621321141719818,
-0.3772121071815491,
0.159880131483078,
-0.43098005652427673,
0.07804663479328156,
-0.1338416337966919,
-0.4891131520271301,
0.028218653053045273,
0.23556049168109894,
0.23002487421035767,
0.09163151681423187,
-0.2944985032081604,
0.42853930592536926,
0.07861466705799103,
-0.11685828864574432,
0.14332909882068634,
-0.09756267070770264,
-0.16731540858745575,
-0.10135962069034576,
0.009322434663772583,
0.04144638776779175,
-0.14910978078842163,
-0.0571758970618248,
0.07730364799499512,
0.1830575168132782,
0.1978445053100586,
0.07730870693922043,
-0.31503069400787354,
-0.14328265190124512,
0.10297033190727234,
-0.059788040816783905,
0.08480028808116913,
0.3302457332611084,
0.06888602674007416,
0.23450860381126404,
-0.08031070232391357,
-0.13952293992042542,
-0.14028851687908173,
0.5465251803398132,
-0.09524401277303696,
-0.05869361758232117,
0.45143672823905945,
0.15158215165138245,
-0.20017088949680328,
-0.09383226931095123,
-0.03670956939458847,
-0.6449847221374512,
-0.4405820071697235,
0.28307902812957764,
-0.14358749985694885,
0.003935232758522034,
-0.10145080089569092,
0.21523086726665497,
0.058670856058597565,
-0.2457256317138672,
0.03702157363295555,
-0.541117787361145,
-0.18211954832077026,
-0.3006327152252197,
-0.2627495527267456,
0.21884103119373322,
-0.18361830711364746,
-0.3439791798591614,
0.0516594722867012,
0.2093581259250641,
-0.17382898926734924,
0.10099875926971436,
-0.2741859257221222,
-0.15935534238815308,
0.1626308113336563,
0.10456173121929169,
0.32476383447647095,
0.008254554122686386,
-0.0520348846912384,
0.2829306125640869,
-0.06527042388916016,
-0.19141140580177307,
-0.0854739248752594,
0.17040905356407166,
-0.03477591648697853,
-0.2156839221715927,
-0.05418802425265312,
-0.22510287165641785,
-0.08972661197185516,
0.05703606829047203,
0.3465261459350586,
0.27925553917884827,
-0.022603429853916168,
-0.1325477659702301,
-0.05395650491118431,
0.2009238600730896,
-0.42485082149505615,
0.5406426191329956,
-0.17425855994224548,
0.331526517868042,
0.2469300776720047,
0.07212436199188232,
0.05386779457330704,
0.0042932480573654175,
-0.2793900966644287,
-0.1636245846748352,
0.04193566367030144,
-0.27209123969078064,
0.21152597665786743,
-0.22999824583530426,
0.12304668128490448,
0.039370931684970856,
-0.15889810025691986,
0.4445643126964569,
-0.1811893880367279,
-0.40005025267601013,
0.17098408937454224,
0.10265960544347763,
0.054287850856781006,
0.024007346481084824,
-0.20449082553386688,
0.11321753263473511,
-0.10703623294830322,
0.2897760272026062,
0.13305431604385376,
-0.04361436516046524,
0.1880614161491394,
0.28205302357673645,
0.6532974243164062,
-0.03950478136539459,
0.10796092450618744,
0.025754552334547043,
-0.06733005493879318,
0.16777530312538147,
0.07508564740419388,
0.08902474492788315,
-0.11216192692518234,
0.4364626407623291,
-0.15693023800849915,
0.1402919590473175,
-0.02044610306620598,
0.22422751784324646,
0.011510111391544342,
-0.4680801331996918,
0.05953843146562576,
0.2120230793952942,
-0.20100480318069458,
0.13253892958164215,
0.07971085608005524,
0.11680123209953308,
-0.21724556386470795,
0.07407199591398239,
-0.19642765820026398,
-0.1980275958776474,
0.028444232419133186,
-0.008488350547850132,
0.43077588081359863,
-0.10187376290559769,
-0.09497688710689545,
0.16526521742343903,
-0.019318800419569016,
-0.20355941355228424,
0.407684326171875,
0.21539762616157532,
-0.23174472153186798,
-0.38781973719596863,
0.09998401254415512,
0.12823185324668884,
0.035657770931720734,
-0.0697672963142395,
0.41953372955322266,
-0.042692720890045166,
-0.05234867334365845,
0.08827447891235352,
0.1833009570837021,
0.15630590915679932,
0.30367666482925415,
-0.2038547545671463,
-0.03982815146446228,
0.0033326707780361176,
-0.04030389338731766,
0.09359346330165863,
0.4269135892391205,
0.07056339830160141,
-0.06704139709472656,
0.22745709121227264,
0.06963641196489334,
-0.1309250444173813,
0.0751289576292038,
0.23805704712867737,
0.11695787310600281,
-0.3764616847038269,
0.23784753680229187,
-0.18629486858844757,
0.11934604495763779,
-0.13182388246059418,
0.012940540909767151,
-0.23578694462776184,
-0.03732189163565636,
-0.042665593326091766,
-0.14767895638942719,
-0.013686606660485268,
0.060197535902261734,
0.05241771787405014,
-0.011767171323299408,
0.6775055527687073,
0.22562526166439056,
0.2454313039779663,
-0.31528469920158386,
-0.11661401391029358,
-0.6835511922836304,
0.11763723194599152,
0.02457410655915737,
-0.09287095814943314,
-0.13541483879089355,
0.3266230821609497,
-0.20054325461387634,
0.3659253716468811,
-0.14878864586353302,
0.31397995352745056,
0.29097503423690796,
0.1791515350341797,
-0.4901595711708069,
-0.34836843609809875,
-0.07714378833770752,
-0.19872330129146576,
-0.022622330114245415,
-0.5086996555328369,
-0.05473813787102699,
0.0389297716319561,
-0.0785040482878685,
-0.04125931113958359,
-0.462797611951828,
0.14327742159366608,
0.3093458414077759,
0.4588361382484436,
0.002856200560927391,
0.2817785143852234,
0.24787074327468872,
-0.2167213261127472,
-0.1851254105567932,
0.028356987982988358,
0.19502556324005127,
-0.17519035935401917,
0.18468588590621948,
-0.07691676914691925,
-0.19163721799850464,
0.04181663319468498,
-0.284183531999588,
0.5085654258728027,
0.10087287425994873,
0.42625415325164795,
-0.007839774712920189,
-0.13773159682750702,
0.0082964226603508,
0.38411080837249756,
0.059807781130075455,
0.305510550737381,
-0.15524238348007202,
0.23518045246601105,
-0.3621492385864258,
-0.1250898838043213,
0.3949170410633087,
-0.04719104990363121,
-0.32957690954208374,
0.25242552161216736,
0.20868730545043945,
-0.17835012078285217,
-0.3466309905052185,
-0.49674105644226074,
0.24995988607406616,
0.25933128595352173,
-0.21568074822425842,
-0.02253330498933792,
0.20970064401626587,
-0.19521008431911469,
0.12520161271095276,
-0.15473362803459167,
0.432401567697525,
0.10718511044979095,
0.07678157091140747,
-0.005514521151781082,
-0.024028906598687172
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi @bhavitvyamalik
Thanks for the reply!
Actually I let it run for 30 minutes before I killed the process. In this time, 30GB were extracted (much more than 11GB), I checked the size of the destination directory.
What version of Datasets are you using?
| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 44 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Hi @bhavitvyamalik
Thanks for the reply!
Actually I let it run for 30 minutes before I killed the process. In this time, 30GB were extracted (much more than 11GB), I checked the size of the destination directory.
What version of Datasets are you using?
| [
-0.0727548897266388,
0.16264641284942627,
-0.05210081860423088,
0.41592884063720703,
0.07195276021957397,
0.17672476172447205,
0.19856692850589752,
0.06675822287797928,
0.13335315883159637,
-0.003992170095443726,
-0.21094276010990143,
0.20150774717330933,
-0.04721824824810028,
0.09250311553478241,
-0.11516879498958588,
0.0005981549620628357,
-0.1870141327381134,
-0.05966298282146454,
0.1579323410987854,
0.13529933989048004,
-0.16771697998046875,
0.4393421709537506,
-0.2720968723297119,
-0.3291648030281067,
-0.21954317390918732,
0.006510866805911064,
0.03406226634979248,
0.1153707355260849,
-0.04392244666814804,
-0.25154542922973633,
0.5903282165527344,
0.18179646134376526,
0.20229555666446686,
0.559630274772644,
-0.00011642999015748501,
-0.2690272331237793,
0.3349494934082031,
-0.08136770874261856,
-0.5700405836105347,
-0.25611430406570435,
-0.4124467670917511,
0.013320069760084152,
0.03506385535001755,
0.05126708000898361,
0.06378296762704849,
0.42051899433135986,
-0.15212489664554596,
-0.6420572400093079,
0.09613694250583649,
0.18482035398483276,
0.20392319560050964,
-0.14253175258636475,
-0.15322008728981018,
-0.10565099120140076,
0.10253544896841049,
-0.04333001375198364,
-0.23045939207077026,
0.4613932967185974,
0.18761226534843445,
0.09374810755252838,
0.2468426525592804,
0.3056148588657379,
-0.0021746978163719177,
0.373374342918396,
0.12437193840742111,
0.02245398983359337,
-0.235996276140213,
-0.35858210921287537,
0.4380190372467041,
0.2638859450817108,
0.8583322763442993,
-0.2614649534225464,
-0.24548572301864624,
-0.14083018898963928,
0.0629531517624855,
-0.13385345041751862,
0.25923049449920654,
0.26338037848472595,
-0.3231266140937805,
-0.007395390421152115,
-0.1510872095823288,
-0.1000831350684166,
-0.06368239223957062,
-0.004089087247848511,
-0.20769339799880981,
-0.28494277596473694,
-0.19907142221927643,
0.002044461667537689,
0.02805955335497856,
-0.0006226152181625366,
0.3906318247318268,
-0.1917213797569275,
-0.17240899801254272,
0.31075581908226013,
-0.5941227674484253,
0.11014747619628906,
-0.05516143888235092,
0.18523308634757996,
0.21004244685173035,
0.17306840419769287,
0.16083991527557373,
0.08328888565301895,
-0.345711886882782,
-0.058526866137981415,
0.29252395033836365,
0.5779300928115845,
-0.06925595551729202,
-0.07975365966558456,
0.1991259902715683,
0.2562428414821625,
-0.07007391005754471,
0.06983663141727448,
-0.08849373459815979,
-0.024624917656183243,
0.05725341662764549,
-0.1104036197066307,
0.2593989372253418,
-0.35352611541748047,
-0.38317468762397766,
0.06824857741594315,
0.021193191409111023,
0.22331422567367554,
-0.04839354380965233,
0.2390224039554596,
-0.23938201367855072,
0.26803529262542725,
-0.08489060401916504,
0.06020798906683922,
-0.12095607072114944,
-0.10478980094194412,
-0.10999485850334167,
-0.0689460039138794,
0.012042585760354996,
0.10896139591932297,
0.41293907165527344,
-0.146884486079216,
0.0874883383512497,
-0.185296431183815,
0.1007983386516571,
-0.07526026666164398,
0.044100694358348846,
-0.48502156138420105,
-0.0442703440785408,
0.2853200137615204,
0.1247137188911438,
0.3971719443798065,
-0.23885418474674225,
-0.13818827271461487,
-0.1328907608985901,
0.3041512668132782,
-0.31511828303337097,
-0.28274160623550415,
-0.08923879265785217,
0.11525709182024002,
-0.45914149284362793,
-0.09806068241596222,
-0.32687246799468994,
0.15729880332946777,
0.26852890849113464,
0.10593380033969879,
-0.009349510073661804,
-0.036006584763526917,
-0.39589935541152954,
-0.2581656575202942,
0.20207108557224274,
0.5899383425712585,
-0.42221611738204956,
0.2609267234802246,
-0.30113792419433594,
0.18839217722415924,
0.1586332619190216,
0.2318541556596756,
0.02582218497991562,
0.10760052502155304,
-0.4511805772781372,
0.019725479185581207,
0.27455249428749084,
-0.3494890034198761,
-0.7386113405227661,
0.3036574125289917,
0.021286800503730774,
0.22136029601097107,
0.03664294630289078,
0.07630385458469391,
0.15280811488628387,
-0.02802547812461853,
0.16202053427696228,
0.46092337369918823,
-0.18446218967437744,
-0.0038155633956193924,
-0.38576725125312805,
-0.33021309971809387,
0.0818018764257431,
0.18156734108924866,
-0.030519064515829086,
0.06761348247528076,
0.025846146047115326,
0.09140060096979141,
0.21472308039665222,
0.3796001374721527,
0.158737450838089,
0.2579649090766907,
0.31544429063796997,
-0.045044541358947754,
0.03121800720691681,
-0.08654296398162842,
-0.7296489477157593,
0.4170328676700592,
-0.1016145572066307,
-0.11460116505622864,
-0.19995875656604767,
-0.0041276514530181885,
-0.5134186744689941,
-0.08379106223583221,
-0.26018455624580383,
-0.28581464290618896,
-0.012826226651668549,
0.07243990153074265,
0.33986377716064453,
0.13175003230571747,
0.09764575958251953,
0.6660853624343872,
0.2577015459537506,
-0.12178388237953186,
-0.43224719166755676,
0.049094706773757935,
0.03399350866675377,
-0.10292554646730423,
-0.032706715166568756,
0.010017156600952148,
0.09391658008098602,
-0.1624750792980194,
-0.257821261882782,
0.1050460934638977,
0.1943415105342865,
0.02210123836994171,
0.03717716410756111,
0.04910482466220856,
0.256879597902298,
0.04241025075316429,
0.2400226593017578,
0.052394162863492966,
0.2376602739095688,
-0.132196307182312,
-0.1441476047039032,
-0.08827659487724304,
-0.38176795840263367,
0.23731917142868042,
-0.20459605753421783,
0.010119101032614708,
0.26570552587509155,
-0.02462443895637989,
0.2844463288784027,
-0.09996980428695679,
0.27733004093170166,
0.19082999229431152,
0.28345105051994324,
-0.12093222141265869,
0.1273936629295349,
0.2658624053001404,
0.10889855027198792,
0.194109246134758,
-0.03231203556060791,
0.21627220511436462,
-0.1747232973575592,
-0.14510875940322876,
0.12019209563732147,
0.42973893880844116,
0.6090685129165649,
0.0016627120785415173,
0.270540326833725,
-0.048955030739307404,
0.34181997179985046,
-0.19859367609024048,
0.041067056357860565,
0.08596188575029373,
-0.14707262814044952,
0.18797901272773743,
0.2925010919570923,
0.03805789723992348,
0.1976829469203949,
-0.06234300881624222,
0.10666143894195557,
0.20688572525978088,
-0.05098886787891388,
0.18927216529846191,
-0.19571037590503693,
-0.16340738534927368,
-0.03884647414088249,
-0.17222890257835388,
0.07840818166732788,
-0.36186155676841736,
-0.12695269286632538,
0.34026074409484863,
0.24160948395729065,
-0.05496770888566971,
-0.10242344439029694,
0.19735199213027954,
0.11237424612045288,
-0.4784647226333618,
-0.2655424177646637,
-0.11953967064619064,
-0.24414992332458496,
0.0447348989546299,
0.14550699293613434,
-0.07011629641056061,
0.2637217342853546,
-0.09687291085720062,
-0.03458955138921738,
-0.21328939497470856,
-0.12772393226623535,
-0.015292942523956299,
0.047617584466934204,
0.39919501543045044,
0.10742657631635666,
0.26428210735321045,
-0.05865073949098587,
0.2124875783920288,
-0.05020594969391823,
-0.009627092629671097,
-0.08132988214492798,
0.05151856690645218,
-0.03993847966194153,
0.24342215061187744,
-0.13559015095233917,
-0.32696956396102905,
-0.36298319697380066,
-0.3707721531391144,
0.19073131680488586,
0.10767748951911926,
0.027935266494750977,
0.4600447714328766,
0.039997346699237823,
-0.02752159908413887,
0.3603964149951935,
-0.17457647621631622,
-0.4181404709815979,
-0.3557336926460266,
0.612518846988678,
-0.17718617618083954,
-0.1476270705461502,
0.1279088258743286,
-0.07057018578052521,
0.3535720109939575,
0.1714598834514618,
-0.5831277966499329,
0.005577254109084606,
-0.48509466648101807,
0.5077188611030579,
-0.19567245244979858,
-0.13345208764076233,
0.18991625308990479,
-0.3022509217262268,
0.10549215972423553,
0.07663490623235703,
-0.11884996294975281,
-0.04586499184370041,
0.2866663336753845,
0.31722918152809143,
0.10947015136480331,
0.14828434586524963,
0.19446758925914764,
0.4785457253456116,
0.2157197743654251,
0.10372993350028992,
0.3804444968700409,
0.17949178814888,
0.3754737675189972,
-0.3020777702331543,
-0.08651568740606308,
0.06273183226585388,
-0.12007403373718262,
-0.21538902819156647,
0.15278509259223938,
0.10571722686290741,
0.2084665298461914,
-0.13147367537021637,
0.09895196557044983,
0.022634178400039673,
-0.11606699228286743,
0.0014191623777151108,
-0.4102523922920227,
0.050650641322135925,
0.20179806649684906,
0.06001840531826019,
0.12544801831245422,
-0.40142500400543213,
0.016263360157608986,
0.09742104262113571,
-0.1297282874584198,
0.14099158346652985,
0.36933577060699463,
0.3272196650505066,
-0.5318823456764221,
0.21551859378814697,
-0.029457641765475273,
0.21947596967220306,
-0.19695313274860382,
0.19627150893211365,
0.20815588533878326,
0.1019165962934494,
0.5212138295173645,
-0.08978700637817383,
0.2266061156988144,
-0.019072098657488823,
0.000049542635679244995,
-0.36138013005256653,
-0.06601232290267944,
0.05655352398753166,
0.2414763867855072,
0.08982907980680466,
0.051747240126132965,
-0.2726704478263855,
0.3449420630931854,
-0.0023383237421512604,
0.37663739919662476,
-0.20115715265274048,
-0.2737296223640442,
-0.25754836201667786,
-0.4044118821620941,
-0.21765534579753876,
-0.13451915979385376,
0.1277780383825302,
0.22587859630584717,
-0.03469301015138626,
-0.18140502274036407,
-0.007268248125910759,
-0.15889638662338257,
-0.1298326998949051,
0.09142665565013885,
0.23499813675880432,
0.14820946753025055,
0.5017929077148438,
0.16312876343727112,
-0.4700641334056854,
0.0298712570220232,
0.6188190579414368,
0.004313485696911812,
-0.2765967547893524,
0.06631942093372345,
-0.09156163781881332,
-0.2987781763076782,
0.2302352488040924,
-0.2355351448059082,
-0.08460438996553421,
-0.19644348323345184,
-0.018809378147125244,
-0.04779364913702011,
0.17243777215480804,
-0.18964806199073792,
-0.16848605871200562,
-0.13410446047782898,
-0.40317338705062866,
0.4983971416950226,
-0.010320337489247322,
-0.1323397308588028,
0.475944846868515,
-0.31538957357406616,
-0.15504948794841766,
0.19003655016422272,
-0.182504802942276,
0.827201783657074,
-0.14371982216835022,
-0.04291481897234917,
0.10827432572841644,
-0.30573487281799316,
0.4609220027923584,
-0.17103691399097443,
-0.036740951240062714,
-0.2875882387161255,
-0.2151850014925003,
0.10037305951118469,
-0.12260332703590393,
-0.006309941411018372,
-0.04480353742837906,
-0.20653797686100006,
0.3282616436481476,
-0.3333372473716736,
0.09146247804164886,
0.04479942470788956,
0.1773788034915924,
-0.18102550506591797,
-0.18052294850349426,
-0.1682489663362503,
0.18499624729156494,
-0.26253998279571533,
0.3540966212749481,
-0.2125169038772583,
0.06945723295211792,
-0.25555655360221863,
0.08489347994327545,
-0.44063079357147217,
0.16570979356765747,
-0.4408506453037262,
0.13462404906749725,
-0.11461295187473297,
-0.5683187246322632,
-0.03455349802970886,
0.2617664337158203,
0.21472272276878357,
0.039289072155952454,
-0.31684571504592896,
0.39033451676368713,
0.03297107666730881,
-0.061715319752693176,
0.1376771777868271,
-0.0779060497879982,
-0.2076827883720398,
-0.0793447196483612,
-0.0017444193363189697,
0.03315477818250656,
-0.1418854296207428,
-0.04048111289739609,
0.014830514788627625,
0.1529012769460678,
0.2462223768234253,
0.04147888720035553,
-0.24457713961601257,
-0.22583094239234924,
0.23028072714805603,
-0.06977272033691406,
0.08853128552436829,
0.29313063621520996,
0.05695539340376854,
0.2398424744606018,
-0.15559624135494232,
-0.22222085297107697,
-0.13565850257873535,
0.49443870782852173,
-0.025846462696790695,
-0.009385399520397186,
0.44661277532577515,
0.10053539276123047,
-0.1745758056640625,
-0.04511943459510803,
-0.08820236474275589,
-0.6157085299491882,
-0.4520605206489563,
0.28255802392959595,
-0.12057596445083618,
0.14092637598514557,
-0.08204949647188187,
0.24377135932445526,
0.13571515679359436,
-0.22716593742370605,
0.07877480983734131,
-0.5944201350212097,
-0.22181309759616852,
-0.2898913621902466,
-0.37593749165534973,
0.12058219313621521,
-0.12689930200576782,
-0.30200567841529846,
0.14212767779827118,
0.2786501348018646,
-0.1813616156578064,
0.0741473138332367,
-0.1590568572282791,
-0.08984589576721191,
0.2024528533220291,
0.07926160097122192,
0.23775050044059753,
0.017632262781262398,
-0.041470300406217575,
0.26520949602127075,
-0.08461175113916397,
-0.1973303258419037,
-0.1915542036294937,
0.1515132635831833,
0.08875162154436111,
-0.14770248532295227,
-0.07456966489553452,
-0.31177037954330444,
-0.11296167969703674,
-0.027839824557304382,
0.30110520124435425,
0.36153891682624817,
0.01655597612261772,
-0.04794474318623543,
-0.037844058126211166,
0.1085289865732193,
-0.4083349108695984,
0.5186576247215271,
-0.15352751314640045,
0.30878135561943054,
0.18348021805286407,
0.13622838258743286,
0.09597793221473694,
0.019567236304283142,
-0.30085280537605286,
-0.23751047253608704,
-0.04839491844177246,
-0.1842809021472931,
0.06661515682935715,
-0.26371967792510986,
0.22814542055130005,
0.06269235908985138,
-0.14248377084732056,
0.3330268859863281,
-0.23624849319458008,
-0.3347248435020447,
0.07777698338031769,
0.11381945013999939,
-0.038880348205566406,
0.016498921439051628,
-0.21139226853847504,
0.17226943373680115,
-0.17709112167358398,
0.2823283076286316,
0.23275896906852722,
-0.1868276745080948,
0.22900888323783875,
0.21014943718910217,
0.6139939427375793,
-0.05404305458068848,
0.040084853768348694,
0.09272733330726624,
-0.1185184121131897,
0.1473405510187149,
0.1073770821094513,
0.03729408234357834,
-0.055944450199604034,
0.5519282817840576,
-0.22817596793174744,
0.15095330774784088,
0.01692291907966137,
0.09812258183956146,
0.0009081810712814331,
-0.4996131658554077,
-0.0433160625398159,
0.15122869610786438,
-0.18277910351753235,
0.14658597111701965,
0.09322521835565567,
0.15579016506671906,
-0.13047735393047333,
0.13285116851329803,
-0.22372597455978394,
-0.22508032619953156,
0.01611855998635292,
0.007674386724829674,
0.3835391104221344,
-0.10324478894472122,
-0.07542678713798523,
0.19864697754383087,
-0.023969467729330063,
-0.21321360766887665,
0.38859322667121887,
0.1910749077796936,
-0.3590889573097229,
-0.40732765197753906,
0.1236300840973854,
0.20640301704406738,
-0.0704110786318779,
-0.15135101974010468,
0.40833327174186707,
-0.022830843925476074,
-0.018620625138282776,
0.12259382009506226,
0.19927158951759338,
0.25999799370765686,
0.29546695947647095,
-0.23080076277256012,
0.011743759736418724,
0.04557887837290764,
0.01641211472451687,
-0.02973949909210205,
0.4536011219024658,
0.033379197120666504,
-0.04188436642289162,
0.19071392714977264,
0.09889248013496399,
-0.13162468373775482,
0.09898358583450317,
0.30218347907066345,
0.1275601089000702,
-0.27490273118019104,
0.20528805255889893,
-0.18549270927906036,
0.16036435961723328,
-0.13913214206695557,
0.10363331437110901,
-0.13449473679065704,
0.012361814267933369,
-0.018133800476789474,
-0.125047966837883,
0.010391049087047577,
0.07762791961431503,
0.047703929245471954,
-0.1266247034072876,
0.5700394511222839,
0.24179068207740784,
0.23121371865272522,
-0.3278709948062897,
-0.1018165871500969,
-0.6946567296981812,
0.1600177139043808,
-0.004668876528739929,
-0.14579235017299652,
-0.15202322602272034,
0.30004653334617615,
-0.2754307985305786,
0.23370231688022614,
-0.11887915432453156,
0.36397722363471985,
0.29196417331695557,
0.2082563042640686,
-0.42412716150283813,
-0.3640202283859253,
-0.04614733159542084,
-0.14001499116420746,
0.04539450258016586,
-0.5439509749412537,
-0.045718926936388016,
0.031898871064186096,
-0.07676298916339874,
-0.02022653818130493,
-0.43684855103492737,
0.2137725055217743,
0.3540942370891571,
0.5459761023521423,
0.030863873660564423,
0.2489108145236969,
0.18969416618347168,
-0.0959075316786766,
-0.28709450364112854,
0.03760615736246109,
0.08174046874046326,
-0.09688995033502579,
0.10436104238033295,
-0.02955501899123192,
-0.2018374502658844,
0.11482739448547363,
-0.2297535389661789,
0.43323227763175964,
0.11882898211479187,
0.3623373508453369,
-0.11031271517276764,
-0.09171624481678009,
-0.07868827879428864,
0.4053356945514679,
0.03815450146794319,
0.20045703649520874,
-0.21158891916275024,
0.2952996790409088,
-0.280906617641449,
-0.2454269975423813,
0.3921201825141907,
-0.0651431530714035,
-0.3290115296840668,
0.2062496840953827,
0.26113536953926086,
-0.11495349556207657,
-0.37421077489852905,
-0.5145347118377686,
0.2866065502166748,
0.36645177006721497,
-0.1729808747768402,
-0.07894158363342285,
0.2095697820186615,
-0.2188345342874527,
0.12351427972316742,
-0.12103161215782166,
0.4332137107849121,
0.09943421185016632,
0.03968396782875061,
0.018396571278572083,
-0.04096144810318947
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | I'm using datasets version: 1.1.3. I think you should drop `cache_dir` and use only
`dataset = datasets.load_dataset("trivia_qa", "rc")`
Tried that on colab and it's working there too

| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 28 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
I'm using datasets version: 1.1.3. I think you should drop `cache_dir` and use only
`dataset = datasets.load_dataset("trivia_qa", "rc")`
Tried that on colab and it's working there too

| [
-0.03244573622941971,
0.27497008442878723,
-0.021825071424245834,
0.32398056983947754,
0.13339543342590332,
0.1968199610710144,
0.2799462378025055,
0.058303140103816986,
0.09485311806201935,
-0.059717610478401184,
-0.2450275868177414,
0.2710147202014923,
-0.0008889483287930489,
0.10608025640249252,
-0.12671038508415222,
0.04335277900099754,
-0.11468499153852463,
-0.03771604597568512,
0.21322005987167358,
0.15664388239383698,
-0.13494040071964264,
0.43777281045913696,
-0.28200238943099976,
-0.3223249316215515,
-0.24587711691856384,
0.06911476701498032,
0.06688963621854782,
0.10038305819034576,
0.03431467339396477,
-0.2480173110961914,
0.6741183996200562,
0.30767491459846497,
0.14909707009792328,
0.5383527278900146,
-0.00011768282274715602,
-0.18582074344158173,
0.3122105598449707,
-0.06815633922815323,
-0.6258247494697571,
-0.29355108737945557,
-0.45055609941482544,
0.0806286558508873,
0.082382433116436,
0.07226259261369705,
-0.04655490443110466,
0.45821595191955566,
-0.09521111845970154,
-0.6741403341293335,
0.019246913492679596,
0.15690287947654724,
0.19053426384925842,
-0.11725210398435593,
-0.25481027364730835,
-0.09537051618099213,
0.1114441528916359,
-0.08030161261558533,
-0.2720646262168884,
0.5007554888725281,
0.2071797251701355,
0.08174936473369598,
0.20205390453338623,
0.32069239020347595,
-0.03375115618109703,
0.39436668157577515,
0.16266953945159912,
0.06729093194007874,
-0.24731090664863586,
-0.30795222520828247,
0.45261505246162415,
0.2340930998325348,
0.9158684015274048,
-0.32376059889793396,
-0.29194703698158264,
-0.1021103709936142,
0.06871891766786575,
-0.14736588299274445,
0.29550600051879883,
0.1430477797985077,
-0.27315235137939453,
-0.004707179963588715,
-0.14517585933208466,
-0.14800596237182617,
-0.021665584295988083,
-0.013728253543376923,
-0.17739996314048767,
-0.20712190866470337,
-0.14700573682785034,
-0.004651375114917755,
0.04170803725719452,
0.017190827056765556,
0.510862410068512,
-0.21193601191043854,
-0.17541030049324036,
0.24860543012619019,
-0.6239017248153687,
0.11163827776908875,
-0.05532965809106827,
0.22076410055160522,
0.13558229804039001,
0.18862180411815643,
0.15472716093063354,
0.12801387906074524,
-0.3434440791606903,
-0.05551043152809143,
0.24944409728050232,
0.5355216264724731,
-0.009245477616786957,
-0.04846302419900894,
0.2394343614578247,
0.2919658124446869,
-0.09087563306093216,
0.07818228751420975,
-0.0745643600821495,
-0.06536862254142761,
0.03309224173426628,
-0.050156839191913605,
0.23614110052585602,
-0.37407922744750977,
-0.34544965624809265,
-0.009384258650243282,
-0.015469688922166824,
0.2531173527240753,
0.026385929435491562,
0.27018216252326965,
-0.2840003967285156,
0.23266613483428955,
-0.09086477756500244,
0.08419174700975418,
-0.1722843050956726,
-0.014115259051322937,
-0.08642608672380447,
-0.12604156136512756,
0.03899123892188072,
0.18756425380706787,
0.4296387732028961,
-0.15504682064056396,
0.10724574327468872,
-0.18469274044036865,
0.15141168236732483,
-0.06433112919330597,
0.019175713881850243,
-0.44745004177093506,
-0.11417096108198166,
0.23500357568264008,
0.08710828423500061,
0.452913373708725,
-0.18690595030784607,
-0.15435057878494263,
-0.09928958863019943,
0.2812708914279938,
-0.3120136857032776,
-0.27403444051742554,
-0.048368752002716064,
0.08416027575731277,
-0.4793228507041931,
-0.13815099000930786,
-0.32070958614349365,
0.18034227192401886,
0.26747459173202515,
0.017497774213552475,
-0.005214698612689972,
-0.001786593347787857,
-0.4459947943687439,
-0.2575540840625763,
0.21315158903598785,
0.6501172184944153,
-0.4160538911819458,
0.1929868757724762,
-0.3035590350627899,
0.1862701177597046,
0.1453389674425125,
0.18699169158935547,
-0.015299053862690926,
0.05025780200958252,
-0.3998030424118042,
-0.07386309653520584,
0.26109400391578674,
-0.3984414041042328,
-0.7728949785232544,
0.23782296478748322,
0.008428812026977539,
0.18844163417816162,
0.0210103839635849,
0.13390740752220154,
0.09475027769804001,
-0.07534833252429962,
0.12756890058517456,
0.45578914880752563,
-0.12019166350364685,
0.01581328921020031,
-0.35214585065841675,
-0.3146682381629944,
0.07988415658473969,
0.23702122271060944,
-0.05632429197430611,
0.139046311378479,
-0.025110825896263123,
0.05128878727555275,
0.15903428196907043,
0.3394581377506256,
0.11587367206811905,
0.2126525491476059,
0.32863467931747437,
-0.02622906118631363,
0.039768800139427185,
-0.00022275373339653015,
-0.8115264773368835,
0.43745750188827515,
-0.05225697159767151,
-0.10025468468666077,
-0.24501736462116241,
-0.040324900299310684,
-0.4677416682243347,
-0.14344081282615662,
-0.2980218231678009,
-0.26955896615982056,
-0.015390615910291672,
0.14073613286018372,
0.3109501004219055,
0.185439795255661,
0.08734284341335297,
0.6520838141441345,
0.3071559965610504,
-0.10229054093360901,
-0.3502541482448578,
0.07637007534503937,
0.05672914534807205,
-0.048536237329244614,
-0.027627471834421158,
0.043351978063583374,
0.10949259996414185,
-0.13544604182243347,
-0.22754812240600586,
0.16879191994667053,
0.18884097039699554,
0.08480393886566162,
0.06943172216415405,
0.04699857532978058,
0.2705690562725067,
0.07240034639835358,
0.17926263809204102,
0.041883181780576706,
0.24819156527519226,
-0.1535511314868927,
-0.18566909432411194,
-0.013597175478935242,
-0.37671640515327454,
0.2876802682876587,
-0.2158854752779007,
0.041882142424583435,
0.2819385528564453,
0.012629982084035873,
0.23497101664543152,
-0.08309862017631531,
0.2622603476047516,
0.20527051389217377,
0.32735592126846313,
-0.10940870642662048,
0.08627043664455414,
0.34122514724731445,
0.11208175122737885,
0.21416182816028595,
-0.0404643639922142,
0.1691349893808365,
-0.1454675793647766,
-0.13909777998924255,
0.15967769920825958,
0.4336577355861664,
0.6067401170730591,
-0.008136041462421417,
0.22512981295585632,
-0.03919385373592377,
0.3126019239425659,
-0.23673570156097412,
0.07412512600421906,
0.05636627972126007,
-0.1426462084054947,
0.11529482901096344,
0.303967148065567,
-0.018768958747386932,
0.22136256098747253,
-0.08728116750717163,
0.1258670538663864,
0.18480241298675537,
-0.08841957896947861,
0.24925227463245392,
-0.24036259949207306,
-0.18521791696548462,
-0.01587172970175743,
-0.215134859085083,
0.08078399300575256,
-0.3866453170776367,
-0.12565207481384277,
0.3427269160747528,
0.2241567075252533,
0.006351247895509005,
-0.10648788511753082,
0.23274824023246765,
0.08069859445095062,
-0.6001932621002197,
-0.31698188185691833,
-0.22009144723415375,
-0.2548018991947174,
0.020047366619110107,
0.15525372326374054,
-0.042164143174886703,
0.23433342576026917,
-0.1184985488653183,
-0.0251719169318676,
-0.25934356451034546,
-0.12217096984386444,
-0.026661671698093414,
-0.0059837959706783295,
0.3980238139629364,
0.08726382255554199,
0.206764355301857,
-0.12290462851524353,
0.19107863306999207,
-0.0037699276581406593,
0.0013772137463092804,
-0.01798558607697487,
-0.003208708018064499,
-0.010909797623753548,
0.21835078299045563,
-0.14738066494464874,
-0.3007582426071167,
-0.3201136291027069,
-0.3525671660900116,
0.14731726050376892,
0.0582229383289814,
0.04454689845442772,
0.5137866139411926,
0.04513683542609215,
-0.015032505616545677,
0.3702690303325653,
-0.20342427492141724,
-0.39405426383018494,
-0.3744516372680664,
0.5996720194816589,
-0.18411612510681152,
-0.12745478749275208,
0.11353625357151031,
-0.04315885528922081,
0.389100581407547,
0.1707436740398407,
-0.5868315696716309,
-0.06558866053819656,
-0.4273248016834259,
0.5127472281455994,
-0.10103079676628113,
-0.17198286950588226,
0.16730119287967682,
-0.23657484352588654,
0.10992409288883209,
0.03892111778259277,
-0.1907944232225418,
-0.03954251855611801,
0.2537885904312134,
0.30316847562789917,
0.15414822101593018,
0.10722000151872635,
0.14263266324996948,
0.5062258243560791,
0.1756163239479065,
0.08878175914287567,
0.35873693227767944,
0.17166662216186523,
0.4075104594230652,
-0.27613046765327454,
-0.1543663591146469,
0.030471382662653923,
-0.0825062245130539,
-0.206480011343956,
0.16510280966758728,
0.1080184280872345,
0.16015005111694336,
-0.19843430817127228,
0.17684388160705566,
0.07528552412986755,
-0.18093900382518768,
-0.0501994788646698,
-0.41931024193763733,
0.061389338225126266,
0.19431163370609283,
0.12310101836919785,
0.10414722561836243,
-0.4013202488422394,
0.07721365988254547,
0.19938743114471436,
-0.11663535982370377,
0.09863530099391937,
0.3743680417537689,
0.25765174627304077,
-0.5474621057510376,
0.22364379465579987,
-0.007803372107446194,
0.2726117968559265,
-0.19831199944019318,
0.23514088988304138,
0.19195988774299622,
0.09694518893957138,
0.5006753206253052,
-0.09912099689245224,
0.20502924919128418,
0.033452510833740234,
-0.006010323762893677,
-0.3170505464076996,
-0.07721222937107086,
0.08451583981513977,
0.3015797436237335,
0.03565968573093414,
0.05964643135666847,
-0.2618750333786011,
0.2602561116218567,
-0.06591201573610306,
0.2567503750324249,
-0.1806648224592209,
-0.24286305904388428,
-0.25662994384765625,
-0.4131550192832947,
-0.18251456320285797,
-0.1818363070487976,
0.047602325677871704,
0.17227518558502197,
-0.03734937310218811,
-0.12394154071807861,
0.010648363269865513,
-0.16129958629608154,
-0.1508207768201828,
0.10646502673625946,
0.20248472690582275,
0.20226673781871796,
0.4871499538421631,
0.18613088130950928,
-0.5531718730926514,
0.08062183856964111,
0.6059460639953613,
-0.013877715915441513,
-0.2692313492298126,
0.05024220049381256,
-0.07129273563623428,
-0.33640381693840027,
0.25180163979530334,
-0.2729458510875702,
-0.05002940446138382,
-0.2049168050289154,
-0.10722751915454865,
0.01579318568110466,
0.17688508331775665,
-0.20314355194568634,
-0.17405956983566284,
-0.1204414889216423,
-0.48075687885284424,
0.5313026309013367,
0.013543028384447098,
-0.1668868064880371,
0.4396960139274597,
-0.30950361490249634,
-0.18043950200080872,
0.17881625890731812,
-0.11276441067457199,
0.7681950330734253,
-0.1555905044078827,
-0.0050703175365924835,
0.1729535162448883,
-0.29423797130584717,
0.5084919929504395,
-0.12105970829725266,
0.032920997589826584,
-0.2649137079715729,
-0.22764337062835693,
0.08193104714155197,
-0.13518868386745453,
0.0032547786831855774,
-0.06376122683286667,
-0.24793179333209991,
0.3533605933189392,
-0.31892868876457214,
0.08064766228199005,
0.0407206192612648,
0.04401177912950516,
-0.17157742381095886,
-0.22440645098686218,
-0.2230701893568039,
0.17789866030216217,
-0.304021954536438,
0.36530396342277527,
-0.1601789891719818,
0.06717466562986374,
-0.32208287715911865,
0.13461825251579285,
-0.41864073276519775,
0.1696118712425232,
-0.44253936409950256,
0.08995139598846436,
-0.1080944836139679,
-0.5266512036323547,
0.0117189921438694,
0.23866933584213257,
0.28377318382263184,
0.01980525627732277,
-0.34210699796676636,
0.3862951099872589,
0.062282051891088486,
0.0004885339876636863,
0.10501094907522202,
-0.13841670751571655,
-0.17655201256275177,
-0.02722107246518135,
0.04771857708692551,
-0.003327183425426483,
-0.126108780503273,
-0.08945953845977783,
-0.0017523467540740967,
0.13351750373840332,
0.18675464391708374,
0.10964682698249817,
-0.1947396844625473,
-0.16132418811321259,
0.23155856132507324,
-0.07280677556991577,
0.08294504880905151,
0.24481350183486938,
0.12424200028181076,
0.1920786052942276,
-0.19163662195205688,
-0.2255367487668991,
-0.09049075841903687,
0.544123113155365,
-0.024429205805063248,
0.005694705992937088,
0.4305722713470459,
0.09258924424648285,
-0.17476119101047516,
-0.02476324513554573,
-0.15502317249774933,
-0.629048764705658,
-0.4330119788646698,
0.290584534406662,
-0.13449062407016754,
0.1045573353767395,
-0.06866811960935593,
0.26065123081207275,
0.07094872742891312,
-0.18188467621803284,
0.10068531334400177,
-0.5233535766601562,
-0.2221822589635849,
-0.300911009311676,
-0.3789573609828949,
0.13748987019062042,
-0.15446126461029053,
-0.2642764449119568,
0.134744793176651,
0.20346498489379883,
-0.16666370630264282,
0.0633799284696579,
-0.17329959571361542,
-0.1007646769285202,
0.16829079389572144,
0.08541317284107208,
0.2637559175491333,
0.008956562727689743,
-0.06443879008293152,
0.19175255298614502,
-0.1090218722820282,
-0.16449645161628723,
-0.15860144793987274,
0.1599348932504654,
0.09107733517885208,
-0.1871575117111206,
-0.0783972442150116,
-0.26666611433029175,
-0.09983561933040619,
-0.0338013656437397,
0.3180638253688812,
0.36327436566352844,
-0.01497216522693634,
-0.052713792771101,
-0.0648539662361145,
0.13908596336841583,
-0.3818117380142212,
0.4824162721633911,
-0.1385514736175537,
0.27284806966781616,
0.21673937141895294,
0.12147060036659241,
0.055833861231803894,
0.04406290501356125,
-0.18048976361751556,
-0.214329332113266,
-0.04665669798851013,
-0.15352991223335266,
0.10180197656154633,
-0.30930382013320923,
0.21736663579940796,
0.12672574818134308,
-0.1526685506105423,
0.33976447582244873,
-0.20663908123970032,
-0.37210705876350403,
0.11039596796035767,
0.09456764161586761,
-0.040858715772628784,
-0.006204697769135237,
-0.19864782691001892,
0.17832589149475098,
-0.13791991770267487,
0.2900523543357849,
0.24201402068138123,
-0.19410476088523865,
0.26134687662124634,
0.2286369800567627,
0.586290180683136,
-0.05284327268600464,
0.0804847776889801,
0.05806564539670944,
-0.10864624381065369,
0.1888638287782669,
0.09463843703269958,
0.03408557549118996,
-0.11297465115785599,
0.5088773369789124,
-0.1981894075870514,
0.14343945682048798,
0.014369798824191093,
0.049040719866752625,
0.0007847398519515991,
-0.46585196256637573,
0.016636544838547707,
0.12606114149093628,
-0.21055388450622559,
0.08915994316339493,
0.08731178194284439,
0.14191396534442902,
-0.19624248147010803,
0.13036008179187775,
-0.16488415002822876,
-0.2436532825231552,
0.001164555549621582,
-0.060683343559503555,
0.38949406147003174,
-0.08450288325548172,
-0.0755922794342041,
0.2057420164346695,
-0.07037357985973358,
-0.1915273219347,
0.3536190092563629,
0.1826479434967041,
-0.3285890817642212,
-0.4096674919128418,
0.08855463564395905,
0.22751307487487793,
0.007107459008693695,
-0.08330477774143219,
0.4019203782081604,
-0.08326369524002075,
-0.06041267514228821,
0.15815192461013794,
0.18269452452659607,
0.1861811876296997,
0.2912752330303192,
-0.2104233354330063,
-0.10397965461015701,
0.03796336054801941,
0.05334485322237015,
0.021770264953374863,
0.4283697307109833,
0.04906446859240532,
-0.07681097090244293,
0.17651347815990448,
0.0655079036951065,
-0.08736081421375275,
0.13944591581821442,
0.25691843032836914,
0.12836039066314697,
-0.2736838757991791,
0.2357603907585144,
-0.14890827238559723,
0.17566993832588196,
-0.08837661892175674,
0.14405308663845062,
-0.11094160377979279,
-0.02325918897986412,
-0.027423225343227386,
-0.1055704653263092,
0.02557520940899849,
0.08534860610961914,
0.04474177211523056,
-0.03425799310207367,
0.6097820997238159,
0.23300710320472717,
0.2112390398979187,
-0.35507872700691223,
-0.07005304843187332,
-0.6480932235717773,
0.14352478086948395,
0.06372831761837006,
-0.054399147629737854,
-0.15808752179145813,
0.27775806188583374,
-0.2702065706253052,
0.23833739757537842,
-0.15307597815990448,
0.28166860342025757,
0.356162965297699,
0.1254965364933014,
-0.4057527482509613,
-0.35562190413475037,
-0.08625169098377228,
-0.18866842985153198,
0.004745613783597946,
-0.5090948939323425,
-0.04427224025130272,
0.04722309485077858,
-0.07401234656572342,
-0.01240980252623558,
-0.46884214878082275,
0.24204391241073608,
0.2779110074043274,
0.5243608355522156,
0.004586348310112953,
0.2276545614004135,
0.22962868213653564,
-0.11365856975317001,
-0.3318483233451843,
-0.011529790237545967,
0.08225096762180328,
-0.14489710330963135,
0.10835400223731995,
-0.05154067650437355,
-0.18010076880455017,
0.10966759920120239,
-0.29468339681625366,
0.5148977637290955,
0.17342038452625275,
0.3646084666252136,
-0.06546252965927124,
-0.08293676376342773,
-0.10579262673854828,
0.3901943266391754,
-0.021006444469094276,
0.17117057740688324,
-0.194810688495636,
0.3267551362514496,
-0.37088102102279663,
-0.2445586621761322,
0.44851431250572205,
-0.10189636796712875,
-0.3124242424964905,
0.19360952079296112,
0.3034091591835022,
-0.11466030031442642,
-0.3660762310028076,
-0.504153311252594,
0.2702478766441345,
0.3064173460006714,
-0.1533467173576355,
-0.09540800750255585,
0.21730291843414307,
-0.1908436119556427,
0.18352216482162476,
-0.15430137515068054,
0.42603281140327454,
0.09419051557779312,
0.07120437920093536,
-0.004462487995624542,
-0.05625205114483833
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Train, Validation, and Test splits contain 138384, 18669, and 17210 samples respectively. It takes some time to read the samples. Even in your colab notebook it was reading the samples before you killed the process. Let me know if it works now! | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 42 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Train, Validation, and Test splits contain 138384, 18669, and 17210 samples respectively. It takes some time to read the samples. Even in your colab notebook it was reading the samples before you killed the process. Let me know if it works now! | [
-0.09542714059352875,
0.21500203013420105,
-0.028270401060581207,
0.31466996669769287,
0.08805233240127563,
0.15481945872306824,
0.25185662508010864,
0.05872305482625961,
0.131717711687088,
0.013548426330089569,
-0.29072099924087524,
0.29424458742141724,
-0.06302719563245773,
0.15932412445545197,
-0.13799820840358734,
0.048036400228738785,
-0.1314401924610138,
-0.08001893758773804,
0.20934312045574188,
0.15272364020347595,
-0.14408738911151886,
0.4468839764595032,
-0.3239099681377411,
-0.32759881019592285,
-0.23570480942726135,
-0.0038089510053396225,
0.03670741617679596,
0.0954878032207489,
-0.05146998167037964,
-0.2540021538734436,
0.6315823793411255,
0.28104856610298157,
0.12583261728286743,
0.5134748816490173,
-0.00011735799489542842,
-0.167577862739563,
0.3026214838027954,
-0.0567496195435524,
-0.5882294774055481,
-0.2423144429922104,
-0.4385439455509186,
0.06692437082529068,
0.0713515356183052,
0.07214262336492538,
-0.06782200932502747,
0.46811386942863464,
-0.013696787878870964,
-0.5675048828125,
0.10369238257408142,
0.17935962975025177,
0.18088024854660034,
-0.06972610950469971,
-0.1773594170808792,
-0.08449024707078934,
0.17107632756233215,
-0.03467421978712082,
-0.27267998456954956,
0.5722358226776123,
0.27495068311691284,
0.059324637055397034,
0.11921218782663345,
0.33458584547042847,
-0.013206218369305134,
0.3771268129348755,
0.07072021812200546,
0.022723833099007607,
-0.28441062569618225,
-0.3562527298927307,
0.39704930782318115,
0.22168588638305664,
0.8158917427062988,
-0.26517385244369507,
-0.19432836771011353,
-0.1256040632724762,
0.07264343649148941,
-0.17000657320022583,
0.33190497756004333,
0.192457377910614,
-0.3744279742240906,
0.015233760699629784,
-0.1312672197818756,
-0.04962783679366112,
-0.023398984223604202,
-0.015237711369991302,
-0.1556309163570404,
-0.14869970083236694,
-0.18548187613487244,
-0.020217247307300568,
0.14023680984973907,
0.07909762859344482,
0.524231493473053,
-0.11350545287132263,
-0.1165759265422821,
0.24363762140274048,
-0.6248549818992615,
0.06911057233810425,
-0.10148438066244125,
0.1613447517156601,
0.13152199983596802,
0.17758391797542572,
0.21858400106430054,
0.0994749590754509,
-0.2863442599773407,
-0.003178168088197708,
0.25607001781463623,
0.4834379553794861,
-0.04597768932580948,
-0.09416399896144867,
0.2031320035457611,
0.3059602677822113,
-0.1675642877817154,
0.07930807769298553,
-0.11695769429206848,
-0.07726022601127625,
-0.037777066230773926,
-0.03377465903759003,
0.2018982172012329,
-0.351270854473114,
-0.38991057872772217,
0.012504030019044876,
-0.0930633395910263,
0.2361389398574829,
0.04490462318062782,
0.2959347367286682,
-0.34680455923080444,
0.148555725812912,
-0.073910653591156,
-0.038953445851802826,
-0.26288488507270813,
-0.08727429062128067,
-0.09868629276752472,
-0.09808693826198578,
-0.04869398474693298,
0.19335579872131348,
0.4289930760860443,
-0.11029224097728729,
0.18284520506858826,
-0.20928484201431274,
0.10336752980947495,
-0.10574707388877869,
0.0984407365322113,
-0.543181300163269,
-0.08128003031015396,
0.32380005717277527,
0.13973678648471832,
0.3871343433856964,
-0.2562751770019531,
-0.20229583978652954,
-0.0877489522099495,
0.3268470764160156,
-0.34052759408950806,
-0.22812490165233612,
0.007129564881324768,
0.08926649391651154,
-0.47247350215911865,
-0.11620591580867767,
-0.30924075841903687,
0.14352191984653473,
0.2485707402229309,
-0.010297790169715881,
-0.09474753588438034,
-0.012846175581216812,
-0.4346054494380951,
-0.2804272770881653,
0.2533690929412842,
0.5699439644813538,
-0.42589399218559265,
0.23078641295433044,
-0.3349752724170685,
0.22432833909988403,
0.19361114501953125,
0.18671005964279175,
-0.014007138088345528,
0.11145080626010895,
-0.42910251021385193,
-0.006700761616230011,
0.29171618819236755,
-0.27814969420433044,
-0.7794819474220276,
0.23892828822135925,
0.0014889389276504517,
0.20334747433662415,
0.02291759103536606,
0.13047757744789124,
0.15072031319141388,
-0.04358678683638573,
0.1604694128036499,
0.41170865297317505,
-0.14760972559452057,
0.017297988757491112,
-0.3770848512649536,
-0.33590376377105713,
0.08958876132965088,
0.2272992879152298,
0.01354694738984108,
0.03130514547228813,
-0.00427236407995224,
0.07344615459442139,
0.27149656414985657,
0.3763747811317444,
0.04175543040037155,
0.20744763314723969,
0.37549498677253723,
-0.04002644121646881,
0.012954631820321083,
0.005521904677152634,
-0.6925063729286194,
0.4320076107978821,
-0.07753204554319382,
-0.08710585534572601,
-0.20327387750148773,
0.0011358298361301422,
-0.4991477429866791,
-0.11319967359304428,
-0.31600916385650635,
-0.2926138937473297,
-0.027908748015761375,
0.1228657066822052,
0.23051083087921143,
0.23485757410526276,
0.10459035634994507,
0.6910945773124695,
0.19628550112247467,
-0.08850257843732834,
-0.39381012320518494,
0.0615452378988266,
0.029690198600292206,
-0.11687995493412018,
-0.0716760903596878,
0.02807716280221939,
0.058279089629650116,
-0.16190095245838165,
-0.2185114324092865,
0.1395227015018463,
0.2593933045864105,
0.018905341625213623,
0.008203789591789246,
0.019780129194259644,
0.31817078590393066,
0.006713923066854477,
0.15020878612995148,
0.007147432304918766,
0.243719682097435,
-0.1529056429862976,
-0.1781635880470276,
0.036775484681129456,
-0.47332844138145447,
0.19571590423583984,
-0.24456362426280975,
0.00792430154979229,
0.25963032245635986,
0.004523172974586487,
0.21194325387477875,
0.007627405226230621,
0.3155986964702606,
0.1694469302892685,
0.3344174027442932,
-0.10922618210315704,
0.052477091550827026,
0.29598087072372437,
0.1642032414674759,
0.22066745162010193,
-0.07940562814474106,
0.12469403445720673,
-0.15168333053588867,
-0.12686967849731445,
0.2336958795785904,
0.43445634841918945,
0.6323288679122925,
-0.03506225720047951,
0.20591312646865845,
0.007647264748811722,
0.2383216917514801,
-0.2561874985694885,
0.019943222403526306,
0.03334541991353035,
-0.022933784872293472,
0.125662699341774,
0.2581072449684143,
-0.004501716233789921,
0.16224828362464905,
-0.04308426380157471,
0.16650636494159698,
0.19296562671661377,
-0.09237850457429886,
0.26877495646476746,
-0.16198775172233582,
-0.1913444995880127,
-0.09731390327215195,
-0.1816345602273941,
0.11396647989749908,
-0.39316973090171814,
-0.13194718956947327,
0.386891633272171,
0.23526307940483093,
0.019770903512835503,
-0.012567848898470402,
0.2920118570327759,
0.04942203313112259,
-0.4718859791755676,
-0.24094033241271973,
-0.1780584305524826,
-0.21639901399612427,
0.051958125084638596,
0.17945672571659088,
0.031713664531707764,
0.24114930629730225,
-0.11883436143398285,
-0.11864777654409409,
-0.10044921934604645,
-0.17116382718086243,
0.01698721945285797,
-0.010977186262607574,
0.4662132263183594,
0.026757478713989258,
0.22495973110198975,
-0.12977498769760132,
0.05779758840799332,
-0.01523997075855732,
-0.028041714802384377,
-0.08708865940570831,
-0.06355279684066772,
-0.04194905608892441,
0.23789189755916595,
-0.12848064303398132,
-0.30793294310569763,
-0.32372528314590454,
-0.3039703667163849,
0.15893492102622986,
0.023104030638933182,
0.017353352159261703,
0.42701637744903564,
0.07061852514743805,
0.04548997804522514,
0.3967773914337158,
-0.22907227277755737,
-0.3495013117790222,
-0.3789936304092407,
0.5690658688545227,
-0.2083936482667923,
-0.12745065987110138,
0.10441786050796509,
-0.06230777129530907,
0.4087071716785431,
0.15326452255249023,
-0.6130216717720032,
-0.0492452010512352,
-0.4274730980396271,
0.4506581425666809,
-0.09273335337638855,
-0.24068410694599152,
0.1335648149251938,
-0.2650042176246643,
0.11550341546535492,
0.046286992728710175,
-0.14476945996284485,
-0.02264580875635147,
0.25417807698249817,
0.39131271839141846,
0.09666645526885986,
0.09325626492500305,
0.1627935916185379,
0.5781351327896118,
0.1583215445280075,
0.0928010642528534,
0.3064732551574707,
0.14760777354240417,
0.36104172468185425,
-0.25679484009742737,
-0.1881384551525116,
0.08330674469470978,
-0.15892869234085083,
-0.2403324395418167,
0.16503480076789856,
0.04369604215025902,
0.06672919541597366,
-0.17505450546741486,
0.17108164727687836,
0.022526398301124573,
-0.23225091397762299,
0.023516107350587845,
-0.36680757999420166,
0.024496179074048996,
0.165519118309021,
0.17392295598983765,
0.14165769517421722,
-0.43222010135650635,
0.06057365611195564,
0.18563789129257202,
-0.14197587966918945,
0.046496499329805374,
0.41623222827911377,
0.22572948038578033,
-0.5468363761901855,
0.14987631142139435,
0.0075769806280732155,
0.2178843915462494,
-0.19626708328723907,
0.20937925577163696,
0.24425442516803741,
0.09098293632268906,
0.5848751068115234,
-0.05349763482809067,
0.2061711549758911,
0.042937736958265305,
-0.016015924513339996,
-0.27219152450561523,
-0.084873266518116,
0.0593087412416935,
0.22395475208759308,
0.10890325903892517,
0.01388702541589737,
-0.21288537979125977,
0.32089701294898987,
0.06276614964008331,
0.23018133640289307,
-0.19635078310966492,
-0.19681406021118164,
-0.27776870131492615,
-0.42799583077430725,
-0.15411172807216644,
-0.09181547909975052,
0.09491189569234848,
0.16623127460479736,
-0.11258523166179657,
-0.16191868484020233,
0.005788235925137997,
-0.18895283341407776,
-0.0994115024805069,
0.1571960151195526,
0.18769559264183044,
0.23106932640075684,
0.5053074955940247,
0.22188591957092285,
-0.4908113181591034,
0.02667243406176567,
0.6061959266662598,
-0.07177437841892242,
-0.3316284418106079,
0.10519321262836456,
-0.10664341598749161,
-0.2893049120903015,
0.36779266595840454,
-0.2560785412788391,
-0.04858744889497757,
-0.1713084727525711,
-0.11332164704799652,
-0.019262783229351044,
0.3453823924064636,
-0.1500333696603775,
-0.12318132072687149,
-0.12325841933488846,
-0.47163620591163635,
0.47737810015678406,
0.022864840924739838,
-0.1714969426393509,
0.45269501209259033,
-0.3457268476486206,
-0.15250514447689056,
0.2804824709892273,
-0.11538537591695786,
0.8671265244483948,
-0.21409516036510468,
-0.04821031913161278,
0.16577237844467163,
-0.2647894024848938,
0.48008987307548523,
-0.18205103278160095,
0.11495961248874664,
-0.29792681336402893,
-0.3546401262283325,
0.108207106590271,
-0.16704127192497253,
0.02551531046628952,
-0.13697679340839386,
-0.2145301252603531,
0.28208479285240173,
-0.227153018116951,
0.08151102811098099,
0.003154207020998001,
0.01361515000462532,
-0.11606220155954361,
-0.11126753687858582,
-0.15841634571552277,
0.1759820282459259,
-0.2606734037399292,
0.3767324686050415,
-0.19813984632492065,
0.026929281651973724,
-0.28676825761795044,
0.17459014058113098,
-0.4447043538093567,
0.1477518081665039,
-0.5393679738044739,
0.1069381907582283,
-0.10902774333953857,
-0.5295172333717346,
-0.02829005755484104,
0.299034982919693,
0.28369399905204773,
0.11282077431678772,
-0.2986031472682953,
0.4241600036621094,
0.10850673913955688,
-0.046525850892066956,
0.09070125222206116,
-0.1420476883649826,
-0.13202080130577087,
-0.06313376128673553,
0.0012274906039237976,
0.035764869302511215,
-0.15294653177261353,
-0.154539093375206,
0.1024785041809082,
0.1676945686340332,
0.22496716678142548,
0.040197424590587616,
-0.20844024419784546,
-0.1563214510679245,
0.22958236932754517,
-0.07912806421518326,
0.08478951454162598,
0.2503475248813629,
0.1096871942281723,
0.21260428428649902,
-0.12980668246746063,
-0.24328410625457764,
-0.11451660096645355,
0.47878149151802063,
-0.011838715523481369,
0.038965098559856415,
0.4395753741264343,
0.09641335904598236,
-0.20197036862373352,
-0.03275841102004051,
-0.10778375715017319,
-0.6246577501296997,
-0.53751140832901,
0.3230868875980377,
-0.18637952208518982,
0.10121092200279236,
-0.07055961340665817,
0.32477378845214844,
0.12375862151384354,
-0.23670223355293274,
0.09314925968647003,
-0.5435062646865845,
-0.19857902824878693,
-0.3119519352912903,
-0.3757372498512268,
0.13841429352760315,
-0.08237197995185852,
-0.2047024518251419,
0.06342417746782303,
0.22628465294837952,
-0.18093380331993103,
0.0895228236913681,
-0.22370077669620514,
-0.09986142814159393,
0.11618661880493164,
0.017947383224964142,
0.26118138432502747,
0.007967520505189896,
-0.06744103133678436,
0.2899778485298157,
-0.07091008871793747,
-0.17120575904846191,
-0.18386557698249817,
0.1547561138868332,
0.04276902228593826,
-0.1486198902130127,
-0.13406401872634888,
-0.24849380552768707,
-0.11806754767894745,
-0.010785384103655815,
0.3065956234931946,
0.26941463351249695,
0.03311888873577118,
-0.10469279438257217,
0.018080245703458786,
0.1707001030445099,
-0.3825429677963257,
0.5315549373626709,
-0.14940255880355835,
0.3177742660045624,
0.22728639841079712,
0.10732106864452362,
0.051826637238264084,
0.05295391380786896,
-0.12674148380756378,
-0.25161710381507874,
-0.018345803022384644,
-0.2249571979045868,
0.13145208358764648,
-0.2701287269592285,
0.18039321899414062,
0.00177364656701684,
-0.13258837163448334,
0.3472146689891815,
-0.1771712452173233,
-0.38907283544540405,
0.18341386318206787,
0.07793416827917099,
-0.04003792256116867,
0.04361748695373535,
-0.18257610499858856,
0.23900529742240906,
-0.15878942608833313,
0.3141072690486908,
0.24022868275642395,
-0.05274383723735809,
0.21771928668022156,
0.23967644572257996,
0.5507901906967163,
0.02521776780486107,
0.046455446630716324,
0.038523007184267044,
-0.1300095021724701,
0.1951763778924942,
0.07426770031452179,
-0.018608368933200836,
-0.1376000940799713,
0.4194694757461548,
-0.20507124066352844,
0.19799642264842987,
-0.027925461530685425,
0.10235819220542908,
0.0021867603063583374,
-0.4949433505535126,
0.031265512108802795,
0.1538415551185608,
-0.3032110631465912,
0.14222869277000427,
0.11708351969718933,
0.22088447213172913,
-0.21337616443634033,
0.07726109772920609,
-0.21051880717277527,
-0.1401476114988327,
-0.05169084668159485,
-0.0028006406500935555,
0.42239078879356384,
-0.11665686964988708,
-0.14914235472679138,
0.2172987163066864,
-0.09905983507633209,
-0.20190204679965973,
0.37173035740852356,
0.1664242148399353,
-0.3519613742828369,
-0.32456302642822266,
0.037397198379039764,
0.22480890154838562,
0.03221341595053673,
-0.11953417956829071,
0.419324666261673,
-0.1714903563261032,
-0.009940005838871002,
0.08916755020618439,
0.19640293717384338,
0.18458229303359985,
0.2700955271720886,
-0.26814430952072144,
-0.13802844285964966,
0.0516296848654747,
0.03284509479999542,
0.01918904110789299,
0.4536050856113434,
0.18504607677459717,
-0.06224976107478142,
0.20618075132369995,
0.054768286645412445,
-0.12052663415670395,
0.1513216197490692,
0.3119700253009796,
0.127204030752182,
-0.24437402188777924,
0.1705387979745865,
-0.16462501883506775,
0.1715104579925537,
-0.15396343171596527,
0.10985153168439865,
-0.13750839233398438,
0.028008442372083664,
-0.06858876347541809,
-0.19618472456932068,
0.053749389946460724,
0.13526254892349243,
0.04981265962123871,
-0.050034526735544205,
0.6777928471565247,
0.24171310663223267,
0.27138131856918335,
-0.3485795855522156,
-0.16594679653644562,
-0.6396209001541138,
0.1487506479024887,
0.04837203025817871,
-0.0174068845808506,
-0.16237416863441467,
0.25788143277168274,
-0.20732995867729187,
0.2430494874715805,
-0.2053164392709732,
0.3471251130104065,
0.3449109196662903,
0.19506588578224182,
-0.48435044288635254,
-0.33182355761528015,
-0.08249680697917938,
-0.2425239086151123,
0.010821014642715454,
-0.4769306778907776,
-0.016423005610704422,
-0.008553036488592625,
-0.0897245854139328,
0.040844038128852844,
-0.5267086029052734,
0.19076929986476898,
0.32067397236824036,
0.5116618275642395,
0.0020494814962148666,
0.3139450252056122,
0.23000073432922363,
-0.10948175936937332,
-0.24323678016662598,
-0.012926818802952766,
0.13362684845924377,
-0.20357808470726013,
0.1809324473142624,
0.02331952378153801,
-0.11016170680522919,
0.20380669832229614,
-0.2465338110923767,
0.49276211857795715,
0.17814305424690247,
0.34627652168273926,
-0.1061306744813919,
-0.13083702325820923,
-0.12823353707790375,
0.41847652196884155,
0.004447613842785358,
0.19103193283081055,
-0.21038317680358887,
0.29310142993927,
-0.30472707748413086,
-0.14213645458221436,
0.4516492486000061,
-0.100856252014637,
-0.24812419712543488,
0.12007521092891693,
0.20464293658733368,
-0.12300056964159012,
-0.2994630038738251,
-0.5540911555290222,
0.22217679023742676,
0.27871060371398926,
-0.17234373092651367,
-0.09715493023395538,
0.2578883767127991,
-0.1244221180677414,
0.16915832459926605,
-0.1640617400407791,
0.4610254466533661,
0.0983031615614891,
-0.0039860960096120834,
-0.048994749784469604,
-0.08196747303009033
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi, it works on colab but it still doesn't work on my computer, same problem as before - overly large and long extraction process.
I have to use a custom 'cache_dir' because I don't have any space left in my home directory where it is defaulted, maybe this could be the issue? | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 52 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Hi, it works on colab but it still doesn't work on my computer, same problem as before - overly large and long extraction process.
I have to use a custom 'cache_dir' because I don't have any space left in my home directory where it is defaulted, maybe this could be the issue? | [
-0.11243920028209686,
0.2039628028869629,
-0.07271008938550949,
0.4566596746444702,
0.10538547486066818,
0.13809806108474731,
0.2412605583667755,
0.03996579349040985,
0.14592187106609344,
0.0728042870759964,
-0.25712451338768005,
0.1797400563955307,
-0.0175129696726799,
0.08357694745063782,
-0.16707441210746765,
0.018183518201112747,
-0.22051891684532166,
-0.07654336094856262,
0.2628171443939209,
0.058112211525440216,
-0.16647115349769592,
0.4603986442089081,
-0.22366732358932495,
-0.27908772230148315,
-0.22227981686592102,
-0.029081830754876137,
0.034354984760284424,
0.09782639145851135,
0.0028532128781080246,
-0.17486821115016937,
0.6022053956985474,
0.2330121397972107,
0.19496037065982819,
0.6118331551551819,
-0.00012106576468795538,
-0.2649897336959839,
0.2710084319114685,
-0.07660768926143646,
-0.5360262393951416,
-0.10917066037654877,
-0.37380221486091614,
0.0611400306224823,
0.13727638125419617,
-0.011648394167423248,
0.045887455344200134,
0.46547096967697144,
-0.10741855204105377,
-0.6454581022262573,
0.10442868620157242,
0.13482151925563812,
0.16029176115989685,
-0.14897336065769196,
-0.31021034717559814,
-0.0899127647280693,
0.0828000083565712,
0.02679767832159996,
-0.220646932721138,
0.4412756562232971,
0.2664744257926941,
0.05772554129362106,
0.251048743724823,
0.26388540863990784,
-0.03779261186718941,
0.3813094198703766,
0.14490410685539246,
0.15186534821987152,
-0.25583386421203613,
-0.4166744351387024,
0.4611060917377472,
0.292136013507843,
0.7200586795806885,
-0.13316255807876587,
-0.2939247786998749,
-0.1821671426296234,
0.012579473666846752,
-0.21296322345733643,
0.3156762421131134,
0.26284199953079224,
-0.3349863290786743,
0.07708358764648438,
-0.11117267608642578,
-0.11831966042518616,
-0.1295943409204483,
-0.09914536774158478,
-0.2954619526863098,
-0.2909480631351471,
-0.19094958901405334,
-0.046830348670482635,
0.12848185002803802,
0.04779728874564171,
0.4253873825073242,
-0.2764371633529663,
-0.04776054248213768,
0.19117122888565063,
-0.5783612132072449,
0.11213913559913635,
0.0455096960067749,
0.24542611837387085,
0.07995997369289398,
0.2400476187467575,
0.21620963513851166,
0.12658651173114777,
-0.2838141620159149,
-0.12213604897260666,
0.2870100438594818,
0.5951665043830872,
-0.08422810584306717,
-0.1412152796983719,
0.2576093375682831,
0.22351709008216858,
-0.14580011367797852,
0.09327901899814606,
-0.13439594209194183,
0.01488602813333273,
0.019345764070749283,
-0.11121635884046555,
0.19856604933738708,
-0.3478778302669525,
-0.3684641122817993,
0.0084943026304245,
-0.026075931265950203,
0.20399901270866394,
-0.0027997782453894615,
0.25651150941848755,
-0.2200746238231659,
0.27052682638168335,
-0.25175613164901733,
0.007780527696013451,
-0.11730532348155975,
-0.06268895417451859,
-0.09483316540718079,
-0.006868274882435799,
-0.008957948535680771,
0.16568678617477417,
0.40553519129753113,
-0.17261497676372528,
-0.03916766494512558,
-0.29942360520362854,
0.09785250574350357,
-0.033958714455366135,
-0.00024252384901046753,
-0.5300252437591553,
0.0057030245661735535,
0.22602909803390503,
0.1368425041437149,
0.40797489881515503,
-0.17742274701595306,
-0.16656926274299622,
-0.24526214599609375,
0.22829818725585938,
-0.29027867317199707,
-0.32122427225112915,
0.054939404129981995,
0.06537307798862457,
-0.4587557315826416,
-0.06087031215429306,
-0.33715638518333435,
0.06651655584573746,
0.2378193438053131,
0.12563851475715637,
-0.0948304757475853,
-0.02562539651989937,
-0.3592672049999237,
-0.20822380483150482,
0.11781492084264755,
0.5704815983772278,
-0.42264825105667114,
0.3506437838077545,
-0.35474100708961487,
0.2162884622812271,
0.25541752576828003,
0.29240408539772034,
0.012193850241601467,
0.17142632603645325,
-0.3983628451824188,
0.010508336126804352,
0.29248225688934326,
-0.38669633865356445,
-0.8326296806335449,
0.3234567940235138,
-0.06281184405088425,
0.2581591308116913,
0.10223359614610672,
0.08247935026884079,
0.13309580087661743,
-0.043295469135046005,
0.1874770224094391,
0.5307174921035767,
-0.18092535436153412,
-0.027034727856516838,
-0.3147307336330414,
-0.435032457113266,
0.13069367408752441,
0.1489081084728241,
-0.015048760920763016,
0.10429753363132477,
0.00003024190664291382,
0.09123691916465759,
0.1730368286371231,
0.28045254945755005,
0.08898302912712097,
0.3110311031341553,
0.38815420866012573,
-0.037391237914562225,
-0.030992094427347183,
0.03041878715157509,
-0.5355274081230164,
0.43223896622657776,
-0.07474458962678909,
-0.044182173907756805,
-0.2751702666282654,
-0.05506829172372818,
-0.3800145387649536,
-0.0545448362827301,
-0.32570844888687134,
-0.22780826687812805,
-0.0647570937871933,
0.14039096236228943,
0.40812447667121887,
0.08368521928787231,
0.09889967739582062,
0.6743143796920776,
0.30701613426208496,
-0.19235993921756744,
-0.44519850611686707,
-0.0073113227263092995,
0.02922734059393406,
-0.02556253969669342,
-0.06240272894501686,
-0.10332418233156204,
0.00796443223953247,
-0.24483582377433777,
-0.19933491945266724,
0.02769850194454193,
0.259322851896286,
-0.025835424661636353,
0.031151218339800835,
0.06646829843521118,
0.28513747453689575,
0.022480931133031845,
0.3190881907939911,
0.08809787034988403,
0.22089147567749023,
-0.11172536015510559,
-0.2005070149898529,
-0.0054204463958740234,
-0.3680717647075653,
0.3170793950557709,
-0.1383226215839386,
-0.030209949240088463,
0.3640991151332855,
-0.03298739343881607,
0.3663947284221649,
-0.1630753129720688,
0.2493320107460022,
0.2290354073047638,
0.31858059763908386,
-0.15380756556987762,
0.037301205098629,
0.3991547226905823,
0.10252975672483444,
0.23530808091163635,
-0.060521773993968964,
0.22966799139976501,
-0.06690920144319534,
-0.11270919442176819,
0.1428692787885666,
0.4477924406528473,
0.6377923488616943,
-0.0017876906786113977,
0.231270432472229,
-0.011668501421809196,
0.4445110857486725,
-0.2531862258911133,
0.12657055258750916,
0.1394789069890976,
-0.11442245543003082,
0.1315436065196991,
0.38153621554374695,
0.12496055662631989,
0.1835182011127472,
-0.15518856048583984,
0.052277401089668274,
0.1829492151737213,
0.05050918832421303,
0.31140464544296265,
-0.29339006543159485,
-0.141269713640213,
0.010227618739008904,
-0.14025719463825226,
0.19154959917068481,
-0.33433571457862854,
-0.09971663355827332,
0.2889532446861267,
0.18515464663505554,
-0.022051898762583733,
-0.08020499348640442,
0.2349575161933899,
0.10682110488414764,
-0.657732367515564,
-0.18601052463054657,
-0.12593567371368408,
-0.16759884357452393,
-0.020553747192025185,
0.16597825288772583,
-0.06590795516967773,
0.1569807231426239,
-0.11254711449146271,
-0.045264847576618195,
-0.23110167682170868,
-0.1205701231956482,
0.13821399211883545,
0.11246325075626373,
0.34002962708473206,
0.1230645477771759,
0.19510766863822937,
-0.029323982074856758,
0.09195134788751602,
-0.012223598547279835,
-0.043270330876111984,
-0.09235319495201111,
0.09835764020681381,
-0.001771425362676382,
0.20344531536102295,
-0.14271005988121033,
-0.2189684808254242,
-0.3988289535045624,
-0.35293954610824585,
0.19660699367523193,
0.10872894525527954,
0.11348330229520798,
0.5008628368377686,
-0.004568745382130146,
-0.06600472331047058,
0.3374958634376526,
-0.1798047125339508,
-0.3153899013996124,
-0.28920578956604004,
0.6500524282455444,
-0.15887399017810822,
-0.16067801415920258,
0.03562024608254433,
-0.12350702285766602,
0.32596898078918457,
0.3115149736404419,
-0.5967968702316284,
0.01085838582366705,
-0.529821515083313,
0.515071451663971,
-0.14683867990970612,
-0.15057559311389923,
0.241084024310112,
-0.25709155201911926,
0.09256652742624283,
0.18777114152908325,
-0.11385108530521393,
-0.03905034810304642,
0.36137205362319946,
0.32474759221076965,
0.12780988216400146,
0.041454821825027466,
0.1006370335817337,
0.49642854928970337,
0.1819123476743698,
0.19656190276145935,
0.2644200623035431,
0.21895571053028107,
0.3408921957015991,
-0.31079840660095215,
-0.11786942929029465,
0.0880998820066452,
-0.10945063829421997,
-0.3138962388038635,
0.24421752989292145,
0.009525416418910027,
0.14933359622955322,
-0.1414441019296646,
0.13565239310264587,
0.0246780663728714,
-0.2404598444700241,
-0.003769606351852417,
-0.3402993679046631,
0.03820909187197685,
0.19522473216056824,
0.1561393141746521,
0.06832931935787201,
-0.35068273544311523,
0.05166533961892128,
0.0779484361410141,
-0.13603124022483826,
0.09367667883634567,
0.36200645565986633,
0.19888842105865479,
-0.6867257952690125,
0.29763609170913696,
-0.06730134785175323,
0.12601007521152496,
-0.10061278939247131,
0.13430708646774292,
0.16949398815631866,
0.039776477962732315,
0.4954962134361267,
-0.06626874953508377,
0.18427042663097382,
0.02317013591527939,
-0.11816048622131348,
-0.31505730748176575,
-0.053742632269859314,
0.03410104289650917,
0.25161758065223694,
0.103548064827919,
-0.03761418163776398,
-0.23553454875946045,
0.20976419746875763,
-0.014341212809085846,
0.3960704207420349,
-0.24958457052707672,
-0.2628292143344879,
-0.19839906692504883,
-0.5200642943382263,
-0.13231800496578217,
-0.16566038131713867,
0.11349477618932724,
0.2910744845867157,
-0.009682940319180489,
-0.08028016984462738,
-0.06499854475259781,
-0.051203638315200806,
0.060308512300252914,
0.12826263904571533,
0.23568719625473022,
0.08329872786998749,
0.4498065412044525,
0.05490367114543915,
-0.3317556381225586,
0.07277097553014755,
0.5874848365783691,
-0.06920012831687927,
-0.23783650994300842,
0.1447429358959198,
-0.14711607992649078,
-0.2464407980442047,
0.3908080458641052,
-0.18379682302474976,
-0.0847090557217598,
-0.22007068991661072,
0.03374854847788811,
-0.06755614280700684,
0.19088639318943024,
-0.27888721227645874,
-0.2726652920246124,
-0.04320438206195831,
-0.4134308099746704,
0.42494407296180725,
-0.009634697809815407,
-0.16756758093833923,
0.45800232887268066,
-0.24743016064167023,
-0.1639782041311264,
0.2043066769838333,
-0.1585940420627594,
0.9138556122779846,
-0.08055055141448975,
-0.0034698061645030975,
0.15070459246635437,
-0.20794625580310822,
0.4514729976654053,
-0.1793818175792694,
0.0711284875869751,
-0.21432805061340332,
-0.2676091194152832,
0.09744440019130707,
-0.09651100635528564,
-0.021451525390148163,
0.028440946713089943,
-0.12000982463359833,
0.35815995931625366,
-0.329862117767334,
0.015235183760523796,
-0.05005558580160141,
0.20731359720230103,
-0.13067428767681122,
-0.24210089445114136,
-0.2531363368034363,
0.12418444454669952,
-0.19241651892662048,
0.36569374799728394,
-0.17892873287200928,
0.024173475801944733,
-0.319534033536911,
0.06725656986236572,
-0.3876727223396301,
0.16088241338729858,
-0.44009166955947876,
0.1835901439189911,
-0.08281272649765015,
-0.6697794795036316,
0.05369060859084129,
0.2453935742378235,
0.20268100500106812,
0.021953856572508812,
-0.30910634994506836,
0.303180456161499,
-0.03740553557872772,
-0.039326123893260956,
0.15285255014896393,
-0.21245521306991577,
-0.1889001876115799,
-0.0733264684677124,
0.0999683067202568,
-0.12326217442750931,
-0.19354087114334106,
-0.07204598188400269,
0.13449028134346008,
0.21941280364990234,
0.22264738380908966,
0.11601787805557251,
-0.3141058385372162,
-0.19787943363189697,
0.15673740208148956,
-0.035759009420871735,
0.045686274766922,
0.28545498847961426,
0.0556829534471035,
0.38911014795303345,
-0.3272900879383087,
-0.21027833223342896,
-0.12979693710803986,
0.483874648809433,
-0.014346849173307419,
-0.09765113890171051,
0.47746649384498596,
0.07790280878543854,
-0.2222820222377777,
-0.05373011901974678,
-0.09667695313692093,
-0.6926587224006653,
-0.38588809967041016,
0.28670597076416016,
-0.23314395546913147,
0.02938191592693329,
0.012266417033970356,
0.18168479204177856,
0.09570538997650146,
-0.22896528244018555,
0.020692232996225357,
-0.5060125589370728,
-0.17406488955020905,
-0.26114457845687866,
-0.34730902314186096,
0.05425319820642471,
-0.14085951447486877,
-0.23677729070186615,
0.05718010663986206,
0.22330936789512634,
-0.14937031269073486,
0.07295005768537521,
-0.12989996373653412,
-0.1688794046640396,
0.15089891850948334,
0.025911279022693634,
0.3095936179161072,
-0.05425650626420975,
-0.09707126021385193,
0.236246258020401,
-0.034956224262714386,
-0.158803790807724,
-0.20089881122112274,
0.19482119381427765,
-0.02059946209192276,
-0.08627944439649582,
0.012064090929925442,
-0.24915862083435059,
-0.13344140350818634,
-0.10851877182722092,
0.3305957019329071,
0.3707273304462433,
0.05545669421553612,
-0.20959502458572388,
-0.11503227055072784,
0.1533997654914856,
-0.48140251636505127,
0.5189346671104431,
-0.13840758800506592,
0.4532436728477478,
0.2359660416841507,
0.13544122874736786,
0.10916416347026825,
0.020175568759441376,
-0.1902894824743271,
-0.18201997876167297,
-0.03623172640800476,
-0.2306593358516693,
0.13436231017112732,
-0.2551441192626953,
0.1454497128725052,
0.14950431883335114,
-0.2014380842447281,
0.4630468189716339,
-0.1462032049894333,
-0.3799794614315033,
0.07362265884876251,
0.050636835396289825,
-0.048380643129348755,
-0.010191580280661583,
-0.13791944086551666,
0.15186285972595215,
-0.21512001752853394,
0.37584954500198364,
0.22889429330825806,
-0.07975007593631744,
0.1907573938369751,
0.22281816601753235,
0.6447789669036865,
-0.016814105212688446,
-0.0011565731838345528,
0.05109333619475365,
-0.0798635333776474,
0.17511597275733948,
0.16280397772789001,
0.13152705132961273,
0.03218246251344681,
0.6310330033302307,
-0.23610910773277283,
0.11234389245510101,
-0.04441782832145691,
0.11895781755447388,
-0.053740061819553375,
-0.5293372273445129,
-0.12355455756187439,
0.1374863237142563,
-0.17043057084083557,
0.15457846224308014,
0.055377647280693054,
0.12032943964004517,
-0.28634148836135864,
0.1980023980140686,
-0.2747960388660431,
-0.13055911660194397,
0.07028094679117203,
0.043292708694934845,
0.4179132878780365,
-0.03261299058794975,
-0.021361093968153,
0.23625844717025757,
-0.04600848630070686,
-0.12547792494297028,
0.359554260969162,
0.16748158633708954,
-0.29025232791900635,
-0.3045263886451721,
0.10985750705003738,
0.07754343003034592,
-0.00750315934419632,
-0.1655341237783432,
0.38427022099494934,
0.037933170795440674,
-0.015490248799324036,
0.017471550032496452,
0.18714994192123413,
0.1906706541776657,
0.3469964861869812,
-0.311302125453949,
-0.13456477224826813,
-0.05308198556303978,
-0.007632400840520859,
-0.1113528236746788,
0.34491658210754395,
0.05731714516878128,
0.0014298707246780396,
0.2149900645017624,
0.031924352049827576,
-0.08733191341161728,
0.06541724503040314,
0.30053940415382385,
0.19600249826908112,
-0.232496976852417,
0.20709770917892456,
-0.08427219837903976,
0.14509636163711548,
-0.17762674391269684,
0.1186172366142273,
-0.15955321490764618,
0.05594351142644882,
0.00649248156696558,
-0.12606428563594818,
0.032954003661870956,
0.14992843568325043,
0.017086487263441086,
-0.15176832675933838,
0.5939469337463379,
0.2363782823085785,
0.25015103816986084,
-0.29386815428733826,
-0.07026160508394241,
-0.6929665803909302,
0.13661949336528778,
-0.05870255455374718,
-0.13497836887836456,
-0.1556127518415451,
0.43549758195877075,
-0.2148853838443756,
0.28577089309692383,
-0.17709477245807648,
0.2804145812988281,
0.22397324442863464,
0.1362760365009308,
-0.5311211943626404,
-0.28480955958366394,
0.001627013087272644,
-0.15592072904109955,
0.043239571154117584,
-0.6099451780319214,
-0.03779136762022972,
-0.00016601290553808212,
-0.13690003752708435,
-0.0006472337990999222,
-0.40421241521835327,
0.12516440451145172,
0.3856182396411896,
0.5973392128944397,
0.11635732650756836,
0.17365892231464386,
0.2634856402873993,
-0.11789409071207047,
-0.2479635775089264,
0.12870663404464722,
0.13179592788219452,
-0.10824335366487503,
0.17798380553722382,
-0.02495788224041462,
-0.22823697328567505,
0.1317046731710434,
-0.2528846561908722,
0.5235787630081177,
0.2184135466814041,
0.26726165413856506,
-0.1370820254087448,
-0.056012801826000214,
-0.16029298305511475,
0.4422330856323242,
0.11861513555049896,
0.2526867985725403,
-0.14936977624893188,
0.24455730617046356,
-0.3856598734855652,
-0.20088380575180054,
0.4115625321865082,
-0.008562251925468445,
-0.45289087295532227,
0.1688717156648636,
0.2824741005897522,
-0.11772210150957108,
-0.2932261526584625,
-0.42519402503967285,
0.23170724511146545,
0.24379275739192963,
-0.15944668650627136,
-0.10629206895828247,
0.18107011914253235,
-0.24109381437301636,
0.020001810044050217,
-0.13644957542419434,
0.33712291717529297,
0.1063128113746643,
-0.0014478061348199844,
-0.1471814513206482,
0.016758032143115997
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | I tried running this again - More details of the problem:
Code:
```
datasets.load_dataset("trivia_qa", "rc", cache_dir="/path/to/cache")
```
The output:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to path/to/cache/trivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.67G/2.67G [03:38<00:00, 12.2MB/s]
```
The process continues (no progress bar is visible).
I tried `du -sh .` in `path/to/cache`, and the size keeps increasing, reached 35G before I killed the process.
Google Colab with custom `cache_dir` has same issue.
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing#scrollTo=2G2O0AeNIXan | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 81 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
I tried running this again - More details of the problem:
Code:
```
datasets.load_dataset("trivia_qa", "rc", cache_dir="/path/to/cache")
```
The output:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to path/to/cache/trivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.67G/2.67G [03:38<00:00, 12.2MB/s]
```
The process continues (no progress bar is visible).
I tried `du -sh .` in `path/to/cache`, and the size keeps increasing, reached 35G before I killed the process.
Google Colab with custom `cache_dir` has same issue.
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing#scrollTo=2G2O0AeNIXan | [
-0.01911298558115959,
0.23462238907814026,
-0.0358678437769413,
0.3387269973754883,
0.14120130240917206,
0.1956147849559784,
0.2685053050518036,
0.02841988019645214,
0.11888396739959717,
-0.08269968628883362,
-0.23905231058597565,
0.2821520268917084,
0.021684769541025162,
0.07265732437372208,
-0.0835467129945755,
0.0234451312571764,
-0.1319272518157959,
-0.07723471522331238,
0.19586876034736633,
0.11566619575023651,
-0.1322736144065857,
0.45927900075912476,
-0.2749748229980469,
-0.3179253339767456,
-0.23773115873336792,
0.0502314493060112,
0.07893899083137512,
0.11478599905967712,
0.03674755617976189,
-0.24178928136825562,
0.6353092789649963,
0.2854878306388855,
0.10814093053340912,
0.5510926842689514,
-0.00011766563693527132,
-0.17165067791938782,
0.3202269673347473,
-0.06725648045539856,
-0.6127195358276367,
-0.27363133430480957,
-0.40035194158554077,
0.04683580994606018,
0.046134136617183685,
0.0724671259522438,
0.006081327795982361,
0.46136775612831116,
-0.1097797304391861,
-0.7131498456001282,
0.06903383880853653,
0.13538965582847595,
0.18555931746959686,
-0.11254536360502243,
-0.22074337303638458,
-0.08380041271448135,
0.08299291878938675,
-0.07404749095439911,
-0.26899147033691406,
0.46672770380973816,
0.19875454902648926,
0.08615795522928238,
0.21019642055034637,
0.2608334422111511,
0.014535585418343544,
0.38432642817497253,
0.12830734252929688,
0.0625406801700592,
-0.2769600450992584,
-0.3085973560810089,
0.4427739679813385,
0.22992902994155884,
0.8865926265716553,
-0.32608160376548767,
-0.3149338662624359,
-0.10558725893497467,
0.05697677284479141,
-0.142144575715065,
0.26332300901412964,
0.18370410799980164,
-0.27237963676452637,
-0.014048382639884949,
-0.14015768468379974,
-0.08256478607654572,
-0.030754297971725464,
-0.04642373323440552,
-0.21297025680541992,
-0.24119997024536133,
-0.15175198018550873,
0.008334316313266754,
0.006778087466955185,
0.027422375977039337,
0.4106861352920532,
-0.1950240582227707,
-0.1808837354183197,
0.2906985580921173,
-0.6349015235900879,
0.157129168510437,
-0.04119175672531128,
0.1883412003517151,
0.17350372672080994,
0.14832907915115356,
0.20458585023880005,
0.1414363980293274,
-0.33979910612106323,
-0.037853486835956573,
0.2626330852508545,
0.5316122770309448,
-0.0408637598156929,
-0.08349867910146713,
0.2299903929233551,
0.26557937264442444,
-0.10898457467556,
0.07145006209611893,
-0.07112043350934982,
-0.04708142206072807,
0.05696093663573265,
-0.06211010366678238,
0.2417215257883072,
-0.3457323908805847,
-0.40392357110977173,
0.038314927369356155,
-0.0017091184854507446,
0.24666209518909454,
0.0015261704102158546,
0.24401739239692688,
-0.2750677168369293,
0.22449424862861633,
-0.06828241795301437,
0.07472468912601471,
-0.1628013551235199,
-0.036030519753694534,
-0.09559405595064163,
-0.14285117387771606,
0.0032886378467082977,
0.14934943616390228,
0.4283847510814667,
-0.15510530769824982,
0.10669882595539093,
-0.15606547892093658,
0.1478944718837738,
-0.10405050963163376,
0.023147335276007652,
-0.4320102632045746,
-0.10781431943178177,
0.24102459847927094,
0.07467687129974365,
0.4414886236190796,
-0.20729947090148926,
-0.14709597826004028,
-0.08808267116546631,
0.2640243470668793,
-0.2939468026161194,
-0.2577495276927948,
-0.04455745965242386,
0.08554015308618546,
-0.47590428590774536,
-0.11315596103668213,
-0.2945776879787445,
0.17430178821086884,
0.303640216588974,
0.04744703695178032,
-0.012643612921237946,
-0.01734689623117447,
-0.4301816523075104,
-0.2669341564178467,
0.20363393425941467,
0.622186005115509,
-0.420731782913208,
0.19676369428634644,
-0.308235764503479,
0.194241002202034,
0.14438721537590027,
0.1795470416545868,
0.006810114718973637,
0.09722501039505005,
-0.4354681670665741,
-0.039884716272354126,
0.270230233669281,
-0.3908963203430176,
-0.7491318583488464,
0.2808627784252167,
-0.008619602769613266,
0.22377870976924896,
0.030381597578525543,
0.10109005868434906,
0.10384119302034378,
-0.05773112177848816,
0.13628815114498138,
0.4570528268814087,
-0.12508833408355713,
-0.019700344651937485,
-0.3529680669307709,
-0.27702397108078003,
0.07819847762584686,
0.20640945434570312,
-0.06464484333992004,
0.13503143191337585,
0.012866243720054626,
0.07683733850717545,
0.21779277920722961,
0.37360599637031555,
0.13214772939682007,
0.1880965530872345,
0.28887006640434265,
-0.03317677974700928,
0.047850094735622406,
0.00718945637345314,
-0.8005845546722412,
0.4807349145412445,
-0.09452223777770996,
-0.11704182624816895,
-0.2597994804382324,
-0.025831159204244614,
-0.5113697648048401,
-0.0753081887960434,
-0.2906000018119812,
-0.2833929657936096,
-0.010441657155752182,
0.16545532643795013,
0.2727053165435791,
0.17155732214450836,
0.0851592868566513,
0.6717214584350586,
0.29987457394599915,
-0.12028488516807556,
-0.3922044634819031,
0.06943614780902863,
0.07672252506017685,
-0.05906498432159424,
-0.04337473213672638,
0.0797148123383522,
0.1047336608171463,
-0.14706408977508545,
-0.20361346006393433,
0.16535568237304688,
0.19325289130210876,
0.0758683905005455,
0.036746662110090256,
0.03251585364341736,
0.2537626326084137,
0.09198185801506042,
0.1649688184261322,
0.051135361194610596,
0.2706747353076935,
-0.17770308256149292,
-0.17671310901641846,
-0.024735361337661743,
-0.36296138167381287,
0.2979874908924103,
-0.2117595225572586,
0.02850833721458912,
0.2780194580554962,
0.014342334121465683,
0.22978025674819946,
-0.06646952033042908,
0.28253301978111267,
0.1815018206834793,
0.3434980511665344,
-0.14308907091617584,
0.09491349756717682,
0.32213205099105835,
0.12145285308361053,
0.19960258901119232,
-0.04381798952817917,
0.1478547900915146,
-0.12020190805196762,
-0.11160307377576828,
0.11345935612916946,
0.41677024960517883,
0.6022352576255798,
-0.03631400316953659,
0.251768559217453,
-0.031505756080150604,
0.295335978269577,
-0.2402060329914093,
0.03848523646593094,
0.058603525161743164,
-0.14571011066436768,
0.16864235699176788,
0.3002699017524719,
-0.012142923660576344,
0.20254430174827576,
-0.08375544846057892,
0.1454543173313141,
0.16555781662464142,
-0.118470698595047,
0.2592587172985077,
-0.21335330605506897,
-0.11569268256425858,
-0.03702792897820473,
-0.2037433534860611,
0.05605517327785492,
-0.4093009829521179,
-0.17340442538261414,
0.355206698179245,
0.24680569767951965,
-0.020444883033633232,
-0.10799515247344971,
0.22365549206733704,
0.0996357649564743,
-0.5879991054534912,
-0.2990071177482605,
-0.1832723468542099,
-0.25836852192878723,
0.02226124331355095,
0.13919834792613983,
-0.059868454933166504,
0.2214750200510025,
-0.09708899259567261,
-0.028594881296157837,
-0.2190074622631073,
-0.12926462292671204,
-0.02581954002380371,
-0.007248926907777786,
0.4299784302711487,
0.09881218522787094,
0.20306643843650818,
-0.0951734259724617,
0.20666319131851196,
0.009474627673625946,
-0.0003331974148750305,
-0.054333850741386414,
0.02267114445567131,
0.0008215606212615967,
0.19798843562602997,
-0.15129201114177704,
-0.3097892999649048,
-0.3121214509010315,
-0.3584720194339752,
0.1870756447315216,
0.03551684692502022,
0.028519194573163986,
0.48564067482948303,
0.023652266710996628,
-0.01297400239855051,
0.3645755648612976,
-0.20176950097084045,
-0.408179372549057,
-0.3453952670097351,
0.5892272591590881,
-0.21190275251865387,
-0.1583934873342514,
0.11979573965072632,
-0.04617493227124214,
0.4122827649116516,
0.19150926172733307,
-0.5838077068328857,
0.011656713671982288,
-0.4313184916973114,
0.5346267819404602,
-0.1392471194267273,
-0.1815200299024582,
0.15367738902568817,
-0.26244470477104187,
0.11516714096069336,
0.005305677652359009,
-0.19586923718452454,
0.0020667389035224915,
0.2577970623970032,
0.29088127613067627,
0.14489614963531494,
0.1264069378376007,
0.14573560655117035,
0.49559009075164795,
0.18651115894317627,
0.08368474990129471,
0.36315152049064636,
0.16887235641479492,
0.4154903292655945,
-0.2770460844039917,
-0.1153898760676384,
0.01738950051367283,
-0.09247240424156189,
-0.20257686078548431,
0.148426815867424,
0.10457543283700943,
0.18182358145713806,
-0.16527198255062103,
0.17383050918579102,
0.05393598973751068,
-0.17092937231063843,
-0.01762423850595951,
-0.4410477876663208,
0.07755033671855927,
0.17983435094356537,
0.12410063296556473,
0.12548545002937317,
-0.3712652623653412,
0.05461684986948967,
0.17174839973449707,
-0.06910582631826401,
0.08272016048431396,
0.39504942297935486,
0.28304070234298706,
-0.5196455717086792,
0.19639691710472107,
-0.0285702645778656,
0.3078732490539551,
-0.24087689816951752,
0.25678756833076477,
0.19418063759803772,
0.07607579976320267,
0.5441389083862305,
-0.0946897640824318,
0.25146597623825073,
0.058081213384866714,
-0.02213977463543415,
-0.3381401300430298,
-0.07382582873106003,
0.09006081521511078,
0.2846437394618988,
0.044706378132104874,
0.01756344735622406,
-0.26228776574134827,
0.30531221628189087,
-0.0892377644777298,
0.2814871668815613,
-0.1907857060432434,
-0.2799035906791687,
-0.2527102530002594,
-0.3981195390224457,
-0.15563254058361053,
-0.1745397448539734,
0.06830079108476639,
0.19839368760585785,
-0.062065489590168,
-0.15592895448207855,
0.0003541894257068634,
-0.17069193720817566,
-0.1382344663143158,
0.08944115042686462,
0.20804280042648315,
0.18880334496498108,
0.5020065307617188,
0.19475057721138,
-0.5206375122070312,
0.02639116533100605,
0.5982957482337952,
-0.007960069924592972,
-0.2585735619068146,
0.06667961180210114,
-0.10715658217668533,
-0.31948235630989075,
0.2468571811914444,
-0.2781349718570709,
-0.05965019017457962,
-0.16390538215637207,
-0.11323937773704529,
0.02107316628098488,
0.15497680008411407,
-0.1706637740135193,
-0.16803918778896332,
-0.12844008207321167,
-0.49326860904693604,
0.5392374396324158,
-0.005173632875084877,
-0.18449251353740692,
0.4501328468322754,
-0.3309907913208008,
-0.19943860173225403,
0.20366521179676056,
-0.13155025243759155,
0.7409492135047913,
-0.15328215062618256,
-0.02190740779042244,
0.15348008275032043,
-0.31213808059692383,
0.4592403471469879,
-0.13709498941898346,
0.02428983524441719,
-0.28285321593284607,
-0.20362935960292816,
0.0698862075805664,
-0.12769323587417603,
-0.008081212639808655,
-0.027397558093070984,
-0.207288920879364,
0.33139410614967346,
-0.3650599718093872,
0.10069708526134491,
0.05167068541049957,
0.047278814017772675,
-0.17207175493240356,
-0.21319474279880524,
-0.20714405179023743,
0.177718386054039,
-0.2885349988937378,
0.3594101667404175,
-0.18831336498260498,
0.04322541132569313,
-0.32332515716552734,
0.15063105523586273,
-0.44077932834625244,
0.16311466693878174,
-0.4221431016921997,
0.08908194303512573,
-0.10849389433860779,
-0.5437343120574951,
0.014056403189897537,
0.2419075071811676,
0.2625369429588318,
0.02210838720202446,
-0.32375597953796387,
0.39713001251220703,
0.05932304263114929,
-0.0015362041303887963,
0.13922978937625885,
-0.11476856470108032,
-0.17841482162475586,
-0.030585631728172302,
0.029404975473880768,
-0.0003150925040245056,
-0.1538189947605133,
-0.07901084423065186,
0.004302307963371277,
0.15695424377918243,
0.19650597870349884,
0.10556293278932571,
-0.16698402166366577,
-0.15646907687187195,
0.21853947639465332,
-0.07094059139490128,
0.07916362583637238,
0.2919028103351593,
0.08541244268417358,
0.21189042925834656,
-0.17484961450099945,
-0.23810186982154846,
-0.08821980655193329,
0.5300827026367188,
-0.03378093242645264,
-0.02339930273592472,
0.46538782119750977,
0.09223876893520355,
-0.1620163470506668,
-0.020539335906505585,
-0.14023691415786743,
-0.6055619120597839,
-0.48111197352409363,
0.2822021245956421,
-0.13456763327121735,
0.13843987882137299,
-0.06907911598682404,
0.251688152551651,
0.07851197570562363,
-0.19289585947990417,
0.08412668108940125,
-0.5883565545082092,
-0.20716561377048492,
-0.3393983244895935,
-0.3894108533859253,
0.12705132365226746,
-0.17608240246772766,
-0.2725808024406433,
0.1475333422422409,
0.20345528423786163,
-0.16562770307064056,
0.042246706783771515,
-0.15833257138729095,
-0.11887229979038239,
0.18146616220474243,
0.10702382773160934,
0.23632259666919708,
0.0029267510399222374,
-0.054472148418426514,
0.2204471230506897,
-0.11468726396560669,
-0.16807150840759277,
-0.18071554601192474,
0.16615936160087585,
0.07359705120325089,
-0.14330215752124786,
-0.07766004651784897,
-0.2586238980293274,
-0.12088924646377563,
-0.03868783637881279,
0.3045307993888855,
0.34737229347229004,
-0.014640383422374725,
-0.06996744871139526,
-0.042032625526189804,
0.2171614170074463,
-0.38681721687316895,
0.47425997257232666,
-0.12377144396305084,
0.2924690544605255,
0.23442424833774567,
0.11514632403850555,
0.034017257392406464,
0.04015136510133743,
-0.19155263900756836,
-0.23253679275512695,
-0.05252356827259064,
-0.16276457905769348,
0.12603440880775452,
-0.33818936347961426,
0.2135656177997589,
0.0655582994222641,
-0.1083587184548378,
0.3362697660923004,
-0.20908795297145844,
-0.3799503445625305,
0.07251331210136414,
0.0941547304391861,
-0.008904008194804192,
0.012866330333054066,
-0.19464433193206787,
0.19201844930648804,
-0.15438038110733032,
0.2885894775390625,
0.28126969933509827,
-0.22932973504066467,
0.21599674224853516,
0.22154220938682556,
0.6129823923110962,
-0.06812798976898193,
0.06811808049678802,
0.08872005343437195,
-0.11291904747486115,
0.22921690344810486,
0.09561207890510559,
0.04880546033382416,
-0.11034003645181656,
0.5271968245506287,
-0.16585615277290344,
0.1481885015964508,
0.03865717723965645,
0.07959959656000137,
0.0036874115467071533,
-0.48581141233444214,
0.013720028102397919,
0.15204794704914093,
-0.1910652220249176,
0.13706666231155396,
0.09715993702411652,
0.11849197745323181,
-0.18066951632499695,
0.11329901218414307,
-0.1919308751821518,
-0.24063129723072052,
0.008410027250647545,
-0.04603656753897667,
0.3963511288166046,
-0.10627646744251251,
-0.08458444476127625,
0.17878425121307373,
-0.05329151824116707,
-0.1944563239812851,
0.3645760118961334,
0.15885485708713531,
-0.3332529664039612,
-0.4112209975719452,
0.09165516495704651,
0.22401690483093262,
-0.007252015173435211,
-0.11698916554450989,
0.40230971574783325,
-0.0411144495010376,
-0.048587627708911896,
0.1724274605512619,
0.17273098230361938,
0.20195655524730682,
0.31801024079322815,
-0.2198440134525299,
-0.046655140817165375,
0.03932597488164902,
0.06169993430376053,
0.006927289068698883,
0.4818114638328552,
0.025523997843265533,
-0.07965387403964996,
0.20726121962070465,
0.06947556883096695,
-0.08986929059028625,
0.10946686565876007,
0.30040833353996277,
0.17053765058517456,
-0.2708093225955963,
0.264325350522995,
-0.18768945336341858,
0.16835489869117737,
-0.10092476010322571,
0.14640620350837708,
-0.12442794442176819,
-0.034596193581819534,
-0.007527776062488556,
-0.1026269719004631,
0.02134384959936142,
0.0891810730099678,
0.0441833958029747,
-0.06082775816321373,
0.6165286898612976,
0.20235799252986908,
0.24727779626846313,
-0.33404403924942017,
-0.07621665298938751,
-0.6680166721343994,
0.1565927267074585,
0.07370200753211975,
-0.07071457803249359,
-0.1641814410686493,
0.2768979072570801,
-0.23169103264808655,
0.21719950437545776,
-0.11826854944229126,
0.2808213233947754,
0.339415967464447,
0.16487708687782288,
-0.40003475546836853,
-0.4039435386657715,
-0.07480323314666748,
-0.1645418107509613,
-0.013037162832915783,
-0.49305474758148193,
-0.04612002894282341,
0.043286100029945374,
-0.06184421107172966,
-0.020305059850215912,
-0.48164862394332886,
0.2203563153743744,
0.3078501522541046,
0.5403584241867065,
0.027634548023343086,
0.24219755828380585,
0.21088600158691406,
-0.12304822355508804,
-0.36880120635032654,
-0.0013880073092877865,
0.09969942271709442,
-0.11262554675340652,
0.09065541625022888,
-0.046422578394412994,
-0.15306343138217926,
0.1046941727399826,
-0.272220253944397,
0.4707457423210144,
0.17131103575229645,
0.3378373980522156,
-0.05680408328771591,
-0.07879061251878738,
-0.10754132270812988,
0.36627089977264404,
-0.011684620752930641,
0.19987794756889343,
-0.1851876825094223,
0.3140190839767456,
-0.3096919059753418,
-0.23906272649765015,
0.4232533574104309,
-0.11268667876720428,
-0.34139883518218994,
0.2263755351305008,
0.27463969588279724,
-0.14440986514091492,
-0.3413015305995941,
-0.5097907185554504,
0.28022095561027527,
0.3395371735095978,
-0.21525785326957703,
-0.07127980887889862,
0.18307903409004211,
-0.20832893252372742,
0.1669013351202011,
-0.14706717431545258,
0.4213539958000183,
0.08911573886871338,
0.05435600131750107,
0.009171396493911743,
-0.062296655029058456
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | 1) You can clear the huggingface folder in your `.cache` directory to use default directory for datasets. Speed of extraction and loading of samples depends a lot on your machine's configurations too.
2) I tried on colab `dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")`. After memory usage reached around 42GB (starting from 32GB used already), the dataset was loaded in the memory. Even Your colab notebook shows

which means it's loaded now. | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 73 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
1) You can clear the huggingface folder in your `.cache` directory to use default directory for datasets. Speed of extraction and loading of samples depends a lot on your machine's configurations too.
2) I tried on colab `dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")`. After memory usage reached around 42GB (starting from 32GB used already), the dataset was loaded in the memory. Even Your colab notebook shows

which means it's loaded now. | [
-0.03782040998339653,
0.1969362497329712,
-0.02139199711382389,
0.3770354986190796,
0.07148028910160065,
0.17534765601158142,
0.2409701943397522,
0.057394418865442276,
0.12787029147148132,
-0.022505372762680054,
-0.25986945629119873,
0.26174283027648926,
-0.009975590743124485,
0.15392708778381348,
-0.09621034562587738,
0.01813235878944397,
-0.16297009587287903,
-0.027224645018577576,
0.1827305555343628,
0.12497693300247192,
-0.1456335186958313,
0.4732730984687805,
-0.30007630586624146,
-0.30553126335144043,
-0.21899254620075226,
0.020976971834897995,
0.07669620960950851,
0.10429858416318893,
-0.010625036433339119,
-0.24064597487449646,
0.6824565529823303,
0.2984653413295746,
0.15827172994613647,
0.5067247748374939,
-0.00011690397514030337,
-0.19508878886699677,
0.2863747477531433,
-0.0882357731461525,
-0.5817732214927673,
-0.2903611660003662,
-0.4384787678718567,
0.060124896466732025,
0.0849263072013855,
0.06751198321580887,
-0.05358240753412247,
0.49078401923179626,
-0.0729139894247055,
-0.6632896065711975,
0.05895202234387398,
0.16650044918060303,
0.18755194544792175,
-0.04746408760547638,
-0.23525643348693848,
-0.11127781122922897,
0.1040511205792427,
-0.08745293319225311,
-0.26662230491638184,
0.49517300724983215,
0.2078433632850647,
0.10189881175756454,
0.22891995310783386,
0.3050989806652069,
-0.02032776176929474,
0.3870892822742462,
0.17166441679000854,
0.08682120591402054,
-0.2917647063732147,
-0.3670194149017334,
0.45095935463905334,
0.29741352796554565,
0.865091860294342,
-0.2715189754962921,
-0.273009717464447,
-0.06959506869316101,
0.09076224267482758,
-0.1313939094543457,
0.3074982762336731,
0.1710149198770523,
-0.2946821451187134,
-0.015211768448352814,
-0.1419033408164978,
-0.11207544058561325,
-0.06336601823568344,
-0.012460961937904358,
-0.16930121183395386,
-0.22734150290489197,
-0.20127862691879272,
-0.011925168335437775,
0.06187848001718521,
0.003409791737794876,
0.4565640091896057,
-0.21024329960346222,
-0.17133088409900665,
0.26600971817970276,
-0.6071326732635498,
0.12962473928928375,
-0.10881366580724716,
0.23690086603164673,
0.15920168161392212,
0.1369526982307434,
0.1727173924446106,
0.09871727973222733,
-0.3527311682701111,
-0.035122886300086975,
0.21215537190437317,
0.5477256774902344,
-0.010976947844028473,
-0.12230051308870316,
0.25603681802749634,
0.300201952457428,
-0.13717389106750488,
0.09254531562328339,
-0.0757904201745987,
-0.0648040622472763,
-0.012317856773734093,
-0.08188112080097198,
0.2244819849729538,
-0.3794712722301483,
-0.3778356909751892,
-0.04249062389135361,
-0.03784925490617752,
0.2366098314523697,
0.03642462566494942,
0.26365604996681213,
-0.27418503165245056,
0.17410340905189514,
-0.08389024436473846,
0.04206986352801323,
-0.1603948026895523,
-0.057303838431835175,
-0.09174393862485886,
-0.1155969649553299,
0.04234809800982475,
0.1906614601612091,
0.40113943815231323,
-0.20651987195014954,
0.12643134593963623,
-0.18749099969863892,
0.177737295627594,
-0.036308158189058304,
0.019949456676840782,
-0.41553616523742676,
-0.09730855375528336,
0.24779503047466278,
0.12134094536304474,
0.4248805046081543,
-0.2058926522731781,
-0.1840035617351532,
-0.13194161653518677,
0.23598596453666687,
-0.3165968358516693,
-0.27265554666519165,
-0.021011678501963615,
0.07982555776834488,
-0.4653993248939514,
-0.13616244494915009,
-0.3558710813522339,
0.14627818763256073,
0.2342745065689087,
0.031160879880189896,
-0.046375103294849396,
-0.02023988962173462,
-0.42851459980010986,
-0.2600780427455902,
0.2213881015777588,
0.6070364117622375,
-0.39823418855667114,
0.20538565516471863,
-0.29507559537887573,
0.20500878989696503,
0.14625486731529236,
0.2117607295513153,
-0.030015522614121437,
0.0446043498814106,
-0.4265947639942169,
-0.03955991566181183,
0.27268850803375244,
-0.40854591131210327,
-0.7721037268638611,
0.20278184115886688,
0.033973097801208496,
0.21195554733276367,
0.05701402574777603,
0.12341713905334473,
0.11941123008728027,
-0.06480441242456436,
0.120215505361557,
0.4723503589630127,
-0.12162478268146515,
0.0043083783239126205,
-0.34793269634246826,
-0.3304366171360016,
0.09521392732858658,
0.18498186767101288,
-0.057031769305467606,
0.1299722045660019,
-0.022208407521247864,
0.048758018761873245,
0.17087677121162415,
0.3199010193347931,
0.06902032345533371,
0.19461284577846527,
0.35353314876556396,
-0.04816117137670517,
0.024862660095095634,
0.010617833584547043,
-0.7797963619232178,
0.46602538228034973,
-0.08325634896755219,
-0.06810727715492249,
-0.24936307966709137,
-0.03390618413686752,
-0.4600461721420288,
-0.12636083364486694,
-0.30079999566078186,
-0.30124399065971375,
-0.02078087627887726,
0.1813722848892212,
0.3229852318763733,
0.1746608316898346,
0.059335242956876755,
0.7220691442489624,
0.2963216006755829,
-0.09239033609628677,
-0.3953094780445099,
0.06753639131784439,
0.06641676276922226,
-0.07360028475522995,
-0.01746450550854206,
0.05141782388091087,
0.0939883142709732,
-0.17322006821632385,
-0.2242988646030426,
0.14806067943572998,
0.18686293065547943,
0.03199020028114319,
0.07093344628810883,
0.030808597803115845,
0.28569191694259644,
0.01742420718073845,
0.1968006193637848,
0.023044239729642868,
0.23050746321678162,
-0.12183217704296112,
-0.1542065143585205,
0.0039636194705963135,
-0.4010273516178131,
0.2766900956630707,
-0.2161407768726349,
0.03263775259256363,
0.27756771445274353,
0.04688001796603203,
0.23607215285301208,
-0.06843225657939911,
0.2617351710796356,
0.208251491189003,
0.35029152035713196,
-0.11084666848182678,
0.050561197102069855,
0.3242497146129608,
0.15050336718559265,
0.2410297989845276,
-0.049664296209812164,
0.1662350445985794,
-0.14150092005729675,
-0.12547196447849274,
0.15969529747962952,
0.4124740660190582,
0.5925502181053162,
-0.01737692579627037,
0.208337664604187,
-0.024668285623192787,
0.29613396525382996,
-0.2416316717863083,
0.052186932414770126,
0.03498376905918121,
-0.11997004598379135,
0.09315264225006104,
0.3018990159034729,
0.01543869636952877,
0.1826261281967163,
-0.08364187180995941,
0.08437895029783249,
0.16728763282299042,
-0.0572504997253418,
0.24782128632068634,
-0.2375023514032364,
-0.22056549787521362,
-0.03808518871665001,
-0.1925608515739441,
0.028778642416000366,
-0.34116309881210327,
-0.15474331378936768,
0.34473422169685364,
0.2560045123100281,
-0.018845146521925926,
-0.05180126428604126,
0.2708899974822998,
0.06235325336456299,
-0.5690122842788696,
-0.2786010801792145,
-0.15673798322677612,
-0.27157410979270935,
0.01966596022248268,
0.13888417184352875,
-0.019811345264315605,
0.20305871963500977,
-0.16761671006679535,
-0.017166975885629654,
-0.22206495702266693,
-0.13903161883354187,
0.009078878909349442,
0.00607367604970932,
0.4389398992061615,
0.10618427395820618,
0.2295152097940445,
-0.13269206881523132,
0.14240796864032745,
0.005662752315402031,
-0.007376691326498985,
-0.06552308052778244,
-0.019763289019465446,
-0.030511517077684402,
0.20002061128616333,
-0.11688472330570221,
-0.30334436893463135,
-0.36479976773262024,
-0.3358505070209503,
0.1801328808069229,
0.04986659809947014,
0.022334817796945572,
0.4906468987464905,
0.002080376259982586,
0.0206448994576931,
0.3303876221179962,
-0.1489715874195099,
-0.36033207178115845,
-0.41745564341545105,
0.6014065742492676,
-0.20164336264133453,
-0.18226243555545807,
0.13782520592212677,
-0.06159990280866623,
0.40658923983573914,
0.15091277658939362,
-0.5869069695472717,
-0.080957792699337,
-0.4267996549606323,
0.5569660067558289,
-0.07589124143123627,
-0.1767405867576599,
0.1463647484779358,
-0.2511539161205292,
0.12156426906585693,
0.02791355550289154,
-0.20747004449367523,
-0.016677990555763245,
0.27176159620285034,
0.32191476225852966,
0.18063297867774963,
0.08806467056274414,
0.12627844512462616,
0.5181488394737244,
0.2077552229166031,
0.07974710315465927,
0.3638022243976593,
0.17530329525470734,
0.39646831154823303,
-0.2793215811252594,
-0.17352062463760376,
0.057562872767448425,
-0.08322905004024506,
-0.2034560889005661,
0.17875301837921143,
0.09776075929403305,
0.18786494433879852,
-0.19219358265399933,
0.17105434834957123,
0.038458406925201416,
-0.19884900748729706,
-0.04629290848970413,
-0.36163195967674255,
0.060924235731363297,
0.18314306437969208,
0.11583001166582108,
0.11333934962749481,
-0.39286303520202637,
0.0840611606836319,
0.2526940405368805,
-0.12621945142745972,
0.12148699164390564,
0.38576123118400574,
0.23099777102470398,
-0.5534611344337463,
0.23728513717651367,
0.001878682291135192,
0.24501211941242218,
-0.22405672073364258,
0.2852638065814972,
0.19279175996780396,
0.1100049540400505,
0.5230173468589783,
-0.08847527951002121,
0.19876547157764435,
0.023184262216091156,
-0.07403770089149475,
-0.29512009024620056,
-0.054287634789943695,
0.07605759799480438,
0.26670658588409424,
0.0670183002948761,
0.04528425261378288,
-0.2487853467464447,
0.2691780924797058,
-0.024318870157003403,
0.29368817806243896,
-0.18399758636951447,
-0.2175714671611786,
-0.24824737012386322,
-0.42964574694633484,
-0.14105069637298584,
-0.1887926459312439,
0.05894206464290619,
0.21839392185211182,
-0.033548153936862946,
-0.11683835089206696,
-0.024483969435095787,
-0.1741447150707245,
-0.11229929327964783,
0.14072555303573608,
0.22881999611854553,
0.2203710973262787,
0.4981542229652405,
0.203343465924263,
-0.5246174335479736,
0.05514032393693924,
0.5850195288658142,
-0.05839463695883751,
-0.3004547953605652,
0.011104491539299488,
-0.06495680660009384,
-0.30230095982551575,
0.2721952199935913,
-0.2975708544254303,
-0.067643903195858,
-0.17755301296710968,
-0.11554920673370361,
0.06115342304110527,
0.2059529572725296,
-0.18869134783744812,
-0.15202759206295013,
-0.11445791274309158,
-0.47087448835372925,
0.5124661922454834,
0.04114948585629463,
-0.15520544350147247,
0.39663445949554443,
-0.27347445487976074,
-0.1805190145969391,
0.19219374656677246,
-0.1469860076904297,
0.7756802439689636,
-0.1921824961900711,
-0.030076276510953903,
0.15498939156532288,
-0.2656219005584717,
0.5389312505722046,
-0.09689491987228394,
0.04512912407517433,
-0.2695479691028595,
-0.3054894506931305,
0.08051498979330063,
-0.1332688331604004,
0.012372598052024841,
-0.08494658768177032,
-0.2445511668920517,
0.35115480422973633,
-0.27902525663375854,
0.05926337093114853,
0.033556632697582245,
0.059569135308265686,
-0.1348479688167572,
-0.23055234551429749,
-0.2572598159313202,
0.17512792348861694,
-0.31393200159072876,
0.41655445098876953,
-0.17556437849998474,
0.011474959552288055,
-0.2852795124053955,
0.16451352834701538,
-0.40889590978622437,
0.17407920956611633,
-0.4878212809562683,
0.07439842075109482,
-0.058234576135873795,
-0.5423915386199951,
-0.0075041763484478,
0.27155637741088867,
0.30438610911369324,
0.03740956634283066,
-0.3208130896091461,
0.33694854378700256,
0.06937148422002792,
-0.051788244396448135,
0.10401177406311035,
-0.11526825278997421,
-0.16340170800685883,
-0.05408460646867752,
0.0470898374915123,
-0.0023298636078834534,
-0.12728865444660187,
-0.09964408725500107,
0.08153124153614044,
0.14042693376541138,
0.20550408959388733,
0.118560291826725,
-0.19973525404930115,
-0.16906008124351501,
0.2651328146457672,
-0.07644397765398026,
0.08087405562400818,
0.274965763092041,
0.07855797559022903,
0.20110732316970825,
-0.13546240329742432,
-0.2430913895368576,
-0.09815162420272827,
0.49800121784210205,
-0.05534093827009201,
-0.0010952949523925781,
0.42116767168045044,
0.1036754697561264,
-0.1822810024023056,
-0.019163554534316063,
-0.11542724817991257,
-0.6523877382278442,
-0.44620364904403687,
0.313285768032074,
-0.12185616046190262,
0.10358068346977234,
-0.07636619359254837,
0.35906001925468445,
0.13044008612632751,
-0.24636384844779968,
0.09675915539264679,
-0.5622642040252686,
-0.20250840485095978,
-0.29149407148361206,
-0.3396279811859131,
0.13705506920814514,
-0.11411421746015549,
-0.2731306254863739,
0.11203920841217041,
0.18986043334007263,
-0.16476686298847198,
0.06185201555490494,
-0.18950243294239044,
-0.12441709637641907,
0.19514437019824982,
0.1091441661119461,
0.28843799233436584,
0.04010981321334839,
-0.06518301367759705,
0.20812255144119263,
-0.10110895335674286,
-0.17182138562202454,
-0.18488089740276337,
0.16074658930301666,
0.0726068988442421,
-0.20275592803955078,
-0.06865522265434265,
-0.2751320004463196,
-0.12623757123947144,
-0.04447164759039879,
0.33971303701400757,
0.33271828293800354,
-0.002592146396636963,
-0.06796518713235855,
-0.05632233992218971,
0.13736121356487274,
-0.415746808052063,
0.5315406322479248,
-0.1125100702047348,
0.30115947127342224,
0.22211454808712006,
0.10185666382312775,
-0.005606666207313538,
0.01655547320842743,
-0.1387830674648285,
-0.23885387182235718,
-0.048182412981987,
-0.1930406391620636,
0.08115324378013611,
-0.2974429130554199,
0.20747479796409607,
0.097527876496315,
-0.15197651088237762,
0.3094334602355957,
-0.17413154244422913,
-0.3294200003147125,
0.10660677403211594,
0.07867196202278137,
-0.041687533259391785,
-0.00047611919580958784,
-0.19066676497459412,
0.21724165976047516,
-0.1319383829832077,
0.3239268362522125,
0.26006197929382324,
-0.1550658494234085,
0.269401878118515,
0.18622219562530518,
0.583152711391449,
0.00799732655286789,
0.09149205684661865,
0.015887383371591568,
-0.11486779153347015,
0.2185666263103485,
0.10101772844791412,
0.06394293159246445,
-0.11300458759069443,
0.4651262164115906,
-0.20423251390457153,
0.15001775324344635,
0.01465616561472416,
0.08920004963874817,
0.07448478788137436,
-0.46070247888565063,
0.057912684977054596,
0.12205789238214493,
-0.1654013991355896,
0.09566253423690796,
0.0996742695569992,
0.17129561305046082,
-0.23079989850521088,
0.09817980974912643,
-0.18792341649532318,
-0.194477841258049,
0.0011099949479103088,
-0.05747523531317711,
0.4275352358818054,
-0.0939212515950203,
-0.0768171101808548,
0.20179031789302826,
-0.07098053395748138,
-0.21795640885829926,
0.3591504395008087,
0.1810358464717865,
-0.33275270462036133,
-0.3817485272884369,
0.06770024448633194,
0.2172609567642212,
-0.03350377827882767,
-0.05961672216653824,
0.4418265223503113,
-0.10369561612606049,
-0.029352061450481415,
0.16370193660259247,
0.2213599681854248,
0.1865796595811844,
0.29926857352256775,
-0.234852135181427,
-0.10268405824899673,
0.0006458349525928497,
0.049676381051540375,
0.0035828277468681335,
0.40590783953666687,
0.049688465893268585,
-0.08295607566833496,
0.20372427999973297,
0.074298195540905,
-0.09553028643131256,
0.1310679316520691,
0.24350108206272125,
0.154842346906662,
-0.27509555220603943,
0.20334294438362122,
-0.16078050434589386,
0.18840458989143372,
-0.12002800405025482,
0.12898069620132446,
-0.12760475277900696,
0.05468226224184036,
-0.02526881918311119,
-0.10804550349712372,
0.021351180970668793,
0.11208261549472809,
0.04710192233324051,
-0.044015269726514816,
0.618570864200592,
0.22337503731250763,
0.25319430232048035,
-0.3250678479671478,
-0.09211317449808121,
-0.6767210364341736,
0.13132914900779724,
0.1001494973897934,
-0.08859976381063461,
-0.14039090275764465,
0.26521599292755127,
-0.24147269129753113,
0.24535423517227173,
-0.14601530134677887,
0.28983229398727417,
0.343424916267395,
0.11236657202243805,
-0.41775357723236084,
-0.36594581604003906,
-0.06398400664329529,
-0.20859277248382568,
0.023548398166894913,
-0.49449458718299866,
-0.05066918954253197,
-0.0019275788217782974,
-0.07572918385267258,
-0.004221098497509956,
-0.47504788637161255,
0.18636350333690643,
0.2682703733444214,
0.5125695466995239,
0.018588244915008545,
0.2594863176345825,
0.22984012961387634,
-0.10682456195354462,
-0.2795267105102539,
-0.015752311795949936,
0.09401816129684448,
-0.11905945092439651,
0.1042477935552597,
-0.027468347921967506,
-0.14875160157680511,
0.15163947641849518,
-0.292986661195755,
0.5097363591194153,
0.19918809831142426,
0.3153415024280548,
-0.10113980621099472,
-0.060589008033275604,
-0.12692508101463318,
0.3645149767398834,
0.0174747072160244,
0.19315361976623535,
-0.2062768042087555,
0.2854265868663788,
-0.33662956953048706,
-0.19857756793498993,
0.45559296011924744,
-0.14291433990001678,
-0.29090094566345215,
0.1750326305627823,
0.27780672907829285,
-0.11994192749261856,
-0.3622124195098877,
-0.510188102722168,
0.254742294549942,
0.31450825929641724,
-0.19050565361976624,
-0.0828976258635521,
0.2124558687210083,
-0.18589699268341064,
0.16465593874454498,
-0.1686096042394638,
0.43583622574806213,
0.09526318311691284,
0.021477026864886284,
-0.03268531337380409,
-0.060877103358507156
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Facing the same issue.
I am able to download datasets without `cache_dir`, however, when I specify the `cache_dir`, the process hangs indefinitely after partial download.
Tried for `data = load_dataset("cnn_dailymail", "3.0.0")` | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 31 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Facing the same issue.
I am able to download datasets without `cache_dir`, however, when I specify the `cache_dir`, the process hangs indefinitely after partial download.
Tried for `data = load_dataset("cnn_dailymail", "3.0.0")` | [
0.004278171807527542,
0.25041213631629944,
-0.0458030179142952,
0.32035887241363525,
0.17405904829502106,
0.2203366458415985,
0.27459514141082764,
0.018866844475269318,
0.13958942890167236,
-0.08359900116920471,
-0.24110989272594452,
0.20499752461910248,
-0.015735231339931488,
0.022958366200327873,
-0.113074392080307,
0.07062658667564392,
-0.08317858725786209,
-0.01237526535987854,
0.21488237380981445,
0.1076204925775528,
-0.14322036504745483,
0.440517395734787,
-0.25403082370758057,
-0.3808918595314026,
-0.23992303013801575,
0.07805891335010529,
0.05242817848920822,
0.1447727084159851,
0.06005732715129852,
-0.221166729927063,
0.6519644260406494,
0.24064627289772034,
0.025314290076494217,
0.5027956962585449,
-0.00011886784341186285,
-0.10763221979141235,
0.3508392572402954,
-0.07162383198738098,
-0.7364217042922974,
-0.3258129954338074,
-0.3748834431171417,
0.08701519668102264,
0.10971814393997192,
0.03628379851579666,
0.025303080677986145,
0.40854305028915405,
-0.06882741302251816,
-0.6611968278884888,
0.06485478579998016,
0.13561028242111206,
0.16061510145664215,
-0.12794452905654907,
-0.30127063393592834,
-0.08297042548656464,
0.08185925334692001,
-0.1440078318119049,
-0.29329976439476013,
0.4838712215423584,
0.16575145721435547,
0.0694008469581604,
0.12914662063121796,
0.27064743638038635,
0.07977206259965897,
0.4111889898777008,
0.05408158898353577,
0.060402724891901016,
-0.3164115846157074,
-0.3597748577594757,
0.4886939823627472,
0.2121759057044983,
0.8598020672798157,
-0.27003201842308044,
-0.3039606511592865,
-0.1749403476715088,
0.05255219340324402,
-0.12362638860940933,
0.2901511788368225,
0.1497558206319809,
-0.32755184173583984,
-0.006950851529836655,
-0.15646329522132874,
-0.07041383534669876,
-0.010675407946109772,
0.0054447948932647705,
-0.291689395904541,
-0.24430039525032043,
-0.15382957458496094,
-0.007377251982688904,
-0.0015823617577552795,
0.08264502137899399,
0.47296857833862305,
-0.260283887386322,
-0.08074216544628143,
0.22028067708015442,
-0.5595545768737793,
0.21587678790092468,
0.0005600079894065857,
0.18924805521965027,
0.10132747143507004,
0.18225567042827606,
0.14774265885353088,
0.20653095841407776,
-0.30830681324005127,
-0.08702700585126877,
0.25303488969802856,
0.4764883518218994,
-0.04302852600812912,
-0.0697927251458168,
0.2830469012260437,
0.22994539141654968,
-0.011432180181145668,
0.0710698813199997,
-0.1208941638469696,
0.016532480716705322,
0.0011086687445640564,
-0.07678308337926865,
0.1764153391122818,
-0.29729777574539185,
-0.3234759271144867,
0.007492100354284048,
0.04092775285243988,
0.36529794335365295,
0.005995484068989754,
0.2722023129463196,
-0.24243448674678802,
0.2520880699157715,
-0.1457791030406952,
0.013629322871565819,
-0.14822830259799957,
0.08273738622665405,
-0.06431718915700912,
-0.15483170747756958,
0.05389861389994621,
0.0969780832529068,
0.45050305128097534,
-0.1375046968460083,
0.14909034967422485,
-0.19588690996170044,
0.281920850276947,
-0.048732150346040726,
0.07769782841205597,
-0.47690004110336304,
-0.05731440335512161,
0.3119814693927765,
0.10816249251365662,
0.5107375979423523,
-0.18962962925434113,
-0.04140444099903107,
-0.0710497498512268,
0.228523850440979,
-0.17887809872627258,
-0.26334938406944275,
0.06742779910564423,
0.06275025010108948,
-0.4993801712989807,
-0.02821698784828186,
-0.21529418230056763,
0.13697732985019684,
0.27985790371894836,
0.06537652015686035,
0.0029329806566238403,
-0.03380425274372101,
-0.39228081703186035,
-0.241188645362854,
0.25372499227523804,
0.6359077095985413,
-0.3161545693874359,
0.21399039030075073,
-0.23239672183990479,
0.19233392179012299,
0.09289969503879547,
0.2078721523284912,
-0.07241581380367279,
-0.007182285189628601,
-0.4010176956653595,
-0.049565013498067856,
0.2674063742160797,
-0.3931475281715393,
-0.7098668813705444,
0.331319659948349,
0.04078926146030426,
0.2903723418712616,
0.007755309343338013,
0.08941943943500519,
0.046598225831985474,
-0.00273571303114295,
0.17091424763202667,
0.5007996559143066,
-0.09232921153306961,
0.05583667755126953,
-0.3301297128200531,
-0.29727882146835327,
0.038633279502391815,
0.27953168749809265,
-0.048546504229307175,
0.14191393554210663,
-0.10115651041269302,
0.1120295524597168,
0.20132920145988464,
0.3345922827720642,
0.16055607795715332,
0.23112548887729645,
0.2642468214035034,
-0.03622215986251831,
0.011983025819063187,
-0.06054287403821945,
-0.8455971479415894,
0.47261056303977966,
0.038534633815288544,
-0.10768111050128937,
-0.2975912094116211,
0.002971503883600235,
-0.42215919494628906,
-0.1490446925163269,
-0.270705908536911,
-0.24119076132774353,
-0.018429327756166458,
0.18488633632659912,
0.3131713271141052,
0.14353281259536743,
0.09767217934131622,
0.6807882189750671,
0.3323356807231903,
-0.07285049557685852,
-0.35404667258262634,
0.043062612414360046,
0.11048020422458649,
-0.016176346689462662,
-0.08102545142173767,
0.04144767299294472,
0.0675491914153099,
-0.19518297910690308,
-0.21279755234718323,
0.18428197503089905,
0.13145598769187927,
0.0822751447558403,
0.01198653131723404,
0.023052439093589783,
0.2591758668422699,
0.1992136538028717,
0.14442138373851776,
0.055113114416599274,
0.2881847321987152,
-0.15422119200229645,
-0.17953374981880188,
0.017271317541599274,
-0.3105827867984772,
0.33321550488471985,
-0.12530677020549774,
0.02910878323018551,
0.32287076115608215,
-0.0070373862981796265,
0.18064437806606293,
-0.06239654868841171,
0.34420132637023926,
0.13164108991622925,
0.41503438353538513,
-0.1498938947916031,
0.07177384197711945,
0.2736896872520447,
0.10893023014068604,
0.16912539303302765,
-0.0521610826253891,
0.16922278702259064,
-0.19066691398620605,
-0.06828667223453522,
0.0960838720202446,
0.43618112802505493,
0.5844067931175232,
-0.02835894376039505,
0.349249005317688,
-0.10010498017072678,
0.255855917930603,
-0.2869029939174652,
0.10582420229911804,
0.10193921625614166,
-0.18431682884693146,
0.20196840167045593,
0.29244905710220337,
-0.08435498178005219,
0.17067384719848633,
-0.05428449809551239,
0.2215210199356079,
0.08166754245758057,
-0.08351969718933105,
0.258927583694458,
-0.19983483850955963,
-0.13456454873085022,
0.03752025589346886,
-0.251322478055954,
0.1366070955991745,
-0.4426153600215912,
-0.14709758758544922,
0.32639238238334656,
0.20228812098503113,
-0.02678149752318859,
-0.1754201054573059,
0.23572014272212982,
0.09064625203609467,
-0.6479487419128418,
-0.3592618703842163,
-0.18373772501945496,
-0.1817578673362732,
0.01701641082763672,
0.1409485936164856,
-0.08319351822137833,
0.14927957952022552,
-0.09418554604053497,
-0.11269499361515045,
-0.2637675404548645,
-0.09682555496692657,
-0.006372682750225067,
-0.02460046112537384,
0.423052042722702,
0.1201581209897995,
0.20728132128715515,
-0.04788118600845337,
0.20654703676700592,
0.015672557055950165,
0.030974922701716423,
0.0067944396287202835,
-0.012071263045072556,
0.07886625826358795,
0.2587018609046936,
-0.19979630410671234,
-0.23792299628257751,
-0.3741104006767273,
-0.3802776634693146,
0.20165741443634033,
-0.025261983275413513,
0.0028094276785850525,
0.4357878267765045,
-0.009341112338006496,
-0.06860272586345673,
0.35497769713401794,
-0.2090493142604828,
-0.3691796660423279,
-0.3391591012477875,
0.6691074967384338,
-0.23499631881713867,
-0.14258407056331635,
0.056780364364385605,
-0.0644836276769638,
0.2819383442401886,
0.2827352285385132,
-0.597263753414154,
-0.00772048020735383,
-0.5064707398414612,
0.5216749906539917,
-0.13626685738563538,
-0.27059924602508545,
0.13177692890167236,
-0.2185644954442978,
0.0977877527475357,
0.0000028908252716064453,
-0.16883835196495056,
-0.012868091464042664,
0.2656882703304291,
0.23637378215789795,
0.1391284465789795,
0.07435508072376251,
0.18269355595111847,
0.571530818939209,
0.10593840479850769,
0.07921046763658524,
0.28797200322151184,
0.22063897550106049,
0.4312888979911804,
-0.2998836636543274,
-0.06977547705173492,
0.015276364050805569,
-0.13236072659492493,
-0.14771446585655212,
0.18455734848976135,
0.11683222651481628,
0.056866392493247986,
-0.1868288218975067,
0.1795954704284668,
-0.005223218351602554,
-0.184443861246109,
0.03496469929814339,
-0.4463770389556885,
0.08766854554414749,
0.18462061882019043,
0.12026046961545944,
0.08571282029151917,
-0.34320956468582153,
0.019836515188217163,
0.1667863428592682,
-0.06951320916414261,
0.038773421198129654,
0.4060421288013458,
0.3434111475944519,
-0.5011440515518188,
0.1534786820411682,
-0.024114226922392845,
0.3109671175479889,
-0.15320372581481934,
0.18224841356277466,
0.11996970325708389,
0.013113047927618027,
0.6287559866905212,
-0.08322035521268845,
0.23881377279758453,
0.037310127168893814,
-0.06185847520828247,
-0.4042401611804962,
-0.03809589520096779,
0.08543217182159424,
0.3196203112602234,
0.14777179062366486,
0.025216959416866302,
-0.2612606883049011,
0.2810673713684082,
-0.13472631573677063,
0.26842519640922546,
-0.1581934243440628,
-0.22481699287891388,
-0.27956345677375793,
-0.3588251769542694,
-0.14424191415309906,
-0.1729658842086792,
0.0967131108045578,
0.0821414664387703,
-0.05193249136209488,
-0.1567453294992447,
-0.026183301582932472,
-0.17521727085113525,
-0.1594080775976181,
0.035132136195898056,
0.1524330973625183,
0.17938317358493805,
0.5609033703804016,
0.2166101187467575,
-0.4731975495815277,
0.12313691526651382,
0.5334888100624084,
-0.11001431941986084,
-0.25196173787117004,
0.12669990956783295,
-0.07227511703968048,
-0.370070219039917,
0.397560179233551,
-0.2603936791419983,
-0.06880863755941391,
-0.17139321565628052,
-0.07476174831390381,
0.02835666760802269,
0.20504547655582428,
-0.15767785906791687,
-0.18650104105472565,
-0.10505340993404388,
-0.4660969078540802,
0.4971921443939209,
-0.050461120903491974,
-0.20507751405239105,
0.4447931945323944,
-0.36425405740737915,
-0.20784637331962585,
0.19407160580158234,
-0.21897926926612854,
0.6659542918205261,
-0.05485192686319351,
0.05852574110031128,
0.07495240867137909,
-0.34005141258239746,
0.47161126136779785,
-0.16280077397823334,
0.04730243235826492,
-0.15436553955078125,
-0.31282126903533936,
0.03672212362289429,
-0.16535523533821106,
0.02500065043568611,
-0.00897698849439621,
-0.09664669632911682,
0.3350318670272827,
-0.3904886841773987,
0.1543026715517044,
0.05789445340633392,
0.04603096842765808,
-0.24512729048728943,
-0.2718791961669922,
-0.22166261076927185,
0.1411839723587036,
-0.1814485639333725,
0.29119935631752014,
-0.10090786218643188,
0.034097820520401,
-0.3563492000102997,
0.18242935836315155,
-0.37080609798431396,
0.19409364461898804,
-0.46264511346817017,
0.0550779290497303,
-0.11700800061225891,
-0.53157639503479,
0.028993405401706696,
0.14551205933094025,
0.27776917815208435,
-0.0075458139181137085,
-0.34072986245155334,
0.4241766929626465,
0.054447367787361145,
0.01080537773668766,
0.11591537296772003,
-0.13304387032985687,
-0.23319771885871887,
0.0014966689050197601,
0.11326008290052414,
-0.03809180110692978,
-0.27323347330093384,
-0.1269538700580597,
0.051048219203948975,
0.12934772670269012,
0.17264248430728912,
0.1227831020951271,
-0.21896757185459137,
-0.12752406299114227,
0.22381886839866638,
-0.12055812776088715,
0.07308099418878555,
0.18936753273010254,
0.10847334563732147,
0.20535647869110107,
-0.24643726646900177,
-0.20109176635742188,
-0.08151963353157043,
0.5874224305152893,
-0.06951911002397537,
-0.010248260572552681,
0.4661271870136261,
-0.0028555169701576233,
-0.25358670949935913,
-0.0019551627337932587,
-0.1758171170949936,
-0.5710937976837158,
-0.42299097776412964,
0.2562328279018402,
-0.1278044432401657,
0.07508882880210876,
-0.11168555915355682,
0.1165076494216919,
0.08803585171699524,
-0.1511271595954895,
0.024777505546808243,
-0.5702728033065796,
-0.1585044264793396,
-0.31324565410614014,
-0.29434141516685486,
0.18669328093528748,
-0.14974993467330933,
-0.2294151932001114,
0.1861996352672577,
0.1511179506778717,
-0.15968818962574005,
0.0921521708369255,
-0.21489718556404114,
-0.06921201199293137,
0.1858193427324295,
0.022222060710191727,
0.3231983780860901,
0.04306767135858536,
-0.07173570990562439,
0.2392374575138092,
-0.10805712640285492,
-0.14217236638069153,
-0.11738310754299164,
0.17028474807739258,
0.06487351655960083,
-0.19156695902347565,
-0.09148155897855759,
-0.2590317130088806,
-0.07605889439582825,
0.008605017326772213,
0.31845229864120483,
0.30380016565322876,
-0.019908607006072998,
-0.1090330109000206,
-0.07298475503921509,
0.29761746525764465,
-0.40175366401672363,
0.5114492177963257,
-0.21536442637443542,
0.26531708240509033,
0.23447607457637787,
0.16049879789352417,
-0.028334828093647957,
0.08519169688224792,
-0.18210560083389282,
-0.24937555193901062,
-0.07637311518192291,
-0.1426791548728943,
0.15695185959339142,
-0.2790207266807556,
0.23737460374832153,
0.11950615048408508,
-0.07383991032838821,
0.4100884199142456,
-0.2310435175895691,
-0.4143728017807007,
0.15165668725967407,
0.0842764750123024,
-0.0023605450987815857,
-0.0003500433231238276,
-0.2928045988082886,
0.08541516214609146,
-0.05138913169503212,
0.24741405248641968,
0.2849436104297638,
-0.2616276144981384,
0.22675582766532898,
0.20195049047470093,
0.635640025138855,
-0.034409649670124054,
-0.001381854061037302,
0.07099584490060806,
-0.13607938587665558,
0.19649869203567505,
0.10046373307704926,
0.07062476873397827,
-0.07391756027936935,
0.6703197360038757,
-0.13156071305274963,
0.13329313695430756,
0.028055664151906967,
0.03719089925289154,
-0.06137142330408096,
-0.43716755509376526,
0.01593545824289322,
0.24543339014053345,
-0.21464857459068298,
0.15078479051589966,
-0.0005334764719009399,
0.09832967072725296,
-0.20341630280017853,
0.07963049411773682,
-0.1947486400604248,
-0.154771089553833,
0.09151993691921234,
-0.09963592886924744,
0.39088937640190125,
-0.11875167489051819,
-0.08958542346954346,
0.1849500834941864,
-0.07394573092460632,
-0.1946818083524704,
0.45202457904815674,
0.19536444544792175,
-0.257230281829834,
-0.3443215787410736,
0.030424481257796288,
0.13612434267997742,
0.004111230373382568,
-0.15798607468605042,
0.35756003856658936,
0.0026054158806800842,
-0.0937054455280304,
0.07482790946960449,
0.12632465362548828,
0.14662298560142517,
0.2916063964366913,
-0.23497644066810608,
-0.09112366288900375,
0.1312735229730606,
0.05117204785346985,
-0.024679554626345634,
0.446443110704422,
0.1023719310760498,
-0.039543937891721725,
0.2418963462114334,
0.05300683528184891,
-0.1436316967010498,
0.10226167738437653,
0.2840797007083893,
0.11399811506271362,
-0.32549193501472473,
0.26581892371177673,
-0.11174649000167847,
0.15619459748268127,
-0.017923932522535324,
0.09915892034769058,
-0.19106298685073853,
-0.03574955835938454,
-0.03823116794228554,
-0.1588801145553589,
0.056013643741607666,
0.16360995173454285,
0.03320660814642906,
-0.0116037055850029,
0.6424750685691833,
0.10061332583427429,
0.270206093788147,
-0.3588303327560425,
-0.13999265432357788,
-0.5773683190345764,
0.09028106927871704,
0.05092088133096695,
-0.02613804116845131,
-0.15658164024353027,
0.27538207173347473,
-0.19553831219673157,
0.19954901933670044,
-0.22084520757198334,
0.262684166431427,
0.3423651158809662,
0.15162885189056396,
-0.4110076129436493,
-0.34179848432540894,
-0.07465292513370514,
-0.16716602444648743,
0.015950489789247513,
-0.553384006023407,
-0.07907412946224213,
0.07278329133987427,
-0.04477330669760704,
0.0705999806523323,
-0.5323392748832703,
0.26707354187965393,
0.3064928352832794,
0.4848174452781677,
0.00648515485227108,
0.24961982667446136,
0.18847310543060303,
-0.195710688829422,
-0.26076585054397583,
-0.029110265895724297,
0.13659222424030304,
-0.14251494407653809,
0.15355311334133148,
-0.0711962878704071,
-0.19748885929584503,
0.10094939172267914,
-0.23894496262073517,
0.40616586804389954,
0.17743884027004242,
0.3550843298435211,
-0.016935253515839577,
-0.07515572011470795,
-0.11353254318237305,
0.3664139211177826,
0.025731749832630157,
0.25720179080963135,
-0.1933920681476593,
0.23694898188114166,
-0.3427280783653259,
-0.22451354563236237,
0.4319784343242645,
-0.13866643607616425,
-0.35727474093437195,
0.19802787899971008,
0.3005150556564331,
-0.11024584621191025,
-0.2278943806886673,
-0.4596553444862366,
0.2537390887737274,
0.29811593890190125,
-0.15193277597427368,
-0.1614125519990921,
0.13028162717819214,
-0.19161692261695862,
0.12088897824287415,
-0.22074401378631592,
0.4610862731933594,
0.12439689040184021,
-0.011432241648435593,
-0.04192309081554413,
-0.07630963623523712
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Hi @ashutoshml,
I tried this and it worked for me:
`data = load_dataset("cnn_dailymail", "3.0.0", cache_dir="./dummy")`
I'm using datasets==1.8.0. It took around 3-4 mins for dataset to unpack and start loading examples. | Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 31 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Hi @ashutoshml,
I tried this and it worked for me:
`data = load_dataset("cnn_dailymail", "3.0.0", cache_dir="./dummy")`
I'm using datasets==1.8.0. It took around 3-4 mins for dataset to unpack and start loading examples. | [
-0.016170725226402283,
0.22978436946868896,
-0.03223992511630058,
0.3434301018714905,
0.11082321405410767,
0.22201818227767944,
0.30555304884910583,
0.037280961871147156,
0.1084568202495575,
-0.09214173257350922,
-0.22216440737247467,
0.24087262153625488,
-0.03855271264910698,
0.1162007674574852,
-0.11335209012031555,
0.03098592348396778,
-0.13591903448104858,
-0.0631948858499527,
0.23538504540920258,
0.11806529760360718,
-0.1302543580532074,
0.4372631013393402,
-0.31963032484054565,
-0.35549622774124146,
-0.2387883961200714,
0.023778526112437248,
0.06368045508861542,
0.09571217745542526,
0.004733171314001083,
-0.23457320034503937,
0.6385349631309509,
0.2791394293308258,
0.11814598739147186,
0.5157642960548401,
-0.00011699404421960935,
-0.215260848402977,
0.33334892988204956,
-0.06849560141563416,
-0.6077935695648193,
-0.2789222002029419,
-0.39300400018692017,
0.045753248035907745,
0.03351582586765289,
0.06109321862459183,
-0.05098889768123627,
0.49677756428718567,
-0.12708646059036255,
-0.6825010180473328,
0.06143448129296303,
0.18032671511173248,
0.18231616914272308,
-0.05024977773427963,
-0.17194022238254547,
-0.07254967093467712,
0.06385421752929688,
-0.09055875241756439,
-0.26815012097358704,
0.49465978145599365,
0.15513768792152405,
0.09755153954029083,
0.25298354029655457,
0.33136993646621704,
0.02481960691511631,
0.41362035274505615,
0.11853624880313873,
0.048006150871515274,
-0.27776578068733215,
-0.3346879482269287,
0.4164537787437439,
0.23031920194625854,
0.8650126457214355,
-0.2543489634990692,
-0.32692521810531616,
-0.09185156971216202,
0.08410726487636566,
-0.14942556619644165,
0.2977924942970276,
0.19000957906246185,
-0.31025397777557373,
-0.01646054908633232,
-0.15080755949020386,
-0.09054708480834961,
-0.07044064253568649,
0.007945898920297623,
-0.23617364466190338,
-0.2268906533718109,
-0.15445397794246674,
0.018077809363603592,
0.019396133720874786,
-0.003816399723291397,
0.45607611536979675,
-0.2130609005689621,
-0.12234573066234589,
0.3066766560077667,
-0.6575024127960205,
0.10638195276260376,
-0.07746260613203049,
0.21791553497314453,
0.16053155064582825,
0.1575925648212433,
0.1439426839351654,
0.11630898714065552,
-0.34579163789749146,
-0.06789586693048477,
0.21345114707946777,
0.5641542673110962,
-0.04434701055288315,
-0.061844728887081146,
0.2127414494752884,
0.28080475330352783,
-0.08793434500694275,
0.09653396904468536,
-0.08841924369335175,
-0.03869962319731712,
0.023021429777145386,
-0.056779928505420685,
0.27509719133377075,
-0.3546600639820099,
-0.3671809732913971,
0.022632483392953873,
-0.031145140528678894,
0.22244204580783844,
0.014728444628417492,
0.2650327980518341,
-0.32516977190971375,
0.20219343900680542,
-0.05508728697896004,
0.020108144730329514,
-0.17273403704166412,
-0.039167776703834534,
-0.08539269864559174,
-0.11021696031093597,
0.052720289677381516,
0.17964999377727509,
0.44121527671813965,
-0.18890509009361267,
0.09687645733356476,
-0.20599448680877686,
0.16174989938735962,
-0.07325682044029236,
0.039155445992946625,
-0.4348948299884796,
-0.1178794577717781,
0.22532594203948975,
0.0690707117319107,
0.4374956488609314,
-0.22577886283397675,
-0.1089572086930275,
-0.11887598037719727,
0.2386876344680786,
-0.28940263390541077,
-0.28503262996673584,
-0.05443301051855087,
0.08626855909824371,
-0.4735611081123352,
-0.14380842447280884,
-0.24765852093696594,
0.15915225446224213,
0.2334916591644287,
0.06087009981274605,
-0.05205599218606949,
0.033165231347084045,
-0.43236812949180603,
-0.21247436106204987,
0.22550292313098907,
0.624681293964386,
-0.40176647901535034,
0.22809231281280518,
-0.2959655523300171,
0.23125381767749786,
0.12919990718364716,
0.18259935081005096,
-0.0365857370197773,
0.0507647842168808,
-0.40236490964889526,
-0.06647245585918427,
0.2884465456008911,
-0.344890296459198,
-0.7637770175933838,
0.24026738107204437,
-0.007237181067466736,
0.20490342378616333,
0.024449646472930908,
0.1251179724931717,
0.0759880393743515,
-0.05411393195390701,
0.1253983974456787,
0.5142956376075745,
-0.12763075530529022,
0.012912681326270103,
-0.3770833909511566,
-0.30793964862823486,
0.11811033636331558,
0.246458038687706,
-0.057976942509412766,
0.12411342561244965,
-0.03915206342935562,
0.07787436246871948,
0.18959161639213562,
0.3612082004547119,
0.12564368546009064,
0.21616096794605255,
0.3133905529975891,
-0.03797426074743271,
0.056541603058576584,
0.011761646717786789,
-0.807742178440094,
0.4555336833000183,
-0.027855930849909782,
-0.04204320162534714,
-0.23523350059986115,
-0.01027601771056652,
-0.510680079460144,
-0.12905044853687286,
-0.2872655987739563,
-0.2603493630886078,
-0.02080189436674118,
0.14534710347652435,
0.34079623222351074,
0.17372064292430878,
0.06905384361743927,
0.6878812313079834,
0.3122406303882599,
-0.11500027030706406,
-0.4065687656402588,
0.07718505710363388,
0.04120291769504547,
-0.030380483716726303,
-0.015852855518460274,
0.030484851449728012,
0.10758544504642487,
-0.167161762714386,
-0.2501545548439026,
0.11361623555421829,
0.16444212198257446,
0.049066320061683655,
0.050177790224552155,
0.013094350695610046,
0.24765518307685852,
0.07534269988536835,
0.20091156661510468,
0.07245954871177673,
0.28599146008491516,
-0.16509884595870972,
-0.21058735251426697,
0.002755694091320038,
-0.3375559449195862,
0.285155326128006,
-0.20915158092975616,
0.007091617211699486,
0.2657748758792877,
0.0062517039477825165,
0.2497430145740509,
-0.06187193840742111,
0.2944263219833374,
0.1491236537694931,
0.37272533774375916,
-0.11427636444568634,
0.08618135750293732,
0.3334769904613495,
0.1487439125776291,
0.18397176265716553,
-0.06989703327417374,
0.19511297345161438,
-0.12436451762914658,
-0.14259496331214905,
0.10914378613233566,
0.40171000361442566,
0.5841243863105774,
-0.024683460593223572,
0.2626040577888489,
-0.033257074654102325,
0.29914045333862305,
-0.23094962537288666,
0.07369885593652725,
0.041355475783348083,
-0.11359133571386337,
0.1331712305545807,
0.2872653901576996,
-0.015570440329611301,
0.191184401512146,
-0.12018471956253052,
0.17317251861095428,
0.2000921219587326,
-0.08304108679294586,
0.20180156826972961,
-0.19676586985588074,
-0.15934740006923676,
-0.019809741526842117,
-0.2326490730047226,
0.08368968963623047,
-0.3867380917072296,
-0.17624714970588684,
0.3189532458782196,
0.2630094587802887,
0.007088341284543276,
-0.10543802380561829,
0.23376405239105225,
0.15568026900291443,
-0.5326207280158997,
-0.31848159432411194,
-0.19406701624393463,
-0.22821959853172302,
0.022780977189540863,
0.1533804088830948,
-0.059824731200933456,
0.22155874967575073,
-0.11376551538705826,
-0.08233937621116638,
-0.24192339181900024,
-0.15260669589042664,
-0.03224944323301315,
0.019148945808410645,
0.43404823541641235,
0.08522593975067139,
0.26727762818336487,
-0.06505873799324036,
0.2055647224187851,
0.012211189605295658,
0.02263796515762806,
-0.05932490527629852,
0.013000942766666412,
-0.015612873248755932,
0.21731427311897278,
-0.08950914442539215,
-0.3338559865951538,
-0.3593612611293793,
-0.3331199288368225,
0.17723967134952545,
0.028309624642133713,
0.031844355165958405,
0.48427441716194153,
0.0203256793320179,
-0.026169326156377792,
0.35805851221084595,
-0.1635660082101822,
-0.39648425579071045,
-0.36874911189079285,
0.6486806869506836,
-0.20610164105892181,
-0.15137366950511932,
0.10522317886352539,
-0.05568899214267731,
0.37054532766342163,
0.12493310123682022,
-0.5859277248382568,
-0.053154174238443375,
-0.4565601050853729,
0.48314541578292847,
-0.13056442141532898,
-0.2152397334575653,
0.15747985243797302,
-0.28821346163749695,
0.11172394454479218,
0.0590289905667305,
-0.18800371885299683,
-0.05135873705148697,
0.2517607510089874,
0.2812247574329376,
0.17363682389259338,
0.1649063229560852,
0.15588527917861938,
0.489621639251709,
0.2271452695131302,
0.07657490670681,
0.338546484708786,
0.17473265528678894,
0.344693124294281,
-0.26329028606414795,
-0.1565912812948227,
0.03869347274303436,
-0.06472887098789215,
-0.17844413220882416,
0.15944267809391022,
0.0945795327425003,
0.12818782031536102,
-0.19145813584327698,
0.12826402485370636,
0.017917513847351074,
-0.1522357165813446,
-0.023667441681027412,
-0.4125370979309082,
0.06737729161977768,
0.2339375913143158,
0.10714282840490341,
0.08599680662155151,
-0.43406179547309875,
0.06502203643321991,
0.1726832389831543,
-0.12141964584589005,
0.08623119443655014,
0.42074501514434814,
0.2988092303276062,
-0.5537289381027222,
0.2220350056886673,
-0.04665939509868622,
0.2986120581626892,
-0.19479845464229584,
0.24433094263076782,
0.20433729887008667,
0.06540640443563461,
0.505315899848938,
-0.09917435050010681,
0.2398490458726883,
0.03957193344831467,
-0.018428543582558632,
-0.33191248774528503,
-0.08794434368610382,
0.08574247360229492,
0.24892868101596832,
0.026839863508939743,
0.0984608381986618,
-0.25547531247138977,
0.2832726538181305,
0.009398022666573524,
0.2727678716182709,
-0.17835183441638947,
-0.2880885601043701,
-0.2546297013759613,
-0.38150256872177124,
-0.2035190463066101,
-0.1745370328426361,
-0.0006424803286790848,
0.21385225653648376,
-0.013561396859586239,
-0.16566598415374756,
0.00018743611872196198,
-0.12964284420013428,
-0.13503172993659973,
0.07747307419776917,
0.18172124028205872,
0.21715834736824036,
0.5387613773345947,
0.18752887845039368,
-0.5295696258544922,
0.016145218163728714,
0.6190469861030579,
-0.000221937894821167,
-0.28119906783103943,
0.035276900976896286,
-0.0614149384200573,
-0.3310246467590332,
0.28104764223098755,
-0.2723962366580963,
-0.0786229744553566,
-0.14822159707546234,
-0.05705849826335907,
0.015126180835068226,
0.16725224256515503,
-0.16807635128498077,
-0.12969526648521423,
-0.14998836815357208,
-0.45402103662490845,
0.5328172445297241,
-0.001415695995092392,
-0.15128257870674133,
0.4374184310436249,
-0.3377774953842163,
-0.15374945104122162,
0.19555731117725372,
-0.158749520778656,
0.7808175683021545,
-0.1520683765411377,
-0.02139175310730934,
0.17610615491867065,
-0.2561190724372864,
0.4869800806045532,
-0.15925049781799316,
0.029909461736679077,
-0.24712947010993958,
-0.23003078997135162,
0.06665056198835373,
-0.12360203266143799,
0.006948970258235931,
-0.0075522735714912415,
-0.19886793196201324,
0.34427398443222046,
-0.3252333998680115,
0.10873764753341675,
0.028519118204712868,
0.09973499178886414,
-0.173204705119133,
-0.212809219956398,
-0.22754013538360596,
0.17069785296916962,
-0.2817317247390747,
0.3777638077735901,
-0.17355859279632568,
0.05593782663345337,
-0.3191870450973511,
0.14179787039756775,
-0.4367451071739197,
0.17774826288223267,
-0.4636305570602417,
0.07678449153900146,
-0.1152111291885376,
-0.4964631199836731,
-0.0009549688547849655,
0.2023341804742813,
0.26883357763290405,
0.01952643319964409,
-0.32885462045669556,
0.40052902698516846,
0.04924760386347771,
-0.05339888855814934,
0.13033264875411987,
-0.1444353312253952,
-0.16519960761070251,
-0.050094880163669586,
0.03720597177743912,
0.006639018654823303,
-0.16855916380882263,
-0.07265081256628036,
-0.007256597280502319,
0.14484313130378723,
0.18874898552894592,
0.12302423268556595,
-0.19960905611515045,
-0.1614849865436554,
0.2216004729270935,
-0.07514338195323944,
0.08681006729602814,
0.24477456510066986,
0.08333741873502731,
0.224673330783844,
-0.13458594679832458,
-0.23518960177898407,
-0.09456399083137512,
0.5425856709480286,
-0.04181534796953201,
-0.015762025490403175,
0.46033352613449097,
0.12847952544689178,
-0.21346934139728546,
-0.028999073430895805,
-0.1296999156475067,
-0.600058913230896,
-0.4761018753051758,
0.2882104814052582,
-0.09297525137662888,
0.16752682626247406,
-0.07233814895153046,
0.2882304787635803,
0.07342901080846786,
-0.2019599974155426,
0.1117248684167862,
-0.5971549153327942,
-0.1664823740720749,
-0.3297138214111328,
-0.344854474067688,
0.14084579050540924,
-0.15216872096061707,
-0.2515464723110199,
0.1187155544757843,
0.24880154430866241,
-0.1690046191215515,
0.07344195246696472,
-0.1707427054643631,
-0.10877211391925812,
0.18989159166812897,
0.07904781401157379,
0.28148671984672546,
0.03986026346683502,
-0.04558774456381798,
0.20125819742679596,
-0.07953579723834991,
-0.17994418740272522,
-0.16560961306095123,
0.16289621591567993,
0.06642565876245499,
-0.18885071575641632,
-0.05427787825465202,
-0.2952570915222168,
-0.1321924477815628,
-0.0008111726492643356,
0.28493398427963257,
0.3268962502479553,
-0.008129104971885681,
-0.08274447917938232,
-0.045485857874155045,
0.12678810954093933,
-0.38044971227645874,
0.4930112957954407,
-0.13511523604393005,
0.3272518515586853,
0.22062940895557404,
0.1308666169643402,
0.05439181253314018,
0.059429511427879333,
-0.19534249603748322,
-0.1989385485649109,
-0.06070096790790558,
-0.1933354139328003,
0.12011896073818207,
-0.3254980444908142,
0.1937721222639084,
0.08530834317207336,
-0.10418540984392166,
0.3221394419670105,
-0.226530984044075,
-0.3556320071220398,
0.09593252837657928,
0.09014922380447388,
-0.06542915850877762,
-0.004934081807732582,
-0.1978558897972107,
0.15076512098312378,
-0.11457180976867676,
0.26225224137306213,
0.22816354036331177,
-0.17054378986358643,
0.22302669286727905,
0.21375378966331482,
0.6045222878456116,
-0.04388289898633957,
0.044214434921741486,
0.015734385699033737,
-0.11038921773433685,
0.17684859037399292,
0.11166266351938248,
0.055496521294116974,
-0.09492116421461105,
0.4914776682853699,
-0.19494107365608215,
0.11718230694532394,
0.016732236370444298,
0.14465844631195068,
-0.007142886519432068,
-0.4608994424343109,
0.0759698674082756,
0.16250194609165192,
-0.21902421116828918,
0.11138468235731125,
0.08283635228872299,
0.15217435359954834,
-0.16384804248809814,
0.12711627781391144,
-0.22037090361118317,
-0.16712656617164612,
0.03625978156924248,
-0.024811837822198868,
0.4233190715312958,
-0.09786460548639297,
-0.11796389520168304,
0.2062978744506836,
-0.039651837199926376,
-0.22285713255405426,
0.36893945932388306,
0.21012800931930542,
-0.31324565410614014,
-0.3983958661556244,
0.07716996967792511,
0.2319146990776062,
0.019252315163612366,
-0.1468173712491989,
0.4307018518447876,
-0.07419349253177643,
-0.05683736503124237,
0.12266488373279572,
0.18878482282161713,
0.17960873246192932,
0.29436299204826355,
-0.21336238086223602,
-0.026173897087574005,
0.03976424038410187,
0.010366352275013924,
0.04148948937654495,
0.46260368824005127,
0.06184948980808258,
-0.07557103037834167,
0.18854361772537231,
0.060176968574523926,
-0.10166636854410172,
0.08105048537254333,
0.2556934058666229,
0.1381818950176239,
-0.2983429431915283,
0.20928655564785004,
-0.18918439745903015,
0.21160784363746643,
-0.14814339578151703,
0.11252780258655548,
-0.17962445318698883,
-0.02109571173787117,
-0.020963259041309357,
-0.10949061065912247,
0.03495761752128601,
0.0889534205198288,
0.042826808989048004,
-0.06722535192966461,
0.6162355542182922,
0.17456066608428955,
0.2748778760433197,
-0.35661551356315613,
-0.09789951145648956,
-0.6595900654792786,
0.10622363537549973,
0.06293708831071854,
-0.06697060167789459,
-0.15667298436164856,
0.2737516462802887,
-0.23977002501487732,
0.21318547427654266,
-0.13469700515270233,
0.31150275468826294,
0.3181224465370178,
0.1647150218486786,
-0.4332875609397888,
-0.3533027470111847,
-0.04771323502063751,
-0.16049307584762573,
0.01711377501487732,
-0.4949309229850769,
-0.034805361181497574,
0.019723854959011078,
-0.08293598890304565,
-0.04027978330850601,
-0.4827026426792145,
0.23069003224372864,
0.3190777599811554,
0.5184899568557739,
0.0019267089664936066,
0.28577476739883423,
0.23849263787269592,
-0.11434605717658997,
-0.27854427695274353,
0.029934624210000038,
0.11395754665136337,
-0.10978598147630692,
0.10917286574840546,
-0.07051661610603333,
-0.13544195890426636,
0.05662626028060913,
-0.2698991298675537,
0.4596208333969116,
0.12174507975578308,
0.2896391749382019,
-0.056404463946819305,
-0.09238935261964798,
-0.14202558994293213,
0.4115005433559418,
-0.02257462404668331,
0.18259307742118835,
-0.17081911861896515,
0.30606913566589355,
-0.3263869285583496,
-0.22629711031913757,
0.4483615756034851,
-0.09716035425662994,
-0.3082883059978485,
0.22096066176891327,
0.24523255228996277,
-0.1234283372759819,
-0.3260554373264313,
-0.528413712978363,
0.3083968460559845,
0.34182220697402954,
-0.17080757021903992,
-0.07044409215450287,
0.22441689670085907,
-0.14446620643138885,
0.17902898788452148,
-0.16730673611164093,
0.43732166290283203,
0.06918521225452423,
0.06631449609994888,
-0.05629173666238785,
-0.04394689202308655
] |
https://github.com/huggingface/datasets/issues/1615 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir` | Ok. I waited for 20-30 mins, and it still is stuck.
I am using datasets==1.8.0.
Is there anyway to check what is happening? like a` --verbose` flag?

| Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
| 34 | Bug: Can't download TriviaQA with `load_dataset` - custom `cache_dir`
Hello,
I'm having issue downloading TriviaQA dataset with `load_dataset`.
## Environment info
- `datasets` version: 1.1.3
- Platform: Linux-4.19.129-aufs-1-x86_64-with-debian-10.1
- Python version: 3.7.3
## The code I'm running:
```python
import datasets
dataset = datasets.load_dataset("trivia_qa", "rc", cache_dir = "./datasets")
```
## The output:
1. Download begins:
```
Downloading and preparing dataset trivia_qa/rc (download: 2.48 GiB, generated: 14.92 GiB, post-processed: Unknown size, total: 17.40 GiB) to /cs/labs/gabis/sapirweissbuch/tr
ivia_qa/rc/1.1.0/e734e28133f4d9a353af322aa52b9f266f6f27cbf2f072690a1694e577546b0d...
Downloading: 17%|███████████████████▉ | 446M/2.67G [00:37<04:45, 7.77MB/s]
```
2. 100% is reached
3. It got stuck here for about an hour, and added additional 30G of data to "./datasets" directory. I killed the process eventually.
A similar issue can be observed in Google Colab:
https://colab.research.google.com/drive/1nn1Lw02GhfGFylzbS2j6yksGjPo7kkN-?usp=sharing
## Expected behaviour:
The dataset "TriviaQA" should be successfully downloaded.
Ok. I waited for 20-30 mins, and it still is stuck.
I am using datasets==1.8.0.
Is there anyway to check what is happening? like a` --verbose` flag?

| [
-0.005245942622423172,
0.1308887004852295,
-0.06461627036333084,
0.34415745735168457,
0.07185801863670349,
0.21029183268547058,
0.17244069278240204,
0.13109217584133148,
0.13916939496994019,
-0.07106518745422363,
-0.16993381083011627,
0.23123107850551605,
-0.019225724041461945,
0.006620490923523903,
-0.16911059617996216,
0.20853951573371887,
-0.16401192545890808,
-0.0868699699640274,
0.26999929547309875,
0.08340924978256226,
-0.0382438488304615,
0.40046295523643494,
-0.22243556380271912,
-0.29884958267211914,
-0.16956743597984314,
-0.025435185059905052,
0.07053079456090927,
0.040597639977931976,
0.014790426008403301,
-0.32188794016838074,
0.6169593930244446,
0.30287662148475647,
0.009877720847725868,
0.5210843682289124,
-0.00012010233331238851,
-0.191654235124588,
0.433879017829895,
0.015909818932414055,
-0.7354338765144348,
-0.21261312067508698,
-0.41170647740364075,
0.014090405777096748,
0.08777604252099991,
0.02536340057849884,
0.04746195673942566,
0.4686431586742401,
-0.008020026609301567,
-0.680444061756134,
0.0924842357635498,
0.09096705168485641,
0.14377132058143616,
-0.023893281817436218,
-0.22914794087409973,
-0.03751669451594353,
0.028458531945943832,
0.009682781994342804,
-0.23251208662986755,
0.4369438886642456,
0.21767151355743408,
0.0913057029247284,
0.23895534873008728,
0.25228095054626465,
-0.049200303852558136,
0.392861008644104,
-0.007139131426811218,
0.03747186064720154,
-0.18601533770561218,
-0.3192743957042694,
0.47071895003318787,
0.36607125401496887,
0.8030220866203308,
-0.18767723441123962,
-0.3021993637084961,
-0.18325507640838623,
0.10518226027488708,
-0.04514935612678528,
0.41331616044044495,
0.15838181972503662,
-0.33688032627105713,
-0.0022912994027137756,
-0.19663599133491516,
-0.08136983215808868,
0.005474001169204712,
-0.049539849162101746,
-0.26939159631729126,
-0.26117485761642456,
-0.15704499185085297,
-0.020811237394809723,
0.07860274612903595,
0.07578946650028229,
0.3318747282028198,
-0.2209254652261734,
-0.12632286548614502,
0.3372458517551422,
-0.6835752129554749,
0.13616351783275604,
0.07235581427812576,
0.22258877754211426,
0.12221396714448929,
0.14364957809448242,
0.2464015781879425,
0.1499662697315216,
-0.3367519676685333,
-0.015841394662857056,
0.2920413911342621,
0.4770641028881073,
0.02166857197880745,
-0.147189661860466,
0.294662207365036,
0.2768577039241791,
-0.016504399478435516,
0.18519580364227295,
-0.11949293315410614,
-0.11388764530420303,
0.16388143599033356,
-0.11951414495706558,
0.3472667336463928,
-0.4208977520465851,
-0.4582383930683136,
0.06937583535909653,
-0.10126738250255585,
0.23684029281139374,
0.09965253621339798,
0.2810335159301758,
-0.30598142743110657,
0.14895480871200562,
-0.08523961901664734,
-0.04060906916856766,
-0.17601166665554047,
0.05880861356854439,
-0.0030846879817545414,
-0.16247299313545227,
0.015079718083143234,
0.10914986580610275,
0.4115763008594513,
-0.23355475068092346,
-0.01933748833835125,
-0.12268287688493729,
0.16553449630737305,
-0.10650932788848877,
0.04002216458320618,
-0.4161471426486969,
-0.03279266506433487,
0.3291262686252594,
0.09120628237724304,
0.44722071290016174,
-0.19244717061519623,
-0.18694819509983063,
-0.1487814486026764,
0.18307581543922424,
-0.16871625185012817,
-0.17862753570079803,
-0.02249995432794094,
0.07214584201574326,
-0.5353236198425293,
-0.10410954058170319,
-0.23828306794166565,
0.13898415863513947,
0.19752126932144165,
0.093503937125206,
0.054623793810606,
-0.0165531225502491,
-0.31463149189949036,
-0.20553745329380035,
0.26287171244621277,
0.7534268498420715,
-0.40064093470573425,
0.27321499586105347,
-0.37367352843284607,
0.1972002387046814,
0.09293761104345322,
0.20913287997245789,
0.03956155106425285,
0.10908114910125732,
-0.47028034925460815,
-0.04680222272872925,
0.2117948830127716,
-0.3955645263195038,
-0.5958548784255981,
0.35253334045410156,
-0.02826015278697014,
0.29083094000816345,
0.0996689572930336,
0.06464473903179169,
-0.033989179879426956,
-0.07441102713346481,
0.18174970149993896,
0.3799591064453125,
-0.08181261271238327,
-0.030382825061678886,
-0.3953438401222229,
-0.29252803325653076,
0.033951472491025925,
0.21089033782482147,
-0.09566950798034668,
-0.009699925780296326,
-0.018489234149456024,
0.043275777250528336,
0.19577458500862122,
0.38432252407073975,
0.03843387961387634,
0.1697259396314621,
0.3557584285736084,
0.0017096325755119324,
-0.07943467050790787,
-0.04639865458011627,
-0.8227308988571167,
0.4676513373851776,
0.007989279925823212,
-0.13297420740127563,
-0.28646916151046753,
-0.10500781983137131,
-0.5263268351554871,
0.018035070970654488,
-0.3432106375694275,
-0.1726967692375183,
-0.01914146915078163,
0.25039446353912354,
0.3605087697505951,
0.2551687955856323,
0.06291274726390839,
0.6656354069709778,
0.23156191408634186,
-0.11291884630918503,
-0.3988395929336548,
0.08185579627752304,
0.17623983323574066,
-0.059628985822200775,
0.003779161721467972,
0.005850188434123993,
0.09607958793640137,
-0.2225622981786728,
-0.16332721710205078,
0.14642509818077087,
0.12692393362522125,
0.1480644941329956,
0.06533852964639664,
0.06361714750528336,
0.21542565524578094,
0.11697597801685333,
0.07037047296762466,
0.05743405967950821,
0.2074354588985443,
-0.10877864807844162,
-0.2665086090564728,
-0.02707374095916748,
-0.38634252548217773,
0.31528282165527344,
-0.14667074382305145,
-0.03466115891933441,
0.26875245571136475,
-0.03488777205348015,
0.12677963078022003,
-0.06336704641580582,
0.44135090708732605,
0.25840091705322266,
0.3805350065231323,
-0.05369243025779724,
0.040112048387527466,
0.26268449425697327,
0.27116096019744873,
0.11806729435920715,
-0.012823216617107391,
0.19716155529022217,
-0.005203656852245331,
-0.07063698768615723,
0.17702874541282654,
0.3518936336040497,
0.48289787769317627,
-0.04168757051229477,
0.27598729729652405,
-0.07990827411413193,
0.13310272991657257,
-0.15604674816131592,
0.033443696796894073,
0.10823055356740952,
-0.12687480449676514,
0.1741713434457779,
0.309796005487442,
-0.026449549943208694,
0.0924227312207222,
-0.1649826169013977,
0.1287865787744522,
0.178853377699852,
-0.1485518217086792,
0.198604017496109,
-0.23909710347652435,
-0.013288715854287148,
-0.042202942073345184,
-0.288891464471817,
0.10386782884597778,
-0.49318137764930725,
-0.11065781116485596,
0.2955605983734131,
0.2834782898426056,
0.001974988728761673,
-0.07211682200431824,
0.22407108545303345,
0.07326648384332657,
-0.5757681131362915,
-0.4541899263858795,
-0.17194722592830658,
-0.2614940106868744,
-0.02037547156214714,
0.19481569528579712,
-0.04084257408976555,
0.2507399916648865,
-0.08658947050571442,
-0.10126662254333496,
-0.2004711925983429,
-0.2505178451538086,
0.009187117218971252,
0.04382104054093361,
0.48187270760536194,
0.09338505566120148,
0.2899226248264313,
0.007487494498491287,
0.22696036100387573,
-0.019623612985014915,
0.024403652176260948,
-0.07745164632797241,
-0.002782326191663742,
0.030315903946757317,
0.22259390354156494,
-0.10637278854846954,
-0.29032209515571594,
-0.3319784998893738,
-0.4047456383705139,
0.2436874955892563,
-0.021449360996484756,
0.013927623629570007,
0.471277117729187,
0.04562186822295189,
0.08253009617328644,
0.2933078706264496,
-0.1436872035264969,
-0.384338915348053,
-0.3096330761909485,
0.6168889999389648,
-0.18762320280075073,
-0.0910336971282959,
0.09970889985561371,
-0.032756440341472626,
0.2840217351913452,
0.15097267925739288,
-0.6188512444496155,
0.06469254195690155,
-0.6073617339134216,
0.5238553881645203,
-0.1325421780347824,
-0.26326343417167664,
0.21353840827941895,
-0.1811935007572174,
0.11170068383216858,
0.0977276936173439,
-0.12618210911750793,
-0.044490523636341095,
0.26255425810813904,
0.35191982984542847,
0.06819133460521698,
0.15340487658977509,
0.18307463824748993,
0.4946861267089844,
0.1345430463552475,
0.022358596324920654,
0.27060258388519287,
0.1346399039030075,
0.493053674697876,
-0.21873816847801208,
-0.11335504055023193,
-0.053200624883174896,
-0.11612817645072937,
-0.29430609941482544,
0.1397244930267334,
0.0782918930053711,
0.13303980231285095,
-0.1606244146823883,
0.24211463332176208,
0.04278860241174698,
-0.2041894644498825,
-0.023751085624098778,
-0.5263651609420776,
0.03553417697548866,
0.168731227517128,
0.12393558770418167,
0.12427790462970734,
-0.3307330906391144,
-0.014564620330929756,
0.22760608792304993,
-0.11815425008535385,
-0.012810293585062027,
0.31425920128822327,
0.33514291048049927,
-0.468896746635437,
0.23648840188980103,
-0.059399787336587906,
0.31444603204727173,
-0.33113449811935425,
0.14700725674629211,
0.2424875646829605,
-0.05065435916185379,
0.6517909169197083,
-0.07692962884902954,
0.32689517736434937,
0.015448782593011856,
0.07256889343261719,
-0.3916994631290436,
-0.11528635025024414,
0.046725768595933914,
0.21049275994300842,
0.14448390901088715,
0.0007252991199493408,
-0.3484281897544861,
0.3471658527851105,
-0.02377474308013916,
0.19572101533412933,
-0.16684480011463165,
-0.29168701171875,
-0.3935703933238983,
-0.40056610107421875,
-0.2025602012872696,
-0.06714519113302231,
0.06721906363964081,
0.05312810838222504,
-0.058343417942523956,
-0.20782583951950073,
-0.008925948292016983,
-0.1617201864719391,
-0.0726626068353653,
0.12483073770999908,
0.04696860909461975,
0.2352914959192276,
0.5087922215461731,
0.2496747076511383,
-0.47683194279670715,
-0.020420437678694725,
0.5346229076385498,
0.052624959498643875,
-0.2157340943813324,
0.08720208704471588,
-0.06680004298686981,
-0.22588545083999634,
0.3088749647140503,
-0.26699045300483704,
-0.034538961946964264,
-0.14845646917819977,
0.009861350059509277,
-0.052190717309713364,
0.1935739666223526,
-0.0570385605096817,
-0.03635580465197563,
-0.21477745473384857,
-0.4271724820137024,
0.6526006460189819,
0.06725402176380157,
-0.2232857048511505,
0.4791543185710907,
-0.3438917398452759,
-0.12227766215801239,
0.18287226557731628,
-0.21414339542388916,
0.8169717192649841,
-0.19779090583324432,
-0.13249877095222473,
0.11826448142528534,
-0.3915684223175049,
0.5272777676582336,
-0.2375803142786026,
-0.029331907629966736,
-0.09169337153434753,
-0.15189805626869202,
0.07984774559736252,
-0.1431252509355545,
0.084440216422081,
-0.04876048117876053,
-0.20286035537719727,
0.28764331340789795,
-0.4040244221687317,
0.08483681082725525,
0.05538775026798248,
0.08539696037769318,
-0.26552027463912964,
-0.20701667666435242,
-0.396563857793808,
0.13116391003131866,
-0.23257361352443695,
0.48193445801734924,
-0.16157689690589905,
0.03590184450149536,
-0.2869974374771118,
0.2073236107826233,
-0.5213595032691956,
0.09803382307291031,
-0.33506909012794495,
0.005933758802711964,
-0.12243904173374176,
-0.5067170262336731,
-0.04752578213810921,
0.20779098570346832,
0.1990365982055664,
0.11790929734706879,
-0.3257427513599396,
0.4892617166042328,
0.07075775414705276,
-0.07935305684804916,
0.1297966092824936,
-0.1865677535533905,
-0.15067468583583832,
0.03414066135883331,
0.03792143613100052,
0.05017627030611038,
-0.18189115822315216,
0.043122366070747375,
-0.0111008882522583,
0.13297519087791443,
0.18970362842082977,
0.11394449323415756,
-0.14334361255168915,
-0.15600953996181488,
0.18661822378635406,
-0.03100595250725746,
0.062379058450460434,
0.18101665377616882,
0.061333123594522476,
0.24400123953819275,
-0.14987687766551971,
-0.23524110019207,
-0.11625127494335175,
0.5939412117004395,
-0.22852107882499695,
0.04158665984869003,
0.4236777722835541,
0.10076847672462463,
-0.1361696422100067,
-0.002685628831386566,
-0.13114076852798462,
-0.5875869393348694,
-0.4679345488548279,
0.27837425470352173,
-0.0468706414103508,
0.08690731227397919,
-0.026822496205568314,
0.1812010407447815,
0.13658195734024048,
-0.28435033559799194,
0.05238598957657814,
-0.5536264181137085,
-0.1574622541666031,
-0.32886767387390137,
-0.31425145268440247,
0.16878506541252136,
-0.18659621477127075,
-0.2416703850030899,
0.18273624777793884,
0.19426654279232025,
-0.1549936830997467,
-0.09395129978656769,
-0.3887763023376465,
-0.1536056101322174,
0.2354278564453125,
0.04432373493909836,
0.2058866173028946,
-0.08069917559623718,
-0.061372652649879456,
0.21694722771644592,
-0.026263415813446045,
-0.15298303961753845,
-0.1057879626750946,
0.18030710518360138,
-0.046163082122802734,
0.012594987638294697,
-0.02432839572429657,
-0.2785235047340393,
0.020430734381079674,
0.006224209908396006,
0.21959185600280762,
0.2657717764377594,
-0.017280593514442444,
-0.1714872568845749,
-0.17986370623111725,
0.2139878273010254,
-0.3819271922111511,
0.45391082763671875,
-0.15308545529842377,
0.262861430644989,
0.23211871087551117,
0.12315758317708969,
-0.07857899367809296,
0.06767375767230988,
-0.18060527741909027,
-0.20757466554641724,
-0.024093709886074066,
-0.16707631945610046,
0.08034400641918182,
-0.20637543499469757,
0.20219336450099945,
-0.07062005996704102,
-0.09091480076313019,
0.4165440499782562,
-0.17169879376888275,
-0.4082161486148834,
0.04617259278893471,
0.06580081582069397,
-0.03361973166465759,
0.08067482709884644,
-0.2799675762653351,
0.14152905344963074,
-0.09169254451990128,
0.2812608778476715,
0.15989553928375244,
-0.1819908320903778,
0.30587929487228394,
0.27018311619758606,
0.6407567262649536,
-0.12458494305610657,
-0.013995742425322533,
0.10083860158920288,
-0.15733791887760162,
0.1835169941186905,
0.17671653628349304,
-0.05258370563387871,
-0.07149439305067062,
0.4804331660270691,
-0.1396232545375824,
0.17021849751472473,
0.030862854793667793,
0.21096491813659668,
-0.02437528222799301,
-0.37964117527008057,
0.042128074914216995,
0.32273754477500916,
-0.1420818269252777,
0.24160486459732056,
0.1274542361497879,
0.06184125691652298,
-0.1851189285516739,
0.14304785430431366,
-0.2687399089336395,
-0.116660937666893,
0.11167961359024048,
0.012285957112908363,
0.31133124232292175,
-0.06014595925807953,
-0.15749940276145935,
0.19225633144378662,
-0.0022234804928302765,
-0.22394682466983795,
0.29050588607788086,
0.2160765677690506,
-0.24723948538303375,
-0.3749714195728302,
0.07712528854608536,
0.11275617778301239,
0.11633096635341644,
-0.18477298319339752,
0.3728835880756378,
-0.019561000168323517,
-0.06301616132259369,
0.11364127695560455,
0.21308937668800354,
0.3010067641735077,
0.3170284628868103,
-0.23467230796813965,
0.03362910822033882,
0.05870674550533295,
0.03588220477104187,
-0.00915493257343769,
0.5393316149711609,
-0.07812726497650146,
-0.05390442535281181,
0.18635408580303192,
0.07834045588970184,
-0.14791002869606018,
0.21799211204051971,
0.11389398574829102,
0.11162218451499939,
-0.39688101410865784,
0.22043141722679138,
-0.08290835469961166,
0.15316838026046753,
-0.08723445236682892,
0.10310312360525131,
-0.15071095526218414,
-0.04231718182563782,
-0.047085803002119064,
-0.16358129680156708,
-0.005216571502387524,
0.06563891470432281,
0.03237338364124298,
-0.0532887764275074,
0.5978509783744812,
0.2575451731681824,
0.288139671087265,
-0.3217952251434326,
-0.0932292491197586,
-0.7962049245834351,
0.008507117629051208,
0.006256956607103348,
-0.16068455576896667,
-0.09327853471040726,
0.28948622941970825,
-0.20704632997512817,
0.21266376972198486,
-0.05440820753574371,
0.2795097827911377,
0.2430609166622162,
0.12787669897079468,
-0.3115135133266449,
-0.37791457772254944,
-0.0557408407330513,
-0.2249976247549057,
-0.057523131370544434,
-0.515813410282135,
-0.03598969802260399,
0.020464003086090088,
-0.11134788393974304,
-0.017211437225341797,
-0.47796815633773804,
0.21991366147994995,
0.3332749605178833,
0.4278499484062195,
0.03550821170210838,
0.3024102747440338,
0.21801963448524475,
-0.11015892028808594,
-0.3326717019081116,
0.05657406151294708,
0.1805066615343094,
-0.04338783770799637,
-0.005740668624639511,
-0.15171340107917786,
-0.14784575998783112,
0.15305592119693756,
-0.23177289962768555,
0.40016528964042664,
0.2216174155473709,
0.3796205520629883,
-0.020434938371181488,
-0.2293599396944046,
-0.13970054686069489,
0.33962133526802063,
0.04306366294622421,
0.28149208426475525,
-0.12158669531345367,
0.3195243179798126,
-0.3485707640647888,
-0.2198423147201538,
0.3764309287071228,
-0.12464183568954468,
-0.2975655198097229,
0.2786644697189331,
0.30854886770248413,
-0.10700575262308121,
-0.2645321786403656,
-0.41460904479026794,
0.23707935214042664,
0.37969642877578735,
-0.1803571581840515,
-0.08628662675619125,
0.1771964430809021,
-0.1125805675983429,
0.17859695851802826,
-0.1542256623506546,
0.445151150226593,
0.06315730512142181,
0.12382963299751282,
0.010281473398208618,
-0.041978660970926285
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | Is there a way one can convert the two generator? not sure overall what alternatives I could have to shuffle the datasets with a torch generator, thanks | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 27 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
Is there a way one can convert the two generator? not sure overall what alternatives I could have to shuffle the datasets with a torch generator, thanks | [
-0.4141782820224762,
-0.22763460874557495,
-0.03098607435822487,
0.4363024830818176,
0.2791834771633148,
0.04327742010354996,
0.035064637660980225,
0.0862029418349266,
-0.070514976978302,
0.5191636681556702,
-0.23918049037456512,
0.4969669580459595,
-0.33086761832237244,
-0.3823140263557434,
-0.23154480755329132,
-0.306739866733551,
0.216859370470047,
-0.0674593597650528,
-0.37018752098083496,
0.0901024341583252,
-0.13780683279037476,
-0.2120029628276825,
-0.16686496138572693,
0.04674811288714409,
-0.10569236427545547,
0.02899506688117981,
0.003392072394490242,
-0.096511609852314,
-0.3189222812652588,
0.1343451291322708,
-0.1936238408088684,
0.3798201084136963,
0.13454629480838776,
0.5104946494102478,
-0.00012052058445988223,
-0.09245747327804565,
0.2343461960554123,
-0.08864348381757736,
-0.14736595749855042,
-0.3304497003555298,
0.2770423889160156,
0.39161115884780884,
-0.4975619614124298,
0.08036472648382187,
-0.14365023374557495,
-0.13487665355205536,
0.18234674632549286,
-0.42463555932044983,
0.025369711220264435,
0.008824647404253483,
0.14638438820838928,
-0.18825891613960266,
0.22122688591480255,
-0.12672865390777588,
0.48131147027015686,
0.40270787477493286,
0.0825442299246788,
-0.08840034902095795,
0.5316641330718994,
0.258577823638916,
-0.22273099422454834,
0.0401541031897068,
-0.12972071766853333,
0.05708025395870209,
0.3467620015144348,
-0.3779282569885254,
-0.5593922734260559,
-0.12089242041110992,
0.2527589797973633,
0.3894736170768738,
0.26069653034210205,
-0.07886112481355667,
-0.054811231791973114,
-0.09752820432186127,
-0.02682378888130188,
0.1572410613298416,
0.06901586055755615,
0.18645943701267242,
-0.3888828158378601,
-0.05587055906653404,
-0.31433001160621643,
-0.2865079939365387,
0.05935962498188019,
-0.12461017072200775,
0.15014535188674927,
0.5047634840011597,
0.09440009295940399,
0.15923476219177246,
0.429700642824173,
-0.23803453147411346,
0.7994135022163391,
-0.12989835441112518,
-0.025109682232141495,
0.07770954072475433,
-0.21142731606960297,
-0.04278220236301422,
-0.21004849672317505,
0.4812188148498535,
0.40924495458602905,
-0.12425379455089569,
0.08719731867313385,
0.10631697624921799,
0.03126050531864166,
0.10968473553657532,
-0.003694070503115654,
-0.15309710800647736,
-0.06455712765455246,
0.4121881127357483,
0.1983654499053955,
-0.19085593521595,
-0.09551839530467987,
0.005904775112867355,
-0.24084585905075073,
-0.6150106191635132,
-0.2558303773403168,
0.21414756774902344,
-0.35663729906082153,
-0.2235177755355835,
-0.04174410551786423,
-0.4753188192844391,
0.0988786444067955,
-0.21333946287631989,
0.15291465818881989,
0.24065721035003662,
0.03333568945527077,
0.27466121315956116,
-0.010903855785727501,
0.15643616020679474,
0.16321340203285217,
-0.408478319644928,
0.08135601878166199,
-0.012345928698778152,
-0.24266032874584198,
0.10392140597105026,
-0.054930295795202255,
-0.3516778349876404,
0.10474774241447449,
0.05252972990274429,
0.18701058626174927,
0.5445387959480286,
0.059338778257369995,
-0.22623859345912933,
0.08694175630807877,
-0.37549498677253723,
0.22714143991470337,
-0.0004925373941659927,
-0.12305605411529541,
0.4934237003326416,
-0.09440377354621887,
0.387047678232193,
-0.16268101334571838,
-0.13094080984592438,
0.12811721861362457,
0.07297391444444656,
-0.12582696974277496,
0.02936035394668579,
-0.19896632432937622,
0.07806210219860077,
0.12500698864459991,
-0.4125436246395111,
-0.02243044227361679,
-0.1792345941066742,
-0.1869378387928009,
-0.21806390583515167,
-0.08912719786167145,
0.0014493763446807861,
-0.0504479855298996,
0.0199260413646698,
-0.04628606513142586,
-0.0942550003528595,
0.3332948386669159,
0.32420700788497925,
-0.14961209893226624,
0.051303964108228683,
-0.24019266664981842,
-0.5925034880638123,
0.39519813656806946,
-0.09065617620944977,
-0.2823815941810608,
-0.1787954419851303,
-0.028929147869348526,
-0.12128612399101257,
0.370361328125,
0.18652625381946564,
0.11867225170135498,
-0.2664368450641632,
0.5015239715576172,
0.3267718553543091,
-0.26213502883911133,
0.10535822063684464,
-0.24067965149879456,
-0.11734257638454437,
0.5927736163139343,
0.3782365918159485,
0.20787732303142548,
0.03893817961215973,
-0.000843241810798645,
-0.06768403202295303,
0.08721286058425903,
-0.15892687439918518,
0.08974620699882507,
0.023105204105377197,
-0.29161134362220764,
0.1719159185886383,
-0.07354705035686493,
-0.03474472463130951,
0.22001251578330994,
-0.09792250394821167,
0.06560416519641876,
-0.03832169622182846,
0.21722912788391113,
-0.12349831312894821,
0.21812283992767334,
-0.3128984570503235,
-0.051717836409807205,
-0.024437211453914642,
0.01069730520248413,
0.12452059239149094,
0.31516286730766296,
-0.31068602204322815,
0.09008851647377014,
-0.10762857645750046,
-0.1986149698495865,
-0.2256062924861908,
-0.6309056878089905,
0.06663685292005539,
-0.13730621337890625,
-0.061307765543460846,
0.1682930290699005,
0.10633081197738647,
-0.02617926150560379,
0.011753358878195286,
-0.0639231875538826,
0.054157402366399765,
-0.18433146178722382,
0.0759907141327858,
0.13983654975891113,
-0.02668863534927368,
-0.07283606380224228,
-0.039898376911878586,
0.3686388432979584,
0.023687023669481277,
0.18202002346515656,
-0.038819558918476105,
0.036978062242269516,
0.3304705023765564,
-0.45791393518447876,
0.15111196041107178,
0.03954780101776123,
-0.17138051986694336,
0.0006633196026086807,
0.1531127393245697,
0.042979538440704346,
0.4353913962841034,
0.43351423740386963,
0.1709698885679245,
0.24579410254955292,
0.12469909340143204,
-0.5354140996932983,
-0.032986126840114594,
0.36369049549102783,
0.07282929122447968,
-0.1253972053527832,
0.12925663590431213,
-0.22725218534469604,
0.021462947130203247,
0.0011824853718280792,
-0.1308523714542389,
0.46557384729385376,
0.28207486867904663,
0.24595335125923157,
-0.013493793085217476,
0.3454644978046417,
-0.09447747468948364,
0.0651642233133316,
-0.20856262743473053,
-0.09086930006742477,
0.16388720273971558,
0.19179809093475342,
-0.24282117187976837,
-0.055999480187892914,
-0.3100754916667938,
0.0884886160492897,
0.3063645660877228,
-0.09323176741600037,
-0.08700607717037201,
-0.2038206309080124,
-0.17998573184013367,
-0.44400158524513245,
-0.08275753259658813,
-0.09337365627288818,
-0.15090715885162354,
0.0896417498588562,
0.6144542098045349,
0.06941045820713043,
0.063728928565979,
0.5797443985939026,
0.06699597835540771,
-0.07397551834583282,
0.08632653206586838,
-0.17752279341220856,
-0.3066989481449127,
-0.12918001413345337,
0.12544135749340057,
0.4116497039794922,
-0.150933176279068,
0.281652569770813,
-0.3073141872882843,
-0.11298554390668869,
-0.44320550560951233,
0.3672914206981659,
0.043949611485004425,
0.09774421155452728,
-0.2580510973930359,
0.21579405665397644,
-0.17217110097408295,
0.14906400442123413,
-0.2494659274816513,
0.20544229447841644,
-0.40761086344718933,
0.06629639118909836,
0.16419726610183716,
-0.3200439214706421,
0.07565045356750488,
0.10447515547275543,
-0.07644625753164291,
-0.31999635696411133,
-0.374758780002594,
-0.17095619440078735,
-0.0763251781463623,
0.17836959660053253,
-0.35224243998527527,
0.27950555086135864,
-0.37489384412765503,
-0.03545795753598213,
-0.19003640115261078,
-0.16524921357631683,
-0.8801337480545044,
0.5325652360916138,
-0.19296687841415405,
-0.22121860086917877,
-0.26861682534217834,
-0.04856649786233902,
0.30062463879585266,
0.7538973093032837,
0.2688276171684265,
0.3970758020877838,
-0.02042272873222828,
0.12051346898078918,
-0.1282149851322174,
0.3746427595615387,
0.16380557417869568,
0.009422942996025085,
0.0517137348651886,
0.0818365290760994,
0.303954154253006,
-0.10655402392148972,
-0.3358478844165802,
0.6419593691825867,
0.4148104786872864,
0.1426941156387329,
-0.021824052557349205,
0.8628771901130676,
-0.2597818374633789,
-0.33168256282806396,
-0.085245281457901,
0.024120140820741653,
0.19274099171161652,
-0.1950429081916809,
-0.15120503306388855,
0.5222123265266418,
0.11379191279411316,
-0.26489555835723877,
0.009371481835842133,
-0.2193320095539093,
0.13235248625278473,
-0.2966078817844391,
0.0547250472009182,
0.07783793658018112,
-0.1388814002275467,
0.35950151085853577,
-0.1910056620836258,
-0.043608158826828,
-0.15857850015163422,
0.16174662113189697,
-0.30328369140625,
-0.2201801836490631,
0.09621410071849823,
0.09432931244373322,
0.3186902403831482,
0.04891337454319,
-0.2407931387424469,
-0.1534566432237625,
-0.3318791687488556,
0.32008957862854004,
0.1681140512228012,
0.07930938154459,
0.08957880735397339,
0.07722935825586319,
0.060939494520425797,
0.03806185722351074,
0.5132346153259277,
-0.32168224453926086,
-0.04051800072193146,
0.038386449217796326,
0.15024994313716888,
-0.25567853450775146,
0.054825473576784134,
-0.044133976101875305,
-0.022003015503287315,
-0.1036849170923233,
-0.1374329775571823,
-0.19895637035369873,
-0.047510579228401184,
-0.26154422760009766,
0.3407234847545624,
-0.09512750059366226,
-0.10464169085025787,
-0.20029455423355103,
-0.008589979261159897,
-0.2690849304199219,
-0.18794676661491394,
-0.031443387269973755,
-0.09435567259788513,
-0.43645748496055603,
0.020744655281305313,
-0.1020897626876831,
0.2858410179615021,
0.3050040304660797,
0.08676515519618988,
0.18209949135780334,
-0.27334028482437134,
-0.10421121120452881,
0.27473366260528564,
0.01362927258014679,
0.46491166949272156,
-0.06378047168254852,
-0.06778977811336517,
0.001176387071609497,
0.17117390036582947,
-0.11055223643779755,
0.02369101345539093,
0.06542361527681351,
0.027446743100881577,
0.19758474826812744,
-0.19571104645729065,
0.051333993673324585,
-0.16508932411670685,
-0.11514093726873398,
-0.18911366164684296,
0.07993249595165253,
-0.4065694212913513,
-0.8603870272636414,
-0.04366152733564377,
0.5672546625137329,
-0.09096740931272507,
0.5497952699661255,
-0.5639744400978088,
-0.17652221024036407,
0.11591906100511551,
0.18811488151550293,
0.9552468061447144,
-0.27425479888916016,
0.03155510872602463,
-0.10306032747030258,
0.020080052316188812,
0.30858510732650757,
-0.22045966982841492,
0.2421175241470337,
-0.40993160009384155,
-0.19111551344394684,
-0.008422020822763443,
-0.15297934412956238,
0.0274689719080925,
0.3680691123008728,
-0.19630859792232513,
0.4838230609893799,
0.048987120389938354,
-0.10993868112564087,
-0.06450671702623367,
0.10212072730064392,
-0.5011495351791382,
-0.10543815791606903,
0.06544409692287445,
0.06768906861543655,
-0.23978973925113678,
0.33179014921188354,
-0.00040190108120441437,
-0.013045055791735649,
-0.2659436762332916,
0.07097958773374557,
-0.05999332666397095,
-0.008044740185141563,
0.004197567235678434,
-0.12374846637248993,
-0.03908837214112282,
-0.2039259970188141,
0.3492182791233063,
0.24348774552345276,
0.2807123064994812,
0.062037207186222076,
0.08456002920866013,
0.06783364713191986,
0.164263516664505,
0.07326188683509827,
-0.07310954481363297,
0.07144926488399506,
-0.025544749572873116,
0.02690555900335312,
-0.08507471531629562,
0.2939513027667999,
0.28574931621551514,
-0.4228474497795105,
-0.6244632005691528,
-0.2806546092033386,
0.5599279999732971,
-0.1390553116798401,
0.18276922404766083,
0.13980726897716522,
0.046445053070783615,
-0.03746996447443962,
0.03360624611377716,
0.10389463603496552,
-0.09673445671796799,
0.2264549434185028,
-0.1312226504087448,
0.1111350953578949,
0.09718574583530426,
0.19963794946670532,
0.005963347852230072,
0.05043958127498627,
-0.006954815238714218,
0.1060207337141037,
-0.14738963544368744,
-0.07595165073871613,
0.05646432191133499,
0.20922592282295227,
-0.14466369152069092,
0.019859541207551956,
-0.1947275698184967,
-0.08368166536092758,
-0.005145955830812454,
0.12473984062671661,
-0.08202579617500305,
0.17132516205310822,
0.09292757511138916,
-0.19924062490463257,
-0.4890235662460327,
-0.006279498338699341,
0.042051929980516434,
0.01666128635406494,
0.11514868587255478,
-0.13893994688987732,
-0.26398640871047974,
-0.0036177542060613632,
-0.2014113962650299,
0.04989033192396164,
0.35905227065086365,
0.31010422110557556,
-0.15620474517345428,
-0.058485619723796844,
-0.6464870572090149,
-0.07735279202461243,
0.013830577954649925,
0.058369897305965424,
-0.07643242925405502,
-0.04665540158748627,
0.0781552642583847,
0.14114007353782654,
0.10598962754011154,
0.024295559152960777,
-0.058981917798519135,
-0.30233126878738403,
0.00004427507519721985,
-0.16263683140277863,
0.2617577612400055,
0.5220797657966614,
-0.06853757798671722,
-0.000495309941470623,
0.30481472611427307,
0.044507160782814026,
-0.2492460161447525,
0.29278939962387085,
-0.006865277886390686,
-0.1153535395860672,
-0.010646343231201172,
0.1660512387752533,
0.345878541469574,
-0.2346951961517334,
-0.19777485728263855,
0.1273854821920395,
0.4180143475532532,
-0.04111989587545395,
0.20741641521453857,
0.048307258635759354,
0.3283163905143738,
0.3353272080421448,
0.028651710599660873,
0.4495697021484375,
-0.054158397018909454,
-0.08289767056703568,
0.4580727815628052,
0.08792105317115784,
-0.05680515617132187,
-0.012657354585826397,
-0.3755943775177002,
0.0665518194437027,
0.02920256182551384,
0.08462198078632355,
-0.21368525922298431,
-0.3802140951156616,
-0.25285643339157104,
-0.14418864250183105,
0.29952192306518555,
-0.14845702052116394,
0.03930902108550072,
0.3494197726249695,
0.27344903349876404,
-0.12971800565719604,
0.22994963824748993,
-0.18822871148586273,
-0.017375297844409943,
0.3861582279205322,
0.10052631795406342,
0.8498155474662781,
0.2162034511566162,
-0.08345162868499756,
0.4184260070323944,
-0.1986815184354782,
0.09321990609169006,
0.5848051905632019,
0.19462521374225616,
0.00034672021865844727,
0.304897665977478,
0.30629897117614746,
-0.007370482198894024,
0.085768923163414,
0.2058202475309372,
0.22838260233402252,
-0.032162345945835114,
-0.04149777814745903,
-0.26768410205841064,
-0.3867053985595703,
-0.21576398611068726,
0.23758909106254578,
-0.029110874980688095,
0.14146052300930023,
0.4236834645271301,
0.11561694741249084,
0.04440166428685188,
-0.2688696086406708,
0.42308634519577026,
0.3364492952823639,
0.05135299637913704,
-0.12417212128639221,
-0.2339480072259903,
0.10840534418821335,
-0.09563954174518585,
0.6494948267936707,
0.10556059330701828,
0.20050156116485596,
0.37700918316841125,
-0.24553188681602478,
-0.015012401156127453,
-0.3588198125362396,
-0.0848660096526146,
-0.05815122649073601,
0.23150990903377533,
0.11290749907493591,
-0.17622259259223938,
0.2547449469566345,
0.06320198625326157,
-0.09355416893959045,
-0.11365176737308502,
0.07745557278394699,
-0.023862726986408234,
0.09489661455154419,
0.06945297867059708,
0.006101062521338463,
-0.08248323947191238,
-0.001669522374868393,
-0.0006493031978607178,
-0.34994977712631226,
-0.06220287084579468,
-0.2825421690940857,
-0.09135470539331436,
0.008064651861786842,
-0.18702751398086548,
0.01822759211063385,
0.2150028944015503,
0.101433664560318,
0.18646734952926636,
-0.053186871111392975,
-0.005046802572906017,
-0.5153776407241821,
-0.42802369594573975,
0.261464387178421,
0.11752782762050629,
0.2586260735988617,
-0.5599021911621094,
-0.05214134603738785,
0.25298771262168884,
0.25027036666870117,
-0.1713242083787918,
0.30893948674201965,
0.08501889556646347,
0.8079196214675903,
-0.06633719801902771,
-0.1776544451713562,
-0.07872721552848816,
0.011565727181732655,
0.050305575132369995,
-0.3968660533428192,
0.01470813900232315,
0.08947959542274475,
0.04646466672420502,
-0.0948258489370346,
0.1943323016166687,
-0.05271267145872116,
-0.10166490077972412,
-0.009418413043022156,
0.10061968863010406,
0.4464062452316284,
0.020984314382076263,
0.2246929407119751,
0.028023693710565567,
0.23858004808425903,
-0.2178928256034851,
0.08078619092702866,
0.23117560148239136,
0.08459225296974182,
0.1365787535905838,
-0.13053926825523376,
-0.3690742552280426,
0.351329505443573,
-0.16362151503562927,
0.33460086584091187,
-0.5669949054718018,
0.12914130091667175,
-0.057645078748464584,
0.2332993745803833,
-0.048617150634527206,
0.03247099369764328,
0.11344408988952637,
-0.11911098659038544,
-0.47966742515563965,
0.23422835767269135,
0.3663768768310547,
-0.12893490493297577,
-0.3619128465652466,
-0.5091977119445801,
-0.18155252933502197,
0.3375091552734375,
-0.08191502094268799,
-0.268293559551239,
-0.01490243524312973,
0.021666269749403,
0.06621991097927094,
0.6247012615203857,
-0.0031191371381282806,
0.09534220397472382,
0.08135636150836945,
-0.18543046712875366,
0.10698996484279633,
0.07143056392669678,
-0.03527813032269478,
-0.15309202671051025,
-0.1130387932062149
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq let me please expalin in more details, maybe you could help me suggesting an alternative to solve the issue for now, I have multiple large datasets using huggingface library, then I need to define a distributed sampler on top of it, for this I need to shard the datasets and give each shard to each core, but before sharding I need to shuffle the dataset, if you are familiar with distributed sampler in pytorch, this needs to be done based on seed+epoch generator to make it consistent across the cores they do it through defining a torch generator, I was wondering if you could tell me how I can shuffle the data for now, I am unfortunately blocked by this and have a limited time left, and I greatly appreciate your help on this. thanks | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 136 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
@lhoestq let me please expalin in more details, maybe you could help me suggesting an alternative to solve the issue for now, I have multiple large datasets using huggingface library, then I need to define a distributed sampler on top of it, for this I need to shard the datasets and give each shard to each core, but before sharding I need to shuffle the dataset, if you are familiar with distributed sampler in pytorch, this needs to be done based on seed+epoch generator to make it consistent across the cores they do it through defining a torch generator, I was wondering if you could tell me how I can shuffle the data for now, I am unfortunately blocked by this and have a limited time left, and I greatly appreciate your help on this. thanks | [
-0.34585171937942505,
-0.45196080207824707,
-0.005385333672165871,
0.3233451247215271,
0.200884610414505,
-0.17069575190544128,
0.11381720751523972,
0.002590341493487358,
0.012134086340665817,
0.5316616892814636,
-0.15948064625263214,
0.4323349893093109,
-0.3134095072746277,
-0.21658921241760254,
-0.20198506116867065,
-0.3771594762802124,
0.10754214972257614,
-0.08712102472782135,
-0.24551239609718323,
0.00935468077659607,
-0.015314357355237007,
-0.23533351719379425,
-0.18699917197227478,
-0.057352617383003235,
-0.3854924142360687,
-0.05933982878923416,
-0.07027605175971985,
0.021274346858263016,
-0.22366733849048615,
0.07186191529035568,
-0.2819516658782959,
0.4691460132598877,
0.2383427619934082,
0.47794947028160095,
-0.00011516876838868484,
-0.11706306785345078,
0.2073730081319809,
-0.008217968046665192,
-0.1322348564863205,
-0.2457086592912674,
0.5509523153305054,
0.43428438901901245,
-0.384511262178421,
-0.06798596680164337,
-0.19160637259483337,
-0.06879396736621857,
0.17449064552783966,
-0.27162355184555054,
0.020892426371574402,
-0.13355597853660583,
0.14966508746147156,
0.03526666760444641,
0.10495954751968384,
-0.08434110879898071,
0.41053611040115356,
0.3694915771484375,
0.12409777194261551,
-0.07488280534744263,
0.6229233741760254,
0.13467541337013245,
-0.48612356185913086,
0.08899419009685516,
-0.08167590200901031,
0.24429240822792053,
0.38883739709854126,
-0.3940316140651703,
-0.7607232928276062,
-0.21917656064033508,
0.1398545801639557,
0.3866354823112488,
0.13906487822532654,
-0.22537383437156677,
-0.13940562307834625,
-0.19773554801940918,
-0.13940493762493134,
-0.014872896485030651,
0.13225606083869934,
0.2197689563035965,
-0.3946428894996643,
-0.0954115092754364,
-0.24671413004398346,
-0.191670224070549,
-0.04951147362589836,
-0.09488950669765472,
0.2863079905509949,
0.5201363563537598,
-0.033493153750896454,
0.14973744750022888,
0.35123273730278015,
-0.0548647940158844,
0.4070962071418762,
-0.1119517832994461,
0.07958812266588211,
0.14323754608631134,
-0.3439026474952698,
0.01415252685546875,
-0.13345998525619507,
0.5297743678092957,
0.4111102223396301,
0.0513976514339447,
0.08372888714075089,
0.21886885166168213,
0.2293458878993988,
0.1162554919719696,
0.03409359231591225,
-0.05823909118771553,
-0.1435580849647522,
0.3440670073032379,
0.3032723069190979,
-0.05982128158211708,
-0.02612006478011608,
0.012935519218444824,
-0.11299438774585724,
-0.4922785460948944,
-0.1642151027917862,
0.20162919163703918,
-0.3297790288925171,
-0.09423410147428513,
0.11796513944864273,
-0.4185841679573059,
0.2435649037361145,
-0.2392205148935318,
0.22542330622673035,
0.34116360545158386,
-0.07818259298801422,
0.15446063876152039,
-0.06987227499485016,
0.017165109515190125,
-0.04019322991371155,
-0.3330689072608948,
-0.0707998126745224,
-0.05751388147473335,
-0.2132866084575653,
0.1547151356935501,
0.118080273270607,
-0.34790411591529846,
0.1632683426141739,
0.04767632484436035,
0.4263076186180115,
0.36163339018821716,
-0.01019020564854145,
-0.07518923282623291,
0.1006941944360733,
-0.21420346200466156,
0.017356786876916885,
-0.02038716711103916,
-0.08407758176326752,
0.5804339051246643,
-0.07196130603551865,
0.35439789295196533,
-0.2394590973854065,
-0.315209299325943,
0.13015690445899963,
0.09542369097471237,
-0.2896042466163635,
0.072385773062706,
-0.13505476713180542,
-0.019987933337688446,
0.13180598616600037,
-0.2996225357055664,
0.04901260510087013,
-0.08070967346429825,
-0.23554113507270813,
-0.18696455657482147,
0.04553225636482239,
-0.053996533155441284,
0.207011878490448,
-0.18287131190299988,
-0.034338582307100296,
-0.05989957973361015,
0.31748726963996887,
0.254297137260437,
-0.12481102347373962,
0.028809186071157455,
-0.1999744474887848,
-0.3596104383468628,
0.2687470018863678,
-0.040988724678754807,
-0.37598979473114014,
-0.22685912251472473,
-0.09365493804216385,
-0.05879567563533783,
0.3629343509674072,
0.2525925636291504,
0.33054304122924805,
-0.18512184917926788,
0.28215429186820984,
0.3671051859855652,
-0.1621301919221878,
0.10978684574365616,
-0.35797253251075745,
0.05163764953613281,
0.32869821786880493,
0.6015621423721313,
0.04068388044834137,
-0.0156480073928833,
0.06741054356098175,
-0.1858721375465393,
0.1879710555076599,
-0.07758979499340057,
0.20440112054347992,
0.14468742907047272,
-0.16987472772598267,
0.23840083181858063,
0.07381020486354828,
-0.12495293468236923,
-0.020046792924404144,
0.06543299555778503,
0.09213238209486008,
0.08910974860191345,
0.11018086224794388,
-0.12431801855564117,
0.3424431085586548,
-0.2894907593727112,
-0.16392782330513,
-0.15775896608829498,
-0.024430645629763603,
0.07532886415719986,
0.36034804582595825,
-0.2597911059856415,
-0.018197879195213318,
-0.12882301211357117,
-0.2518802881240845,
-0.15745270252227783,
-0.6665959358215332,
0.1126432865858078,
-0.15762023627758026,
-0.13288027048110962,
0.028897039592266083,
0.19542044401168823,
-0.14117193222045898,
0.0061726938001811504,
-0.10359002649784088,
0.16429708898067474,
-0.14831829071044922,
-0.12387397885322571,
-0.07073519378900528,
0.09136614948511124,
0.044603168964385986,
-0.04326038807630539,
0.23103058338165283,
-0.02084047719836235,
0.08735758066177368,
-0.09206311404705048,
0.2063138484954834,
0.35205763578414917,
-0.5542058348655701,
0.043129488825798035,
-0.00271427258849144,
-0.30504801869392395,
0.014601597562432289,
0.20180875062942505,
-0.0797995775938034,
0.4644012153148651,
0.7137280106544495,
0.0023212507367134094,
0.25108692049980164,
0.07401987910270691,
-0.6002057194709778,
-0.07793285697698593,
0.12593741714954376,
-0.06232611462473869,
-0.049620769917964935,
0.0408259779214859,
-0.1125168725848198,
0.09608381986618042,
0.06609097123146057,
-0.10448300093412399,
0.3636511266231537,
0.2306361198425293,
0.1789245307445526,
-0.04280025511980057,
0.35288530588150024,
-0.14320321381092072,
-0.14559611678123474,
-0.12943026423454285,
-0.14953216910362244,
0.21325945854187012,
0.2005716860294342,
-0.12726351618766785,
-0.08028669655323029,
-0.3866426944732666,
0.2035643607378006,
0.31919145584106445,
-0.06505562365055084,
-0.09548437595367432,
-0.033779826015233994,
-0.20525619387626648,
-0.40849125385284424,
-0.07876671105623245,
-0.33171647787094116,
0.06096501648426056,
0.1310632824897766,
0.6428593397140503,
0.06939533352851868,
0.2565934658050537,
0.6699771881103516,
0.3664533495903015,
-0.07316330820322037,
0.02354968525469303,
-0.12421460449695587,
-0.2625216543674469,
-0.03148726373910904,
0.09276443719863892,
0.2420937865972519,
-0.08582103997468948,
0.34203052520751953,
-0.16204623878002167,
-0.12182223796844482,
-0.32477638125419617,
0.23263990879058838,
0.03634388744831085,
-0.006037116050720215,
-0.21950362622737885,
0.12522906064987183,
-0.13761357963085175,
0.08256866037845612,
-0.1996152251958847,
0.29605284333229065,
-0.5989969968795776,
-0.01297835074365139,
0.3083193004131317,
-0.18645256757736206,
0.005131201818585396,
0.04184570536017418,
-0.045492492616176605,
-0.3525608777999878,
-0.44573527574539185,
0.03624122217297554,
-0.1430862993001938,
0.15742269158363342,
-0.1712445616722107,
0.14466658234596252,
-0.4235256314277649,
-0.17886582016944885,
-0.09833425283432007,
-0.15516191720962524,
-0.9430455565452576,
0.3521251380443573,
-0.2260385900735855,
-0.23738320171833038,
-0.3247360587120056,
-0.11941176652908325,
0.14643259346485138,
0.6899406313896179,
0.14328837394714355,
0.1665455847978592,
-0.07853595912456512,
0.15016919374465942,
-0.08897973597049713,
0.4013923704624176,
0.2770034670829773,
-0.033891040831804276,
0.10043734312057495,
0.06331875920295715,
0.17887915670871735,
-0.0051378533244132996,
-0.22245031595230103,
0.4549425542354584,
0.3356425166130066,
0.09409473836421967,
-0.016445403918623924,
0.9399471282958984,
-0.272506982088089,
-0.3625982999801636,
0.0532110333442688,
0.10386405140161514,
0.13828390836715698,
-0.07984492927789688,
-0.22725151479244232,
0.6034490466117859,
0.05977816879749298,
-0.31004035472869873,
0.03034508228302002,
-0.2174508273601532,
0.1743360310792923,
-0.26523250341415405,
-0.01295587420463562,
0.09354960173368454,
-0.16438445448875427,
0.3257828950881958,
-0.017114318907260895,
0.10356774181127548,
-0.28926926851272583,
0.028593383729457855,
-0.26216891407966614,
-0.30240780115127563,
0.04921337217092514,
0.18506750464439392,
0.3610878884792328,
0.0330643504858017,
-0.28371328115463257,
-0.11887840181589127,
-0.39103665947914124,
0.24861741065979004,
0.20847266912460327,
0.01180361770093441,
0.05176093801856041,
0.03214838355779648,
0.15184026956558228,
0.10401570051908493,
0.5262329578399658,
-0.06684979796409607,
0.02675921842455864,
-0.07009081542491913,
-0.155186265707016,
-0.22953781485557556,
0.03877609595656395,
0.007179286330938339,
0.005475901532918215,
-0.1355660855770111,
-0.04988020658493042,
-0.3229091167449951,
-0.09297114610671997,
-0.19379909336566925,
0.24343258142471313,
-0.17812314629554749,
-0.29467281699180603,
-0.3549219071865082,
-0.02093147113919258,
-0.3090895116329193,
-0.09754281491041183,
0.08788379281759262,
-0.062314968556165695,
-0.39084577560424805,
0.2824147939682007,
0.08736858516931534,
0.3011775016784668,
0.06815055757761002,
0.06090884283185005,
0.24785500764846802,
-0.2877689599990845,
-0.011533573269844055,
0.4761499762535095,
0.0819200873374939,
0.3673388361930847,
0.07759885489940643,
-0.2444377839565277,
-0.08977489173412323,
0.13444450497627258,
-0.02879578247666359,
0.04691760987043381,
0.06514990329742432,
0.11230416595935822,
0.29113152623176575,
-0.0937492623925209,
0.11565981805324554,
-0.36795181035995483,
-0.09498804807662964,
-0.25124621391296387,
0.07425942271947861,
-0.3805736303329468,
-0.7667904496192932,
-0.025121115148067474,
0.42754489183425903,
-0.07195089757442474,
0.6165531873703003,
-0.47054845094680786,
-0.0007682666182518005,
0.22823548316955566,
0.057825274765491486,
0.975753903388977,
-0.26501691341400146,
0.17494560778141022,
-0.08173265308141708,
0.2150142937898636,
0.23162001371383667,
-0.1121111735701561,
0.38658344745635986,
-0.4202059805393219,
-0.3344767689704895,
0.06558771431446075,
-0.1213558167219162,
-0.013623148202896118,
0.31985706090927124,
-0.15182308852672577,
0.3902924358844757,
0.19757811725139618,
-0.22363051772117615,
-0.18839237093925476,
0.21724489331245422,
-0.40411368012428284,
-0.2321407049894333,
0.22359013557434082,
0.05268770456314087,
-0.31558388471603394,
0.4675930142402649,
-0.023445727303624153,
0.061237744987010956,
-0.055563606321811676,
0.025385946035385132,
-0.05960478261113167,
-0.10496295988559723,
-0.007298159878700972,
-0.10760955512523651,
0.11601239442825317,
-0.2225758582353592,
0.21165257692337036,
0.19215936958789825,
0.15400466322898865,
0.0478675551712513,
0.1716742217540741,
0.1495462954044342,
0.14909210801124573,
-0.06252684444189072,
-0.0437726192176342,
0.1130809634923935,
0.09446258842945099,
-0.03240497410297394,
-0.25774243474006653,
0.11300067603588104,
0.27474096417427063,
-0.5833417773246765,
-0.6232045292854309,
-0.19295041263103485,
0.44727134704589844,
-0.003788986708968878,
0.22419531643390656,
0.05686446279287338,
-0.000558752566576004,
-0.0667751356959343,
0.04811320826411247,
0.29627180099487305,
-0.25684067606925964,
0.2525818347930908,
-0.13749106228351593,
0.12441723048686981,
-0.05204807594418526,
0.37340047955513,
-0.17561638355255127,
0.1279885619878769,
0.04728585109114647,
0.22275696694850922,
-0.15829262137413025,
-0.08097405731678009,
-0.1138634979724884,
0.14844143390655518,
-0.2834387421607971,
0.002541110385209322,
-0.17081375420093536,
-0.07213598489761353,
-0.08482513576745987,
0.3120899200439453,
0.003309093415737152,
0.14054672420024872,
0.09776104986667633,
-0.27943146228790283,
-0.4836830794811249,
-0.00007371604442596436,
0.10740646719932556,
0.08815961331129074,
0.1918312907218933,
0.020011184737086296,
-0.1853942573070526,
0.20851686596870422,
-0.2603883147239685,
0.020749667659401894,
0.28455638885498047,
0.2545333504676819,
-0.06730803102254868,
-0.05978544056415558,
-0.37969696521759033,
-0.07252199947834015,
-0.039489347487688065,
0.09632177650928497,
-0.051560938358306885,
-0.08607251942157745,
0.0954788327217102,
0.10556668043136597,
0.10006216168403625,
0.0160323865711689,
-0.23728108406066895,
-0.31669318675994873,
0.020124897360801697,
-0.14728379249572754,
0.25430697202682495,
0.5206658840179443,
-0.023613914847373962,
0.1284663826227188,
0.4752299189567566,
-0.008088208734989166,
-0.16432727873325348,
0.3528122007846832,
-0.016042836010456085,
-0.18849001824855804,
0.03440305218100548,
-0.021760523319244385,
0.2198740392923355,
-0.1818752884864807,
-0.14242561161518097,
0.07368183881044388,
0.4221866726875305,
-0.08282161504030228,
0.1516515463590622,
-0.08359548449516296,
0.29101502895355225,
0.19365885853767395,
0.3331763446331024,
0.30684834718704224,
-0.006900419946759939,
-0.1370609998703003,
0.5387884974479675,
0.13677223026752472,
-0.03603561222553253,
0.01251115370541811,
-0.2074846774339676,
0.2590882480144501,
0.22543951869010925,
0.23107433319091797,
-0.2801942825317383,
-0.3184005618095398,
-0.3892592191696167,
-0.03996729850769043,
0.37363600730895996,
-0.10697922110557556,
-0.023732200264930725,
0.0826500952243805,
0.2065708190202713,
-0.1519038826227188,
0.3546244204044342,
-0.0035371817648410797,
0.022949911653995514,
0.18691334128379822,
0.11361966282129288,
0.8747281432151794,
0.13223303854465485,
-0.10672715306282043,
0.26272425055503845,
-0.44966697692871094,
0.12418997287750244,
0.2922263443470001,
0.15273833274841309,
-0.015194281935691833,
0.08636566996574402,
0.4797903895378113,
-0.09590563923120499,
-0.0657421350479126,
0.11994855850934982,
0.2468838095664978,
-0.06117618829011917,
0.052172787487506866,
-0.15226919949054718,
-0.2944079637527466,
-0.0605371855199337,
0.14217600226402283,
0.0676259845495224,
0.19788546860218048,
0.6124061346054077,
0.039646681398153305,
-0.12698490917682648,
-0.30561062693595886,
0.18199637532234192,
0.36966055631637573,
0.14121590554714203,
-0.013202842324972153,
-0.11037150770425797,
0.16924843192100525,
-0.14463676512241364,
0.686797022819519,
0.08247589319944382,
0.12326116859912872,
0.23108142614364624,
-0.31891801953315735,
0.12117446959018707,
-0.5023205876350403,
-0.013149261474609375,
-0.08835755288600922,
0.33879533410072327,
0.13383269309997559,
-0.22024865448474884,
0.2695659101009369,
0.026232236996293068,
-0.13032686710357666,
-0.049400728195905685,
0.20149782299995422,
0.09087932109832764,
0.1367037445306778,
0.17476505041122437,
0.02761778049170971,
-0.10559926927089691,
0.01160595566034317,
0.0025131404399871826,
-0.4752291142940521,
0.09089246392250061,
-0.15956129133701324,
-0.18600055575370789,
-0.0748371109366417,
-0.27543097734451294,
0.03220265358686447,
0.21510042250156403,
0.2799642086029053,
0.31081828474998474,
-0.004665382206439972,
-0.059665389358997345,
-0.44691163301467896,
-0.43709778785705566,
0.3125191032886505,
-0.06497469544410706,
0.10669529438018799,
-0.34675490856170654,
-0.09410247951745987,
0.1747891902923584,
0.14938409626483917,
-0.2726556658744812,
0.21277323365211487,
-0.07497468590736389,
0.7204638719558716,
-0.20184074342250824,
-0.08759801089763641,
-0.2993687391281128,
0.0995970144867897,
0.1795664280653,
-0.3586973547935486,
0.00041504576802253723,
0.19342637062072754,
0.03421402722597122,
0.0003761071711778641,
0.1864842176437378,
-0.10781325399875641,
-0.2186216115951538,
-0.06879231333732605,
0.026293832808732986,
0.3666083514690399,
0.043355025351047516,
0.13320282101631165,
-0.012826230376958847,
0.2314785271883011,
-0.31933555006980896,
-0.011905193328857422,
0.17829221487045288,
0.12905257940292358,
0.16477186977863312,
-0.23143570125102997,
-0.5010426044464111,
0.4356541335582733,
-0.21529309451580048,
0.11475128680467606,
-0.42436113953590393,
0.19179904460906982,
0.024790078401565552,
0.25602203607559204,
0.01271084975451231,
0.275612473487854,
0.028151027858257294,
-0.01670461893081665,
-0.39708423614501953,
0.13237109780311584,
0.5565845966339111,
-0.37017786502838135,
-0.28196078538894653,
-0.5279882550239563,
-0.0292997807264328,
0.19579584896564484,
-0.12039550393819809,
-0.4141182005405426,
0.07745332270860672,
-0.07364936918020248,
0.15907707810401917,
0.4474385380744934,
0.0008261073380708694,
0.03320257365703583,
0.03503141179680824,
-0.14300985634326935,
0.1949491798877716,
0.03753496706485748,
-0.0205246489495039,
-0.0015495754778385162,
-0.09312593191862106
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq Is there a way I could shuffle the datasets from this library with a custom defined shuffle function? thanks for your help on this. | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 25 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
@lhoestq Is there a way I could shuffle the datasets from this library with a custom defined shuffle function? thanks for your help on this. | [
-0.3035784959793091,
-0.15417565405368805,
-0.042893704026937485,
0.3373780846595764,
0.12449664622545242,
-0.04052481800317764,
0.14959931373596191,
0.06986890733242035,
-0.09886603057384491,
0.49832308292388916,
-0.14780065417289734,
0.536797821521759,
-0.36748355627059937,
-0.3628564476966858,
-0.17356982827186584,
-0.20256823301315308,
0.11657184362411499,
-0.08298908174037933,
-0.2299022376537323,
0.0604962483048439,
-0.15839970111846924,
-0.22538822889328003,
-0.2725287675857544,
0.04954289644956589,
-0.11483519524335861,
0.013012915849685669,
0.035438649356365204,
-0.0336138978600502,
-0.2428324669599533,
0.11440805345773697,
-0.0953737273812294,
0.5520758032798767,
0.17181871831417084,
0.4014338552951813,
-0.0001167589143733494,
-0.2259283810853958,
0.20706605911254883,
-0.16967907547950745,
-0.1488468497991562,
-0.25119340419769287,
0.47791221737861633,
0.445422500371933,
-0.397760808467865,
0.03113267570734024,
-0.1117490902543068,
-0.15131384134292603,
0.14593489468097687,
-0.5109873414039612,
-0.069283127784729,
0.055729251354932785,
0.15962883830070496,
-0.21496868133544922,
0.10805794596672058,
-0.039550162851810455,
0.6648826003074646,
0.46617037057876587,
0.0026008468121290207,
-0.07281474769115448,
0.614660382270813,
0.09565471112728119,
-0.25292932987213135,
-0.03400445729494095,
-0.044613391160964966,
0.17981544137001038,
0.413914293050766,
-0.32627174258232117,
-0.7432286739349365,
-0.10332539677619934,
0.18016299605369568,
0.48212000727653503,
0.3446730971336365,
-0.3318505585193634,
-0.0814986601471901,
-0.19263097643852234,
0.006785390432924032,
0.0644693449139595,
0.19911208748817444,
0.1914747804403305,
-0.27671462297439575,
-0.19706597924232483,
-0.22437208890914917,
-0.1730787456035614,
0.07460334897041321,
-0.05824057757854462,
0.33566296100616455,
0.6138371229171753,
0.010508614592254162,
0.17137765884399414,
0.42572078108787537,
-0.18077126145362854,
0.731917679309845,
-0.045285820960998535,
-0.05503946170210838,
0.3110681474208832,
-0.23745249211788177,
-0.0331256240606308,
-0.156136155128479,
0.3568582832813263,
0.43293240666389465,
-0.020371776074171066,
0.10304663330316544,
0.23465615510940552,
0.03947312757372856,
0.10867209732532501,
0.1352601796388626,
-0.16302894055843353,
-0.14425766468048096,
0.36005133390426636,
0.3103070855140686,
-0.10913828760385513,
-0.09710022062063217,
-0.08090885728597641,
-0.1866467148065567,
-0.3205391764640808,
-0.33097460865974426,
0.10765490680932999,
-0.4172232151031494,
-0.09613342583179474,
0.0702725425362587,
-0.4154547154903412,
0.11841870099306107,
-0.24126018583774567,
0.16864340007305145,
0.260501891374588,
-0.0206943079829216,
0.11924706399440765,
-0.09619396924972534,
-0.02506864443421364,
0.08248434960842133,
-0.24027977883815765,
0.010715274140238762,
-0.004907000809907913,
-0.3077452778816223,
0.07750560343265533,
0.10805833339691162,
-0.3181447684764862,
0.19226603209972382,
-0.037617504596710205,
0.3117220997810364,
0.37711870670318604,
0.037949301302433014,
-0.134733647108078,
0.11173084378242493,
-0.2570710778236389,
0.11975793540477753,
0.006449542939662933,
-0.15851065516471863,
0.498046338558197,
-0.26372867822647095,
0.3558022379875183,
-0.22561860084533691,
-0.1844998598098755,
0.024465542286634445,
0.07725482434034348,
-0.25566041469573975,
0.05637708306312561,
-0.18954721093177795,
0.021131053566932678,
0.03478582203388214,
-0.4529849588871002,
0.03639362007379532,
-0.14876455068588257,
-0.18730959296226501,
-0.20745742321014404,
-0.126164972782135,
-0.120378777384758,
-0.031656283885240555,
-0.038546495139598846,
-0.1719411462545395,
0.01789773628115654,
0.31673017144203186,
0.14438651502132416,
-0.15339861810207367,
0.10729429125785828,
-0.30123621225357056,
-0.4549749493598938,
0.4599810242652893,
0.048192720860242844,
-0.3062148988246918,
-0.2992991805076599,
0.0671849250793457,
-0.02601958066225052,
0.2625826895236969,
0.2745354175567627,
0.22867171466350555,
-0.2559613287448883,
0.29821932315826416,
0.36079341173171997,
-0.13939939439296722,
0.09645070880651474,
-0.13352030515670776,
-0.08128944784402847,
0.4252733588218689,
0.5648544430732727,
0.13008813560009003,
-0.053502656519412994,
0.165564626455307,
0.024084709584712982,
0.12394729256629944,
-0.05195033177733421,
0.08254978805780411,
0.00962684117257595,
-0.2304040640592575,
0.3558780550956726,
0.03630156069993973,
-0.13824373483657837,
0.12115441262722015,
-0.04424610361456871,
0.17569215595722198,
-0.086056649684906,
0.2649949789047241,
-0.10330138355493546,
0.2996019721031189,
-0.3137805163860321,
-0.08382298052310944,
-0.13939955830574036,
0.008071858435869217,
0.2437380701303482,
0.2525041997432709,
-0.21780061721801758,
-0.09471408277750015,
-0.09061235189437866,
-0.3220292031764984,
-0.22030380368232727,
-0.67009037733078,
0.05596080422401428,
-0.006242046132683754,
-0.13087408244609833,
0.11502408981323242,
0.18164896965026855,
-0.17197850346565247,
0.041949693113565445,
-0.1544872224330902,
0.19020920991897583,
-0.08647185564041138,
-0.14965596795082092,
0.026389585807919502,
0.0747578963637352,
-0.06110772490501404,
-0.04189470410346985,
0.25155842304229736,
0.043516457080841064,
0.1604134440422058,
-0.05062253773212433,
0.07994599640369415,
0.4821776747703552,
-0.5742490291595459,
0.09721671044826508,
-0.006511550396680832,
-0.3149256706237793,
0.03203216940164566,
0.24175980687141418,
0.0035511162132024765,
0.4444434940814972,
0.5479026436805725,
0.1385602056980133,
0.29272884130477905,
-0.01338888518512249,
-0.4744555950164795,
-0.2436845600605011,
0.3090004622936249,
0.10827019810676575,
-0.04052085429430008,
0.10829997807741165,
-0.15262585878372192,
0.11045324057340622,
-0.001948302611708641,
-0.09884010255336761,
0.409427285194397,
0.2262384295463562,
0.0735640674829483,
-0.003062218427658081,
0.3619108498096466,
-0.11182288080453873,
-0.1624467968940735,
-0.1876968890428543,
-0.269088476896286,
0.1019110232591629,
0.11997003853321075,
-0.17986470460891724,
-0.1780312955379486,
-0.3670768141746521,
0.09400781244039536,
0.30326536297798157,
-0.05731409043073654,
-0.09242713451385498,
-0.12321265786886215,
-0.16835638880729675,
-0.2929193675518036,
-0.1665651947259903,
-0.20373089611530304,
-0.016137242317199707,
0.09902239590883255,
0.563167154788971,
0.053662147372961044,
0.14821390807628632,
0.6211819648742676,
0.2635800540447235,
-0.051816366612911224,
-0.13974076509475708,
-0.08136209100484848,
-0.20255765318870544,
-0.11799541860818863,
0.1520366370677948,
0.21281284093856812,
-0.0477297306060791,
0.35964855551719666,
-0.15956458449363708,
-0.03598254919052124,
-0.3572949469089508,
0.18921047449111938,
0.0093764066696167,
0.08590938150882721,
-0.25735577940940857,
0.3506406545639038,
-0.3062872290611267,
0.11703909933567047,
-0.20537249743938446,
0.1324307918548584,
-0.6321335434913635,
0.1780332326889038,
0.14447221159934998,
-0.16175644099712372,
0.18219798803329468,
-0.06489093601703644,
-0.08450957387685776,
-0.2052391916513443,
-0.4204809069633484,
-0.012671910226345062,
0.005951482802629471,
0.17968493700027466,
-0.3157528340816498,
0.16285692155361176,
-0.2896277606487274,
-0.13751766085624695,
-0.2135571390390396,
-0.24770225584506989,
-0.978340744972229,
0.4515039622783661,
-0.24056847393512726,
-0.15773950517177582,
-0.1128491535782814,
-0.06333602964878082,
0.20252574980258942,
0.7796788215637207,
0.13097277283668518,
0.395317405462265,
0.06788845360279083,
0.0575835146009922,
-0.1564134657382965,
0.4933387041091919,
0.18914462625980377,
-0.12893250584602356,
0.12320829927921295,
0.00865357369184494,
0.09947532415390015,
-0.033810414373874664,
-0.2088817059993744,
0.6188431978225708,
0.42723074555397034,
0.1347937434911728,
-0.09983804821968079,
0.77303147315979,
-0.41629213094711304,
-0.3284846842288971,
0.07621445506811142,
-0.02083696611225605,
0.3319324851036072,
-0.12067482620477676,
-0.03348424285650253,
0.5191320776939392,
0.24834004044532776,
-0.2873215675354004,
0.0842626616358757,
-0.12390745431184769,
0.035982877016067505,
-0.293049693107605,
0.06321503221988678,
0.130996435880661,
-0.12774859368801117,
0.3286907970905304,
-0.14185303449630737,
-0.07638552039861679,
-0.26068833470344543,
0.1498631238937378,
-0.26875630021095276,
-0.2925870716571808,
0.00512175727635622,
0.02671954780817032,
0.40236690640449524,
-0.02031913958489895,
-0.1828020215034485,
-0.21862292289733887,
-0.2036702036857605,
0.15997880697250366,
0.13475801050662994,
0.053083598613739014,
0.09408669173717499,
0.11230575293302536,
0.1004629135131836,
0.13521960377693176,
0.3906804323196411,
-0.27223196625709534,
-0.06596651673316956,
0.05626208707690239,
0.04079246520996094,
-0.25428590178489685,
0.009718354791402817,
0.04093284532427788,
-0.05803597718477249,
-0.1821451187133789,
-0.2019442319869995,
-0.15848521888256073,
0.0479806587100029,
-0.2313152253627777,
0.20621784031391144,
-0.11439532041549683,
-0.261292040348053,
-0.24407421052455902,
-0.11707894504070282,
-0.3092527985572815,
-0.14732319116592407,
-0.0473460853099823,
-0.1787184327840805,
-0.2922312915325165,
0.10146108269691467,
0.0012468881905078888,
0.1970522701740265,
0.1632232666015625,
-0.016788506880402565,
0.23735526204109192,
-0.12064707279205322,
-0.15053534507751465,
0.3263995349407196,
-0.09977418184280396,
0.36664462089538574,
-0.015078552067279816,
-0.037174466997385025,
0.04330688714981079,
0.1564740240573883,
-0.1848745048046112,
-0.006305143237113953,
0.017394930124282837,
0.022434353828430176,
0.29080823063850403,
-0.3455905020236969,
0.007311366498470306,
-0.14094345271587372,
-0.02493254467844963,
-0.17637266218662262,
-0.14747217297554016,
-0.31599003076553345,
-1.0068507194519043,
0.04345269128680229,
0.4618211090564728,
-0.027327656745910645,
0.7483633160591125,
-0.6196621060371399,
-0.1764824241399765,
0.14547084271907806,
0.2752571105957031,
0.8909561038017273,
-0.26050716638565063,
-0.014115143567323685,
-0.19147899746894836,
0.08501003682613373,
0.33175352215766907,
-0.3643653392791748,
0.15182633697986603,
-0.3686317801475525,
-0.1354748010635376,
0.0021884292364120483,
-0.09106217324733734,
0.03691834956407547,
0.27985477447509766,
-0.11819559335708618,
0.4254440367221832,
0.12254081666469574,
-0.04092801734805107,
-0.13673053681850433,
0.12313622236251831,
-0.4476028084754944,
-0.2032688558101654,
0.08122614026069641,
0.06478042900562286,
-0.1984681934118271,
0.32335013151168823,
0.02736050635576248,
0.02933453768491745,
-0.08889929950237274,
0.009071271866559982,
-0.20120175182819366,
-0.12125581502914429,
0.037164926528930664,
-0.2789335250854492,
-0.039137255400419235,
-0.07070878148078918,
0.3410104513168335,
0.2221718281507492,
0.20669791102409363,
0.21151641011238098,
0.0631888210773468,
0.2110837996006012,
0.12622632086277008,
0.019633136689662933,
-0.13094854354858398,
0.24684298038482666,
-0.019064249470829964,
-0.03733493760228157,
-0.07618419826030731,
0.32465699315071106,
0.2959074079990387,
-0.5829526782035828,
-0.614409327507019,
-0.19217754900455475,
0.5890187621116638,
0.02327588014304638,
0.24785615503787994,
-0.03320300579071045,
0.024977080523967743,
-0.004700478166341782,
0.06359291076660156,
0.22837932407855988,
-0.20383372902870178,
0.2793617844581604,
-0.24414952099323273,
0.13134123384952545,
-0.09813264012336731,
0.2720230519771576,
0.015682600438594818,
0.07149361819028854,
-0.02811913937330246,
0.14959006011486053,
-0.005501674488186836,
-0.07354722917079926,
-0.04777389019727707,
0.1613064706325531,
-0.07963351905345917,
-0.048118870705366135,
-0.14575724303722382,
-0.13718870282173157,
0.05581660196185112,
0.223628968000412,
-0.16741308569908142,
0.241068035364151,
0.05282432213425636,
-0.2295512706041336,
-0.38808467984199524,
-0.09958697855472565,
0.059105031192302704,
0.08935677260160446,
0.1823503077030182,
-0.10403667390346527,
-0.17207184433937073,
-0.02435864694416523,
-0.22160756587982178,
0.04587187618017197,
0.3218083381652832,
0.25354069471359253,
-0.17670759558677673,
0.26603323221206665,
-0.5071166753768921,
0.008851004764437675,
-0.024115676060318947,
0.2084847092628479,
-0.08044590801000595,
-0.05801922082901001,
0.0701223611831665,
0.12332278490066528,
0.11402294039726257,
0.15108655393123627,
-0.2069823294878006,
-0.39000552892684937,
-0.1493140459060669,
-0.17968803644180298,
0.18976682424545288,
0.39228662848472595,
-0.06368458271026611,
0.14265850186347961,
0.40878209471702576,
0.03292732685804367,
-0.18148095905780792,
0.3096797466278076,
-0.10865266621112823,
-0.11742103099822998,
0.061627816408872604,
0.0041310228407382965,
0.19798965752124786,
-0.18513277173042297,
-0.20977258682250977,
0.05405604839324951,
0.2748888432979584,
-0.055620066821575165,
0.22778549790382385,
-0.016829654574394226,
0.31219759583473206,
0.30895668268203735,
0.15173818171024323,
0.5174768567085266,
-0.007175586652010679,
-0.19556252658367157,
0.5407363176345825,
0.07634693384170532,
-0.01794198900461197,
0.021346142515540123,
-0.3296200931072235,
0.3085443377494812,
0.08361190557479858,
0.16318193078041077,
-0.18925516307353973,
-0.394008070230484,
-0.3025417923927307,
-0.17446216940879822,
0.3674493432044983,
-0.1503722220659256,
0.080206498503685,
0.38467758893966675,
0.10085318982601166,
-0.11097466945648193,
0.20331285893917084,
-0.0933496356010437,
-0.009155340492725372,
0.5316181182861328,
0.12598958611488342,
0.7887240648269653,
0.21260282397270203,
-0.1384000927209854,
0.22696423530578613,
-0.37329795956611633,
0.1743653118610382,
0.5442453622817993,
0.2306520640850067,
0.1007847860455513,
0.17583820223808289,
0.3211454153060913,
0.07411838322877884,
0.1789505034685135,
0.12954986095428467,
0.09768830984830856,
0.028966421261429787,
0.11936484277248383,
-0.14956632256507874,
-0.32161539793014526,
-0.17208687961101532,
0.16851845383644104,
-0.0052107758820056915,
0.14266668260097504,
0.4082622528076172,
0.003906682133674622,
0.019995316863059998,
-0.32504379749298096,
0.4161902368068695,
0.1790069341659546,
0.10972678661346436,
-0.07259763777256012,
-0.2148459255695343,
0.0006915628910064697,
-0.07706518471240997,
0.721503734588623,
-0.10620947927236557,
0.017263613641262054,
0.3384530246257782,
-0.2357691526412964,
-0.018382709473371506,
-0.4908437430858612,
-0.029821941629052162,
-0.12635232508182526,
0.3056736886501312,
0.19389724731445312,
-0.11863119900226593,
0.2694052457809448,
0.05559222400188446,
-0.12575086951255798,
-0.08722105622291565,
0.10306088626384735,
0.10905420780181885,
0.05057632923126221,
0.0969417542219162,
0.027577318251132965,
-0.0019592642784118652,
-0.00818173959851265,
-0.018519021570682526,
-0.2531486451625824,
-0.11319760978221893,
-0.2802995443344116,
-0.012527886778116226,
-0.060691095888614655,
-0.19677121937274933,
0.019761428236961365,
0.1342768669128418,
0.19093193113803864,
0.18292737007141113,
-0.02724408358335495,
0.1152951642870903,
-0.5936116576194763,
-0.439676433801651,
0.2917502820491791,
0.03768042474985123,
0.1616152822971344,
-0.2866862416267395,
-0.022107021883130074,
0.21168474853038788,
0.14670667052268982,
-0.25902652740478516,
0.2443230301141739,
0.09684891253709793,
0.7042540311813354,
-0.15147271752357483,
-0.2618575692176819,
-0.320906400680542,
0.13666923344135284,
0.09318919479846954,
-0.320206880569458,
-0.09154455363750458,
0.013640142045915127,
-0.0026882290840148926,
-0.07249042391777039,
0.11631476879119873,
-0.10753080248832703,
-0.04124509543180466,
0.12096118927001953,
-0.07396964728832245,
0.31660154461860657,
0.019390303641557693,
0.2714436948299408,
-0.1365828663110733,
0.30972281098365784,
-0.208718404173851,
-0.07336597889661789,
0.1528330147266388,
0.08137970417737961,
0.13042251765727997,
-0.06800778210163116,
-0.4727526605129242,
0.39951345324516296,
-0.13416801393032074,
0.4174215793609619,
-0.4970863163471222,
0.12631000578403473,
-0.007354706525802612,
0.23552726209163666,
-0.09872183203697205,
0.11730465292930603,
0.010846223682165146,
-0.10506900399923325,
-0.33782410621643066,
0.25947698950767517,
0.4067915976047516,
-0.2430846393108368,
-0.40093323588371277,
-0.47602641582489014,
-0.07605710625648499,
0.24411234259605408,
-0.11449754983186722,
-0.42488107085227966,
0.178508460521698,
0.07271599024534225,
0.23168018460273743,
0.5036865472793579,
-0.008012020960450172,
-0.006916984915733337,
0.16530092060565948,
-0.09758415818214417,
0.031126253306865692,
0.13354447484016418,
0.0665062665939331,
0.006538663059473038,
-0.12021513283252716
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | Right now the shuffle method only accepts the `seed` (optional int) or `generator` (optional `np.random.Generator`) parameters.
Here is a suggestion to shuffle the data using your own shuffle method using `select`.
`select` can be used to re-order the dataset samples or simply pick a few ones if you want.
It's what is used under the hood when you call `dataset.shuffle`.
To use `select` you must have the list of re-ordered indices of your samples.
Let's say you have a `shuffle` methods that you want to use. Then you can first build your shuffled list of indices:
```python
shuffled_indices = shuffle(range(len(dataset)))
```
Then you can shuffle your dataset using the shuffled indices with
```python
shuffled_dataset = dataset.select(shuffled_indices)
```
Hope that helps | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 120 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
Right now the shuffle method only accepts the `seed` (optional int) or `generator` (optional `np.random.Generator`) parameters.
Here is a suggestion to shuffle the data using your own shuffle method using `select`.
`select` can be used to re-order the dataset samples or simply pick a few ones if you want.
It's what is used under the hood when you call `dataset.shuffle`.
To use `select` you must have the list of re-ordered indices of your samples.
Let's say you have a `shuffle` methods that you want to use. Then you can first build your shuffled list of indices:
```python
shuffled_indices = shuffle(range(len(dataset)))
```
Then you can shuffle your dataset using the shuffled indices with
```python
shuffled_dataset = dataset.select(shuffled_indices)
```
Hope that helps | [
-0.23207023739814758,
-0.15940788388252258,
-0.01325974240899086,
0.2492865025997162,
0.19171619415283203,
0.01612868905067444,
0.08609332144260406,
0.12564118206501007,
-0.07389272004365921,
0.5062567591667175,
-0.05656026303768158,
0.6657477021217346,
-0.31636080145835876,
-0.36144784092903137,
-0.16844266653060913,
-0.2553733289241791,
0.043746162205934525,
-0.16308212280273438,
-0.21351510286331177,
0.0325610488653183,
-0.23936274647712708,
-0.2892499268054962,
-0.26466208696365356,
-0.005998775362968445,
-0.11966206878423691,
0.06041322648525238,
-0.09577804058790207,
0.06974361091852188,
-0.23134483397006989,
-0.03457159176468849,
-0.1720064878463745,
0.5989305377006531,
0.198505237698555,
0.4059640169143677,
-0.00011337560135871172,
-0.153708815574646,
0.2525961995124817,
-0.16609477996826172,
-0.29858171939849854,
-0.2896048426628113,
0.38126593828201294,
0.30885377526283264,
-0.43352532386779785,
0.08592648059129715,
-0.22950813174247742,
-0.30082079768180847,
0.18078535795211792,
-0.33557724952697754,
-0.018414273858070374,
0.06140096113085747,
0.16726477444171906,
0.001204710453748703,
0.2648462653160095,
-0.06708450615406036,
0.5199615955352783,
0.3149350881576538,
0.09372206777334213,
-0.07531499862670898,
0.5529651641845703,
0.18219634890556335,
-0.1812998354434967,
-0.0414467491209507,
-0.0807732492685318,
0.17666059732437134,
0.32870638370513916,
-0.27666038274765015,
-0.5377695560455322,
-0.11969225108623505,
0.1335410475730896,
0.4067075252532959,
0.25319159030914307,
-0.19977682828903198,
-0.21018388867378235,
-0.30138835310935974,
-0.029287420213222504,
-0.035788316279649734,
0.10974512994289398,
0.21074160933494568,
-0.3999198079109192,
-0.14964109659194946,
-0.2572132647037506,
-0.08339645713567734,
0.11183881759643555,
-0.1043696403503418,
0.2718879282474518,
0.6229636669158936,
0.08897306025028229,
0.1400696039199829,
0.43788060545921326,
-0.13113953173160553,
0.8134349584579468,
-0.08635880798101425,
-0.00977165624499321,
0.22107739746570587,
-0.2670789957046509,
0.004942968487739563,
-0.03207598626613617,
0.34737300872802734,
0.3770248293876648,
-0.049166664481163025,
0.14656375348567963,
0.12736427783966064,
0.042808566242456436,
0.06363243609666824,
0.12321653962135315,
-0.1424034833908081,
-0.18582093715667725,
0.39289918541908264,
0.22174765169620514,
-0.175911545753479,
0.11672495305538177,
-0.08500347286462784,
-0.18129952251911163,
-0.5007685422897339,
-0.19295983016490936,
0.20076477527618408,
-0.4478091597557068,
0.052651192992925644,
0.0036984961479902267,
-0.4550371766090393,
0.09644747525453568,
-0.2533772885799408,
0.23302485048770905,
0.27214041352272034,
-0.06887990981340408,
0.16469481587409973,
-0.02865692973136902,
0.045834146440029144,
0.09069643914699554,
-0.2706475555896759,
-0.03522605448961258,
-0.12919741868972778,
-0.1892329454421997,
0.045685775578022,
0.06701768934726715,
-0.2744116485118866,
0.16277074813842773,
0.08379051089286804,
0.21749834716320038,
0.47824180126190186,
-0.0006481222808361053,
-0.007560451980680227,
0.13729697465896606,
-0.14947770535945892,
0.2428743839263916,
0.018435141071677208,
-0.17084042727947235,
0.36591243743896484,
-0.17720752954483032,
0.4577908217906952,
-0.2956353425979614,
-0.2572661340236664,
0.09980108588933945,
0.10694605112075806,
-0.11862751096487045,
0.03584383800625801,
-0.20695525407791138,
0.006339497864246368,
0.016793973743915558,
-0.3003845512866974,
-0.0010501518845558167,
-0.21858619153499603,
-0.09862825274467468,
-0.23803453147411346,
0.05922941863536835,
-0.05684800446033478,
0.03860801085829735,
0.008092567324638367,
-0.10430919378995895,
0.16380995512008667,
0.32110801339149475,
0.1710614562034607,
-0.11241108179092407,
0.10077356547117233,
-0.2374943196773529,
-0.521967351436615,
0.3435091972351074,
0.04742313548922539,
-0.24106049537658691,
-0.2898804247379303,
0.06868991255760193,
-0.04733873903751373,
0.23726886510849,
0.23897205293178558,
0.09424607455730438,
-0.20640802383422852,
0.4309085011482239,
0.4226895570755005,
-0.2441985011100769,
0.11566538363695145,
-0.20871561765670776,
0.03453230857849121,
0.3860127329826355,
0.5716754198074341,
0.0606420636177063,
-0.048086978495121,
-0.02354820817708969,
-0.15553155541419983,
0.17888608574867249,
-0.08602438867092133,
-0.03819148242473602,
0.005340779200196266,
-0.2328805774450302,
0.2788630425930023,
-0.01275504007935524,
-0.024550478905439377,
0.09934087842702866,
0.08808232098817825,
0.1925428807735443,
-0.05314796417951584,
0.164605051279068,
-0.053692955523729324,
0.20904526114463806,
-0.318884938955307,
-0.15544971823692322,
-0.16698205471038818,
0.04409896582365036,
0.1306566596031189,
0.3118700683116913,
-0.23163945972919464,
-0.034785933792591095,
-0.09882804751396179,
-0.18876022100448608,
-0.14459264278411865,
-0.6924346685409546,
0.06503693759441376,
-0.1370726227760315,
-0.20323778688907623,
0.11832752823829651,
0.10860687494277954,
0.01625613123178482,
0.07439824193716049,
-0.09769335389137268,
0.2368776500225067,
-0.07161998003721237,
-0.2531089782714844,
-0.07597819715738297,
-0.004303410649299622,
-0.02514338307082653,
-0.040089771151542664,
0.1345902979373932,
0.13208173215389252,
0.15724286437034607,
-0.07396893948316574,
0.07457908987998962,
0.5301995873451233,
-0.7165845036506653,
0.04976256936788559,
0.040251605212688446,
-0.1974242627620697,
-0.004038585349917412,
0.27289989590644836,
-0.01753552258014679,
0.4752104580402374,
0.5115847587585449,
0.20749108493328094,
0.18196402490139008,
-0.05438318848609924,
-0.5250878930091858,
-0.11700130254030228,
0.24661365151405334,
0.05880497768521309,
-0.0901358351111412,
-0.005235809832811356,
-0.20302149653434753,
0.1712268590927124,
-0.08458495140075684,
-0.06756595522165298,
0.325494647026062,
0.29403063654899597,
0.09347230195999146,
-0.04218823462724686,
0.3154894709587097,
-0.170266255736351,
-0.08337631076574326,
-0.15478606522083282,
-0.317416250705719,
0.11403132975101471,
0.19090129435062408,
-0.13674943149089813,
-0.09720538556575775,
-0.18782612681388855,
0.12526515126228333,
0.3246989846229553,
-0.09317667782306671,
-0.0015377886593341827,
-0.16048264503479004,
-0.05846734717488289,
-0.2479928731918335,
-0.21152545511722565,
-0.19116003811359406,
-0.0813388079404831,
0.14893196523189545,
0.591138482093811,
-0.018311703577637672,
0.16340887546539307,
0.6033517718315125,
0.0933411568403244,
0.10490722954273224,
-0.017925212159752846,
-0.13551732897758484,
-0.25513380765914917,
-0.09390797466039658,
0.1050560474395752,
0.1692865937948227,
-0.10763419419527054,
0.3447980582714081,
-0.18171989917755127,
-0.18302054703235626,
-0.19679845869541168,
0.2760646641254425,
-0.014538146555423737,
-0.012023087590932846,
-0.11335970461368561,
0.19157344102859497,
-0.21359039843082428,
0.130222350358963,
-0.22644571959972382,
0.2502765953540802,
-0.5216255784034729,
0.16275061666965485,
0.26324063539505005,
-0.06648452579975128,
0.060491207987070084,
0.0069144107401371,
-0.12090388685464859,
-0.21862180531024933,
-0.41051602363586426,
-0.0653211772441864,
0.012649275362491608,
0.17356804013252258,
-0.16618743538856506,
0.20614506304264069,
-0.3581281900405884,
0.003516094060614705,
-0.21080979704856873,
-0.15083883702754974,
-0.8749735355377197,
0.5189688205718994,
-0.22511205077171326,
-0.1516726166009903,
-0.2170840948820114,
-0.0929623544216156,
0.012395590543746948,
0.7811896204948425,
0.32073354721069336,
0.3386204242706299,
-0.05241236090660095,
0.1517132967710495,
-0.10092905163764954,
0.5109636783599854,
0.27287521958351135,
-0.05090577155351639,
0.11228658258914948,
0.07771734148263931,
0.09038592875003815,
-0.06634963303804398,
-0.05046876519918442,
0.574165940284729,
0.42478007078170776,
0.2213636040687561,
-0.0017521195113658905,
0.8899257183074951,
-0.2905634343624115,
-0.2638382911682129,
0.0426003634929657,
-0.030740709975361824,
0.25238633155822754,
-0.1464751958847046,
-0.14053498208522797,
0.3846741318702698,
0.19285452365875244,
-0.2621258795261383,
-0.02092970907688141,
-0.1710180938243866,
0.17170533537864685,
-0.2726280391216278,
0.10281383991241455,
0.07036320120096207,
-0.17737796902656555,
0.3632209002971649,
-0.13837340474128723,
0.007182702422142029,
-0.2943246066570282,
0.240136981010437,
-0.2781676650047302,
-0.28996580839157104,
-0.04484928399324417,
-0.014197766780853271,
0.48088911175727844,
-0.030347373336553574,
-0.15379421412944794,
-0.16660992801189423,
-0.36388424038887024,
0.162934809923172,
0.1091473326086998,
0.08973292261362076,
0.22934021055698395,
0.016232889145612717,
0.0828845277428627,
0.03604269027709961,
0.5378269553184509,
-0.2389102727174759,
-0.061505429446697235,
0.0643535703420639,
0.0022729672491550446,
-0.3917083144187927,
-0.027463002130389214,
-0.035339388996362686,
-0.08401664346456528,
-0.16363832354545593,
-0.24831601977348328,
-0.22894230484962463,
0.009220745414495468,
-0.23708564043045044,
0.23720183968544006,
-0.20008425414562225,
-0.2044200748205185,
-0.26200804114341736,
-0.16918206214904785,
-0.2880614399909973,
-0.1470838487148285,
0.026141857728362083,
-0.11241918057203293,
-0.37210607528686523,
0.20720000565052032,
-0.012404890730977058,
0.16871777176856995,
0.1065882220864296,
0.022067390382289886,
0.22787809371948242,
-0.15508271753787994,
0.015136171132326126,
0.4244745373725891,
-0.09991824626922607,
0.44535863399505615,
0.01624906435608864,
-0.034913260489702225,
0.040087249130010605,
0.0022082943469285965,
-0.11648406088352203,
-0.01660759001970291,
0.03537019342184067,
0.035053301602602005,
0.16047069430351257,
-0.3022455871105194,
0.05734431371092796,
-0.1874418407678604,
-0.1031922698020935,
-0.0987754538655281,
-0.2239028662443161,
-0.26449519395828247,
-0.94206303358078,
0.09818513691425323,
0.39582937955856323,
-0.06404324620962143,
0.6643550395965576,
-0.495169997215271,
-0.17478680610656738,
0.2509576082229614,
0.13977771997451782,
0.7741405367851257,
-0.22926945984363556,
0.0014746487140655518,
-0.0686025395989418,
0.10832846164703369,
0.22155117988586426,
-0.09785118699073792,
0.28581684827804565,
-0.33492887020111084,
-0.25676509737968445,
0.043929703533649445,
-0.13660480082035065,
-0.02361157536506653,
0.3318226933479309,
-0.11522001028060913,
0.45596423745155334,
-0.004294432699680328,
-0.24500948190689087,
-0.13903698325157166,
0.07538335025310516,
-0.4081735610961914,
-0.15594424307346344,
0.16240374743938446,
0.04283402860164642,
-0.16445083916187286,
0.3086211383342743,
0.10534338653087616,
-0.019779153168201447,
-0.10581402480602264,
-0.022931478917598724,
-0.22601906955242157,
-0.12323293089866638,
-0.07996863126754761,
-0.20858804881572723,
0.013517752289772034,
-0.15671569108963013,
0.26887843012809753,
0.21939463913440704,
0.3042418658733368,
0.18924324214458466,
0.07487757503986359,
0.19464270770549774,
0.23300430178642273,
-0.0012368581956252456,
-0.16486142575740814,
0.16221927106380463,
0.14204031229019165,
0.03105359524488449,
-0.10798000544309616,
0.24846422672271729,
0.3312576115131378,
-0.5866289734840393,
-0.7023991942405701,
-0.23923666775226593,
0.5046915411949158,
0.005134685430675745,
0.1765240877866745,
-0.06556649506092072,
0.041344787925481796,
-0.07427907735109329,
0.09007236361503601,
0.2556135654449463,
-0.2051660120487213,
0.2700248658657074,
-0.3084164559841156,
0.2010786533355713,
-0.06591612100601196,
0.28719350695610046,
-0.08917886018753052,
0.1666191816329956,
0.06054147332906723,
0.18012398481369019,
-0.04218316823244095,
-0.04718867316842079,
-0.04098491370677948,
0.20563407242298126,
-0.025304291397333145,
0.05479326471686363,
-0.13020430505275726,
0.06024211645126343,
0.07704025506973267,
0.22321957349777222,
-0.1271430253982544,
0.09439384937286377,
0.09398959577083588,
-0.1584351360797882,
-0.3777199387550354,
-0.0785427987575531,
0.2063242644071579,
0.08974052965641022,
0.07484284788370132,
0.04422285407781601,
-0.2292470484972,
0.08795782923698425,
-0.26155197620391846,
-0.020717980340123177,
0.3389475643634796,
0.2913641631603241,
-0.16779311001300812,
0.09463807940483093,
-0.504446268081665,
-0.09652355313301086,
0.04860823601484299,
0.07261024415493011,
-0.08089622110128403,
-0.10889502614736557,
0.06760294735431671,
0.07002285122871399,
0.23203599452972412,
0.015432409010827541,
-0.20661967992782593,
-0.45149028301239014,
-0.1086147278547287,
-0.19969883561134338,
0.21304410696029663,
0.4048774838447571,
-0.05179263651371002,
0.20195627212524414,
0.4848182797431946,
0.12002995610237122,
-0.12242058664560318,
0.28973469138145447,
-0.19927844405174255,
-0.10897579789161682,
0.12639258801937103,
0.03848111256957054,
0.18713398277759552,
-0.1477591097354889,
-0.3249954283237457,
0.10665018856525421,
0.2479914277791977,
-0.02420591562986374,
0.2589036226272583,
-0.1300380527973175,
0.20511724054813385,
0.19773787260055542,
0.14315453171730042,
0.5490163564682007,
-0.02417001873254776,
-0.129099503159523,
0.5621987581253052,
0.1282062977552414,
-0.048504967242479324,
-0.011310321278870106,
-0.3999856114387512,
0.35960257053375244,
0.21873798966407776,
0.11923792958259583,
-0.27924296259880066,
-0.4171813428401947,
-0.513789176940918,
-0.08291149139404297,
0.3224641978740692,
-0.1983131766319275,
0.02324969321489334,
0.42622336745262146,
0.19845862686634064,
-0.18269966542720795,
0.18730446696281433,
-0.2013271152973175,
-0.05981995910406113,
0.4221057891845703,
0.14137424528598785,
0.8368745446205139,
0.20103806257247925,
-0.2540161907672882,
0.14645087718963623,
-0.32656624913215637,
0.10807684063911438,
0.3612489104270935,
0.15315304696559906,
0.08787066489458084,
0.26056087017059326,
0.32482755184173584,
-0.06653442978858948,
0.12274136394262314,
0.10178808122873306,
0.11087177693843842,
0.008259696885943413,
-0.016830511391162872,
-0.24957312643527985,
-0.35818907618522644,
-0.18692567944526672,
0.1896226555109024,
0.020846126601099968,
0.06531643122434616,
0.32326966524124146,
0.04918487370014191,
-0.02175559103488922,
-0.4332720935344696,
0.2967405617237091,
0.19027313590049744,
0.20161117613315582,
-0.08425843715667725,
-0.245266392827034,
0.09600930660963058,
-0.1634315848350525,
0.5964711308479309,
-0.06546060740947723,
0.10604032129049301,
0.3574059009552002,
-0.4151381254196167,
0.03083137422800064,
-0.4949769079685211,
-0.07062481343746185,
-0.08628905564546585,
0.20173540711402893,
0.04896468669176102,
-0.17228670418262482,
0.20490646362304688,
0.08259599655866623,
-0.11697994917631149,
-0.19949927926063538,
0.19945436716079712,
0.11868786811828613,
0.04343811050057411,
0.2000211775302887,
0.12262755632400513,
-0.10021040588617325,
0.16005870699882507,
-0.07212821394205093,
-0.2333838939666748,
0.015256036072969437,
-0.2781393527984619,
0.04907171055674553,
-0.0462958887219429,
-0.14971350133419037,
0.052444398403167725,
0.09120269119739532,
0.2286255806684494,
0.19656401872634888,
-0.08821480721235275,
0.05015629902482033,
-0.439288854598999,
-0.3919752836227417,
0.09515753388404846,
0.013953160494565964,
0.15181215107440948,
-0.163656085729599,
-0.002169482409954071,
0.2206372618675232,
0.13376057147979736,
-0.3114296793937683,
0.2564142942428589,
0.08886968344449997,
0.8290219306945801,
-0.1680540144443512,
-0.2645007371902466,
-0.3452557921409607,
0.08912168443202972,
0.027019985020160675,
-0.3515402376651764,
-0.08684134483337402,
0.019434791058301926,
0.06224268674850464,
-0.10244559496641159,
0.20274308323860168,
0.027593661099672318,
0.10382087528705597,
0.010228566825389862,
0.044132672250270844,
0.2663685381412506,
0.03456813097000122,
0.22825098037719727,
-0.09681504964828491,
0.307946115732193,
-0.3173826336860657,
-0.06651737540960312,
0.20377595722675323,
0.03889096528291702,
0.16811315715312958,
-0.28124040365219116,
-0.5187478065490723,
0.4463421404361725,
-0.16639196872711182,
0.2029138058423996,
-0.41370537877082825,
0.15521913766860962,
0.0025385916233062744,
0.2402258962392807,
-0.07402016222476959,
0.10949520766735077,
-0.04024128615856171,
-0.006690568290650845,
-0.3848525881767273,
0.11796325445175171,
0.42307260632514954,
-0.20746302604675293,
-0.3417067527770996,
-0.5690094232559204,
-0.09713947772979736,
0.20358806848526,
0.09936211258172989,
-0.21958693861961365,
0.1616257131099701,
0.03465840965509415,
0.0751519650220871,
0.3864592909812927,
0.0540909580886364,
0.05974416434764862,
0.09420382976531982,
-0.11305452883243561,
0.17973080277442932,
0.17956355214118958,
-0.08649825304746628,
-0.06784635782241821,
-0.012581128627061844
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | thank you @lhoestq thank you very much for responding to my question, this greatly helped me and remove the blocking for continuing my work, thanks. | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 25 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
thank you @lhoestq thank you very much for responding to my question, this greatly helped me and remove the blocking for continuing my work, thanks. | [
-0.41175636649131775,
-0.28181126713752747,
-0.023338932543992996,
0.3429309129714966,
0.2881665825843811,
-0.008327826857566833,
0.18536506593227386,
0.020248081535100937,
-0.03821302950382233,
0.5751112103462219,
-0.07073581963777542,
0.5064851641654968,
-0.2460886389017105,
-0.39851704239845276,
-0.2954905927181244,
-0.22018110752105713,
0.1450132429599762,
-0.06763523817062378,
-0.223079115152359,
0.03935198485851288,
-0.10210910439491272,
-0.30777448415756226,
-0.28546592593193054,
0.02843749150633812,
-0.29811790585517883,
-0.04050017148256302,
-0.015529041178524494,
-0.06784509867429733,
-0.2791277766227722,
0.06533409655094147,
-0.18472254276275635,
0.5040541887283325,
0.17413480579853058,
0.4231993556022644,
-0.00011571351205930114,
-0.11073780059814453,
0.33792656660079956,
-0.08091752231121063,
-0.17784857749938965,
-0.2761381268501282,
0.2808983623981476,
0.4443746507167816,
-0.46197131276130676,
0.0814753845334053,
-0.07610020041465759,
-0.11915358155965805,
0.2620197832584381,
-0.3990250825881958,
-0.03823930025100708,
-0.03231722488999367,
0.16774900257587433,
-0.14955241978168488,
0.19148442149162292,
-0.17734329402446747,
0.5097529888153076,
0.4011306166648865,
0.0406593382358551,
-0.1047624796628952,
0.594463586807251,
0.15090513229370117,
-0.31341394782066345,
-0.01864190585911274,
-0.04700545594096184,
0.24595806002616882,
0.25513702630996704,
-0.4061439335346222,
-0.5669309496879578,
-0.14125956594944,
0.2915230989456177,
0.432637095451355,
0.34648460149765015,
-0.1009707972407341,
-0.08763609081506729,
-0.13824430108070374,
-0.051658324897289276,
0.07065696269273758,
0.16950199007987976,
0.20975060760974884,
-0.3878732919692993,
-0.07603132724761963,
-0.29631608724594116,
-0.2245027869939804,
0.07727473974227905,
-0.12481153011322021,
0.33384937047958374,
0.5769516229629517,
0.05481512472033501,
0.12753020226955414,
0.3952461779117584,
-0.13004057109355927,
0.7564079165458679,
-0.027690265327692032,
-0.1322856843471527,
0.180185005068779,
-0.2901791036128998,
0.05920599400997162,
-0.10386096686124802,
0.4589677155017853,
0.4592786133289337,
-0.11795906722545624,
0.14120274782180786,
0.1927354633808136,
0.16313369572162628,
0.20644226670265198,
0.08359602093696594,
-0.23269054293632507,
-0.1683250069618225,
0.37194833159446716,
0.3275444507598877,
-0.12169674038887024,
-0.10290439426898956,
-0.08034616708755493,
-0.27363651990890503,
-0.40162134170532227,
-0.29052191972732544,
0.19971084594726562,
-0.38540804386138916,
-0.13159166276454926,
-0.0026497691869735718,
-0.36062386631965637,
0.10224270075559616,
-0.27548903226852417,
0.11839137226343155,
0.31885457038879395,
0.03943968936800957,
0.2343291938304901,
-0.16222386062145233,
0.0793389230966568,
0.14682257175445557,
-0.3387514650821686,
-0.011716443113982677,
-0.08989731967449188,
-0.2668285667896271,
0.038900841027498245,
0.09539753198623657,
-0.28853464126586914,
0.17949877679347992,
0.0288267582654953,
0.20845209062099457,
0.4494912624359131,
0.06796648353338242,
-0.212199404835701,
0.02745836228132248,
-0.22960607707500458,
0.18745101988315582,
0.038210466504096985,
-0.14172856509685516,
0.447778582572937,
-0.06803183257579803,
0.40030065178871155,
-0.2112266719341278,
-0.1952124834060669,
0.1401187628507614,
0.08674219250679016,
-0.2420707792043686,
0.049715556204319,
-0.11609499901533127,
-0.02149375155568123,
0.017470307648181915,
-0.4353489279747009,
0.03860323131084442,
-0.13876649737358093,
-0.19978715479373932,
-0.21050354838371277,
-0.07701986283063889,
-0.09601554274559021,
-0.06291361898183823,
-0.01148311048746109,
-0.13443900644779205,
0.0013910550624132156,
0.33994609117507935,
0.20919737219810486,
-0.12343320995569229,
0.15122544765472412,
-0.26981228590011597,
-0.5102874636650085,
0.3735352158546448,
0.048129383474588394,
-0.34876495599746704,
-0.1753029078245163,
-0.055107250809669495,
-0.06349628418684006,
0.35485193133354187,
0.1620311737060547,
0.1916329264640808,
-0.20872627198696136,
0.45386046171188354,
0.3311857581138611,
-0.20988915860652924,
0.09735750406980515,
-0.27964848279953003,
-0.021826475858688354,
0.3807961940765381,
0.5322903990745544,
0.10909204185009003,
0.0018754154443740845,
0.0981852114200592,
-0.041223976761102676,
0.10828819870948792,
-0.06936846673488617,
0.13264182209968567,
0.07822468876838684,
-0.08314283192157745,
0.22489456832408905,
-0.05227692052721977,
-0.06041622534394264,
0.16727790236473083,
0.010339144617319107,
0.1992216408252716,
-0.087116539478302,
0.25223612785339355,
-0.08135128766298294,
0.3240055441856384,
-0.2543725371360779,
-0.1569231152534485,
-0.1398225724697113,
0.028860390186309814,
0.23979341983795166,
0.24056726694107056,
-0.24762022495269775,
0.005912709981203079,
-0.08557215332984924,
-0.1806354969739914,
-0.21933917701244354,
-0.6085525751113892,
0.042494289577007294,
-0.18663769960403442,
-0.1833740919828415,
0.13554291427135468,
0.14377254247665405,
-0.16157394647598267,
-0.021917374804615974,
-0.11763481050729752,
0.12626001238822937,
-0.14863692224025726,
-0.06322558224201202,
0.13552065193653107,
0.010554760694503784,
-0.08439161628484726,
-0.07375559210777283,
0.22446250915527344,
-0.011733267456293106,
0.19239647686481476,
-0.0517512708902359,
0.13028228282928467,
0.31189393997192383,
-0.5202634930610657,
0.06633371114730835,
0.04221854358911514,
-0.27776673436164856,
0.07175229489803314,
0.18900227546691895,
0.05687703937292099,
0.4894278347492218,
0.6646025776863098,
0.18602532148361206,
0.21672342717647552,
0.006878610700368881,
-0.5235304832458496,
-0.12447310239076614,
0.27310553193092346,
0.1018126904964447,
-0.052761249244213104,
0.05696926265954971,
-0.14290136098861694,
0.08789703249931335,
-0.023370010778307915,
-0.10771041363477707,
0.4354134798049927,
0.25457078218460083,
0.1574990153312683,
-0.1007208600640297,
0.3602266013622284,
-0.18700875341892242,
-0.10095683485269547,
-0.19628505408763885,
-0.1689581423997879,
0.21805128455162048,
0.2067011147737503,
-0.2285236120223999,
-0.13107630610466003,
-0.3742401897907257,
0.18127885460853577,
0.3783465325832367,
-0.04517032578587532,
-0.08541641384363174,
-0.10656798630952835,
-0.09068457782268524,
-0.31737232208251953,
-0.09334497898817062,
-0.19633455574512482,
-0.056450724601745605,
0.1738358438014984,
0.6990810036659241,
0.07118585705757141,
0.20792266726493835,
0.6106942892074585,
0.198398619890213,
-0.0311337411403656,
0.05714346468448639,
-0.11840888857841492,
-0.27737894654273987,
-0.14200517535209656,
0.14466194808483124,
0.28609344363212585,
-0.14601324498653412,
0.3171654939651489,
-0.2155870646238327,
-0.051400505006313324,
-0.27030205726623535,
0.29898950457572937,
0.03366504982113838,
0.05191454663872719,
-0.22187183797359467,
0.202278271317482,
-0.12007659673690796,
0.08679056167602539,
-0.19071437418460846,
0.2468298226594925,
-0.6085585951805115,
0.13295461237430573,
0.22327820956707,
-0.1191164031624794,
0.07083916664123535,
-0.0028894394636154175,
-0.011969774961471558,
-0.18147951364517212,
-0.49100685119628906,
0.0055967532098293304,
-0.11697366833686829,
0.10980682820081711,
-0.26180264353752136,
0.2483554482460022,
-0.33012551069259644,
-0.1022094190120697,
-0.18997986614704132,
-0.22278520464897156,
-0.9283088445663452,
0.4673415422439575,
-0.17028602957725525,
-0.23666776716709137,
-0.16848960518836975,
-0.09290536493062973,
0.18746447563171387,
0.7728927135467529,
0.1805959939956665,
0.4282248616218567,
-0.020386597141623497,
0.11443446576595306,
-0.15089040994644165,
0.43925410509109497,
0.2280043065547943,
-0.10036502778530121,
0.03008749522268772,
0.020142607390880585,
0.20038121938705444,
-0.05653596669435501,
-0.25737112760543823,
0.660173773765564,
0.3345237672328949,
0.14547184109687805,
-0.039296410977840424,
0.7990564107894897,
-0.31351742148399353,
-0.2797808051109314,
0.048128992319107056,
0.020387601107358932,
0.28804734349250793,
-0.08310706168413162,
-0.1258365511894226,
0.5681532621383667,
0.15073008835315704,
-0.3594083786010742,
0.04158491641283035,
-0.21393916010856628,
0.0977129340171814,
-0.3261132836341858,
0.06961329281330109,
0.0967370942234993,
-0.13459180295467377,
0.3717278242111206,
-0.14102458953857422,
0.01197846233844757,
-0.18981105089187622,
0.1996215581893921,
-0.20648564398288727,
-0.25962087512016296,
0.00017529819160699844,
0.04596426710486412,
0.3754582703113556,
-0.1076095849275589,
-0.23701289296150208,
-0.23797617852687836,
-0.30763566493988037,
0.2023235261440277,
0.11230672895908356,
0.21055985987186432,
-0.06076056510210037,
0.10834980756044388,
0.1141337975859642,
0.10265836864709854,
0.5240512490272522,
-0.36303412914276123,
-0.0054851435124874115,
0.036680325865745544,
0.14180219173431396,
-0.1902390867471695,
-0.015198081731796265,
-0.04587022215127945,
-0.031082823872566223,
-0.11145031452178955,
-0.16989551484584808,
-0.1657046526670456,
0.042652640491724014,
-0.3309705853462219,
0.20200440287590027,
-0.11669167876243591,
-0.2460791915655136,
-0.3332737386226654,
0.017515335232019424,
-0.3408658802509308,
-0.15004241466522217,
-0.005950506776571274,
-0.1389128714799881,
-0.36605703830718994,
0.1460535228252411,
-0.0065318513661623,
0.23389869928359985,
0.13132841885089874,
0.04856831952929497,
0.17266720533370972,
-0.21978405117988586,
-0.07067802548408508,
0.40241995453834534,
-0.05740228295326233,
0.42028164863586426,
-0.017791852355003357,
-0.036365095525979996,
0.06852099299430847,
0.19083037972450256,
-0.27223747968673706,
0.06842054426670074,
0.1038246899843216,
0.08276960253715515,
0.25200673937797546,
-0.2654290497303009,
0.006951712071895599,
-0.22938360273838043,
-0.0952080711722374,
-0.1460237056016922,
-0.06362992525100708,
-0.32686957716941833,
-0.8247860670089722,
-0.07763799279928207,
0.4725455641746521,
-0.04297122731804848,
0.6893947720527649,
-0.6805844902992249,
-0.09981442242860794,
0.15989577770233154,
0.12428112328052521,
0.9412471055984497,
-0.1447329819202423,
-0.011878471821546555,
-0.21769270300865173,
0.06769609451293945,
0.1971280723810196,
-0.25544655323028564,
0.26003068685531616,
-0.3068583011627197,
-0.2737264037132263,
0.02327478863298893,
-0.13423757255077362,
0.05838124081492424,
0.33748090267181396,
-0.18164034187793732,
0.3982694149017334,
0.09907765686511993,
-0.08264017105102539,
-0.06411688774824142,
0.0807635635137558,
-0.4968971610069275,
-0.10822694003582001,
0.16583570837974548,
0.054370224475860596,
-0.16417033970355988,
0.3615781366825104,
-0.01823190413415432,
0.004045118577778339,
-0.17340515553951263,
-0.03402546048164368,
-0.21641045808792114,
-0.09980251640081406,
0.020452190190553665,
-0.21535494923591614,
0.01946812868118286,
-0.14787903428077698,
0.35002589225769043,
0.15779784321784973,
0.25897836685180664,
0.1333601474761963,
0.01879953220486641,
0.17266687750816345,
0.18356487154960632,
-0.07588665187358856,
-0.1434713453054428,
0.1428445726633072,
-0.00796130858361721,
-0.030239325016736984,
-0.15000762045383453,
0.30659812688827515,
0.22751402854919434,
-0.44295012950897217,
-0.6769729256629944,
-0.23817218840122223,
0.51528400182724,
-0.019367819651961327,
0.19920200109481812,
-0.06312087178230286,
-0.05151026323437691,
-0.0745769739151001,
0.08119584619998932,
0.20242054760456085,
-0.18465560674667358,
0.18172970414161682,
-0.13013006746768951,
0.1931203007698059,
-0.021994203329086304,
0.3089698851108551,
-0.11476997286081314,
0.12416946887969971,
-0.014480803161859512,
0.17254036664962769,
-0.09308375418186188,
-0.11389987915754318,
-0.014830164611339569,
0.2143172174692154,
-0.09551959484815598,
-0.12332554906606674,
-0.13813504576683044,
-0.1326005905866623,
-0.030514033511281013,
0.18997111916542053,
-0.1120753139257431,
0.09222126007080078,
0.056110505014657974,
-0.31060791015625,
-0.4455009698867798,
-0.01999739557504654,
-0.020424026995897293,
0.010037180036306381,
0.06217227131128311,
-0.060612525790929794,
-0.15696413815021515,
0.10177925229072571,
-0.23994696140289307,
0.010893275961279869,
0.29479527473449707,
0.24911367893218994,
-0.16319356858730316,
0.004943493753671646,
-0.4621194005012512,
-0.09947538375854492,
0.033651433885097504,
0.14307314157485962,
-0.08008479326963425,
-0.0845407247543335,
0.15802186727523804,
0.14713704586029053,
0.17447111010551453,
0.1282200962305069,
-0.14080595970153809,
-0.35326582193374634,
-0.05748547241091728,
-0.12206089496612549,
0.15534856915473938,
0.3777896761894226,
-0.0772089958190918,
0.08377805352210999,
0.36757272481918335,
0.14791783690452576,
-0.1945851892232895,
0.23452645540237427,
-0.13206695020198822,
-0.10554541647434235,
0.02931055799126625,
-0.047965481877326965,
0.26396846771240234,
-0.1812368929386139,
-0.2999146580696106,
0.05234731733798981,
0.2912946045398712,
-0.013958286494016647,
0.23023474216461182,
-0.10006612539291382,
0.3668319284915924,
0.273144394159317,
0.13955527544021606,
0.4675051271915436,
-0.04707014188170433,
-0.15187740325927734,
0.5485619306564331,
0.1394268423318863,
-0.02770416997373104,
0.023196209222078323,
-0.2939082384109497,
0.20566745102405548,
0.11309146881103516,
0.07795212417840958,
-0.20801015198230743,
-0.4566202461719513,
-0.37662672996520996,
-0.03307410702109337,
0.3164859116077423,
-0.20246605575084686,
-0.019088739529252052,
0.33816149830818176,
0.20456348359584808,
-0.0729379653930664,
0.21194349229335785,
-0.08254280686378479,
-0.010703206062316895,
0.46444183588027954,
0.14482992887496948,
0.7704015970230103,
0.17063584923744202,
-0.10470955073833466,
0.27389368414878845,
-0.3623507618904114,
0.19265203177928925,
0.4783172011375427,
0.19357845187187195,
-0.03167063742876053,
0.1713206171989441,
0.3620586097240448,
-0.026852067559957504,
0.189533069729805,
0.08815208077430725,
0.04567050188779831,
-0.05299743264913559,
0.06930267810821533,
-0.16552779078483582,
-0.3278181850910187,
-0.1903780698776245,
0.1844019591808319,
0.03795120120048523,
0.2915657162666321,
0.46175724267959595,
0.010046400129795074,
0.024459518492221832,
-0.3408914804458618,
0.41671931743621826,
0.28534913063049316,
0.06059013307094574,
-0.09481759369373322,
-0.131902277469635,
0.002588413655757904,
-0.19600871205329895,
0.6983324885368347,
0.014739494770765305,
0.1742139309644699,
0.3289167582988739,
-0.2885521650314331,
0.019394809380173683,
-0.5623587965965271,
-0.11298506706953049,
-0.0801946371793747,
0.3762342631816864,
0.18286938965320587,
-0.18732935190200806,
0.26031020283699036,
0.06532729417085648,
-0.1364608258008957,
-0.0657811313867569,
0.12864892184734344,
0.005838453769683838,
0.16018861532211304,
0.06031470373272896,
0.07118341326713562,
-0.09309156239032745,
0.09071655571460724,
-0.10307251662015915,
-0.33229517936706543,
-0.04313626512885094,
-0.27890583872795105,
-0.0934678316116333,
-0.08964669704437256,
-0.27841469645500183,
0.024664610624313354,
0.0955810397863388,
0.1655135452747345,
0.2832504212856293,
-0.0924103632569313,
0.04945090413093567,
-0.5450078248977661,
-0.48827776312828064,
0.38772618770599365,
-0.09400874376296997,
0.1768873780965805,
-0.3144974708557129,
-0.03300393372774124,
0.25002777576446533,
0.17676734924316406,
-0.21632255613803864,
0.28641417622566223,
0.0643695667386055,
0.8334412574768066,
-0.1497570276260376,
-0.2087252140045166,
-0.18396051228046417,
0.1089249774813652,
0.01287136971950531,
-0.3402649462223053,
0.09445804357528687,
0.0786101371049881,
0.06784941256046295,
-0.07745938003063202,
0.13457030057907104,
-0.12874625623226166,
-0.08024260401725769,
0.007474817335605621,
0.005931098014116287,
0.41300830245018005,
-0.025419648736715317,
0.24274450540542603,
-0.11366733908653259,
0.27866727113723755,
-0.18525099754333496,
-0.041013941168785095,
0.294384241104126,
0.0766361802816391,
0.12111017853021622,
-0.1242448091506958,
-0.4374041259288788,
0.37724435329437256,
-0.20008625090122223,
0.3277055323123932,
-0.4550855755805969,
0.19012191891670227,
-0.01599961519241333,
0.27468863129615784,
-0.05873090401291847,
0.0019134767353534698,
0.018584758043289185,
-0.154549703001976,
-0.38420701026916504,
0.15060432255268097,
0.4040513038635254,
-0.24961376190185547,
-0.4543156325817108,
-0.5537906885147095,
-0.06879113614559174,
0.25813722610473633,
-0.06095349043607712,
-0.35766685009002686,
0.11797107011079788,
0.013870472088456154,
0.20967566967010498,
0.42339184880256653,
0.002750687301158905,
0.10045015811920166,
0.0986902266740799,
-0.12087664008140564,
0.09532854706048965,
0.04667056351900101,
0.004704738035798073,
-0.0340922549366951,
-0.04192207008600235
] |
https://github.com/huggingface/datasets/issues/1611 | shuffle with torch generator | @lhoestq could you confirm the method proposed does not bring the whole data into memory? thanks | Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq | 16 | shuffle with torch generator
Hi
I need to shuffle mutliple large datasets with `generator = torch.Generator()` for a distributed sampler which needs to make sure datasets are consistent across different cores, for this, this is really necessary for me to use torch generator, based on documentation this generator is not supported with datasets, I really need to make shuffle work with this generator and I was wondering what I can do about this issue, thanks for your help
@lhoestq
@lhoestq could you confirm the method proposed does not bring the whole data into memory? thanks | [
-0.38578635454177856,
-0.22824150323867798,
-0.016249554231762886,
0.4048091173171997,
0.20821113884449005,
-0.034190740436315536,
0.05701155588030815,
0.08082683384418488,
-0.06658580154180527,
0.531852662563324,
-0.07527405768632889,
0.4812494218349457,
-0.26320165395736694,
-0.4862927496433258,
-0.1832592487335205,
-0.0692368671298027,
0.20933660864830017,
-0.03776751458644867,
-0.3435775637626648,
0.031989045441150665,
-0.14037662744522095,
-0.33061856031417847,
-0.2982025444507599,
-0.08421353995800018,
-0.26071786880493164,
0.012689415365457535,
-0.13624009490013123,
0.06974045932292938,
-0.2460329383611679,
0.09686797112226486,
-0.29310521483421326,
0.4951767325401306,
0.09745103120803833,
0.49800482392311096,
-0.00011940082913497463,
-0.14656668901443481,
0.3140338063240051,
-0.11832721531391144,
-0.150420680642128,
-0.19984881579875946,
0.2539372146129608,
0.3593316972255707,
-0.47483527660369873,
0.11514060944318771,
-0.0948924720287323,
-0.09837371855974197,
0.27759993076324463,
-0.43391624093055725,
-0.019563063979148865,
-0.0745982825756073,
0.11943373084068298,
-0.22196964919567108,
0.19984491169452667,
-0.0841577798128128,
0.519837498664856,
0.36665016412734985,
0.11694226413965225,
-0.08492143452167511,
0.5057342648506165,
0.14220602810382843,
-0.31400179862976074,
0.04301723465323448,
-0.009753664955496788,
0.17188537120819092,
0.27460363507270813,
-0.30883702635765076,
-0.6670981645584106,
-0.07313811779022217,
0.2729102373123169,
0.37031126022338867,
0.316961407661438,
-0.152898371219635,
-0.2055036425590515,
-0.15360066294670105,
-0.11241830140352249,
0.002243991941213608,
0.16123367846012115,
0.261728435754776,
-0.489246666431427,
-0.0784294456243515,
-0.34259796142578125,
-0.27919524908065796,
0.10533660650253296,
-0.16763192415237427,
0.1774776428937912,
0.6292574405670166,
-0.012219549156725407,
0.11018337309360504,
0.47215819358825684,
-0.1184207946062088,
0.7638746500015259,
-0.057580746710300446,
-0.09219785034656525,
0.2165193259716034,
-0.30281737446784973,
-0.03263673186302185,
-0.059118904173374176,
0.4093035161495209,
0.5086138248443604,
-0.17564931511878967,
0.17684882879257202,
0.20543411374092102,
0.15964096784591675,
0.12934619188308716,
0.1709766834974289,
-0.20121990144252777,
-0.25376150012016296,
0.36665862798690796,
0.2740383744239807,
-0.22146546840667725,
-0.08440792560577393,
-0.1351833939552307,
-0.23124486207962036,
-0.3415016829967499,
-0.1987459659576416,
0.09321030974388123,
-0.45950061082839966,
-0.10356670618057251,
-0.003053886815905571,
-0.37238985300064087,
0.11411584168672562,
-0.2568836510181427,
0.09097541123628616,
0.3584320545196533,
-0.012711470015347004,
0.22075942158699036,
-0.16348081827163696,
0.004539176821708679,
0.15022608637809753,
-0.3092854619026184,
-0.022016704082489014,
-0.06660158932209015,
-0.2956474721431732,
0.08705133944749832,
0.07621398568153381,
-0.2042885720729828,
0.18030902743339539,
-0.037395164370536804,
0.1821150779724121,
0.44416290521621704,
0.051763929426670074,
-0.25365155935287476,
0.17519482970237732,
-0.23554669320583344,
0.1352526992559433,
0.025075381621718407,
-0.17523397505283356,
0.532796323299408,
-0.1040986180305481,
0.48932504653930664,
-0.23152661323547363,
-0.22488978505134583,
0.24889671802520752,
0.060175370424985886,
-0.21540355682373047,
0.12392779439687729,
-0.12702038884162903,
0.052125539630651474,
0.1170879453420639,
-0.40418654680252075,
0.01132463663816452,
-0.1173706203699112,
-0.18282172083854675,
-0.24590831995010376,
0.016136107966303825,
-0.02697676420211792,
-0.03414531797170639,
0.02785661816596985,
-0.09100111573934555,
0.004478834569454193,
0.4119672477245331,
0.22998397052288055,
-0.09787493199110031,
0.1580449342727661,
-0.27280381321907043,
-0.5346221327781677,
0.3825376033782959,
0.06166081503033638,
-0.3585655093193054,
-0.14219564199447632,
-0.027163416147232056,
-0.051620230078697205,
0.37755200266838074,
0.2457606941461563,
0.1548478901386261,
-0.14195255935192108,
0.5249985456466675,
0.3873004913330078,
-0.24634206295013428,
0.18040059506893158,
-0.2839828431606293,
-0.002505822107195854,
0.3841552138328552,
0.520630955696106,
0.06643944978713989,
0.0007913559675216675,
0.12840598821640015,
0.019542895257472992,
0.20316866040229797,
-0.05823538824915886,
0.10556076467037201,
0.07480651885271072,
-0.20588506758213043,
0.1975601613521576,
-0.04360637813806534,
-0.05038978531956673,
0.15854883193969727,
-0.029176579788327217,
0.22430884838104248,
-0.10184858739376068,
0.2184840440750122,
-0.0466073676943779,
0.3369511663913727,
-0.2232072800397873,
-0.09653355181217194,
-0.1030951589345932,
-0.012900060042738914,
0.24101689457893372,
0.24425366520881653,
-0.25268054008483887,
-0.009033601731061935,
-0.01294180192053318,
-0.20787911117076874,
-0.1703491061925888,
-0.5943425893783569,
0.05051042139530182,
-0.09622976928949356,
-0.16646583378314972,
0.10068732500076294,
0.11081567406654358,
-0.1965513527393341,
-0.01201204676181078,
-0.08716130256652832,
0.1609719693660736,
-0.0896543338894844,
-0.07949434220790863,
0.07860194891691208,
-0.0006751418113708496,
-0.054569318890571594,
-0.06814313679933548,
0.3016476333141327,
-0.008685896173119545,
0.2611524760723114,
-0.0938587561249733,
0.11073070019483566,
0.28680944442749023,
-0.4786904752254486,
0.08663258701562881,
0.11822402477264404,
-0.38332781195640564,
-0.01887359283864498,
0.23722249269485474,
0.060804061591625214,
0.4270817041397095,
0.5575501322746277,
0.2566700279712677,
0.20120587944984436,
0.07634825259447098,
-0.5414386987686157,
-0.17388731241226196,
0.31836947798728943,
0.09815181791782379,
-0.02940019965171814,
0.06701629608869553,
-0.21165847778320312,
-0.04113568365573883,
0.024120105430483818,
-0.14026446640491486,
0.4829140305519104,
0.2563227415084839,
0.23104357719421387,
-0.08452127128839493,
0.46680620312690735,
-0.10065750777721405,
-0.07069941610097885,
-0.1270666867494583,
-0.1596909910440445,
0.1911119818687439,
0.20770679414272308,
-0.20506992936134338,
-0.1365252435207367,
-0.2343299835920334,
0.22726234793663025,
0.3151204288005829,
-0.015187453478574753,
-0.13642579317092896,
-0.0912376344203949,
-0.11420679837465286,
-0.3149423897266388,
-0.03502997010946274,
-0.18226023018360138,
-0.03542468696832657,
0.11974283307790756,
0.653921902179718,
0.0629941076040268,
0.09632034599781036,
0.5549214482307434,
0.2750639021396637,
-0.02678016759455204,
0.04364151135087013,
-0.051887352019548416,
-0.2414875030517578,
-0.04612746089696884,
0.11411859095096588,
0.22372610867023468,
-0.1593603938817978,
0.34542590379714966,
-0.10684547573328018,
-0.09523013979196548,
-0.23594167828559875,
0.3460632860660553,
0.02287028543651104,
0.0347067229449749,
-0.2167380005121231,
0.2048017531633377,
-0.1543884128332138,
0.12542808055877686,
-0.12572063505649567,
0.17582768201828003,
-0.5927734375,
0.04278704524040222,
0.20183303952217102,
-0.051054757088422775,
0.0954362004995346,
0.008726213127374649,
0.005576714873313904,
-0.16820675134658813,
-0.48044726252555847,
-0.0460183247923851,
-0.02844599261879921,
0.19214008748531342,
-0.31547650694847107,
0.24394497275352478,
-0.28471365571022034,
-0.13653430342674255,
-0.21002420783042908,
-0.20718832314014435,
-0.8603683710098267,
0.45274585485458374,
-0.1606404036283493,
-0.18661697208881378,
-0.2010493278503418,
-0.0664190948009491,
0.1636926531791687,
0.8908518552780151,
0.17985095083713531,
0.3920755088329315,
-0.066160649061203,
0.051474738866090775,
-0.1675230711698532,
0.4999176263809204,
0.25304925441741943,
-0.16043943166732788,
0.014627968892455101,
0.04159694164991379,
0.19342194497585297,
-0.12347080558538437,
-0.2549110949039459,
0.6271775960922241,
0.3988312780857086,
0.15866154432296753,
0.0381275899708271,
0.8380125164985657,
-0.3068426549434662,
-0.19975756108760834,
-0.013116993010044098,
0.04259340837597847,
0.31549784541130066,
-0.18492737412452698,
-0.10605036467313766,
0.5697466731071472,
0.1633918285369873,
-0.40583086013793945,
0.036088183522224426,
-0.14334598183631897,
0.08827009797096252,
-0.35477715730667114,
0.11218912899494171,
0.11032517999410629,
-0.10920295119285583,
0.3583012819290161,
-0.1524188369512558,
0.02678322046995163,
-0.15551573038101196,
0.2084503471851349,
-0.2398776113986969,
-0.29187458753585815,
-0.047070857137441635,
-0.060774534940719604,
0.43667784333229065,
-0.1337849646806717,
-0.30842557549476624,
-0.21186697483062744,
-0.4083961546421051,
0.21083460748195648,
0.14433793723583221,
0.18327903747558594,
0.07694783806800842,
-0.02806377410888672,
0.09440095722675323,
0.060217197984457016,
0.5309452414512634,
-0.23502616584300995,
-0.07303786277770996,
-0.04752533882856369,
0.029076144099235535,
-0.21544013917446136,
0.0757039487361908,
-0.05727016180753708,
-0.035438861697912216,
-0.15163862705230713,
-0.212457537651062,
-0.24008417129516602,
0.021341564133763313,
-0.32694074511528015,
0.19604578614234924,
-0.1080247014760971,
-0.20598143339157104,
-0.33329689502716064,
-0.013751950114965439,
-0.3194844424724579,
-0.14669212698936462,
0.05080348253250122,
-0.10801512002944946,
-0.33339008688926697,
0.13726001977920532,
0.02773217484354973,
0.2616928219795227,
0.09417816996574402,
0.025287222117185593,
0.21306288242340088,
-0.22420978546142578,
-0.046829938888549805,
0.325129896402359,
-0.054746292531490326,
0.41397005319595337,
0.05169897899031639,
-0.010444559156894684,
0.13502103090286255,
0.1824512481689453,
-0.2453269213438034,
0.18049952387809753,
0.12439493089914322,
0.0725269615650177,
0.18698573112487793,
-0.309744656085968,
0.039331983774900436,
-0.31644079089164734,
-0.010210338979959488,
-0.1883476823568344,
-0.13154110312461853,
-0.29163041710853577,
-0.8355183005332947,
-0.06475142389535904,
0.47502657771110535,
-0.07142829149961472,
0.7121180295944214,
-0.5950435996055603,
-0.18938803672790527,
0.20543687045574188,
0.23347502946853638,
0.9532238841056824,
-0.21472038328647614,
0.1107865497469902,
-0.2075081169605255,
0.10038387775421143,
0.22477948665618896,
-0.22905464470386505,
0.316880464553833,
-0.29857000708580017,
-0.24068410694599152,
0.031907834112644196,
-0.16282926499843597,
-0.018827594816684723,
0.345664918422699,
-0.12450127303600311,
0.37879908084869385,
0.09455449879169464,
-0.08539502322673798,
-0.12019167840480804,
0.04398193210363388,
-0.5103493332862854,
-0.17267979681491852,
0.20189136266708374,
0.03756014257669449,
-0.14335112273693085,
0.34293699264526367,
-0.0027487073093652725,
0.06538482010364532,
-0.19587723910808563,
-0.003334563225507736,
-0.18208768963813782,
-0.08642584830522537,
-0.006165636703372002,
-0.23087336122989655,
-0.0923180878162384,
-0.13248050212860107,
0.2446674406528473,
0.15099772810935974,
0.21808506548404694,
0.14614370465278625,
0.12692928314208984,
0.12443044781684875,
0.1544625163078308,
0.0436406247317791,
-0.08631972223520279,
0.15422533452510834,
-0.013864992186427116,
-0.019520431756973267,
-0.03417404741048813,
0.31605541706085205,
0.1929141730070114,
-0.4901719093322754,
-0.7082417011260986,
-0.16247440874576569,
0.5463738441467285,
-0.035053446888923645,
0.1603609025478363,
0.06582153588533401,
-0.029462503269314766,
-0.06672428548336029,
0.04479552060365677,
0.3199017345905304,
-0.2208365797996521,
0.2455601692199707,
-0.19818350672721863,
0.16361330449581146,
-0.015301607549190521,
0.3504766821861267,
-0.08382980525493622,
0.08982445299625397,
-0.02398880198597908,
0.06496694684028625,
-0.11335349082946777,
-0.08252054452896118,
0.012076467275619507,
0.3228750228881836,
-0.020304210484027863,
-0.07167325913906097,
-0.22286204993724823,
-0.16866812109947205,
-0.100651316344738,
0.19293338060379028,
-0.08551467955112457,
0.11665315926074982,
0.0942629724740982,
-0.23602992296218872,
-0.4817039668560028,
0.08205252885818481,
-0.0004009231925010681,
0.029342716559767723,
0.034430816769599915,
-0.11969460546970367,
-0.19430144131183624,
0.09414845705032349,
-0.20164716243743896,
-0.025323139503598213,
0.3116520941257477,
0.2752119302749634,
-0.1117415726184845,
0.06824801117181778,
-0.49608105421066284,
-0.031426385045051575,
-0.006871812045574188,
0.19729353487491608,
-0.036734286695718765,
-0.06182525306940079,
0.2443397045135498,
0.150605708360672,
0.21712905168533325,
0.061250410974025726,
-0.13797180354595184,
-0.4391353726387024,
-0.07730773091316223,
-0.1876845359802246,
0.21673431992530823,
0.3900284171104431,
-0.06320932507514954,
0.0774058923125267,
0.3624553978443146,
0.106781005859375,
-0.18250127136707306,
0.26626306772232056,
-0.08921186625957489,
-0.07918208837509155,
0.0011119856499135494,
0.03105473890900612,
0.27859675884246826,
-0.22740395367145538,
-0.28870299458503723,
0.14357638359069824,
0.3019222617149353,
-0.07081117480993271,
0.24062174558639526,
-0.0909314751625061,
0.28754299879074097,
0.21409039199352264,
0.18738074600696564,
0.49770286679267883,
-0.020279627293348312,
-0.131320521235466,
0.4899720251560211,
0.11129917949438095,
0.01648128032684326,
-0.026414411142468452,
-0.3831157982349396,
0.09688439965248108,
0.06917758285999298,
0.11850506067276001,
-0.2059752345085144,
-0.39130836725234985,
-0.4463857412338257,
-0.0980849340558052,
0.3503062129020691,
-0.21270884573459625,
-0.08465828001499176,
0.28953254222869873,
0.18232856690883636,
-0.06207382306456566,
0.22971126437187195,
-0.033586207777261734,
-0.04369019716978073,
0.5628725290298462,
0.22565039992332458,
0.8604157567024231,
0.15394750237464905,
-0.07542373239994049,
0.185944601893425,
-0.4044264554977417,
0.14077450335025787,
0.5778157711029053,
0.17845657467842102,
0.05517689511179924,
0.0977434515953064,
0.28565576672554016,
-0.021608147770166397,
0.12662504613399506,
0.15543168783187866,
-0.0014043860137462616,
-0.07192689180374146,
0.1156897097826004,
-0.11801496148109436,
-0.3915814757347107,
-0.17774170637130737,
0.2243797481060028,
0.0020681023597717285,
0.1624227613210678,
0.454537034034729,
-0.023024670779705048,
0.02018069475889206,
-0.2767598330974579,
0.429718554019928,
0.2775367498397827,
0.07392151653766632,
-0.21070027351379395,
-0.16273611783981323,
-0.04573284089565277,
-0.11284728348255157,
0.67328280210495,
0.01021588034927845,
0.08592673391103745,
0.3581011891365051,
-0.19235417246818542,
0.043504901230335236,
-0.5329002141952515,
-0.12550589442253113,
-0.17742928862571716,
0.3884703814983368,
0.19675695896148682,
-0.19393010437488556,
0.18621677160263062,
0.027052493765950203,
-0.09825322031974792,
-0.054363515228033066,
0.18734222650527954,
0.0025458810850977898,
0.06509058177471161,
0.088117815554142,
0.07645231485366821,
-0.18145976960659027,
0.1462593823671341,
-0.0796540156006813,
-0.3200245797634125,
-0.0405040942132473,
-0.31747883558273315,
-0.20773455500602722,
-0.06267352402210236,
-0.24830864369869232,
0.003003738820552826,
0.14898349344730377,
0.1660984456539154,
0.2623514235019684,
-0.03573685884475708,
-0.011993921361863613,
-0.6107528209686279,
-0.47588247060775757,
0.28885161876678467,
0.002634011209011078,
0.23791992664337158,
-0.3334868550300598,
0.11208555102348328,
0.2663121521472931,
0.21299785375595093,
-0.3366822600364685,
0.21223674714565277,
0.05675944685935974,
0.7562638521194458,
-0.09953340142965317,
-0.2308259755373001,
-0.23750127851963043,
0.18359416723251343,
-0.0024823006242513657,
-0.4147571623325348,
0.08836962282657623,
0.008879237808287144,
0.03343667834997177,
-0.02086106315255165,
0.1814439445734024,
-0.14971794188022614,
-0.013883568346500397,
0.04497021064162254,
-0.004235321655869484,
0.33370161056518555,
-0.001201588660478592,
0.18984439969062805,
-0.09375518560409546,
0.30010703206062317,
-0.25522202253341675,
-0.16241496801376343,
0.2282305359840393,
0.058630287647247314,
0.1370464265346527,
-0.11488842964172363,
-0.3927903473377228,
0.30717310309410095,
-0.19368551671504974,
0.34348711371421814,
-0.36913174390792847,
0.13010630011558533,
-0.01944972202181816,
0.27195265889167786,
0.03719541057944298,
0.06448233127593994,
0.006680808961391449,
-0.2308051884174347,
-0.4162611961364746,
0.17337901890277863,
0.30458298325538635,
-0.18138551712036133,
-0.38462910056114197,
-0.621035099029541,
-0.014797747135162354,
0.2028830647468567,
-0.057689838111400604,
-0.4087681174278259,
0.054493583738803864,
0.0544612817466259,
0.2451593279838562,
0.3816485106945038,
0.04860612377524376,
0.06629298627376556,
0.02392309531569481,
-0.16501908004283905,
0.21023930609226227,
-0.00945376604795456,
-0.008467933163046837,
-0.06993220746517181,
-0.06532065570354462
] |
https://github.com/huggingface/datasets/issues/1610 | shuffle does not accept seed | Hi Thomas
thanks for reponse, yes, I did checked it, but this does not work for me please see
```
(internship) rkarimi@italix17:/idiap/user/rkarimi/dev$ python
Python 3.7.9 (default, Aug 31 2020, 12:42:55)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import datasets
2020-12-20 01:48:50.766004: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-20 01:48:50.766029: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
>>> data = datasets.load_dataset("scitail", "snli_format")
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Reusing dataset scitail (/idiap/temp/rkarimi/cache_home_1/datasets/scitail/snli_format/1.1.0/fd8ccdfc3134ce86eb4ef10ba7f21ee2a125c946e26bb1dd3625fe74f48d3b90)
>>> data.shuffle(seed=2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: shuffle() got an unexpected keyword argument 'seed'
```
datasets version
`datasets 1.1.2 <pip>
`
| Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
| 134 | shuffle does not accept seed
Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
Hi Thomas
thanks for reponse, yes, I did checked it, but this does not work for me please see
```
(internship) rkarimi@italix17:/idiap/user/rkarimi/dev$ python
Python 3.7.9 (default, Aug 31 2020, 12:42:55)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import datasets
2020-12-20 01:48:50.766004: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-20 01:48:50.766029: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
>>> data = datasets.load_dataset("scitail", "snli_format")
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Reusing dataset scitail (/idiap/temp/rkarimi/cache_home_1/datasets/scitail/snli_format/1.1.0/fd8ccdfc3134ce86eb4ef10ba7f21ee2a125c946e26bb1dd3625fe74f48d3b90)
>>> data.shuffle(seed=2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: shuffle() got an unexpected keyword argument 'seed'
```
datasets version
`datasets 1.1.2 <pip>
`
| [
-0.36114031076431274,
-0.225331112742424,
-0.05234311521053314,
0.1002606451511383,
0.2563573122024536,
-0.1110147014260292,
0.17220374941825867,
0.08529717475175858,
-0.005713190883398056,
0.3612516522407532,
0.14410804212093353,
0.3828560411930084,
-0.2792418301105499,
0.4236402213573456,
-0.3170946538448334,
0.18243180215358734,
0.1758905053138733,
0.024654358625411987,
0.0966961532831192,
-0.21876609325408936,
-0.21383367478847504,
-0.1767725646495819,
-0.3849223852157593,
-0.3922267556190491,
-0.09667832404375076,
0.09972313791513443,
-0.06317061185836792,
-0.05492091178894043,
-0.2333807796239853,
0.08291056752204895,
0.029108868911862373,
0.469525545835495,
0.2254401445388794,
0.5434182286262512,
-0.0001184209031634964,
0.031107760965824127,
0.10287205874919891,
-0.12220198661088943,
-0.16236820816993713,
-0.20378325879573822,
-0.40924063324928284,
0.7001440525054932,
-0.29870861768722534,
-0.14512638747692108,
-0.43351614475250244,
0.021780651062726974,
-0.05857943743467331,
-0.3505462408065796,
0.24196608364582062,
0.019265171140432358,
0.07434450834989548,
-0.08770999312400818,
0.18742989003658295,
0.045032598078250885,
0.3148183226585388,
0.16933980584144592,
-0.026727506890892982,
0.1806757152080536,
0.11700104176998138,
0.141771599650383,
0.13147324323654175,
-0.013672100380063057,
0.027148058637976646,
0.21156464517116547,
0.4446220099925995,
-0.28950369358062744,
0.05974931642413139,
-0.3515516221523285,
-0.022755008190870285,
0.23947885632514954,
0.6474807262420654,
-0.10449277609586716,
-0.3328813910484314,
0.0272878035902977,
-0.12178288400173187,
-0.7533949017524719,
-0.14346107840538025,
0.24485467374324799,
-0.2657303810119629,
-0.02432474121451378,
0.0012286183191463351,
0.05143995210528374,
-0.15246734023094177,
0.06739678233861923,
0.1754339635372162,
0.6841986179351807,
0.011524483561515808,
0.1180584654211998,
0.4326360821723938,
-0.0639571100473404,
0.3201988935470581,
0.03238523006439209,
-0.057937223464250565,
0.18221522867679596,
-0.3543590009212494,
-0.18981970846652985,
-0.3696707785129547,
0.12630245089530945,
0.15265235304832458,
0.19875013828277588,
0.09891954064369202,
0.2543501853942871,
-0.017973147332668304,
0.2990308403968811,
-0.02734067663550377,
0.18943864107131958,
0.19386044144630432,
0.11035220324993134,
-0.02031409740447998,
-0.0033379090018570423,
0.01624428853392601,
0.06667011976242065,
-0.11975669860839844,
-0.13336853682994843,
-0.2709949016571045,
0.06553199887275696,
-0.1789504736661911,
-0.15973326563835144,
-0.11678482592105865,
-0.49809199571609497,
-0.31832239031791687,
-0.3836848735809326,
0.42768216133117676,
0.37473779916763306,
-0.17267227172851562,
0.13422612845897675,
0.009016375988721848,
0.20968100428581238,
0.086061492562294,
-0.20133428275585175,
-0.2678605318069458,
0.04932376742362976,
-0.2658178210258484,
0.205308735370636,
0.07146137952804565,
-0.2550660967826843,
0.23595303297042847,
0.2998148202896118,
0.18045158684253693,
-0.02606786973774433,
-0.08207955956459045,
0.0033833226189017296,
-0.04341810196638107,
0.027508044615387917,
-0.03852484002709389,
0.06668989360332489,
0.13413600623607635,
-0.02359022945165634,
0.04077712446451187,
0.45447027683258057,
-0.5137071013450623,
-0.09593571722507477,
0.14492304623126984,
0.08095008879899979,
-0.03114774078130722,
-0.17515167593955994,
-0.5291612148284912,
0.06937095522880554,
0.09806441515684128,
0.07673574984073639,
-0.056719549000263214,
-0.14309358596801758,
-0.22107183933258057,
-0.2535947263240814,
0.48455312848091125,
-0.201900914311409,
-0.16111890971660614,
-0.0025036484003067017,
0.1482614129781723,
0.23400701582431793,
0.32886263728141785,
0.4299626350402832,
-0.0824117586016655,
-0.20078152418136597,
0.0891030952334404,
-0.03270699083805084,
0.27880868315696716,
-0.11189651489257812,
-0.2866581678390503,
-0.3712790608406067,
0.007184624671936035,
-0.26997944712638855,
-0.0005194768309593201,
0.2127477377653122,
0.09689119458198547,
-0.3004889488220215,
0.24913394451141357,
0.4734845757484436,
-0.06518792361021042,
0.10626270622015,
-0.29935380816459656,
-0.07378339767456055,
0.08940668404102325,
0.5021677017211914,
-0.10992428660392761,
0.0021997690200805664,
0.09118455648422241,
-0.1518821269273758,
0.4024081230163574,
-0.09934481978416443,
-0.01921672746539116,
0.05377476289868355,
0.41637754440307617,
0.13822481036186218,
0.05186187103390694,
0.0500766858458519,
0.025393620133399963,
0.04961930960416794,
0.4589368999004364,
0.04989258572459221,
0.34905222058296204,
0.006380181759595871,
-0.2450544834136963,
-0.23031796514987946,
-0.2283513993024826,
0.023586079478263855,
-0.023863419890403748,
0.009023986756801605,
0.16618704795837402,
-0.03945031389594078,
-0.10853637009859085,
0.051993101835250854,
-0.5093942880630493,
0.017866183072328568,
-0.39586180448532104,
0.1027720719575882,
-0.0856780931353569,
-0.317588210105896,
0.06483429670333862,
0.03582939878106117,
0.18145668506622314,
0.005954083055257797,
-0.05737770348787308,
0.3696962296962738,
0.1335136443376541,
-0.26878219842910767,
-0.3451564311981201,
0.24374404549598694,
0.03489266708493233,
0.006080362945795059,
0.019466880708932877,
-0.3636274039745331,
0.19993309676647186,
-0.22984710335731506,
0.2633117437362671,
0.3140082359313965,
-0.2565153241157532,
-0.1147383525967598,
0.04116128385066986,
-0.26152873039245605,
0.20988599956035614,
0.0645635724067688,
-0.16131184995174408,
0.18035797774791718,
0.3249889016151428,
0.0004538055509328842,
0.07083182036876678,
-0.03696329891681671,
-0.368469774723053,
-0.08747763186693192,
0.22780127823352814,
0.01223822683095932,
-0.11940499395132065,
-0.10542554408311844,
-0.12131652981042862,
0.10605040937662125,
0.11942904442548752,
0.21213571727275848,
0.24751690030097961,
0.13348020613193512,
0.06522367149591446,
-0.014823602512478828,
0.12425624579191208,
-0.328772634267807,
-0.14153701066970825,
-0.15277673304080963,
0.3554342985153198,
-0.15340211987495422,
0.11074040830135345,
-0.08852091431617737,
-0.14782929420471191,
-0.2959601581096649,
0.294455349445343,
0.4305763840675354,
-0.19683222472667694,
-0.10097607970237732,
-0.35331687331199646,
-0.04187338799238205,
-0.14482679963111877,
-0.38940855860710144,
-0.08496373891830444,
0.09531426429748535,
-0.07462973147630692,
0.7804238200187683,
0.26137861609458923,
0.17900298535823822,
0.46299219131469727,
0.2232002168893814,
-0.01118975505232811,
0.008618476800620556,
-0.19719788432121277,
-0.21419772505760193,
0.11543487012386322,
0.09441865980625153,
0.3093757927417755,
0.11845290660858154,
0.232174813747406,
-0.051178157329559326,
-0.23687204718589783,
0.10782381147146225,
-0.26520606875419617,
-0.11912614107131958,
-0.06761849671602249,
0.1537301242351532,
-0.5521236658096313,
0.21707195043563843,
-0.28283265233039856,
-0.44665879011154175,
0.3089562654495239,
-0.19985102117061615,
-0.10390564799308777,
0.0575457364320755,
0.028717614710330963,
-0.22724753618240356,
-0.2291838526725769,
-0.12639856338500977,
-0.17473594844341278,
-0.3220357596874237,
0.14040997624397278,
0.14583280682563782,
-0.06826798617839813,
0.43886783719062805,
0.2785811126232147,
-0.38255274295806885,
0.09109748154878616,
-0.24832966923713684,
-0.30103856325149536,
-0.5564927458763123,
0.31118878722190857,
-0.14941434562206268,
-0.15455035865306854,
-0.02097048982977867,
-0.10069354623556137,
0.2367004007101059,
0.714529812335968,
0.0014577582478523254,
0.2914755046367645,
-0.07609588652849197,
-0.14830055832862854,
-0.03837641328573227,
0.037567343562841415,
0.5418397188186646,
-0.2448960542678833,
0.2498476654291153,
0.114045150578022,
-0.18564805388450623,
0.15971024334430695,
0.2866024971008301,
0.4009339213371277,
0.2772114872932434,
0.6139816641807556,
0.11467987298965454,
0.8872411847114563,
-0.32302719354629517,
-0.35301369428634644,
0.20384763181209564,
0.05970366299152374,
0.046100765466690063,
-0.15336328744888306,
-0.004342805594205856,
0.4281458556652069,
0.40579691529273987,
-0.23403328657150269,
0.05655049532651901,
-0.17040863633155823,
-0.23945732414722443,
-0.3695567548274994,
0.07143045961856842,
-0.34734639525413513,
-0.11214476823806763,
0.08246826380491257,
0.13146525621414185,
-0.028800271451473236,
-0.10443775355815887,
0.121136374771595,
0.0069419387727975845,
-0.19899094104766846,
-0.18807771801948547,
0.4354414939880371,
0.09264533221721649,
0.056124746799468994,
-0.3997303247451782,
-0.14346706867218018,
-0.3735191226005554,
0.09371694922447205,
-0.1710086166858673,
0.2613600492477417,
-0.02325759083032608,
0.07189515233039856,
0.35963892936706543,
0.07593181729316711,
0.41680169105529785,
-0.0979149118065834,
0.11232776194810867,
-0.10948875546455383,
-0.05388336256146431,
-0.26157936453819275,
-0.18494071066379547,
-0.15862101316452026,
-0.41133925318717957,
-0.009801007807254791,
0.17440786957740784,
-0.2656904458999634,
0.02130175195634365,
-0.11959642171859741,
-0.24829845130443573,
-0.056611068546772,
-0.1592416912317276,
-0.19360817968845367,
-0.22211089730262756,
-0.32329583168029785,
0.061987437307834625,
0.16198843717575073,
0.1035284698009491,
-0.1610773652791977,
0.05329452082514763,
0.057074785232543945,
-0.014869816601276398,
0.28757399320602417,
0.2513357698917389,
0.24656182527542114,
0.25889647006988525,
0.15049557387828827,
0.18368196487426758,
-0.3022021949291229,
0.5362422466278076,
-0.16224326193332672,
0.2666834890842438,
-0.23635533452033997,
-0.011744838207960129,
-0.11680011451244354,
0.12345841526985168,
-0.06341952085494995,
0.0496843196451664,
0.05455586314201355,
0.006428123451769352,
-0.027429401874542236,
-0.14650116860866547,
-0.01084640808403492,
0.1814292073249817,
0.038284189999103546,
-0.5410444736480713,
-1.0802173614501953,
0.19036856293678284,
0.3028418719768524,
-0.1298493891954422,
0.7586439847946167,
-0.3035852909088135,
-0.0043941400945186615,
0.4236358404159546,
0.0831000953912735,
0.7637462019920349,
-0.29229235649108887,
-0.2033829391002655,
0.43671348690986633,
0.21706368029117584,
0.16308090090751648,
0.049518339335918427,
0.5462766289710999,
-0.406116783618927,
-0.41435012221336365,
-0.026985127478837967,
-0.18349143862724304,
0.0943833515048027,
0.44306236505508423,
-0.15527310967445374,
0.22264736890792847,
0.018611334264278412,
-0.13589882850646973,
-0.07028482109308243,
0.08105123043060303,
-0.2048529088497162,
0.08155055344104767,
0.0058770691975951195,
0.11083917319774628,
-0.2439635545015335,
0.2806296944618225,
0.050545044243335724,
-0.057178959250450134,
-0.3670109510421753,
-0.08008769154548645,
-0.21304461359977722,
0.12721291184425354,
-0.1728188693523407,
-0.1039244532585144,
-0.2816162705421448,
-0.13533546030521393,
0.06878912448883057,
0.20960748195648193,
0.5077693462371826,
0.14329275488853455,
0.06181749701499939,
0.26261064410209656,
0.07395423948764801,
-0.1254742443561554,
-0.03396777808666229,
-0.04096664860844612,
0.20438478887081146,
-0.03363350033760071,
-0.2631893455982208,
-0.09796866029500961,
0.36405807733535767,
-0.7248574495315552,
-0.4052673578262329,
-0.17466481029987335,
0.25507909059524536,
0.17939308285713196,
-0.11262007057666779,
0.27954134345054626,
-0.1132466048002243,
0.11598306894302368,
0.09101469814777374,
-0.07993291318416595,
0.03488723933696747,
0.251787930727005,
-0.034032080322504044,
-0.09800904989242554,
-0.10222604870796204,
0.32702094316482544,
0.16781502962112427,
0.2097698152065277,
0.30617448687553406,
0.05390017107129097,
-0.04960622638463974,
-0.05963032320141792,
-0.15510627627372742,
0.11786024272441864,
-0.04589734971523285,
-0.09722273796796799,
0.05744372680783272,
-0.12331370264291763,
0.3824642300605774,
0.23453287780284882,
-0.06559482961893082,
0.29246649146080017,
0.2172476202249527,
-0.5897247195243835,
-0.05097366124391556,
0.13352149724960327,
-0.3107289671897888,
0.14170598983764648,
0.10979685932397842,
0.09915116429328918,
-0.1965571939945221,
-0.05007896572351456,
-0.24146254360675812,
-0.02853609435260296,
0.24382147192955017,
0.15351751446723938,
0.1518406718969345,
0.030171586200594902,
0.07999217510223389,
-0.09929199516773224,
0.08243829011917114,
0.13173963129520416,
-0.1655617207288742,
-0.08886345475912094,
0.043229375034570694,
0.081135094165802,
0.23231667280197144,
0.10189516842365265,
-0.15873579680919647,
-0.5502100586891174,
-0.23311391472816467,
-0.10399281978607178,
0.05487418547272682,
0.44579964876174927,
0.0624442920088768,
0.1537555456161499,
0.816563606262207,
0.4594481587409973,
-0.046827614307403564,
0.2826243042945862,
-0.3036559820175171,
-0.1551724523305893,
0.045360464602708817,
-0.0843900740146637,
0.0835874006152153,
-0.02885626256465912,
-0.5530837774276733,
-0.2456221878528595,
-0.11042401194572449,
-0.020863398909568787,
0.2164379060268402,
-0.11188772320747375,
0.11591017246246338,
0.20262011885643005,
0.21514630317687988,
0.2977584898471832,
0.1507694274187088,
-0.23874588310718536,
0.385727196931839,
0.17746855318546295,
0.07627475261688232,
0.09429313987493515,
0.08721831440925598,
0.4449031949043274,
0.048853907734155655,
0.2637328803539276,
-0.2752611041069031,
-0.3965360224246979,
-0.33309024572372437,
0.08991728723049164,
0.45784950256347656,
-0.4908420443534851,
0.3078710436820984,
0.18435439467430115,
-0.01554005965590477,
-0.16072295606136322,
0.08164789527654648,
0.01815517246723175,
0.03231099247932434,
0.14647379517555237,
0.023754101246595383,
0.28434041142463684,
0.18853813409805298,
-0.15689139068126678,
-0.08478186279535294,
-0.34861788153648376,
-0.2918933629989624,
0.7141584753990173,
-0.17670032382011414,
0.20917117595672607,
0.29779163002967834,
0.2677813172340393,
0.1328710913658142,
0.006464281119406223,
0.0997210219502449,
0.02162366360425949,
-0.16959789395332336,
0.2545366883277893,
-0.407819539308548,
-0.1922159492969513,
-0.13637776672840118,
-0.14281374216079712,
-0.10835561156272888,
0.0413888618350029,
0.3476496934890747,
0.059218935668468475,
-0.277898371219635,
-0.07209242135286331,
-0.3138539791107178,
0.40266117453575134,
0.03946249186992645,
0.0047966428101062775,
0.17030271887779236,
-0.21121613681316376,
-0.2643471360206604,
0.6609688997268677,
0.0015209577977657318,
0.13385091722011566,
0.41752511262893677,
0.12880349159240723,
0.25962167978286743,
-0.02481026202440262,
-0.2193276286125183,
0.20744630694389343,
0.17998361587524414,
0.5061827301979065,
0.06774592399597168,
-0.08688214421272278,
0.1744324266910553,
-0.07875956594944,
0.04543045908212662,
0.07813359797000885,
0.5217006802558899,
-0.2672860324382782,
0.07675446569919586,
0.04344683513045311,
0.10624919086694717,
0.1414196491241455,
0.046231579035520554,
-0.33064019680023193,
0.10094481706619263,
-0.47527703642845154,
-0.06782688945531845,
0.02554447576403618,
0.06678563356399536,
-0.006507267244160175,
-0.03488015756011009,
0.03462674096226692,
0.09403252601623535,
-0.37065237760543823,
-0.003260514698922634,
-0.3976322412490845,
-0.4175259470939636,
0.09837430715560913,
-0.04863114282488823,
0.06901182234287262,
-0.22399726510047913,
0.231151282787323,
0.29919078946113586,
-0.018773529678583145,
-0.05454109609127045,
0.008128419518470764,
-0.0669465884566307,
0.3860733211040497,
-0.2705657184123993,
0.04971262440085411,
-0.370413601398468,
0.030173152685165405,
0.16461482644081116,
-0.1682937890291214,
0.19871920347213745,
0.14532122015953064,
-0.024406634271144867,
-0.09995236247777939,
0.23958536982536316,
-0.03909745439887047,
-0.21743813157081604,
0.03752986714243889,
-0.011273091658949852,
0.3982418477535248,
-0.11089663952589035,
0.10272104293107986,
-0.12685947120189667,
-0.13129380345344543,
-0.5119927525520325,
0.08571336418390274,
-0.08132719993591309,
0.42554640769958496,
-0.023387014865875244,
-0.2648217976093292,
-0.39794284105300903,
0.42789000272750854,
-0.21561633050441742,
-0.3002795875072479,
-0.2899354100227356,
0.3450373411178589,
0.1262335479259491,
0.3591557741165161,
-0.016963481903076172,
0.07573947310447693,
-0.009260997176170349,
-0.06941182166337967,
-0.19764067232608795,
-0.18244169652462006,
0.6684937477111816,
-0.30576959252357483,
-0.0798933282494545,
-0.4659472703933716,
0.09395167231559753,
-0.08727089315652847,
0.03803353011608124,
-0.09111922979354858,
0.1995576024055481,
0.020958051085472107,
0.19849151372909546,
0.1439942866563797,
0.22237767279148102,
0.18085376918315887,
0.0005036294460296631,
-0.09910067170858383,
0.11448544263839722,
0.13802137970924377,
-0.30797839164733887,
-0.029200084507465363,
-0.22874176502227783
] |
https://github.com/huggingface/datasets/issues/1610 | shuffle does not accept seed | Thanks for reporting !
Indeed it looks like an issue with `suffle` on `DatasetDict`. We're going to fix that.
In the meantime you can shuffle each split (train, validation, test) separately:
```python
shuffled_train_dataset = data["train"].shuffle(seed=42)
```
| Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
| 36 | shuffle does not accept seed
Hi
I need to shuffle the dataset, but this needs to be based on epoch+seed to be consistent across the cores, when I pass seed to shuffle, this does not accept seed, could you assist me with this? thanks @lhoestq
Thanks for reporting !
Indeed it looks like an issue with `suffle` on `DatasetDict`. We're going to fix that.
In the meantime you can shuffle each split (train, validation, test) separately:
```python
shuffled_train_dataset = data["train"].shuffle(seed=42)
```
| [
-0.1347799450159073,
-0.22007259726524353,
-0.07214275747537613,
0.023678719997406006,
0.29141533374786377,
0.06661573797464371,
0.19130420684814453,
0.13251441717147827,
-0.11940494179725647,
0.3138946294784546,
0.13474275171756744,
0.31679418683052063,
-0.3220251798629761,
0.37313950061798096,
-0.22999493777751923,
0.0033438540995121002,
0.11227536201477051,
-0.026298344135284424,
0.13950923085212708,
-0.07702405750751495,
-0.2660179138183594,
-0.10385747253894806,
-0.4424048066139221,
-0.3410610556602478,
-0.28545480966567993,
0.09560113400220871,
-0.17412260174751282,
0.1295318901538849,
-0.2702614963054657,
-0.0985725149512291,
-0.06708060204982758,
0.3628925681114197,
-0.009106764569878578,
0.548926830291748,
-0.0001074182364391163,
-0.027082595974206924,
-0.04193435609340668,
-0.14886951446533203,
-0.1034156084060669,
0.020313628017902374,
-0.3263736069202423,
0.54548180103302,
-0.41608425974845886,
-0.15849104523658752,
-0.4424956738948822,
-0.03738918900489807,
-0.15936651825904846,
-0.06913955509662628,
0.37023836374282837,
0.11014647781848907,
0.20674589276313782,
0.033108845353126526,
0.029400687664747238,
-0.027306750416755676,
0.24973389506340027,
0.04645925015211105,
0.04375755786895752,
0.05161461606621742,
0.010990791022777557,
0.08392483741044998,
-0.01999116688966751,
-0.012711282819509506,
0.23205727338790894,
0.22071082890033722,
0.21021458506584167,
-0.2231941819190979,
0.03428689390420914,
-0.25306436419487,
-0.06650420278310776,
0.1607753336429596,
0.27955928444862366,
-0.13540956377983093,
-0.36971810460090637,
-0.10662096738815308,
-0.014313518069684505,
-0.6579864025115967,
-0.05058104544878006,
0.3136824369430542,
-0.02470698021352291,
0.03235293924808502,
-0.07124756276607513,
0.13440832495689392,
-0.029869645833969116,
-0.0848141610622406,
0.07658901810646057,
0.6997166872024536,
0.07254336029291153,
0.0611053928732872,
0.4235510230064392,
0.013390358537435532,
0.1375877410173416,
0.01127092819660902,
-0.07269802689552307,
0.1279781311750412,
-0.3236725628376007,
-0.22803562879562378,
-0.2975526452064514,
0.2766512632369995,
0.11490171402692795,
0.10783287137746811,
-0.08894028514623642,
0.20850726962089539,
0.08646748960018158,
0.17397800087928772,
0.16513369977474213,
0.22761614620685577,
0.03553270548582077,
0.3068237900733948,
-0.015488885343074799,
0.09698797762393951,
-0.12596598267555237,
0.14235982298851013,
0.018858596682548523,
-0.2953651249408722,
-0.0575607493519783,
0.1596962809562683,
-0.24059301614761353,
-0.10670290887355804,
-0.2917692959308624,
-0.3292224705219269,
-0.29956257343292236,
-0.2655610144138336,
0.20931902527809143,
0.3032733201980591,
-0.08097370713949203,
0.05912492051720619,
-0.07975990325212479,
0.11365077644586563,
-0.05177246779203415,
-0.2500486373901367,
-0.4315810203552246,
0.007870269939303398,
-0.3319699466228485,
0.16147716343402863,
0.09614862501621246,
-0.21586234867572784,
0.325915664434433,
0.31710928678512573,
0.042700693011283875,
-0.10457072407007217,
-0.09383871406316757,
-0.00808568112552166,
0.06163918972015381,
0.02137511968612671,
0.02751026675105095,
-0.012542913667857647,
0.14694607257843018,
-0.012189086526632309,
0.10842103511095047,
0.25254201889038086,
-0.364021360874176,
-0.23429088294506073,
0.4208703339099884,
0.24100467562675476,
-0.15378960967063904,
-0.0020533613860607147,
-0.3313787877559662,
0.0717514306306839,
0.1327168494462967,
0.10204100608825684,
-0.13011369109153748,
-0.18596616387367249,
-0.2507871091365814,
-0.10241774469614029,
0.4589519500732422,
-0.19032306969165802,
-0.09309160709381104,
-0.045946355909109116,
0.16668270528316498,
0.04581848904490471,
0.2529374957084656,
0.5030996799468994,
-0.049366649240255356,
-0.03942299634218216,
-0.05610509216785431,
0.059185415506362915,
0.12448321282863617,
0.06685484945774078,
-0.2905210256576538,
-0.26161089539527893,
-0.13672563433647156,
-0.14205510914325714,
-0.09623532742261887,
0.01160554401576519,
0.10211965441703796,
-0.20105522871017456,
0.3246786594390869,
0.38284748792648315,
-0.297002911567688,
0.1307126134634018,
-0.4009949564933777,
0.05445445328950882,
0.1685846447944641,
0.48058021068573,
0.014461450278759003,
-0.07173348218202591,
-0.14937451481819153,
-0.12110394239425659,
0.4762871265411377,
0.010141804814338684,
-0.029344556853175163,
0.0018907003104686737,
0.24156129360198975,
0.19149380922317505,
0.1795387864112854,
-0.078426793217659,
0.24106937646865845,
0.10301538556814194,
0.36576223373413086,
0.052409615367650986,
0.32038241624832153,
-0.1304529309272766,
-0.3920789957046509,
-0.26963111758232117,
-0.30582180619239807,
-0.1071612536907196,
0.16184352338314056,
-0.1701454371213913,
0.23593515157699585,
-0.10548129677772522,
-0.0968540832400322,
-0.13558590412139893,
-0.23345737159252167,
0.011265591718256474,
-0.30877169966697693,
0.06122300773859024,
-0.13507138192653656,
-0.29239100217819214,
0.05293957144021988,
0.13952958583831787,
0.10206928849220276,
0.04191068187355995,
-0.11879072338342667,
0.40916040539741516,
0.3247659504413605,
-0.4278869032859802,
-0.32338252663612366,
0.0829121470451355,
-0.0699152797460556,
0.10350298881530762,
-0.1071631982922554,
-0.07164819538593292,
0.12349548935890198,
-0.20728617906570435,
0.1270313709974289,
0.46355098485946655,
-0.39348533749580383,
-0.10975322872400284,
0.03023412823677063,
-0.15405111014842987,
0.22012072801589966,
0.05898815765976906,
-0.2735132873058319,
0.05956201255321503,
0.3338584005832672,
-0.23671256005764008,
0.17851944267749786,
-0.035473793745040894,
-0.271389365196228,
-0.1414783000946045,
0.30982157588005066,
-0.012595735490322113,
-0.11933454126119614,
-0.252332866191864,
-0.131413072347641,
0.1176527813076973,
-0.09895362704992294,
0.29110953211784363,
0.2756369411945343,
0.23806524276733398,
-0.0021681450307369232,
0.0973026305437088,
-0.0231642983853817,
-0.2529580891132355,
-0.20768141746520996,
-0.12586885690689087,
0.2291235625743866,
0.0015448927879333496,
0.006287659052759409,
-0.09612925350666046,
-0.17276141047477722,
-0.099616140127182,
0.2327682375907898,
0.3319702446460724,
-0.24666278064250946,
-0.1438867598772049,
-0.3990573585033417,
0.10528714209794998,
-0.31174585223197937,
-0.2747056782245636,
-0.1441822052001953,
-0.10016599297523499,
0.18089482188224792,
0.4816628098487854,
-0.04243665933609009,
0.23022915422916412,
0.21121741831302643,
0.09236428141593933,
0.02132018469274044,
0.21237438917160034,
-0.057704001665115356,
-0.25709155201911926,
0.01879820041358471,
0.17913857102394104,
0.2132532000541687,
0.13104142248630524,
0.3282647728919983,
-0.09263119101524353,
-0.2903420925140381,
0.13006898760795593,
-0.15195463597774506,
-0.19138793647289276,
-0.18183058500289917,
0.17801840603351593,
-0.3300056755542755,
0.11863723397254944,
-0.18654942512512207,
-0.3050544261932373,
0.35825079679489136,
-0.23534691333770752,
-0.13271473348140717,
0.09119076281785965,
0.17854416370391846,
-0.17516426742076874,
-0.17570282518863678,
-0.27976101636886597,
-0.16372226178646088,
-0.22188937664031982,
0.14138519763946533,
-0.12684285640716553,
-0.1260433942079544,
0.14228613674640656,
0.06571800261735916,
-0.4844719171524048,
-0.03678157925605774,
-0.33423322439193726,
-0.2686419188976288,
-0.48109495639801025,
0.17575645446777344,
-0.197592630982399,
-0.18939046561717987,
0.0030247829854488373,
-0.08516836166381836,
0.06621680408716202,
0.4775412082672119,
0.0966285765171051,
0.22670890390872955,
-0.1116112768650055,
-0.10419794917106628,
-0.11597698926925659,
0.007213428616523743,
0.4805998206138611,
-0.1754937320947647,
0.14187796413898468,
0.014232724905014038,
-0.2586207985877991,
0.2727108895778656,
0.2904883325099945,
0.33119550347328186,
-0.09865445643663406,
0.45494380593299866,
0.17340482771396637,
0.9153649210929871,
-0.2347608357667923,
-0.015835333615541458,
0.07453621923923492,
0.05647062510251999,
-0.07240411639213562,
-0.15110933780670166,
-0.08499862253665924,
0.39895856380462646,
0.2620506286621094,
-0.3004080653190613,
0.1801554560661316,
-0.0649491474032402,
-0.05436283349990845,
-0.15364134311676025,
0.085235595703125,
-0.1919073760509491,
-0.18282483518123627,
0.07629134505987167,
0.06570403277873993,
0.046327561140060425,
-0.017030838876962662,
0.245551198720932,
0.1083478182554245,
-0.009748359210789204,
-0.1477893441915512,
0.19566330313682556,
0.189100980758667,
-0.015726083889603615,
-0.4418315887451172,
-0.2630486786365509,
-0.18691405653953552,
0.004882581532001495,
-0.034710418432950974,
0.1843189150094986,
0.0014081336557865143,
-0.1263064742088318,
0.23603995144367218,
0.08223997801542282,
0.5527575612068176,
-0.08940920233726501,
0.20111806690692902,
0.04012850299477577,
-0.09495136141777039,
-0.2554169297218323,
-0.401910662651062,
-0.263410359621048,
-0.37828224897384644,
-0.015592806041240692,
0.23635415732860565,
-0.24937409162521362,
0.002353392308577895,
0.00318320095539093,
-0.05227309465408325,
-0.09393848478794098,
-0.254452109336853,
-0.2734541594982147,
-0.1572750061750412,
-0.20958095788955688,
0.30147308111190796,
0.2451580911874771,
0.07094267010688782,
-0.38872402906417847,
0.21073098480701447,
0.0931999459862709,
0.042498938739299774,
0.18397071957588196,
0.21849817037582397,
0.302426815032959,
0.07805541902780533,
0.24188187718391418,
0.2548438310623169,
-0.2479170560836792,
0.37761202454566956,
0.05382199212908745,
0.0363323837518692,
-0.1269845813512802,
-0.050396643579006195,
-0.18305784463882446,
0.07754002511501312,
0.039892248809337616,
0.10887149721384048,
0.0034355297684669495,
0.10386250913143158,
0.18262627720832825,
-0.3009643852710724,
0.10887741297483444,
0.2284179925918579,
-0.05308777466416359,
-0.4583853781223297,
-0.9026970863342285,
-0.042193979024887085,
0.29981526732444763,
-0.07273446023464203,
0.48752105236053467,
-0.12723392248153687,
-0.07583969831466675,
0.5407732129096985,
-0.03385770320892334,
0.5933591723442078,
-0.23625148832798004,
-0.032407697290182114,
0.3630940318107605,
0.27306199073791504,
-0.09303303062915802,
0.18953962624073029,
0.5196417570114136,
-0.3974263668060303,
-0.595138430595398,
0.05544976145029068,
-0.029150769114494324,
0.01991955190896988,
0.47324270009994507,
-0.1833689957857132,
0.3339940011501312,
0.12418203055858612,
-0.08707989752292633,
-0.20905251801013947,
0.03439709544181824,
-0.096327044069767,
0.1541949063539505,
-0.194722518324852,
0.23236504197120667,
-0.08719435334205627,
0.21874146163463593,
0.06844544410705566,
-0.021679431200027466,
-0.2913118898868561,
-0.20651580393314362,
-0.1912408173084259,
0.0320260263979435,
-0.09684240818023682,
-0.0009724646806716919,
-0.2653566300868988,
-0.004936136305332184,
-0.08824598789215088,
0.01005106046795845,
0.3758585453033447,
0.2907514274120331,
0.08819485455751419,
0.29463499784469604,
0.29408910870552063,
-0.06571785360574722,
-0.06180167198181152,
-0.030753687024116516,
0.2619324326515198,
-0.052335210144519806,
-0.2637943923473358,
-0.2150697410106659,
0.16318511962890625,
-0.6124818325042725,
-0.4894147515296936,
-0.15022428333759308,
0.003246854990720749,
-0.13961955904960632,
-0.10962052643299103,
0.15756955742835999,
0.1193600594997406,
-0.17676953971385956,
0.19987361133098602,
0.04329448193311691,
-0.15465697646141052,
0.4796595871448517,
0.021159876137971878,
-0.1229078471660614,
-0.15637440979480743,
0.2903960347175598,
0.02880776673555374,
0.27391383051872253,
0.3979180157184601,
0.020808149129152298,
0.09698307514190674,
-0.23946833610534668,
0.09712234884500504,
0.24452334642410278,
-0.037060149013996124,
0.11786526441574097,
0.020130902528762817,
0.02565184235572815,
0.2794484794139862,
0.16860879957675934,
0.03592782840132713,
0.15187950432300568,
0.1496252566576004,
-0.35981619358062744,
-0.17101074755191803,
0.12750837206840515,
0.05134064704179764,
0.21231535077095032,
0.04129621386528015,
0.32120266556739807,
-0.2519982159137726,
0.15614046156406403,
-0.3886309266090393,
-0.00518793985247612,
0.006639024242758751,
0.2691410183906555,
-0.0974377989768982,
-0.1446211338043213,
-0.037712544202804565,
-0.0845915824174881,
0.2287065088748932,
0.08540552109479904,
-0.14479266107082367,
-0.25729742646217346,
0.014983009546995163,
0.002273857593536377,
0.16950616240501404,
0.1784316748380661,
-0.07131613790988922,
-0.20941239595413208,
-0.3208102285861969,
-0.12439924478530884,
0.1283068209886551,
0.35560479760169983,
0.07022300362586975,
0.32067441940307617,
0.8912522196769714,
0.415652334690094,
0.16161401569843292,
0.20129510760307312,
-0.216365247964859,
-0.2438078373670578,
0.059787292033433914,
-0.05793145298957825,
0.09380941838026047,
0.02173823118209839,
-0.3837362825870514,
-0.23442187905311584,
-0.037406980991363525,
0.02676275745034218,
0.18789330124855042,
-0.24236159026622772,
0.10231639444828033,
0.14669305086135864,
0.5108511447906494,
0.472543329000473,
0.10196613520383835,
-0.07701425999403,
0.46376413106918335,
0.3311007022857666,
-0.030750444158911705,
0.13204944133758545,
0.29795536398887634,
0.3410886526107788,
0.18168595433235168,
0.17045363783836365,
-0.34947073459625244,
-0.1290711611509323,
-0.40432894229888916,
0.16196802258491516,
0.2966359257698059,
-0.48322272300720215,
0.250663161277771,
0.3737596869468689,
-0.02833128161728382,
-0.17970949411392212,
0.0534491166472435,
-0.2817395329475403,
0.05611257255077362,
0.04313734918832779,
0.1456334888935089,
0.41721826791763306,
0.17476680874824524,
-0.1647614985704422,
0.012879356741905212,
-0.3011211156845093,
-0.34691834449768066,
0.5019985437393188,
-0.1554960310459137,
0.15665283799171448,
0.18515029549598694,
0.38199353218078613,
-0.20400851964950562,
-0.22251014411449432,
-0.07566911727190018,
0.041609518229961395,
-0.1850988268852234,
0.1485217958688736,
-0.26968061923980713,
-0.11303067952394485,
-0.16736066341400146,
-0.010291961953043938,
-0.10451515018939972,
0.1405150294303894,
0.36489343643188477,
-0.04839163273572922,
-0.25646209716796875,
-0.20336098968982697,
-0.36663538217544556,
0.3606000244617462,
0.15313366055488586,
-0.016815640032291412,
-0.09438878297805786,
-0.06866045296192169,
-0.30914556980133057,
0.8062516450881958,
-0.012076722458004951,
0.11515834927558899,
0.29859721660614014,
-0.15293295681476593,
0.10089848935604095,
-0.1636236160993576,
-0.21125802397727966,
0.04955974966287613,
0.20458565652370453,
0.34452223777770996,
0.016070106998085976,
0.22880424559116364,
0.2510470151901245,
-0.16582131385803223,
0.039093777537345886,
0.01744125783443451,
0.4443412125110626,
-0.22317251563072205,
0.23616692423820496,
0.23378095030784607,
0.055470727384090424,
0.12018345296382904,
-0.0006372854113578796,
-0.2975916862487793,
0.130068838596344,
-0.5377174615859985,
0.05895354226231575,
0.05639846622943878,
-0.005658760201185942,
0.08711142092943192,
0.009097250178456306,
0.32641443610191345,
0.07653280347585678,
-0.3135472238063812,
-0.09105885773897171,
-0.2488686889410019,
-0.5535826086997986,
0.005172662436962128,
-0.1529155671596527,
0.01679879240691662,
-0.16969650983810425,
0.13825532793998718,
0.18827688694000244,
0.06138432025909424,
0.03489057719707489,
-0.025820616632699966,
-0.0900951698422432,
0.5307046175003052,
-0.33897578716278076,
0.1713409721851349,
-0.19167263805866241,
-0.03225915879011154,
0.22191768884658813,
-0.12376146018505096,
0.1312691867351532,
0.28379616141319275,
0.08802195638418198,
0.17414319515228271,
0.09203334152698517,
0.05199752375483513,
-0.12410150468349457,
-0.09373034536838531,
0.06026758253574371,
0.3613368272781372,
-0.10689255595207214,
0.288689523935318,
-0.21559277176856995,
0.019850851967930794,
-0.6188884377479553,
-0.04100130498409271,
0.01478639803826809,
0.4648216962814331,
0.05274435877799988,
-0.2882519066333771,
-0.3264468014240265,
0.4086202085018158,
-0.12271878123283386,
-0.1337551772594452,
-0.2514204680919647,
0.3094479739665985,
0.30734285712242126,
0.20385445654392242,
0.005736703984439373,
0.23297014832496643,
-0.03725830465555191,
-0.048410553485155106,
-0.05497637391090393,
-0.1712823361158371,
0.6249600648880005,
-0.1791592836380005,
-0.1430869847536087,
-0.5323916673660278,
0.06889878213405609,
-0.019284002482891083,
-0.06967457383871078,
-0.05157716944813728,
0.05509717017412186,
0.0012226277031004429,
0.12149602919816971,
-0.004394238814711571,
0.2406889796257019,
0.0904306173324585,
-0.054753080010414124,
-0.009614448994398117,
0.1765802800655365,
0.10834886878728867,
-0.3192111551761627,
0.11466933786869049,
-0.2614700496196747
] |
https://github.com/huggingface/datasets/issues/1609 | Not able to use 'jigsaw_toxicity_pred' dataset | Hi @jassimran,
The `jigsaw_toxicity_pred` dataset has not been released yet, it will be available with version 2 of `datasets`, coming soon.
You can still access it by installing the master (unreleased) version of datasets directly :
`pip install git+https://github.com/huggingface/datasets.git@master`
Please let me know if this helps | When trying to use jigsaw_toxicity_pred dataset, like this in a [colab](https://colab.research.google.com/drive/1LwO2A5M2X5dvhkAFYE4D2CUT3WUdWnkn?usp=sharing):
```
from datasets import list_datasets, list_metrics, load_dataset, load_metric
ds = load_dataset("jigsaw_toxicity_pred")
```
I see below error:
> FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
280 raise FileNotFoundError(
281 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 282 combined_path, github_file_path, file_path
283 )
284 )
FileNotFoundError: Couldn't find file locally at jigsaw_toxicity_pred/jigsaw_toxicity_pred.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py | 46 | Not able to use 'jigsaw_toxicity_pred' dataset
When trying to use jigsaw_toxicity_pred dataset, like this in a [colab](https://colab.research.google.com/drive/1LwO2A5M2X5dvhkAFYE4D2CUT3WUdWnkn?usp=sharing):
```
from datasets import list_datasets, list_metrics, load_dataset, load_metric
ds = load_dataset("jigsaw_toxicity_pred")
```
I see below error:
> FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/datasets/load.py in prepare_module(path, script_version, download_config, download_mode, dataset, force_local_path, **download_kwargs)
280 raise FileNotFoundError(
281 "Couldn't find file locally at {}, or remotely at {} or {}".format(
--> 282 combined_path, github_file_path, file_path
283 )
284 )
FileNotFoundError: Couldn't find file locally at jigsaw_toxicity_pred/jigsaw_toxicity_pred.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/jigsaw_toxicity_pred/jigsaw_toxicity_pred.py
Hi @jassimran,
The `jigsaw_toxicity_pred` dataset has not been released yet, it will be available with version 2 of `datasets`, coming soon.
You can still access it by installing the master (unreleased) version of datasets directly :
`pip install git+https://github.com/huggingface/datasets.git@master`
Please let me know if this helps | [
-0.17650459706783295,
-0.07363680005073547,
-0.06083918735384941,
0.24104361236095428,
0.37655019760131836,
0.2648485004901886,
0.19602468609809875,
0.007784806191921234,
-0.13723599910736084,
0.1830356866121292,
-0.2765672504901886,
0.3002052903175354,
-0.09545651078224182,
0.08721091598272324,
-0.16085267066955566,
0.15325382351875305,
0.047902461141347885,
0.23324109613895416,
-0.16773945093154907,
0.26247072219848633,
-0.18080128729343414,
0.10980766266584396,
-0.2976608872413635,
0.15414874255657196,
-0.4638722538948059,
-0.17333990335464478,
0.07856976985931396,
0.40339982509613037,
-0.14535191655158997,
-0.37952008843421936,
0.5730251669883728,
-0.046871986240148544,
0.1658124476671219,
0.757140576839447,
-0.00011316566815366969,
0.30792683362960815,
0.40395069122314453,
-0.07764264196157455,
-0.369879812002182,
-0.5823312401771545,
-0.5913624167442322,
-0.12185546010732651,
0.1567143052816391,
-0.14976434409618378,
-0.3388912081718445,
-0.040169015526771545,
0.15441930294036865,
-0.33309996128082275,
0.32454895973205566,
0.3865210711956024,
0.20663222670555115,
0.387239933013916,
0.12226349115371704,
-0.338493287563324,
-0.02585553377866745,
0.26662957668304443,
-0.19728690385818481,
0.6044797301292419,
0.344388872385025,
-0.04381746053695679,
0.28202760219573975,
0.0967956930398941,
-0.05180933699011803,
0.1000467985868454,
0.09445584565401077,
0.031942129135131836,
-0.14020422101020813,
-0.3953694701194763,
0.3337979018688202,
0.48677462339401245,
0.28828921914100647,
-0.39543530344963074,
-0.23687292635440826,
-0.16543319821357727,
-0.009228453040122986,
-0.262285977602005,
-0.01646370440721512,
0.0009506028145551682,
0.07110106945037842,
0.17856964468955994,
-0.022911885753273964,
0.13732588291168213,
-0.1632053554058075,
0.2048933357000351,
0.23333531618118286,
0.3115943968296051,
-0.2750919759273529,
0.0986383855342865,
0.11400739848613739,
-0.4757564067840576,
0.18213780224323273,
0.053063467144966125,
-0.05558265373110771,
0.09871163219213486,
-0.3599218428134918,
0.16721728444099426,
-0.17567846179008484,
0.2006388008594513,
0.2447081208229065,
-0.40475577116012573,
0.06352251768112183,
-0.1541946828365326,
-0.05031106248497963,
0.088315449655056,
0.11893486976623535,
0.048275042325258255,
0.1448552906513214,
0.4108527600765228,
0.26345980167388916,
0.5451515316963196,
-0.2810814380645752,
-0.1524786353111267,
-0.1094566211104393,
-0.2906464636325836,
-0.03657837212085724,
-0.23215153813362122,
0.4688727855682373,
-0.3515861928462982,
-0.445178359746933,
-0.3080205023288727,
-0.18837106227874756,
0.16529390215873718,
0.33220964670181274,
0.4939045310020447,
0.15706093609333038,
-0.15721112489700317,
-0.07504326105117798,
0.3428781032562256,
-0.055886462330818176,
0.1293439418077469,
-0.2999328672885895,
0.2289605289697647,
-0.22910992801189423,
0.06475649774074554,
0.12874352931976318,
-0.4026704728603363,
0.4692712128162384,
-0.12307967990636826,
0.19832870364189148,
-0.056233592331409454,
-0.16115090250968933,
-0.11950190365314484,
-0.13801085948944092,
0.24866339564323425,
0.026070985943078995,
0.02248413674533367,
0.08362933248281479,
-0.06281330436468124,
-0.06751192361116409,
0.05918733775615692,
-0.3778590261936188,
-0.42553409934043884,
0.03684491664171219,
0.14833122491836548,
-0.4374787211418152,
-0.1637430489063263,
0.05536407604813576,
-0.11823897063732147,
0.15657275915145874,
-0.1337580680847168,
-0.1645391285419464,
-0.07589881122112274,
-0.49983784556388855,
-0.282662570476532,
0.19352339208126068,
0.48300689458847046,
-0.29960811138153076,
0.0424690917134285,
-0.3080744445323944,
-0.08678597211837769,
0.18065272271633148,
0.13930103182792664,
-0.3239138722419739,
0.0703098326921463,
-0.2412337213754654,
-0.0015095770359039307,
0.35450834035873413,
-0.5732681751251221,
-0.25336790084838867,
0.107981838285923,
0.006384916603565216,
0.08412487804889679,
0.17470619082450867,
-0.3414478898048401,
-0.20448829233646393,
-0.14923197031021118,
0.1607513427734375,
0.03458162397146225,
-0.025170231238007545,
-0.10392770171165466,
0.07459412515163422,
-0.3003213405609131,
-0.04279986023902893,
0.25498828291893005,
-0.0014975741505622864,
0.17896413803100586,
0.33719006180763245,
-0.08540697395801544,
0.14177650213241577,
-0.1695164442062378,
-0.07910476624965668,
0.14775210618972778,
0.004492174834012985,
0.020052704960107803,
-0.03541122376918793,
-0.03477352112531662,
-0.29545047879219055,
0.28229886293411255,
-0.14526651799678802,
-0.009849697351455688,
-0.3215230703353882,
-0.06169424206018448,
-0.569197952747345,
0.09714425355195999,
-0.23262859880924225,
-0.0552995465695858,
0.11487160623073578,
0.02021922916173935,
0.07414489984512329,
0.20993302762508392,
-0.06645427644252777,
0.3034052848815918,
-0.12012090533971786,
0.07362249493598938,
-0.3704356551170349,
0.177577942609787,
-0.1285678893327713,
-0.3357836902141571,
0.16369840502738953,
0.29391780495643616,
0.22140958905220032,
-0.12304968386888504,
-0.051559288054704666,
0.25605806708335876,
0.007353723980486393,
0.08413708209991455,
0.233731210231781,
0.25243043899536133,
0.143198624253273,
-0.11250387132167816,
0.20189937949180603,
-0.08709269762039185,
0.3635495901107788,
-0.012047793716192245,
0.15101701021194458,
0.4019838571548462,
-0.21087457239627838,
0.27955499291419983,
0.09225460886955261,
-0.012831289321184158,
0.2691122889518738,
-0.09198042750358582,
0.03921358287334442,
-0.36849352717399597,
0.1300259679555893,
-0.016999918967485428,
0.1427503079175949,
0.11868933588266373,
-0.315652459859848,
0.0353444442152977,
0.18179866671562195,
0.06765884160995483,
0.026217442005872726,
0.005976751446723938,
-0.10931967943906784,
0.0335150808095932,
0.2066030651330948,
0.07603803277015686,
0.5343500971794128,
0.2244419902563095,
0.034631870687007904,
0.07321007549762726,
0.03267360478639603,
-0.3638685643672943,
0.03511820733547211,
0.18617889285087585,
0.40195292234420776,
0.10550766438245773,
0.17961610853672028,
-0.11252912133932114,
0.0497632697224617,
-0.07339343428611755,
0.01338900439441204,
0.3247944414615631,
-0.26117822527885437,
0.40622133016586304,
-0.6884022951126099,
-0.8490630388259888,
0.0187443308532238,
-0.13183221220970154,
-0.003504198044538498,
-0.14348359405994415,
-0.24256913363933563,
-0.05283511057496071,
0.0637291818857193,
0.25900596380233765,
0.04301672801375389,
0.0015335828065872192,
-0.1681162416934967,
-0.22264014184474945,
-0.06756331771612167,
-0.22437827289104462,
-0.24107572436332703,
0.1178557276725769,
0.27410176396369934,
0.030181555077433586,
0.3007182776927948,
-0.26234355568885803,
-0.07899467647075653,
-0.10631795972585678,
-0.04919879883527756,
0.18528808653354645,
0.029712557792663574,
0.5172258615493774,
0.26431018114089966,
0.05734899640083313,
-0.23215971887111664,
-0.3317300081253052,
0.3848646581172943,
-0.23059891164302826,
0.040368542075157166,
-0.026558153331279755,
-0.46719786524772644,
-0.07804358005523682,
0.07266208529472351,
0.01341516524553299,
-0.3836221396923065,
-0.3464673161506653,
-0.22472672164440155,
0.1520385444164276,
-0.005844905972480774,
0.40435001254081726,
0.13934670388698578,
0.3607225716114044,
-0.007963748648762703,
0.1871715486049652,
-0.11757534742355347,
-0.7591181397438049,
0.34594297409057617,
-0.15225107967853546,
-0.17811253666877747,
0.2786600589752197,
-0.18888802826404572,
0.36043599247932434,
0.006301918998360634,
-0.22048689424991608,
-0.3749679923057556,
-0.07122036814689636,
0.05953957512974739,
0.26807206869125366,
0.14318330585956573,
-0.0766407698392868,
-0.2826038897037506,
0.02954132668673992,
-0.24029219150543213,
-0.3323746621608734,
0.15491202473640442,
-0.03249474614858627,
0.44857874512672424,
0.25570014119148254,
0.27350589632987976,
0.026537444442510605,
0.5264334678649902,
0.2063238024711609,
-0.3104100525379181,
0.5608499050140381,
-0.23355168104171753,
0.5399405360221863,
-0.28549182415008545,
-0.3986560106277466,
-0.02956942282617092,
0.23632195591926575,
0.11102209985256195,
0.0497974194586277,
0.06868768483400345,
0.06223007291555405,
-0.3711649775505066,
-0.2727769911289215,
-0.4604554772377014,
-0.2208373099565506,
-0.12482422590255737,
0.06277021765708923,
0.04867896810173988,
0.1545647382736206,
-0.19307202100753784,
-0.0020580198615789413,
-0.2547903060913086,
-0.12124978005886078,
0.5862553715705872,
0.07541287690401077,
0.07703737914562225,
0.4145713448524475,
-0.08551841974258423,
-0.4037938714027405,
0.4634942412376404,
-0.004049008712172508,
0.19487380981445312,
-0.18344449996948242,
0.0782376378774643,
0.11050640791654587,
0.0581076480448246,
0.31560182571411133,
-0.17117951810359955,
0.2286422997713089,
0.2236151248216629,
-0.3791867196559906,
-0.1125553622841835,
-0.09826461970806122,
-0.038982246071100235,
0.21804729104042053,
0.35348835587501526,
0.03544090315699577,
-0.1983342319726944,
-0.18736532330513,
0.4676235020160675,
0.1350228190422058,
-0.0776863694190979,
-0.22848422825336456,
-0.3260587155818939,
-0.3493531048297882,
-0.34080472588539124,
-0.2839423418045044,
0.004351956769824028,
0.2995140254497528,
0.2653268277645111,
0.024389054626226425,
-0.14078722894191742,
-0.1731911301612854,
0.09511858969926834,
0.36281871795654297,
0.285458505153656,
0.09192674607038498,
0.20893438160419464,
0.2666971981525421,
-0.02916242927312851,
0.4811284840106964,
0.7712751626968384,
-0.14572203159332275,
-0.6279445886611938,
-0.12641888856887817,
0.24416035413742065,
0.1976390928030014,
0.23652350902557373,
-0.1961037516593933,
-0.00696331262588501,
0.05786890909075737,
-0.1745002418756485,
0.02167876623570919,
0.3970034718513489,
0.1860409379005432,
-0.06406649202108383,
-0.5427679419517517,
-0.3402176797389984,
0.2356947958469391,
0.18274042010307312,
-0.02385515719652176,
0.19016021490097046,
0.1988549679517746,
-0.2527967393398285,
0.2567952275276184,
0.034699223935604095,
0.7595459222793579,
-0.17449438571929932,
-0.04287415370345116,
0.1884584128856659,
0.11580270528793335,
0.5992569327354431,
0.18826045095920563,
-0.07071084529161453,
-0.20755814015865326,
-0.29784753918647766,
0.10585279762744904,
-0.1279861032962799,
0.39864352345466614,
0.04568152129650116,
-0.17737968266010284,
0.5035873055458069,
-0.15211772918701172,
0.1690412014722824,
-0.00022366084158420563,
0.21447184681892395,
0.20411285758018494,
-0.10777971148490906,
-0.23652973771095276,
0.1485312432050705,
-0.08990032970905304,
0.19029423594474792,
-0.2229715883731842,
-0.1885855495929718,
-0.20686957240104675,
-0.04181211441755295,
-0.3231395483016968,
-0.013327381573617458,
-0.26074299216270447,
0.07720265537500381,
-0.043327052146196365,
-0.48720765113830566,
0.13852640986442566,
0.2872037887573242,
0.2798927426338196,
0.15844984352588654,
-0.23628827929496765,
0.20443062484264374,
0.03887445479631424,
-0.326404333114624,
-0.3186456859111786,
0.08167744427919388,
0.3960493505001068,
-0.09621924161911011,
-0.1998077929019928,
-0.08425254374742508,
0.11239799857139587,
-0.21093158423900604,
0.09931953251361847,
-0.017265386879444122,
-0.3980233073234558,
-0.28777527809143066,
-0.22725754976272583,
-0.14405333995819092,
0.22808805108070374,
-0.12383393943309784,
0.10923537611961365,
0.323857843875885,
-0.10205361247062683,
-0.042135052382946014,
0.04722258076071739,
-0.31295502185821533,
-0.1615104377269745,
0.22590035200119019,
-0.06804914027452469,
0.12464523315429688,
0.21666479110717773,
0.12627369165420532,
-0.12397521734237671,
-0.12834060192108154,
0.015923939645290375,
0.11054152250289917,
0.0809166207909584,
0.17830443382263184,
0.38829153776168823,
0.14217834174633026,
0.045643460005521774,
0.1837657243013382,
0.27089038491249084,
-0.21751832962036133,
0.0005879774689674377,
-0.6009103059768677,
-0.3271939754486084,
0.01520402729511261,
-0.13892240822315216,
0.17736294865608215,
-0.16207146644592285,
0.3467493951320648,
0.07475879788398743,
-0.0876121073961258,
-0.2790808081626892,
0.10549694299697876,
-0.2524273097515106,
-0.03305411338806152,
0.37872663140296936,
0.03216766193509102,
0.18821831047534943,
0.06049102917313576,
0.13649281859397888,
-0.0075697824358940125,
-0.166965514421463,
-0.21901541948318481,
-0.09680821001529694,
0.1552596390247345,
0.03609248623251915,
-0.32467296719551086,
-0.11409305781126022,
-0.2800058126449585,
-0.10911695659160614,
-0.14858661592006683,
0.20109422504901886,
0.22011330723762512,
0.06970476359128952,
-0.014266936108469963,
0.2874353528022766,
0.0023167356848716736,
0.18291901051998138,
0.2478027045726776,
0.022718627005815506,
0.10679254680871964,
0.22796979546546936,
0.04982973635196686,
0.07907848805189133,
-0.05038120225071907,
0.4414776563644409,
-0.276581734418869,
-0.16620351374149323,
-0.06224110722541809,
0.26665201783180237,
-0.07973843812942505,
0.00014620646834373474,
0.1708437204360962,
0.20720131695270538,
0.5527580976486206,
-0.005149389151483774,
0.22760403156280518,
0.24211308360099792,
0.06008505821228027,
-0.26825010776519775,
0.004366419743746519,
0.2005748152732849,
0.2052982598543167,
0.06755444407463074,
0.3758971393108368,
0.129562109708786,
0.2704564332962036,
0.09200957417488098,
-0.05193176120519638,
0.40573975443840027,
0.034024182707071304,
0.2595989406108856,
0.09379763901233673,
-0.02686353400349617,
0.0012690089643001556,
0.27606528997421265,
0.177562415599823,
0.32426947355270386,
0.22175438702106476,
-0.37997904419898987,
0.4237821102142334,
-0.17972758412361145,
0.24527117609977722,
0.11525615304708481,
-0.4413740038871765,
0.21600577235221863,
0.19607611000537872,
-0.11922000348567963,
-0.1913732886314392,
-0.018545761704444885,
0.22088515758514404,
-0.22421228885650635,
0.17311552166938782,
-0.1550614982843399,
0.13909313082695007,
-0.1601521074771881,
-0.14059703052043915,
0.037608325481414795,
-0.28511354327201843,
0.05898551642894745,
-0.14584466814994812,
-0.0228642039000988,
-0.110494464635849,
-0.13186071813106537,
-0.14997313916683197,
-0.1587030440568924,
-0.0365961492061615,
0.24292775988578796,
0.30497485399246216,
-0.017186805605888367,
0.044187743216753006,
0.30763018131256104,
0.07263178378343582,
0.020190957933664322,
0.21186640858650208,
0.36017605662345886,
0.6329967975616455,
0.14581453800201416,
0.019977562129497528,
-0.006721967831254005,
-0.1254877746105194,
-0.20860305428504944,
-0.05786307528614998,
0.4039764106273651,
0.033996861428022385,
0.10465410351753235,
0.30796748399734497,
0.1693716049194336,
-0.16942770779132843,
0.060041170567274094,
0.003852471709251404,
0.013838574290275574,
-0.11925975978374481,
0.03656742721796036,
-0.0875125527381897,
0.07399509102106094,
-0.02959015965461731,
0.16774863004684448,
-0.3000258803367615,
0.3487209677696228,
0.1864137202501297,
-0.29136496782302856,
0.21674978733062744,
-0.042620763182640076,
0.07670887559652328,
0.10158286988735199,
0.4885878264904022,
0.16087810695171356,
0.30757594108581543,
-0.3083043694496155,
-0.09746859967708588,
-0.6733787059783936,
0.045519813895225525,
-0.06315989792346954,
-0.16571511328220367,
0.04639387130737305,
-0.14228609204292297,
-0.22738730907440186,
0.10676024109125137,
0.3253479599952698,
0.03659462928771973,
0.23701828718185425,
-0.018955878913402557,
-0.17901140451431274,
-0.4035909175872803,
-0.05979810655117035,
-0.4032367765903473,
0.03977411985397339,
-0.034735605120658875,
-0.017281342297792435,
-0.28177163004875183,
-0.05083955079317093,
-0.1897321492433548,
-0.18335527181625366,
-0.09746715426445007,
-0.17601707577705383,
0.25451987981796265,
0.1525193452835083,
0.4518977403640747,
-0.07441596686840057,
0.24922505021095276,
-0.33629342913627625,
-0.43959322571754456,
-0.3038599193096161,
0.21045991778373718,
0.17707809805870056,
0.04044312983751297,
-0.3705197870731354,
-0.17755134403705597,
-0.20453089475631714,
-0.18341347575187683,
-0.10583080351352692,
-0.11541957408189774,
-0.16021399199962616,
0.11229810863733292,
-0.10018846392631531,
0.028139105066657066,
-0.015675490722060204,
0.22819572687149048,
-0.12162674963474274,
0.10546676069498062,
-0.0954064205288887,
-0.16764061152935028,
0.7022179365158081,
0.05128893256187439,
-0.06145267188549042,
-0.14711549878120422,
-0.09448681771755219,
-0.05708383768796921,
-0.14842650294303894,
-0.4888679087162018,
0.26729822158813477,
0.39483028650283813,
0.0416904017329216,
-0.10833071172237396,
0.29881274700164795,
-0.19362279772758484,
0.006162770092487335,
0.03632446005940437,
0.01217024028301239,
0.05705444514751434,
-0.13343743979930878,
0.027306828647851944,
-0.07962098717689514
] |
https://github.com/huggingface/datasets/issues/1600 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | Hi @david-waterworth!
As indicated in the error message, `load_dataset("csv")` returns a `DatasetDict` object, which is mapping of `str` to `Dataset` objects. I believe in this case the behavior is to return a `train` split with all the data.
`train_test_split` is a method of the `Dataset` object, so you will need to do something like this:
```python
dataset_dict = load_dataset(`'csv', data_files='data.txt')
dataset = dataset_dict['split name, eg train']
dataset.train_test_split(test_size=0.1)
```
Please let me know if this helps. 🙂 | The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | 76 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
Hi @david-waterworth!
As indicated in the error message, `load_dataset("csv")` returns a `DatasetDict` object, which is mapping of `str` to `Dataset` objects. I believe in this case the behavior is to return a `train` split with all the data.
`train_test_split` is a method of the `Dataset` object, so you will need to do something like this:
```python
dataset_dict = load_dataset(`'csv', data_files='data.txt')
dataset = dataset_dict['split name, eg train']
dataset.train_test_split(test_size=0.1)
```
Please let me know if this helps. 🙂 | [
-0.07218454778194427,
-0.13231079280376434,
-0.08616787195205688,
0.26856815814971924,
0.3532630205154419,
0.17875224351882935,
0.4272962510585785,
0.31180626153945923,
0.331909716129303,
0.16632035374641418,
0.276995986700058,
0.1833031326532364,
-0.29801079630851746,
0.30757391452789307,
-0.03389422595500946,
-0.2959112823009491,
0.008104205131530762,
0.10709642618894577,
0.12379772961139679,
-0.030034422874450684,
-0.189572274684906,
0.18405815958976746,
-0.21952001750469208,
0.09973416477441788,
-0.36730363965034485,
0.0206729955971241,
-0.29200148582458496,
0.1307966113090515,
-0.013535544276237488,
-0.25152766704559326,
0.4045371413230896,
-0.13755583763122559,
0.12393106520175934,
0.49641087651252747,
-0.00011213368998141959,
-0.025492563843727112,
0.03589217737317085,
-0.06449591368436813,
-0.2525278329849243,
-0.4415963888168335,
-0.26282739639282227,
-0.2395176738500595,
0.19760116934776306,
-0.3958483636379242,
-0.17140281200408936,
-0.022470083087682724,
-0.13652928173542023,
-0.4225856065750122,
0.3209572434425354,
0.520632803440094,
0.22077730298042297,
-0.002195347100496292,
0.03348637744784355,
-0.1584518402814865,
0.14645777642726898,
0.15320268273353577,
0.041427068412303925,
0.1552959680557251,
-0.1339995115995407,
-0.016872327774763107,
0.2957565486431122,
0.06614652276039124,
-0.06926722824573517,
0.31632131338119507,
0.23192498087882996,
0.29170820116996765,
-0.2003951072692871,
-0.2420004904270172,
-0.11546795815229416,
0.11327390372753143,
0.5742337703704834,
-0.3167560398578644,
-0.3579137921333313,
-0.0600363127887249,
0.1263865828514099,
-0.5130980610847473,
-0.02081567794084549,
0.2185104340314865,
-0.033569224178791046,
0.08740931749343872,
-0.10076254606246948,
-0.20141027867794037,
-0.15745379030704498,
0.06740986555814743,
-0.4065108895301819,
-0.07392235100269318,
-0.11619090288877487,
0.10308045148849487,
0.12831735610961914,
0.09694641828536987,
-0.059099141508340836,
-0.08935186266899109,
0.03942383825778961,
0.12255512177944183,
-0.2608901262283325,
-0.12162388861179352,
-0.1725812554359436,
-0.3684387803077698,
-0.07924698293209076,
0.13999828696250916,
0.181539386510849,
-0.19735604524612427,
0.008171063847839832,
0.19377866387367249,
0.35089218616485596,
0.2967846691608429,
0.039187218993902206,
0.5758774876594543,
0.05923868715763092,
-0.18327993154525757,
-0.33883246779441833,
-0.2924589216709137,
-0.058087944984436035,
-0.2673819065093994,
0.2529992163181305,
0.1948089599609375,
0.44437283277511597,
-0.22473520040512085,
-0.36254850029945374,
0.2208096832036972,
-0.30555352568626404,
-0.027732674032449722,
-0.09090449661016464,
0.3527172803878784,
-0.04773814603686333,
0.12229786813259125,
0.16892489790916443,
0.04124004766345024,
-0.1388925313949585,
-0.2089310884475708,
-0.2548886239528656,
0.38219866156578064,
-0.1558445543050766,
-0.042337268590927124,
0.10992975533008575,
-0.12730902433395386,
0.016545498743653297,
-0.2022986263036728,
0.12797850370407104,
-0.25661420822143555,
-0.036814577877521515,
-0.2804858386516571,
0.0832359567284584,
0.19745132327079773,
-0.018495570868253708,
0.29272711277008057,
0.37143370509147644,
-0.43679773807525635,
-0.10559959709644318,
0.2160588800907135,
-0.5006985068321228,
-0.4635075032711029,
-0.04021187871694565,
0.22803829610347748,
-0.20616064965724945,
-0.08725467324256897,
-0.3410850465297699,
0.022850940003991127,
0.1365407109260559,
0.031679246574640274,
-0.04302046447992325,
-0.37253308296203613,
-0.18707865476608276,
-0.28939321637153625,
0.33969801664352417,
0.3746132254600525,
-0.5248161554336548,
-0.015984781086444855,
0.0027710390277206898,
-0.20079445838928223,
0.18532052636146545,
0.09413717687129974,
-0.03914516046643257,
0.41014495491981506,
-0.12835684418678284,
-0.04813631623983383,
0.3652198314666748,
-0.24340152740478516,
-0.29430150985717773,
0.27876198291778564,
-0.06377127766609192,
-0.03364119306206703,
0.010586880147457123,
0.0398908369243145,
0.20039315521717072,
0.12396703660488129,
0.08062680065631866,
0.25070422887802124,
-0.1206173449754715,
-0.0842709094285965,
-0.04624778404831886,
0.11644288897514343,
0.5629888772964478,
0.29239118099212646,
0.19663512706756592,
0.17951500415802002,
-0.0754682794213295,
-0.02620173618197441,
0.11590272933244705,
-0.05796219781041145,
0.03020329400897026,
0.0934658944606781,
0.3688443601131439,
0.11626876890659332,
-0.022320745512843132,
-0.40064799785614014,
-0.1254468560218811,
0.09529391676187515,
0.44201409816741943,
0.04039831459522247,
-0.0990113615989685,
-0.03852042183279991,
-0.27071717381477356,
0.010021848604083061,
-0.3413086235523224,
-0.24074530601501465,
0.1200154721736908,
-0.16371643543243408,
0.009428717195987701,
-0.01319463737308979,
-0.3408818542957306,
0.35511326789855957,
-0.22358867526054382,
0.1766071915626526,
-0.16741591691970825,
0.3753548562526703,
-0.17246174812316895,
-0.07439915090799332,
-0.15788871049880981,
0.19581039249897003,
0.06190203130245209,
-0.03176584094762802,
-0.10561949759721756,
0.3751666843891144,
0.26435786485671997,
-0.2826120853424072,
0.09021162986755371,
-0.08594776690006256,
0.13900452852249146,
-0.24078738689422607,
-0.18986070156097412,
0.2528318762779236,
0.24637076258659363,
-0.13606292009353638,
-0.03051958978176117,
0.4084882140159607,
-0.13226309418678284,
0.3659791350364685,
0.03894727677106857,
0.302417516708374,
0.0064870212227106094,
-0.03193723410367966,
-0.03593647852540016,
-0.05930683761835098,
0.13654747605323792,
-0.4171837270259857,
0.12850405275821686,
-0.22344698011875153,
-0.24190308153629303,
-0.209489107131958,
0.34787508845329285,
-0.0693051666021347,
-0.022094525396823883,
0.021623661741614342,
-0.2207668125629425,
0.2940608859062195,
-0.15830355882644653,
0.4630824625492096,
0.5181431770324707,
0.13793542981147766,
-0.19919902086257935,
0.1414233148097992,
0.002180398441851139,
0.08984314650297165,
0.23357586562633514,
0.054066821932792664,
0.12297951430082321,
0.03104722872376442,
-0.2389371246099472,
0.04703092202544212,
-0.05373188853263855,
-0.5640876889228821,
-0.07178381830453873,
0.4171223044395447,
-0.4143366515636444,
0.06411776691675186,
-0.12694433331489563,
0.009291648864746094,
-0.2962947487831116,
-0.3549586534500122,
-0.02846181020140648,
-0.37892869114875793,
-0.18350039422512054,
-0.14052031934261322,
-0.023954788222908974,
-0.11286132782697678,
-0.4261837303638458,
-0.08564262092113495,
0.09324517846107483,
-0.24865688383579254,
0.26971980929374695,
-0.3531540334224701,
-0.07953889667987823,
0.12938041985034943,
0.07365488260984421,
0.12920530140399933,
0.1668201982975006,
-0.10896049439907074,
0.06511815637350082,
0.040707096457481384,
0.09167470782995224,
-0.022964581847190857,
-0.2543025016784668,
0.1350831389427185,
0.2855055630207062,
0.29679930210113525,
-0.11433713138103485,
-0.2625090181827545,
0.33819055557250977,
-0.0877905786037445,
-0.060521334409713745,
0.243462473154068,
0.27578094601631165,
-0.2561475932598114,
-0.09711715579032898,
-0.6580392718315125,
-0.41088223457336426,
-0.26910242438316345,
0.06304027140140533,
0.07390028238296509,
0.15921461582183838,
0.10936882346868515,
0.28301119804382324,
0.12624192237854004,
0.20751555263996124,
0.04195920377969742,
-0.046001724898815155,
-0.2564491927623749,
0.3345266580581665,
-0.25869718194007874,
-0.34257960319519043,
0.1432681530714035,
0.025949757546186447,
0.06949451565742493,
-0.04480835422873497,
-0.3738967180252075,
-0.0027365395799279213,
-0.10554942488670349,
0.1427331268787384,
-0.14379000663757324,
0.06260685622692108,
0.23448491096496582,
0.1276381015777588,
-0.10570468008518219,
-0.007838394492864609,
-0.15949644148349762,
0.038088779896497726,
0.054023243486881256,
0.10105543583631516,
-0.1472780406475067,
0.2825525999069214,
-0.07492130249738693,
0.5764607787132263,
0.09689991176128387,
-0.15952660143375397,
0.06936518847942352,
-0.27507567405700684,
0.06394846737384796,
-0.06801597028970718,
-0.6389510631561279,
-0.032933782786130905,
-0.2159181833267212,
-0.28222978115081787,
0.11671170592308044,
-0.07337868958711624,
0.2000921666622162,
-0.39242488145828247,
-0.09129117429256439,
-0.22401723265647888,
-0.2448514997959137,
0.054231174290180206,
-0.2960805892944336,
0.1903054416179657,
-0.24825134873390198,
0.07756171375513077,
-0.17296519875526428,
0.0909665897488594,
-0.016046935692429543,
0.31665289402008057,
0.1189933717250824,
-0.05752180144190788,
-0.5402717590332031,
-0.39248692989349365,
-0.2511124908924103,
0.28554388880729675,
-0.0690760463476181,
0.29571640491485596,
-0.019741155207157135,
-0.027228519320487976,
-0.045933425426483154,
0.10555651783943176,
0.6742488741874695,
0.06719698756933212,
-0.1452748030424118,
0.07258713245391846,
-0.12324231117963791,
-0.17839708924293518,
-0.09423573315143585,
-0.2604149580001831,
0.44963744282722473,
-0.11861836910247803,
-0.016108475625514984,
0.02960865944623947,
-0.019954625517129898,
0.29923954606056213,
0.19229775667190552,
-0.24554093182086945,
-0.07226836681365967,
-0.1721973866224289,
-0.12887948751449585,
-0.18349215388298035,
0.039689138531684875,
-0.024290334433317184,
0.27169761061668396,
-0.06916273385286331,
0.08584451675415039,
-0.191606342792511,
-0.15498918294906616,
0.5035322904586792,
0.06672541797161102,
0.2780403196811676,
-0.22510944306850433,
0.11546629667282104,
0.05613073334097862,
0.17230701446533203,
0.22569234669208527,
0.5942602753639221,
-0.05209564045071602,
-0.4422064423561096,
-0.09108830243349075,
-0.21613836288452148,
0.6388921141624451,
-0.052061617374420166,
-0.22866810858249664,
-0.007967248558998108,
-0.1412944793701172,
0.09928318858146667,
-0.22764523327350616,
0.008279893547296524,
0.3840446174144745,
0.09774863719940186,
-0.40981706976890564,
-0.6983445286750793,
0.24792763590812683,
0.06783802807331085,
0.17091424763202667,
0.25349000096321106,
0.09645412862300873,
-0.25808417797088623,
0.4556392431259155,
-0.09392664581537247,
0.838712215423584,
0.10536788403987885,
0.0990956574678421,
0.0341435931622982,
0.04115786403417587,
0.43538013100624084,
-0.014555050060153008,
0.14379538595676422,
-0.287161648273468,
-0.5176244378089905,
-0.20606501400470734,
-0.15927736461162567,
0.3610613942146301,
0.16941341757774353,
-0.19741514325141907,
0.42404717206954956,
-0.13797082006931305,
0.13853439688682556,
-0.12156236171722412,
0.12941375374794006,
0.155410036444664,
0.0039541153237223625,
-0.2922896444797516,
0.17334075272083282,
-0.09988784790039062,
0.2435768097639084,
0.10929574817419052,
0.07725653797388077,
-0.326675683259964,
-0.1847032606601715,
-0.29429399967193604,
-0.07149849832057953,
-0.05023990571498871,
0.18562547862529755,
0.03182801231741905,
-0.4340495467185974,
0.2708714008331299,
0.2985515892505646,
0.2258131355047226,
0.15108533203601837,
-0.07331540435552597,
0.1236291378736496,
-0.08434756845235825,
0.09127607941627502,
-0.04237976297736168,
0.06551752984523773,
0.5445192456245422,
0.07680120319128036,
-0.2678830623626709,
0.3966127932071686,
-0.0029907175339758396,
-0.12810802459716797,
0.12124162912368774,
0.22932004928588867,
0.07658395171165466,
-0.6178493499755859,
-0.346415251493454,
0.028861086815595627,
0.02289644256234169,
-0.15729540586471558,
0.16344299912452698,
0.13386401534080505,
-0.41949427127838135,
0.3092004656791687,
0.06328040361404419,
-0.2606847882270813,
-0.09630991518497467,
0.21635812520980835,
0.16293442249298096,
0.24651390314102173,
0.639824390411377,
0.09257775545120239,
-0.009900081902742386,
-0.27397620677948,
0.2244110107421875,
0.4415143132209778,
-0.27419495582580566,
0.20201236009597778,
-0.022194715216755867,
0.37822890281677246,
-0.01850052736699581,
0.25450101494789124,
0.014852408319711685,
0.16796964406967163,
0.013474490493535995,
-0.587411105632782,
-0.17851538956165314,
0.029902245849370956,
0.06783631443977356,
0.265714555978775,
-0.0682324767112732,
0.31866326928138733,
0.04465535283088684,
0.10096552222967148,
-0.3291758596897125,
0.129448801279068,
-0.17687131464481354,
0.10423772782087326,
0.19872157275676727,
0.22970527410507202,
0.17924073338508606,
-0.22112204134464264,
0.17871075868606567,
-0.033151768147945404,
0.0672197937965393,
-0.27047616243362427,
-0.13815222680568695,
0.11544381082057953,
0.0779268890619278,
0.1170513778924942,
0.0263843797147274,
-0.041517794132232666,
-0.04127248004078865,
-0.1786632090806961,
-0.0748814269900322,
0.3920440971851349,
-0.12467856705188751,
0.6344900727272034,
0.1397085040807724,
0.08444355428218842,
-0.2582958936691284,
0.12752340734004974,
-0.08699655532836914,
0.3201049566268921,
0.3684006631374359,
0.12546446919441223,
0.07444512099027634,
0.06588727235794067,
-0.3546426296234131,
0.045272596180438995,
-0.29396092891693115,
-0.13506004214286804,
0.30986109375953674,
-0.4562227725982666,
0.20004147291183472,
0.026352690532803535,
0.4301762282848358,
0.43761375546455383,
-0.2431807965040207,
0.43770429491996765,
0.2264554500579834,
0.24337905645370483,
-0.26590031385421753,
0.17410583794116974,
0.3031702935695648,
-0.10660572350025177,
-0.02470516599714756,
0.28422144055366516,
-0.1608765423297882,
0.06817318499088287,
-0.48074620962142944,
0.09441016614437103,
0.41803789138793945,
-0.12988708913326263,
0.387974351644516,
0.379129022359848,
-0.05960559472441673,
0.03807222843170166,
0.07028539478778839,
0.126414954662323,
-0.0031306371092796326,
0.6698884963989258,
-0.07533394545316696,
0.2561286687850952,
0.2050171196460724,
0.004415016621351242,
0.1049538254737854,
-0.2050677090883255,
0.20749059319496155,
0.051977090537548065,
-0.13488249480724335,
-0.0753558799624443,
-0.08363549411296844,
0.42237386107444763,
-0.4901796579360962,
-0.041012242436409,
0.02201826684176922,
0.0269429013133049,
-0.04557189345359802,
0.1274721622467041,
-0.04656459763646126,
-0.07425006479024887,
-0.22407811880111694,
-0.13568313419818878,
0.13603141903877258,
-0.3794769048690796,
0.1740129292011261,
-0.0083090141415596,
-0.05153907835483551,
-0.29484158754348755,
0.1352844089269638,
0.13038653135299683,
0.1709827482700348,
-0.3162541687488556,
-0.013166392222046852,
0.15551114082336426,
0.007048405706882477,
0.38028618693351746,
-0.0012927092611789703,
0.3857504725456238,
0.2601335048675537,
-0.10904298722743988,
-0.05634889379143715,
-0.11753053963184357,
-0.2950935661792755,
0.22059324383735657,
0.18149369955062866,
-0.1840784251689911,
0.10592387616634369,
0.35453474521636963,
0.23400820791721344,
-0.07476180791854858,
0.16981898248195648,
0.19932004809379578,
0.18711905181407928,
-0.42020750045776367,
0.6271947026252747,
0.05350954085588455,
-0.25582292675971985,
-0.2602986693382263,
-0.10611382871866226,
-0.38238051533699036,
-0.3083067834377289,
0.16754458844661713,
0.1097627803683281,
0.10849610716104507,
-0.01652638614177704,
0.0893462523818016,
0.07045352458953857,
0.22279468178749084,
0.27996423840522766,
0.4098478853702545,
-0.488460898399353,
-0.008473530411720276,
-0.47006580233573914,
0.032647065818309784,
-0.15410281717777252,
-0.13592903316020966,
-0.13911521434783936,
0.050629548728466034,
-0.06520280987024307,
0.14271388947963715,
0.024827830493450165,
0.16232885420322418,
-0.015128308907151222,
0.22755815088748932,
-0.16827593743801117,
-0.4612599015235901,
-0.32525473833084106,
0.1680116057395935,
0.004583839327096939,
-0.033637333661317825,
-0.1374647617340088,
-0.07589994370937347,
0.039597317576408386,
-0.0020670685917139053,
-0.05113034322857857,
0.09905026853084564,
-0.03233470022678375,
0.2202933132648468,
0.05722834914922714,
0.7479215860366821,
0.07036194205284119,
0.14360040426254272,
0.022614099085330963,
-0.1677643358707428,
-0.2627968192100525,
0.36878129839897156,
0.13174067437648773,
0.3843569755554199,
0.025984613224864006,
-0.20737719535827637,
-0.2479705512523651,
0.2719694674015045,
0.08416910469532013,
-0.09389400482177734,
-0.24955040216445923,
0.153493732213974,
0.045817695558071136,
0.04009845107793808,
0.23321062326431274,
0.3029092252254486,
-0.24248957633972168,
0.20952457189559937,
-0.12114853411912918,
-0.3196156322956085,
0.3894042372703552,
-0.38051244616508484,
-0.17506766319274902,
-0.12260329723358154,
0.18467599153518677,
0.17103706300258636,
0.015721408650279045,
-0.5626367330551147,
-0.09876368194818497,
0.4462663531303406,
-0.1658877432346344,
-0.23874931037425995,
0.20595084130764008,
-0.0196025762706995,
0.1822863221168518,
0.06295551359653473,
0.4821692705154419,
-0.06438931077718735,
-0.07628367096185684,
0.1273597925901413,
-0.21769915521144867
] |
https://github.com/huggingface/datasets/issues/1600 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | Thanks, that's working - the same issue also tripped me up with training.
I also agree https://github.com/huggingface/datasets/issues/767 would be a useful addition. | The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | 22 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
Thanks, that's working - the same issue also tripped me up with training.
I also agree https://github.com/huggingface/datasets/issues/767 would be a useful addition. | [
-0.1846860945224762,
-0.19844767451286316,
-0.05458804965019226,
0.246751070022583,
0.3953753709793091,
0.10302437096834183,
0.4267279803752899,
0.38310346007347107,
0.32619962096214294,
0.19565410912036896,
0.1507684588432312,
0.06406565755605698,
-0.2686593234539032,
0.4507167637348175,
0.058436885476112366,
-0.35677656531333923,
0.0626721978187561,
0.19362790882587433,
0.06078112870454788,
0.03507198393344879,
-0.12420430034399033,
0.18906259536743164,
-0.2912184000015259,
-0.05194196105003357,
-0.47342920303344727,
0.05030422285199165,
-0.22431081533432007,
0.04373203217983246,
-0.0271130483597517,
-0.20519036054611206,
0.38403192162513733,
-0.10475817322731018,
0.06085050851106644,
0.5816099643707275,
-0.00011032353359041736,
0.060649335384368896,
0.10809315741062164,
-0.10688413679599762,
-0.23965899646282196,
-0.2753525376319885,
-0.10383954644203186,
-0.22716762125492096,
0.13245852291584015,
-0.22413933277130127,
-0.36289680004119873,
0.05394074693322182,
-0.12178988754749298,
-0.21612097322940826,
0.4450162649154663,
0.46134769916534424,
0.26053959131240845,
0.2811121344566345,
0.09293575584888458,
-0.2848072648048401,
0.12588712573051453,
0.1839955449104309,
-0.11988474428653717,
0.12957164645195007,
-0.07495865225791931,
-0.0903257504105568,
0.27610400319099426,
0.23513108491897583,
0.09381943196058273,
0.26212170720100403,
0.24976810812950134,
0.14386898279190063,
-0.369817316532135,
-0.17443804442882538,
-0.11298417299985886,
0.23595306277275085,
0.38104912638664246,
-0.276588499546051,
-0.5040439963340759,
-0.26385027170181274,
0.1536020040512085,
-0.5238581895828247,
0.042722005397081375,
0.17607301473617554,
0.07769027352333069,
0.1835554838180542,
-0.24192297458648682,
-0.1039561778306961,
-0.09919165074825287,
0.05389096587896347,
-0.283732533454895,
-0.0754014253616333,
-0.23821473121643066,
0.01817198470234871,
0.22456003725528717,
0.09138728678226471,
-0.2342689335346222,
0.07139941304922104,
0.05328110605478287,
0.08928800374269485,
-0.2784925699234009,
-0.14607611298561096,
-0.2125324010848999,
-0.16390922665596008,
0.11017891019582748,
0.22045180201530457,
0.021794255822896957,
-0.18371480703353882,
-0.003926882520318031,
0.15351101756095886,
0.2553354799747467,
0.35117506980895996,
0.19572582840919495,
0.42293065786361694,
0.22368450462818146,
0.04115183278918266,
-0.2873189151287079,
-0.27984246611595154,
0.013021291233599186,
-0.3616330325603485,
0.0008080527186393738,
0.10589554160833359,
0.39110565185546875,
-0.17694205045700073,
-0.33893442153930664,
0.07662801444530487,
-0.2040090262889862,
-0.007717537228018045,
0.07309529185295105,
0.33373209834098816,
-0.0573749914765358,
-0.058829739689826965,
0.10811474919319153,
0.15370266139507294,
-0.3166414201259613,
-0.38535526394844055,
-0.32624104619026184,
0.28869572281837463,
-0.18315282464027405,
0.02929106168448925,
0.20019882917404175,
-0.2009832113981247,
0.20493601262569427,
-0.20035769045352936,
0.21159352362155914,
-0.1807636171579361,
-0.09069494158029556,
-0.1443425714969635,
-0.03654664009809494,
0.3677006959915161,
0.02808019146323204,
0.13230401277542114,
0.29883885383605957,
-0.28144848346710205,
-0.0717441588640213,
-0.017202727496623993,
-0.3191321790218353,
-0.32484957575798035,
0.07141561061143875,
0.19776073098182678,
-0.2869436740875244,
-0.10723324120044708,
-0.31615450978279114,
0.09802158921957016,
0.15988674759864807,
0.02310890331864357,
-0.029805220663547516,
-0.24965326488018036,
-0.2829373776912689,
-0.13832831382751465,
0.44624456763267517,
0.42118507623672485,
-0.34927502274513245,
-0.15634289383888245,
0.1918717324733734,
-0.21509821712970734,
0.0671740174293518,
0.2506549060344696,
0.02355441078543663,
0.3546367883682251,
-0.04815608263015747,
0.14002090692520142,
0.1740017533302307,
-0.19903942942619324,
-0.22086896002292633,
0.2080298215150833,
-0.02680574730038643,
-0.001928882673382759,
-0.005432203412055969,
-0.1540680229663849,
0.07150421291589737,
0.056289128959178925,
0.10367630422115326,
0.2933616042137146,
-0.20004594326019287,
-0.018726946786046028,
-0.027095424011349678,
-0.08615350723266602,
0.3037682771682739,
0.2829180955886841,
0.14732393622398376,
0.018384277820587158,
-0.12012716382741928,
0.026027288287878036,
0.13979804515838623,
-0.1667536199092865,
0.03295443207025528,
0.11686836928129196,
0.3362462520599365,
0.10487125813961029,
-0.025149447843432426,
-0.3535369634628296,
-0.19798773527145386,
0.17109674215316772,
0.4560195803642273,
0.06255107372999191,
-0.048809245228767395,
-0.09944351762533188,
-0.22155743837356567,
-0.02612035535275936,
-0.28768855333328247,
-0.4046595096588135,
0.057495832443237305,
-0.25509190559387207,
0.16059118509292603,
0.13406899571418762,
-0.3540813624858856,
0.3058646619319916,
-0.2963331639766693,
0.31910648941993713,
-0.2286272644996643,
0.3604706823825836,
-0.11770284920930862,
-0.21199235320091248,
-0.05727666616439819,
0.2541781961917877,
-0.0181351900100708,
-0.16465160250663757,
-0.0841820240020752,
0.37661635875701904,
0.11996762454509735,
-0.1657220870256424,
0.08255341649055481,
-0.10998179018497467,
0.261517733335495,
-0.17220863699913025,
-0.29041674733161926,
0.05058252811431885,
0.059134505689144135,
-0.10394136607646942,
-0.13102510571479797,
0.4590163826942444,
-0.08760176599025726,
0.2237434685230255,
0.042050935328006744,
0.2742888033390045,
0.08481882512569427,
-0.09222899377346039,
-0.044687822461128235,
-0.10576789081096649,
0.2735306918621063,
-0.5087499618530273,
0.10014036297798157,
-0.23065270483493805,
-0.2755357623100281,
-0.09067324548959732,
0.41557344794273376,
-0.016674453392624855,
0.06779547780752182,
-0.01813722401857376,
-0.16734662652015686,
0.3644120395183563,
-0.029287191107869148,
0.40959715843200684,
0.48424792289733887,
0.18153537809848785,
-0.20479422807693481,
0.1650668978691101,
-0.013625101186335087,
-0.059113241732120514,
0.1353190541267395,
0.011599846184253693,
0.13067461550235748,
-0.027947932481765747,
-0.24688595533370972,
-0.04224276542663574,
-0.20451617240905762,
-0.32017818093299866,
-0.04080379754304886,
0.289583295583725,
-0.44242769479751587,
0.0485309436917305,
-0.2430354654788971,
-0.032007068395614624,
-0.24584197998046875,
-0.26343095302581787,
-0.15526635944843292,
-0.2756096422672272,
-0.05371786653995514,
-0.024983171373605728,
-0.07376037538051605,
0.018274353817105293,
-0.34048211574554443,
0.027130812406539917,
0.10598668456077576,
-0.09639216214418411,
0.17377869784832,
-0.22271381318569183,
-0.0749431699514389,
0.10015015304088593,
0.21929635107517242,
0.053037263453006744,
0.20773741602897644,
-0.1844678670167923,
0.07547779381275177,
-0.008819306269288063,
-0.16564586758613586,
0.024717003107070923,
-0.3662693500518799,
0.2794269025325775,
0.2628706693649292,
0.21706271171569824,
-0.15368613600730896,
-0.12489727139472961,
0.4182598292827606,
-0.23021289706230164,
-0.09243116527795792,
0.08695770800113678,
0.3433738946914673,
-0.27548035979270935,
-0.31467196345329285,
-0.5279154181480408,
-0.2542981505393982,
-0.251859575510025,
0.2830943465232849,
-0.05024518445134163,
-0.018044255673885345,
0.32149532437324524,
0.28132474422454834,
0.21045635640621185,
0.0030243988148868084,
0.011293753981590271,
-0.05264013633131981,
-0.30322057008743286,
0.28513744473457336,
-0.3910021185874939,
-0.41838252544403076,
0.08909016847610474,
0.11047287285327911,
0.10943424701690674,
-0.05174451693892479,
-0.3512328863143921,
-0.08666498959064484,
-0.14284975826740265,
0.14267867803573608,
0.004110842943191528,
0.12723110616207123,
0.24165165424346924,
-0.16994602978229523,
-0.04252450913190842,
-0.08826154470443726,
-0.232317715883255,
0.17026564478874207,
-0.060629136860370636,
0.12758159637451172,
-0.2310270369052887,
0.2783781886100769,
0.03824794664978981,
0.6902597546577454,
0.1376735121011734,
-0.033525753766298294,
0.11174888163805008,
-0.3114760220050812,
0.15964283049106598,
-0.1432042121887207,
-0.5476193428039551,
0.1341443806886673,
-0.059121742844581604,
-0.10618969053030014,
0.17550361156463623,
0.09774108231067657,
0.26398149132728577,
-0.27630186080932617,
-0.13547995686531067,
-0.14598645269870758,
-0.41105642914772034,
-0.02247355692088604,
-0.047587066888809204,
0.16655901074409485,
-0.25092288851737976,
0.16496792435646057,
0.023943312466144562,
0.12506386637687683,
-0.0362163744866848,
0.28756242990493774,
0.013077452778816223,
-0.09301719069480896,
-0.4692690968513489,
-0.3524611294269562,
-0.44075989723205566,
0.23611116409301758,
-0.12039441615343094,
0.23647841811180115,
-0.0943082794547081,
-0.10463369637727737,
-0.09832395613193512,
0.13753679394721985,
0.7563703656196594,
-0.021958602592349052,
-0.11746618151664734,
-0.06977611780166626,
-0.26541611552238464,
-0.2875240445137024,
-0.1143941730260849,
-0.16601316630840302,
0.2816143035888672,
0.040538545697927475,
0.13990682363510132,
-0.03955768793821335,
-0.10056287050247192,
0.3904912769794464,
0.1394103616476059,
-0.08604176342487335,
-0.09416880458593369,
-0.17844617366790771,
-0.18052765727043152,
-0.20425613224506378,
0.08658964186906815,
0.15290698409080505,
0.14884300529956818,
0.007223654538393021,
0.10841763019561768,
-0.1991005539894104,
-0.23998793959617615,
0.4517413377761841,
0.07085558772087097,
0.19667619466781616,
-0.12150733917951584,
0.24988847970962524,
0.24743063747882843,
0.06596744805574417,
0.17256489396095276,
0.6067805886268616,
-0.18092168867588043,
-0.5803417563438416,
-0.06457862257957458,
-0.24367231130599976,
0.5723364353179932,
0.1711205095052719,
-0.12061063200235367,
0.003567926585674286,
-0.03575270622968674,
0.18956199288368225,
-0.21054388582706451,
0.0060103111900389194,
0.3294205069541931,
0.16482067108154297,
-0.2364555150270462,
-0.5567424297332764,
0.2764131426811218,
0.09943176805973053,
0.31254029273986816,
0.309765487909317,
0.30895474553108215,
-0.2004816234111786,
0.25766056776046753,
-0.22999688982963562,
0.702510416507721,
0.12120632827281952,
0.07659676671028137,
0.17320841550827026,
0.06725744903087616,
0.48599305748939514,
-0.0007577016949653625,
0.14527849853038788,
-0.23110409080982208,
-0.4378167688846588,
-0.09967142343521118,
-0.06952494382858276,
0.40501976013183594,
-0.07326577603816986,
-0.22762659192085266,
0.38364511728286743,
-0.07144266366958618,
0.1355576515197754,
-0.226663276553154,
0.0504278764128685,
0.006939049810171127,
-0.17479565739631653,
-0.42881712317466736,
0.1857796609401703,
0.05234277620911598,
0.34441444277763367,
0.11532973498106003,
-0.018927881494164467,
-0.26026609539985657,
-0.20053918659687042,
-0.27279794216156006,
-0.06716088205575943,
-0.1454298198223114,
0.15884850919246674,
0.3116418421268463,
-0.3745330572128296,
0.33469870686531067,
0.24190299212932587,
0.39661848545074463,
0.09829081594944,
-0.19321942329406738,
0.18040721118450165,
-0.26546621322631836,
-0.027142217382788658,
-0.09573717415332794,
-0.007478178478777409,
0.5299156308174133,
-0.02491942048072815,
-0.2789433002471924,
0.06835706532001495,
-0.016967248171567917,
-0.13931262493133545,
0.15427842736244202,
0.11492359638214111,
-0.10363402962684631,
-0.5509041547775269,
-0.2589755356311798,
-0.020284585654735565,
0.12514282763004303,
-0.2409958392381668,
0.18624335527420044,
0.1413002461194992,
-0.3067741096019745,
0.11706645786762238,
0.17447899281978607,
-0.24018678069114685,
-0.19748757779598236,
0.3025267422199249,
-0.04141834378242493,
0.14242671430110931,
0.5993551015853882,
0.206672802567482,
-0.013799799606204033,
-0.31609711050987244,
0.17512062191963196,
0.5526400208473206,
-0.3977741003036499,
0.1992245763540268,
-0.027825558558106422,
0.23516641557216644,
0.03848051279783249,
0.3247496485710144,
0.00038218870759010315,
-0.08529304713010788,
0.09331667423248291,
-0.4125092029571533,
-0.15592551231384277,
0.10378564149141312,
0.004001874476671219,
0.2791253328323364,
0.026152200996875763,
0.34070757031440735,
0.11525407433509827,
0.02887670323252678,
-0.3290395736694336,
0.15917198359966278,
-0.12577266991138458,
0.06654535233974457,
0.25965559482574463,
0.08643796294927597,
0.35962992906570435,
-0.28304779529571533,
0.15253561735153198,
0.06813080608844757,
-0.02492031455039978,
-0.25985878705978394,
-0.19102910161018372,
0.09897784143686295,
-0.023291338235139847,
0.17726118862628937,
0.16146525740623474,
0.07324095070362091,
-0.17144723236560822,
-0.2702184319496155,
0.0704897791147232,
0.28882116079330444,
-0.06426578760147095,
0.4903995394706726,
0.12258582562208176,
0.11612634360790253,
-0.07443775981664658,
0.042185597121715546,
-0.04989953339099884,
0.26196569204330444,
0.2407582700252533,
-0.04722347855567932,
-0.06362491846084595,
0.12048396468162537,
-0.20068548619747162,
0.022174235433340073,
-0.281807541847229,
-0.11001498252153397,
0.218488872051239,
-0.4265006184577942,
0.13308702409267426,
0.15267014503479004,
0.4794739782810211,
0.3238251805305481,
-0.2561481297016144,
0.4194524884223938,
0.30945906043052673,
0.2326134294271469,
-0.24620571732521057,
0.22925494611263275,
0.3853667974472046,
0.03721027821302414,
0.08001327514648438,
0.3398469090461731,
-0.02057388797402382,
0.13173449039459229,
-0.3172643780708313,
0.20389226078987122,
0.297807514667511,
-0.0991520881652832,
0.45177125930786133,
0.30828946828842163,
-0.16054871678352356,
0.07977675646543503,
0.14022111892700195,
0.05400320887565613,
0.14890877902507782,
0.5775362253189087,
-0.2341185212135315,
0.24274346232414246,
0.0030869729816913605,
0.09529087692499161,
0.1125716120004654,
-0.2341766655445099,
0.07539067417383194,
-0.027916893362998962,
-0.12387789785861969,
-0.092722587287426,
-0.21936148405075073,
0.7663366794586182,
-0.6305842995643616,
-0.16855034232139587,
-0.09133888781070709,
0.17733134329319,
-0.044091999530792236,
0.11195959150791168,
0.020120203495025635,
0.0009324923157691956,
-0.13666678965091705,
-0.14765042066574097,
0.11668108403682709,
-0.29113829135894775,
0.23706389963626862,
-0.017517849802970886,
-0.07391057908535004,
-0.3109380900859833,
0.08107821643352509,
0.058328211307525635,
0.26959311962127686,
-0.20867112278938293,
0.004960734397172928,
0.051966868340969086,
-0.011720843613147736,
0.28585612773895264,
0.2340134084224701,
0.4605005085468292,
0.13098250329494476,
0.07185916602611542,
-0.10218610614538193,
-0.1684698760509491,
-0.18505775928497314,
0.16365516185760498,
0.27095091342926025,
-0.07071694731712341,
0.198696106672287,
0.32026875019073486,
0.20553745329380035,
-0.12996356189250946,
0.13360393047332764,
0.03030983731150627,
0.17364557087421417,
-0.47890034317970276,
0.6228634715080261,
-0.1364356130361557,
-0.1323833018541336,
-0.3485611081123352,
-0.18294677138328552,
-0.44897985458374023,
-0.10261402279138565,
0.151112899184227,
-0.02684369869530201,
0.08015840500593185,
-0.08251477777957916,
0.08093185722827911,
0.08743888139724731,
0.3327469527721405,
0.27459806203842163,
0.24399390816688538,
-0.3794061839580536,
-0.022378243505954742,
-0.48142093420028687,
-0.11626919358968735,
-0.2013106793165207,
0.032656632363796234,
-0.17072059214115143,
0.07113024592399597,
-0.09234390407800674,
0.12571774423122406,
0.09166269749403,
-0.1133764460682869,
0.12856543064117432,
-0.023835211992263794,
-0.2652892470359802,
-0.33447858691215515,
-0.34799063205718994,
-0.006715269759297371,
0.15444089472293854,
0.016471244394779205,
-0.008365590125322342,
-0.12400330603122711,
-0.02361307479441166,
0.11382529884576797,
0.08471886813640594,
-0.04045240581035614,
-0.1717934012413025,
0.19299325346946716,
-0.00980062410235405,
0.676764965057373,
0.08833897858858109,
0.11767933517694473,
-0.1806134283542633,
-0.25792577862739563,
-0.2844211757183075,
0.34599781036376953,
0.000828225165605545,
0.4123234748840332,
-0.1656765341758728,
-0.31028276681900024,
-0.2536058723926544,
0.37918519973754883,
0.1961631029844284,
-0.09653059393167496,
-0.10793503373861313,
0.260686457157135,
0.04206858575344086,
0.045517634600400925,
0.3739991784095764,
0.37460824847221375,
-0.40398091077804565,
0.1107294112443924,
-0.1688300520181656,
-0.3724430799484253,
0.5001770257949829,
-0.4634426534175873,
-0.1900964081287384,
-0.05876236408948898,
0.1768220216035843,
0.42097562551498413,
-0.21111123263835907,
-0.7313170433044434,
-0.024365849792957306,
0.23957115411758423,
-0.09052186459302902,
-0.3277505040168762,
0.39138543605804443,
0.018469154834747314,
0.10462957620620728,
0.12921865284442902,
0.5656006336212158,
0.033964864909648895,
-0.24509064853191376,
0.35663652420043945,
-0.17144964635372162
] |
https://github.com/huggingface/datasets/issues/1600 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | > ```python
> dataset_dict = load_dataset(`'csv', data_files='data.txt')
> dataset = dataset_dict['split name, eg train']
> dataset.train_test_split(test_size=0.1)
> ```
I am getting error like
KeyError: 'split name, eg train'
Could you please tell me how to solve this? | The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | 37 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
> ```python
> dataset_dict = load_dataset(`'csv', data_files='data.txt')
> dataset = dataset_dict['split name, eg train']
> dataset.train_test_split(test_size=0.1)
> ```
I am getting error like
KeyError: 'split name, eg train'
Could you please tell me how to solve this? | [
-0.1205272376537323,
-0.2044595181941986,
-0.11787392199039459,
0.3427507281303406,
0.27485352754592896,
0.21286329627037048,
0.4176217019557953,
0.2791915237903595,
0.3849131464958191,
0.17669403553009033,
0.25996628403663635,
0.2442346215248108,
-0.3558100461959839,
0.40158507227897644,
-0.18004079163074493,
-0.35669732093811035,
0.06767216324806213,
0.2050318568944931,
0.20426806807518005,
-0.009286299347877502,
-0.22862891852855682,
0.10243269056081772,
-0.3420259952545166,
0.05780264362692833,
-0.35226908326148987,
-0.06702432036399841,
-0.3373372554779053,
0.02351454645395279,
-0.022020479664206505,
-0.33066752552986145,
0.3673839867115021,
-0.12882636487483978,
0.06302129477262497,
0.492614209651947,
-0.00011311723210383207,
0.01441103219985962,
0.09521971642971039,
-0.09396962821483612,
-0.3082740902900696,
-0.25388550758361816,
-0.40342554450035095,
-0.202546626329422,
0.17849446833133698,
-0.5090004801750183,
-0.10244476050138474,
-0.08782166987657547,
-0.18789227306842804,
-0.3301979899406433,
0.4390425682067871,
0.4318710267543793,
0.22126013040542603,
-0.017537493258714676,
0.11995342373847961,
-0.163423091173172,
0.046619754284620285,
0.13821391761302948,
0.027912752702832222,
0.1376453936100006,
-0.18036633729934692,
-0.0400674045085907,
0.3375972509384155,
0.07665851712226868,
-0.06162094324827194,
0.3274957537651062,
0.21328377723693848,
0.14943869411945343,
-0.17934998869895935,
-0.3218153119087219,
-0.09566894918680191,
0.18687337636947632,
0.5323076844215393,
-0.2772234082221985,
-0.4459286034107208,
-0.10720717161893845,
0.13573792576789856,
-0.43407535552978516,
-0.006602302193641663,
0.09917265176773071,
0.10338650643825531,
0.0961877703666687,
0.011650282889604568,
-0.2029302418231964,
-0.18617871403694153,
0.08100900053977966,
-0.35566383600234985,
0.019006744027137756,
-0.14210812747478485,
0.12090934067964554,
0.031417012214660645,
-0.017612118273973465,
-0.03848990425467491,
-0.11441586911678314,
0.004698891192674637,
0.022414084523916245,
-0.2375531643629074,
-0.2133389115333557,
-0.29707616567611694,
-0.25536859035491943,
-0.01923021860420704,
0.06331022083759308,
0.0608690083026886,
-0.24696677923202515,
0.167327418923378,
0.2162223756313324,
0.30560803413391113,
0.29048317670822144,
0.21999850869178772,
0.5732905864715576,
0.09751207381486893,
-0.09575656056404114,
-0.32942894101142883,
-0.23128166794776917,
-0.1072048768401146,
-0.28599321842193604,
0.2528921067714691,
0.2763916254043579,
0.44622743129730225,
-0.09804916381835938,
-0.3808518052101135,
0.09269187599420547,
-0.2468935251235962,
-0.06972270458936691,
-0.011388401500880718,
0.34557488560676575,
-0.08576809614896774,
0.10730741173028946,
-0.03581004962325096,
0.08816616237163544,
-0.1349000781774521,
-0.2533358037471771,
-0.24575063586235046,
0.40740859508514404,
-0.036709390580654144,
-0.06691581010818481,
0.050154704600572586,
-0.0713476836681366,
0.1835675984621048,
-0.2005106806755066,
0.07120401412248611,
-0.274760365486145,
-0.08926032483577728,
-0.3202909529209137,
-0.15330609679222107,
0.2038678079843521,
0.04551830515265465,
0.18522389233112335,
0.29662689566612244,
-0.3811805248260498,
-0.10103019326925278,
0.10244347155094147,
-0.4939916133880615,
-0.27683669328689575,
-0.03855585306882858,
0.21538704633712769,
-0.12054217606782913,
-0.1385892778635025,
-0.3266148567199707,
-0.03193118795752525,
0.15443925559520721,
-0.03799862414598465,
-0.020325541496276855,
-0.27323418855667114,
-0.14412494003772736,
-0.3367161750793457,
0.2728695273399353,
0.44278663396835327,
-0.48948103189468384,
-0.11124026775360107,
-0.040270913392305374,
-0.11823669075965881,
0.10376886278390884,
0.08358776569366455,
-0.024283578619360924,
0.4687140882015228,
-0.10571421682834625,
0.018472149968147278,
0.3932587802410126,
-0.34470492601394653,
-0.33409324288368225,
0.2828657031059265,
-0.014696639031171799,
-0.0924786925315857,
0.12014105916023254,
-0.002803696785122156,
0.25201499462127686,
0.023244334384799004,
0.08547035604715347,
0.23229455947875977,
-0.1012348085641861,
-0.095708467066288,
0.0600435696542263,
-0.05993744730949402,
0.4805958867073059,
0.23065970838069916,
0.18849915266036987,
0.08805432915687561,
-0.07949035614728928,
0.021222446113824844,
0.0340898372232914,
-0.055340755730867386,
-0.03180991858243942,
0.15471461415290833,
0.3268212080001831,
0.09712611138820648,
0.021463029086589813,
-0.3522356450557709,
-0.20916327834129333,
0.14630818367004395,
0.40277647972106934,
-0.12778815627098083,
-0.15873251855373383,
-0.08989642560482025,
-0.33559852838516235,
0.022816883400082588,
-0.46872350573539734,
-0.2829129695892334,
0.10416297614574432,
-0.2288241982460022,
0.09688952565193176,
0.0673706978559494,
-0.3220149874687195,
0.330478698015213,
-0.1484997272491455,
0.2350497990846634,
-0.06446029245853424,
0.3642420172691345,
-0.2054457813501358,
-0.08672507107257843,
-0.11684291064739227,
0.18359902501106262,
0.11400022357702255,
-0.012154944241046906,
-0.12916502356529236,
0.41244378685951233,
0.2695292830467224,
-0.2655864953994751,
0.11306414008140564,
-0.15099285542964935,
0.1742062270641327,
-0.2123698592185974,
-0.11951573938131332,
0.18746842443943024,
0.2570874094963074,
-0.07535577565431595,
0.04582463204860687,
0.42583954334259033,
-0.06673778593540192,
0.3461895287036896,
-0.019085776060819626,
0.2911889851093292,
0.0023087840527296066,
-0.12407954037189484,
0.03728656470775604,
-0.0840156227350235,
0.1021379828453064,
-0.4604659080505371,
0.23231114447116852,
-0.2532218098640442,
-0.09182023257017136,
-0.24881356954574585,
0.48305270075798035,
0.022495754063129425,
0.16570253670215607,
-0.04956970363855362,
-0.2577192783355713,
0.3827398419380188,
-0.14734137058258057,
0.4524563252925873,
0.4888554811477661,
0.13634492456912994,
-0.3093394935131073,
0.09528932720422745,
0.06855636835098267,
0.10562364012002945,
0.19442299008369446,
0.08048602938652039,
0.2588699460029602,
0.08551757037639618,
-0.30876821279525757,
0.035870637744665146,
-0.027666106820106506,
-0.5531837940216064,
-0.004805604927241802,
0.3986996114253998,
-0.34660014510154724,
0.08714515715837479,
-0.1414719521999359,
-0.06035248562693596,
-0.12926727533340454,
-0.2361915409564972,
0.0036392677575349808,
-0.3927210867404938,
-0.16277718544006348,
-0.19680647552013397,
0.04661795124411583,
-0.024774322286248207,
-0.24145588278770447,
-0.23561300337314606,
0.16633765399456024,
-0.20571701228618622,
0.23980334401130676,
-0.37150096893310547,
-0.03354556858539581,
0.10288423299789429,
0.08907654881477356,
0.059035662561655045,
0.19159017503261566,
-0.195948988199234,
0.09380396455526352,
0.11388784646987915,
0.07169526070356369,
0.008381698280572891,
-0.2420753687620163,
0.1781359612941742,
0.27415162324905396,
0.3571280837059021,
-0.04585406929254532,
-0.3544016182422638,
0.3528320789337158,
-0.00437835231423378,
-0.08390691876411438,
0.1576315015554428,
0.2606353759765625,
-0.19177277386188507,
-0.02594655379652977,
-0.5728282332420349,
-0.40992283821105957,
-0.22713856399059296,
0.031387221068143845,
0.023904897272586823,
0.14859604835510254,
0.14563214778900146,
0.3056471347808838,
0.16159909963607788,
0.22205987572669983,
0.10707953572273254,
0.03872251510620117,
-0.1193661093711853,
0.30270227789878845,
-0.23211127519607544,
-0.29607895016670227,
0.10448776185512543,
-0.06937769800424576,
0.14905387163162231,
-0.1352606862783432,
-0.3425978422164917,
-0.08992106467485428,
-0.1535869836807251,
0.13819213211536407,
-0.10969583690166473,
0.06688889116048813,
0.1864420473575592,
0.10273060947656631,
-0.05824267119169235,
-0.031172530725598335,
-0.09900635480880737,
0.05550125241279602,
-0.012225545942783356,
0.09672509133815765,
-0.126763254404068,
0.38437312841415405,
-0.1644408106803894,
0.5157353281974792,
0.14116089046001434,
-0.10862462222576141,
0.10970473289489746,
-0.30594125390052795,
0.014328289777040482,
-0.01582973450422287,
-0.6153257489204407,
-0.06051637977361679,
-0.061887383460998535,
-0.21044036746025085,
0.13133469223976135,
-0.11362235993146896,
0.19177567958831787,
-0.3463660478591919,
-0.2849586606025696,
-0.28583917021751404,
-0.2135683298110962,
-0.12596407532691956,
-0.32931795716285706,
0.14018863439559937,
-0.3368886411190033,
0.1928606629371643,
-0.1289023607969284,
0.18666070699691772,
-0.0011484874412417412,
0.31125152111053467,
0.008783705532550812,
-0.16306072473526,
-0.4543215334415436,
-0.43708059191703796,
-0.15298274159431458,
0.26520389318466187,
-0.09707576036453247,
0.3282499313354492,
-0.034048814326524734,
0.09414628893136978,
-0.07642875611782074,
0.09431964159011841,
0.7349427938461304,
-0.07146719098091125,
-0.10017050802707672,
-0.033246561884880066,
-0.052132755517959595,
-0.19000853598117828,
-0.10482902079820633,
-0.22999459505081177,
0.5030244588851929,
-0.08766628801822662,
0.0027426332235336304,
-0.031024020165205002,
0.03440897539258003,
0.31139546632766724,
0.23980125784873962,
-0.2419738918542862,
-0.15116290748119354,
-0.16786767542362213,
-0.094183549284935,
-0.31222885847091675,
-0.001420043408870697,
-0.037521474063396454,
0.21834376454353333,
0.044848427176475525,
0.09672044217586517,
-0.30138713121414185,
-0.2463023066520691,
0.435820996761322,
0.14344333112239838,
0.2560603618621826,
-0.21651619672775269,
0.142213374376297,
0.05822259187698364,
0.09890668839216232,
0.24816876649856567,
0.4858225882053375,
-0.13073839247226715,
-0.5411927103996277,
-0.15995493531227112,
-0.20372101664543152,
0.6125230193138123,
-0.09840761125087738,
-0.16740299761295319,
0.12586639821529388,
-0.15213455259799957,
0.09424440562725067,
-0.11719601601362228,
-0.1505890041589737,
0.4400136470794678,
0.1157611533999443,
-0.473685622215271,
-0.6331067681312561,
0.2424563467502594,
0.1834883838891983,
0.1777932196855545,
0.21505066752433777,
0.19332948327064514,
-0.18800370395183563,
0.4287165403366089,
-0.19201430678367615,
0.6609266996383667,
0.10433005541563034,
0.049533285200595856,
0.0827893316745758,
0.06916267424821854,
0.4578763246536255,
0.03395068645477295,
0.0691424012184143,
-0.26225143671035767,
-0.36949285864830017,
-0.18019631505012512,
-0.079759880900383,
0.4680803418159485,
0.09829678386449814,
-0.33752888441085815,
0.5543087124824524,
-0.35650110244750977,
0.1723983883857727,
-0.24927620589733124,
0.11359953880310059,
0.06548803299665451,
0.0027023954316973686,
-0.2002151906490326,
0.12483510375022888,
-0.027362026274204254,
0.32152828574180603,
0.0665842592716217,
0.045151788741350174,
-0.2416020780801773,
-0.17703376710414886,
-0.30472806096076965,
-0.059362366795539856,
-0.12012352049350739,
0.27179378271102905,
0.017872177064418793,
-0.45354998111724854,
0.36851003766059875,
0.4197376072406769,
0.2819156050682068,
0.2263427972793579,
-0.10740046203136444,
0.21457163989543915,
-0.12383455783128738,
-0.030824413523077965,
-0.1158100813627243,
0.06090720742940903,
0.4535270035266876,
0.062136776745319366,
-0.3640810251235962,
0.37063923478126526,
-0.05443374440073967,
-0.07189133763313293,
0.18850469589233398,
0.1930849552154541,
0.0826646089553833,
-0.6170631647109985,
-0.31453412771224976,
-0.07302357256412506,
0.0198250450193882,
-0.20233693718910217,
0.13797058165073395,
0.059923507273197174,
-0.3034592866897583,
0.3259064555168152,
0.08557778596878052,
-0.23497602343559265,
-0.07733449339866638,
0.1898123025894165,
0.19262480735778809,
0.2795051634311676,
0.7549839019775391,
-0.006149962544441223,
-0.009987276047468185,
-0.3380097448825836,
0.21713513135910034,
0.3891828656196594,
-0.23690849542617798,
0.15183234214782715,
0.010589332319796085,
0.30854272842407227,
0.0520971305668354,
0.19621284306049347,
0.1046639159321785,
0.21400794386863708,
0.04867028817534447,
-0.5679892301559448,
-0.24127086997032166,
0.08593926578760147,
0.09731665253639221,
0.16899196803569794,
-0.07993732392787933,
0.16947783529758453,
0.018362632021307945,
0.17717619240283966,
-0.28933799266815186,
0.14249593019485474,
-0.24942028522491455,
0.04507429897785187,
0.23692834377288818,
0.20755112171173096,
0.16135236620903015,
-0.16397619247436523,
0.210417702794075,
-0.0610005185008049,
0.09059964865446091,
-0.24158737063407898,
-0.17180192470550537,
0.11042589694261551,
0.023054830729961395,
0.12840436398983002,
-0.035760264843702316,
-0.112859345972538,
-0.044749293476343155,
-0.12388443946838379,
-0.09215942025184631,
0.2925587296485901,
-0.010643690824508667,
0.6938596963882446,
0.15332308411598206,
0.14201807975769043,
-0.24567162990570068,
0.19751352071762085,
-0.2029733955860138,
0.2668241858482361,
0.28796884417533875,
0.13175883889198303,
0.13807131350040436,
0.06650269031524658,
-0.4070844352245331,
-0.05713658779859543,
-0.3679026961326599,
-0.16924554109573364,
0.24207261204719543,
-0.44535815715789795,
0.2781389057636261,
0.10075768083333969,
0.33752933144569397,
0.43123671412467957,
-0.2580162584781647,
0.41876286268234253,
0.27232882380485535,
0.21462219953536987,
-0.29269248247146606,
0.13533172011375427,
0.3706126809120178,
-0.07505102455615997,
0.040615830570459366,
0.2696177065372467,
-0.14627307653427124,
0.11388681828975677,
-0.45490068197250366,
0.11080967634916306,
0.29017767310142517,
-0.02160603553056717,
0.40567538142204285,
0.5363782048225403,
-0.020557664334774017,
-0.015729304403066635,
0.05408456176519394,
0.18521787226200104,
0.061668090522289276,
0.7057473659515381,
-0.22388193011283875,
0.25162243843078613,
0.1816994845867157,
0.002283424139022827,
0.21528932452201843,
-0.146040141582489,
0.28928735852241516,
0.02380114048719406,
-0.11409230530261993,
-0.23947623372077942,
-0.07675471901893616,
0.33881205320358276,
-0.4371718466281891,
0.002695319941267371,
0.03261345624923706,
0.06511691957712173,
-0.06255387514829636,
0.11847706139087677,
-0.002900298684835434,
-0.05478363484144211,
-0.14093297719955444,
-0.2161053717136383,
0.10372559726238251,
-0.4050588607788086,
0.06828623265028,
0.05015689879655838,
-0.09187209606170654,
-0.3088480532169342,
0.32482069730758667,
0.2112974226474762,
0.24082350730895996,
-0.37043553590774536,
-0.06294301897287369,
0.22843089699745178,
0.05917802080512047,
0.32179102301597595,
0.12359730154275894,
0.4195917844772339,
0.2080785632133484,
-0.16556963324546814,
-0.10634955018758774,
-0.06964041292667389,
-0.34513047337532043,
0.27582868933677673,
0.05586984381079674,
-0.21521243453025818,
0.2649635970592499,
0.3252100646495819,
0.21850170195102692,
-0.11245466768741608,
0.06735756248235703,
0.20145297050476074,
0.06045082211494446,
-0.37075677514076233,
0.5706567168235779,
-0.044875726103782654,
-0.20993191003799438,
-0.2597062587738037,
-0.03370920568704605,
-0.49323591589927673,
-0.3157057464122772,
0.16265761852264404,
0.08307542651891708,
0.08747337758541107,
0.004043009597808123,
0.06667086482048035,
-0.03476785868406296,
0.3119606673717499,
0.3699966371059418,
0.44734251499176025,
-0.45834115147590637,
0.05873654782772064,
-0.4064313769340515,
-0.06251173466444016,
-0.17064502835273743,
-0.26759350299835205,
-0.07509902864694595,
0.02798096276819706,
-0.21851277351379395,
0.11847364157438278,
0.04582890123128891,
0.19598007202148438,
0.05373772978782654,
0.2616841197013855,
-0.28159162402153015,
-0.3883528709411621,
-0.1944139152765274,
0.15753376483917236,
0.09745223820209503,
-0.08696673810482025,
-0.031108859926462173,
-0.05327281728386879,
0.026092417538166046,
-0.03583303093910217,
-0.023942120373249054,
0.141137957572937,
-0.11140382289886475,
0.17963984608650208,
-0.03422997146844864,
0.8244967460632324,
0.04113175719976425,
0.13919273018836975,
0.10169551521539688,
-0.1549030840396881,
-0.24764099717140198,
0.3596131205558777,
0.2093878537416458,
0.3200776278972626,
-0.06017894297838211,
-0.1672215759754181,
-0.11392740160226822,
0.31529831886291504,
-0.022855328395962715,
-0.12582091987133026,
-0.20075593888759613,
0.14080333709716797,
0.11414124816656113,
0.030408168211579323,
0.1940089613199234,
0.15507175028324127,
-0.2861592471599579,
0.19718831777572632,
-0.07720808684825897,
-0.2748170495033264,
0.3750348389148712,
-0.3308020532131195,
-0.1739964634180069,
-0.09505114704370499,
0.17849990725517273,
0.22172778844833374,
0.06134633719921112,
-0.41989657282829285,
-0.03265824913978577,
0.513556718826294,
-0.12737032771110535,
-0.2425842434167862,
0.23914821445941925,
0.056944455951452255,
0.18676403164863586,
0.1496245563030243,
0.4122319519519806,
-0.17979928851127625,
-0.12781266868114471,
0.17933952808380127,
-0.18123236298561096
] |
https://github.com/huggingface/datasets/issues/1600 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | !curl -L "https://app.roboflow.com/ds/YQYgzFyKns?key=f0IwaEetrr" > roboflow.zip; unzip roboflow.zip; rm roboflow.zip
from datasets import load_dataset
dataset = load_dataset("imagefolder", data_dir="/content/")
dataset["train"][0]
dataset["train"][-1]
train_ds = load_dataset("imagefolder", data_dir="/content/train/")
test_ds = load_dataset("imagefolder", data_dir="/content/test/")
val_ds = load_dataset("imagefolder", data_dir="/content/valid/")
train_ds.features
and i got error
AttributeError Traceback (most recent call last)
[<ipython-input-6-289222110c33>](https://localhost:8080/#) in <cell line: 1>()
----> 1 train_ds.features
AttributeError: 'DatasetDict' object has no attribute 'features' | The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split' | 57 | AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
The following code fails with "'DatasetDict' object has no attribute 'train_test_split'" - am I doing something wrong?
```
from datasets import load_dataset
dataset = load_dataset('csv', data_files='data.txt')
dataset = dataset.train_test_split(test_size=0.1)
```
> AttributeError: 'DatasetDict' object has no attribute 'train_test_split'
!curl -L "https://app.roboflow.com/ds/YQYgzFyKns?key=f0IwaEetrr" > roboflow.zip; unzip roboflow.zip; rm roboflow.zip
from datasets import load_dataset
dataset = load_dataset("imagefolder", data_dir="/content/")
dataset["train"][0]
dataset["train"][-1]
train_ds = load_dataset("imagefolder", data_dir="/content/train/")
test_ds = load_dataset("imagefolder", data_dir="/content/test/")
val_ds = load_dataset("imagefolder", data_dir="/content/valid/")
train_ds.features
and i got error
AttributeError Traceback (most recent call last)
[<ipython-input-6-289222110c33>](https://localhost:8080/#) in <cell line: 1>()
----> 1 train_ds.features
AttributeError: 'DatasetDict' object has no attribute 'features' | [
-0.14126498997211456,
-0.05628352612257004,
-0.1454799920320511,
0.333761990070343,
0.23302386701107025,
0.05143778771162033,
0.5538138151168823,
0.33866676688194275,
0.24515125155448914,
0.22305484116077423,
0.31632718443870544,
0.28684908151626587,
-0.310385137796402,
0.11062117666006088,
-0.03870353475213051,
-0.4441990554332733,
0.11833527684211731,
0.19207432866096497,
0.055818211287260056,
-0.10373006761074066,
-0.13837459683418274,
0.09465254843235016,
-0.22740758955478668,
-0.0067232027649879456,
-0.3596297800540924,
0.01115540973842144,
-0.24503135681152344,
0.08089043200016022,
-0.10009167343378067,
-0.26429861783981323,
0.31820231676101685,
-0.16421502828598022,
-0.07889386266469955,
0.44171780347824097,
-0.00011341211211401969,
0.08880442380905151,
0.17040127515792847,
-0.053362153470516205,
-0.27687734365463257,
-0.4282660484313965,
-0.3352874517440796,
-0.15350596606731415,
0.20175862312316895,
-0.5563364624977112,
0.0008162856101989746,
0.06708177924156189,
-0.11662642657756805,
-0.22364863753318787,
0.5267218947410583,
0.4356994032859802,
0.20096416771411896,
0.24808186292648315,
0.022306185215711594,
-0.1228952407836914,
0.27769210934638977,
0.34584206342697144,
-0.13993602991104126,
0.08511129021644592,
-0.10271507501602173,
0.02143075130879879,
0.37748831510543823,
0.3042081594467163,
-0.08537366986274719,
0.4195554554462433,
0.11629769206047058,
0.15482650697231293,
-0.27424585819244385,
-0.3598955571651459,
-0.08086003363132477,
0.1734766960144043,
0.2920771837234497,
-0.08064141124486923,
-0.45988962054252625,
-0.05450322479009628,
0.04083116352558136,
-0.45280921459198,
0.008222140371799469,
0.2815709412097931,
0.03486309200525284,
-0.0031467080116271973,
-0.3637295961380005,
-0.12875856459140778,
-0.22877708077430725,
0.16556105017662048,
-0.2784184515476227,
0.02126629650592804,
-0.1450890749692917,
0.18342049419879913,
0.04192563518881798,
0.013010604307055473,
0.13440531492233276,
-0.06863310933113098,
-0.045229192823171616,
0.08350881189107895,
-0.0888034999370575,
-0.13559217751026154,
-0.27002641558647156,
-0.45776286721229553,
0.06149274855852127,
0.500435471534729,
0.2061949223279953,
-0.2228246033191681,
0.00598794873803854,
0.19064942002296448,
0.262886106967926,
0.224942147731781,
0.005444735288619995,
0.46478235721588135,
0.1620027720928192,
0.05118648335337639,
-0.29273346066474915,
-0.27663654088974,
-0.08865021169185638,
-0.25887030363082886,
0.24951548874378204,
0.23666131496429443,
0.7253410220146179,
-0.1536138504743576,
-0.2998124659061432,
0.06464400142431259,
-0.36592337489128113,
-0.16036589443683624,
-0.0506855808198452,
0.2552111744880676,
-0.04332254081964493,
0.05904226005077362,
-0.00022557377815246582,
0.07181769609451294,
-0.22964279353618622,
-0.30851396918296814,
-0.22387392818927765,
0.38840699195861816,
-0.0015275254845619202,
-0.03313398361206055,
0.13184754550457,
-0.013467773795127869,
0.22677288949489594,
-0.23570552468299866,
0.14123214781284332,
-0.1868191510438919,
0.16063657402992249,
-0.28100526332855225,
0.0650845542550087,
0.21804557740688324,
-0.04923879727721214,
0.14610181748867035,
0.24490827322006226,
-0.005264010280370712,
-0.14223647117614746,
0.16290760040283203,
-0.5675342679023743,
-0.2508733868598938,
-0.09355401247739792,
0.1713199019432068,
-0.19658397138118744,
-0.09925593435764313,
-0.2829153537750244,
-0.11882469058036804,
0.02493913471698761,
0.0725434273481369,
0.021570280194282532,
-0.2357618361711502,
0.010543342679738998,
-0.23031261563301086,
0.29797300696372986,
0.49604684114456177,
-0.23787283897399902,
-0.1339484453201294,
-0.04754343256354332,
-0.06868815422058105,
0.256632536649704,
0.14537988603115082,
-0.1488111913204193,
0.37436720728874207,
-0.10863282531499863,
0.09859777987003326,
0.4933580458164215,
-0.21828877925872803,
-0.2992817759513855,
0.329729825258255,
0.17745116353034973,
-0.07369950413703918,
0.03474870324134827,
0.001019502291455865,
0.34090176224708557,
0.1630406528711319,
0.024825863540172577,
0.234780952334404,
-0.09170307964086533,
-0.11159513890743256,
-0.005229540169239044,
-0.2018439769744873,
0.3770901560783386,
0.22156423330307007,
0.2144126147031784,
0.06809858977794647,
0.0010774731636047363,
0.09248878061771393,
-0.006354466080665588,
-0.11325472593307495,
-0.07080969214439392,
0.09068076312541962,
0.47338366508483887,
0.07279288023710251,
-0.14263343811035156,
-0.4133091866970062,
-0.1671586036682129,
0.08281848579645157,
0.37639105319976807,
0.005249150097370148,
-0.28935766220092773,
0.079682357609272,
-0.18219411373138428,
-0.014499385841190815,
-0.3945375084877014,
-0.3203699588775635,
0.06578704714775085,
-0.041872382164001465,
0.004817366600036621,
0.04940516874194145,
-0.42304012179374695,
0.2679522633552551,
-0.07802753150463104,
0.2468876838684082,
-0.15592731535434723,
0.6084418296813965,
-0.29598355293273926,
-0.23590657114982605,
-0.09898917376995087,
-0.037191763520240784,
0.12481120228767395,
-0.15265026688575745,
-0.14633971452713013,
0.3904113471508026,
0.09915090352296829,
-0.15586061775684357,
0.10099996626377106,
-0.15009750425815582,
0.3612094819545746,
-0.3242102861404419,
-0.16257843375205994,
0.15121231973171234,
0.13255082070827484,
0.020902253687381744,
-0.12346171587705612,
0.30056247115135193,
-0.02428330108523369,
0.3376682698726654,
0.04678315669298172,
0.22195978462696075,
-0.02080617845058441,
-0.09275881946086884,
-0.08347832411527634,
-0.02896837145090103,
0.1649305522441864,
-0.2955840229988098,
0.15162472426891327,
-0.2704732418060303,
-0.28472983837127686,
-0.10338333994150162,
0.6008456349372864,
0.028070557862520218,
-0.009317323565483093,
-0.00927957147359848,
-0.13564074039459229,
0.37916630506515503,
0.014717470854520798,
0.3685680329799652,
0.42146724462509155,
0.1878133863210678,
-0.24190273880958557,
0.03806322067975998,
-0.050075970590114594,
0.15641175210475922,
0.16478867828845978,
0.08610166609287262,
0.11978482455015182,
-0.014086492359638214,
-0.1009872779250145,
0.033703528344631195,
-0.21306657791137695,
-0.5776328444480896,
-0.011063706129789352,
0.32773739099502563,
-0.39062052965164185,
0.23246784508228302,
-0.24434909224510193,
0.01590711623430252,
-0.20129039883613586,
-0.21332955360412598,
-0.044026922434568405,
-0.2905433475971222,
-0.1401188224554062,
0.02106552943587303,
-0.07642687857151031,
0.005646493751555681,
-0.3727021813392639,
-0.18082202970981598,
0.23525257408618927,
-0.2372923642396927,
0.05197344720363617,
-0.23916997015476227,
-0.034183770418167114,
0.04359431937336922,
0.161116361618042,
0.017040470615029335,
0.2427017092704773,
-0.10831836611032486,
0.03541326895356178,
-0.17719243466854095,
-0.13295230269432068,
0.03430355712771416,
-0.24906213581562042,
0.18931938707828522,
0.2797122299671173,
0.3486652374267578,
-0.11323954164981842,
-0.34678855538368225,
0.49622291326522827,
0.08701107650995255,
-0.17305786907672882,
0.08837104588747025,
0.28679969906806946,
-0.30038613080978394,
-0.18615484237670898,
-0.7047834396362305,
-0.18623864650726318,
-0.1765986531972885,
0.11314486712217331,
0.22843389213085175,
0.18117699027061462,
0.1880384236574173,
0.4530119299888611,
0.05946577712893486,
0.08368201553821564,
-0.03547109663486481,
0.02895633690059185,
-0.3164833188056946,
0.436611145734787,
-0.24535776674747467,
-0.32383331656455994,
0.02748977765440941,
0.006953645497560501,
0.1233886331319809,
0.19902925193309784,
-0.4245033264160156,
-0.10823725908994675,
-0.18938829004764557,
0.22333064675331116,
-0.12231297791004181,
0.07953697443008423,
0.2637439966201782,
0.11423865705728531,
-0.09633830189704895,
-0.025799905881285667,
-0.06027631089091301,
0.13789403438568115,
0.15989887714385986,
0.1887631118297577,
-0.15270337462425232,
0.24130162596702576,
-0.08396874368190765,
0.6411645412445068,
-0.10238485038280487,
-0.156585231423378,
0.25532257556915283,
-0.3116797208786011,
0.059803757816553116,
-0.12407251447439194,
-0.5601425766944885,
0.09145569056272507,
-0.0647159218788147,
-0.14522479474544525,
-0.04349169135093689,
-0.10414869338274002,
0.0598243847489357,
-0.3997880816459656,
-0.13870906829833984,
-0.36640244722366333,
-0.2295723706483841,
-0.0038666799664497375,
-0.05210904777050018,
0.24610579013824463,
-0.30940091609954834,
0.22471719980239868,
-0.17159567773342133,
0.22688376903533936,
-0.00766256358474493,
0.16963663697242737,
0.23465752601623535,
-0.03153449669480324,
-0.523086428642273,
-0.2734001576900482,
-0.2696109712123871,
0.2665521204471588,
-0.06824362277984619,
0.19030152261257172,
-0.10564406961202621,
0.08264433592557907,
-0.0754450261592865,
-0.07087193429470062,
0.4474334120750427,
0.09715518355369568,
-0.0856984406709671,
0.07279175519943237,
-0.1076471135020256,
-0.18362116813659668,
-0.22470185160636902,
-0.3483308255672455,
0.5220767259597778,
-0.09042683243751526,
0.15433794260025024,
-0.13638193905353546,
0.08870168775320053,
0.40389421582221985,
0.16412337124347687,
-0.24668623507022858,
0.02158285304903984,
-0.18109193444252014,
-0.22902151942253113,
-0.34473103284835815,
-0.02813563495874405,
-0.0014757532626390457,
0.09426479041576385,
0.0381648987531662,
-0.08618192374706268,
-0.24299807846546173,
-0.27677589654922485,
0.2768601179122925,
0.06847546994686127,
0.2647682726383209,
-0.28709712624549866,
0.09980741143226624,
-0.0079779252409935,
0.19949637353420258,
0.2968929708003998,
0.5086459517478943,
0.011101903393864632,
-0.4733803868293762,
-0.15527045726776123,
-0.31998178362846375,
0.37635916471481323,
0.09553606063127518,
-0.05485762283205986,
-0.12660199403762817,
0.09035734832286835,
0.2002459168434143,
-0.07880501449108124,
0.04094428941607475,
0.5084916949272156,
-0.021514516323804855,
-0.25762927532196045,
-0.5728720426559448,
0.30368974804878235,
0.006031865254044533,
0.2516469955444336,
0.39179766178131104,
0.18448671698570251,
-0.14553232491016388,
0.439003586769104,
-0.057992808520793915,
0.8362813591957092,
0.2545948624610901,
-0.008304271847009659,
0.19458574056625366,
0.039923205971717834,
0.542927086353302,
-0.06220529228448868,
0.14084085822105408,
-0.09854874759912491,
-0.12345196306705475,
-0.21221685409545898,
-0.1731194108724594,
0.4800088107585907,
0.16976895928382874,
-0.30197006464004517,
0.38370785117149353,
-0.2657806873321533,
0.0602126307785511,
-0.2873185873031616,
-0.05870114266872406,
0.046874113380908966,
0.028938405215740204,
-0.16426920890808105,
0.13500738143920898,
-0.14026816189289093,
0.28729119896888733,
0.08632835000753403,
-0.08974156528711319,
-0.3905220925807953,
-0.26621562242507935,
-0.1613120138645172,
-0.005627067759633064,
-0.23952917754650116,
0.2997211217880249,
0.11110514402389526,
-0.5061500072479248,
0.13230495154857635,
0.006100159138441086,
0.16764673590660095,
-0.04784511402249336,
-0.12324781715869904,
0.2671894431114197,
-0.08129311352968216,
-0.10482333600521088,
-0.11612217873334885,
0.00459720753133297,
0.41442492604255676,
-0.14014463126659393,
-0.38539835810661316,
0.21954277157783508,
-0.08628777414560318,
-0.25632041692733765,
0.24512061476707458,
0.19100864231586456,
0.07224512100219727,
-0.5126725435256958,
-0.47848251461982727,
0.107277050614357,
-0.14689630270004272,
-0.15445367991924286,
0.12690919637680054,
-0.03389915078878403,
-0.26078686118125916,
0.23051384091377258,
0.06674410402774811,
-0.13883964717388153,
-0.11141687631607056,
0.12094738334417343,
0.07971487939357758,
0.2958374321460724,
0.5745131969451904,
-0.11223259568214417,
0.025395162403583527,
-0.29518628120422363,
0.12241492420434952,
0.24999061226844788,
-0.4738321900367737,
0.13010360300540924,
-0.24446114897727966,
0.33113449811935425,
-0.12496618926525116,
0.25273236632347107,
-0.03329845517873764,
0.23762068152427673,
0.06861735880374908,
-0.4722276031970978,
-0.031075432896614075,
0.0806889683008194,
-0.036394644528627396,
0.24676212668418884,
-0.0832747220993042,
0.3445393145084381,
0.0648292601108551,
-0.09912555664777756,
-0.27086788415908813,
0.19061240553855896,
-0.20440343022346497,
0.08207681775093079,
0.26823854446411133,
0.2013770341873169,
0.17879123985767365,
-0.18636344373226166,
0.19085480272769928,
0.05180823802947998,
0.03282500058412552,
-0.2319287657737732,
-0.17434264719486237,
0.1091625913977623,
-0.010804250836372375,
-0.05231571942567825,
-0.019467707723379135,
-0.022959575057029724,
-0.04892590269446373,
-0.07583140581846237,
-0.06997601687908173,
0.1738467514514923,
-0.07731592655181885,
0.6036366820335388,
-0.061699140816926956,
0.11003542691469193,
-0.18973283469676971,
0.10636764019727707,
-0.07614116370677948,
0.5554304718971252,
0.27983585000038147,
0.14264735579490662,
0.23366601765155792,
0.07291890680789948,
-0.5751023292541504,
-0.16421031951904297,
-0.39053940773010254,
-0.07396315038204193,
0.30287325382232666,
-0.39968425035476685,
0.14113858342170715,
-0.037959832698106766,
0.28268590569496155,
0.45077642798423767,
-0.268360435962677,
0.33724579215049744,
0.20576807856559753,
0.2525036931037903,
-0.27769333124160767,
0.12044040113687515,
0.2732028067111969,
0.08221744000911713,
-0.02312886156141758,
0.16623477637767792,
-0.10930462181568146,
0.08643469214439392,
-0.40717291831970215,
0.22964349389076233,
0.38933953642845154,
-0.07108604162931442,
0.3823245167732239,
0.30381858348846436,
-0.06767149269580841,
0.08490556478500366,
-0.08535424619913101,
0.0030333977192640305,
0.1465940624475479,
0.6321834921836853,
-0.2697080373764038,
0.19241364300251007,
0.426330029964447,
0.10589875280857086,
0.27884072065353394,
0.04022679105401039,
-0.03764903172850609,
-0.11154419183731079,
0.08303796499967575,
0.03068128228187561,
-0.06105533242225647,
0.4448258876800537,
-0.2551582455635071,
-0.19667544960975647,
-0.017883125692605972,
0.21151483058929443,
0.062265049666166306,
0.16943451762199402,
-0.19446483254432678,
-0.07436782866716385,
-0.15831175446510315,
-0.062208786606788635,
0.14046092331409454,
-0.2887765169143677,
0.22989895939826965,
0.19458076357841492,
-0.16486795246601105,
-0.2980502247810364,
0.17290222644805908,
0.15252438187599182,
0.17400237917900085,
-0.3562162518501282,
0.16141904890537262,
0.48958736658096313,
-0.1612466424703598,
0.27211856842041016,
0.3109174966812134,
0.5069286227226257,
0.21558323502540588,
0.03565679490566254,
-0.049689505249261856,
-0.1564650684595108,
-0.30212071537971497,
0.21827103197574615,
0.03006332740187645,
-0.054483234882354736,
0.22633378207683563,
0.3070666790008545,
0.22373300790786743,
-0.12278265506029129,
0.2742164134979248,
0.026252008974552155,
0.0036355815827846527,
-0.4578043818473816,
0.5525907874107361,
-0.15171445906162262,
-0.21128851175308228,
-0.2894643545150757,
-0.24587172269821167,
-0.5058816075325012,
-0.17968380451202393,
0.17371608316898346,
0.17293758690357208,
0.0618617981672287,
0.060526419430971146,
0.04607328772544861,
-0.09352567791938782,
0.3510553538799286,
0.28259581327438354,
0.3990273177623749,
-0.35177305340766907,
-0.054944299161434174,
-0.4153858721256256,
-0.073109470307827,
-0.33198070526123047,
-0.11081620305776596,
-0.1368270069360733,
0.23948992788791656,
-0.2133215367794037,
0.23322109878063202,
0.13983547687530518,
-0.1169712170958519,
0.20380963385105133,
0.16645672917366028,
-0.4073330760002136,
-0.22604818642139435,
0.0030834972858428955,
0.258110374212265,
0.07516089081764221,
-0.12102335691452026,
0.09116853028535843,
-0.2088221162557602,
-0.017267294228076935,
0.06591343879699707,
-0.1681796908378601,
0.08617794513702393,
0.17925037443637848,
0.3821934759616852,
0.12696118652820587,
0.654484748840332,
0.12047005444765091,
-0.031658709049224854,
-0.01734817400574684,
-0.29476654529571533,
-0.13328588008880615,
0.20734915137290955,
0.27637845277786255,
0.5599244832992554,
-0.02718614786863327,
-0.12546606361865997,
-0.40895649790763855,
0.5772637128829956,
-0.09637725353240967,
-0.32888102531433105,
-0.13809645175933838,
0.019835172221064568,
0.027509771287441254,
-0.0029444906394928694,
0.12544086575508118,
0.2120356559753418,
-0.29900407791137695,
0.037780143320560455,
-0.26588916778564453,
-0.3723989725112915,
0.4842429757118225,
-0.48059260845184326,
-0.2969685196876526,
-0.07409979403018951,
0.12082264572381973,
0.4412839114665985,
0.19569994509220123,
-0.5953111052513123,
-0.03953690081834793,
0.4242621064186096,
-0.12296970933675766,
-0.33074477314949036,
0.2580135762691498,
0.09868800640106201,
0.16401787102222443,
0.1750568449497223,
0.48556050658226013,
-0.11069046705961227,
-0.2148767113685608,
0.14999470114707947,
-0.11506322026252747
] |
https://github.com/huggingface/datasets/issues/1594 | connection error | This happen quite often when they are too many concurrent requests to github.
i can understand it’s a bit cumbersome to handle on the user side. Maybe we should try a few times in the lib (eg with timeout) before failing, what do you think @lhoestq ? | Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_trainer.py", line 207, in <dictcomp>
for task in data_args.eval_tasks}
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset
return datasets.load_dataset(self.task.name, split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py
el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED
``` | 47 | connection error
Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_trainer.py", line 207, in <dictcomp>
for task in data_args.eval_tasks}
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset
return datasets.load_dataset(self.task.name, split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py
el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED
```
This happen quite often when they are too many concurrent requests to github.
i can understand it’s a bit cumbersome to handle on the user side. Maybe we should try a few times in the lib (eg with timeout) before failing, what do you think @lhoestq ? | [
-0.32930809259414673,
-0.1345851719379425,
-0.20169228315353394,
0.32317471504211426,
0.500186562538147,
-0.18860065937042236,
0.16027362644672394,
0.2997078001499176,
-0.30557897686958313,
0.1561729907989502,
0.012656984850764275,
-0.005644007585942745,
0.22510112822055817,
0.16426512598991394,
-0.045574162155389786,
-0.06605500727891922,
-0.2141922414302826,
0.05169225484132767,
-0.16686944663524628,
0.10178054869174957,
-0.07599009573459625,
0.058925651013851166,
-0.13565495610237122,
0.10666611790657043,
-0.0014339718036353588,
-0.09252603352069855,
0.04826983064413071,
0.09140299260616302,
-0.17704106867313385,
-0.398122638463974,
0.3847734332084656,
-0.047531578689813614,
-0.08782117068767548,
0.24403220415115356,
-0.00010260085400659591,
0.22397486865520477,
0.18407060205936432,
0.061385154724121094,
-0.21913564205169678,
-0.1654970496892929,
-0.18252870440483093,
-0.1764972060918808,
0.34661877155303955,
-0.2045547366142273,
-0.3234614431858063,
0.15653716027736664,
0.019442342221736908,
0.02451300621032715,
0.6095243096351624,
0.5391380786895752,
0.3651290833950043,
0.12393267452716827,
0.2508777678012848,
-0.12635919451713562,
0.012159362435340881,
-0.46494919061660767,
-0.054887719452381134,
0.25003546476364136,
0.22939170897006989,
-0.1382567137479782,
0.06777548789978027,
0.04190356656908989,
0.04114575684070587,
-0.01825868710875511,
0.07190294563770294,
-0.10401742160320282,
0.1631597876548767,
-0.360894113779068,
0.24695301055908203,
0.11527328193187714,
0.5638701319694519,
0.05166810378432274,
-0.13453252613544464,
0.24363571405410767,
0.014592733234167099,
-0.21673017740249634,
0.2574056386947632,
0.0059992168098688126,
-0.23661673069000244,
0.18257790803909302,
0.1746409684419632,
-0.17081013321876526,
-0.5097801089286804,
0.22976873815059662,
-0.09341311454772949,
0.21040239930152893,
-0.048345956951379776,
0.059406429529190063,
0.0371311716735363,
-0.20340602099895477,
0.32397931814193726,
0.28223639726638794,
0.06399610638618469,
0.09560269862413406,
-0.48731744289398193,
-0.025834280997514725,
-0.051708921790122986,
-0.17438703775405884,
-0.04841545969247818,
0.1437138319015503,
0.2108505666255951,
0.08263446390628815,
0.14339058101177216,
0.055150967091321945,
0.08774015307426453,
0.1378038078546524,
-0.1206297054886818,
0.25177475810050964,
0.22802892327308655,
0.3546997308731079,
-0.14444096386432648,
-0.010969001799821854,
-0.15170224010944366,
-0.5245382785797119,
0.022719018161296844,
0.3155856132507324,
0.32857781648635864,
-0.08003626763820648,
-0.2814171016216278,
0.1608618050813675,
-0.07347923517227173,
0.037410687655210495,
-0.014757934026420116,
0.5862594842910767,
-0.4222014546394348,
0.13645204901695251,
-0.03852381557226181,
0.02068200707435608,
-0.16984786093235016,
0.08162573724985123,
-0.21035534143447876,
0.12868864834308624,
-0.11098693311214447,
-0.2046240121126175,
0.12674088776111603,
-0.09792830049991608,
0.10368186980485916,
-0.1254517287015915,
0.07966525107622147,
-0.15403848886489868,
0.2098279893398285,
-0.30715808272361755,
0.04039277881383896,
0.2144148200750351,
-0.009331680834293365,
-0.03976742550730705,
0.2562389671802521,
0.08682842552661896,
0.14266139268875122,
-0.058305077254772186,
-0.3986392617225647,
-0.4699077308177948,
-0.024635938927531242,
0.3337433338165283,
0.18888218700885773,
-0.10189884901046753,
0.242503821849823,
-0.23944227397441864,
0.10152661800384521,
-0.18596187233924866,
-0.15863177180290222,
-0.3791601061820984,
-0.18983164429664612,
-0.2785961329936981,
0.3494768738746643,
0.24114111065864563,
-0.22692351043224335,
-0.055518630892038345,
-0.006358283571898937,
-0.22996312379837036,
-0.08419299870729446,
0.10941939055919647,
-0.16549813747406006,
0.18536445498466492,
-0.21264995634555817,
-0.05563385412096977,
0.6239513158798218,
-0.6403185129165649,
-0.5884611010551453,
0.45188063383102417,
-0.2488527148962021,
-0.21720795333385468,
0.002621963620185852,
0.012835226021707058,
0.31572607159614563,
0.1871754229068756,
0.2534632086753845,
0.25316375494003296,
-0.0963229089975357,
-0.0373813733458519,
-0.1279287338256836,
-0.27831804752349854,
0.21043142676353455,
0.25292715430259705,
0.33838629722595215,
-0.05422879010438919,
0.1496916562318802,
-0.22244113683700562,
0.2122182548046112,
0.123366579413414,
0.055119045078754425,
0.26958680152893066,
0.2858494222164154,
0.1266419142484665,
-0.01516200415790081,
0.2609187960624695,
-0.2238553762435913,
0.10113822668790817,
-0.08232709020376205,
0.13168805837631226,
-0.40206480026245117,
0.2130478024482727,
-0.30468854308128357,
-0.0709667056798935,
-0.42437130212783813,
-0.11106571555137634,
0.32905396819114685,
0.01987285166978836,
0.10098516941070557,
0.06050131097435951,
-0.04663199558854103,
0.2943362593650818,
-0.15117715299129486,
0.15328672528266907,
-0.03330262750387192,
0.2780037820339203,
-0.326854944229126,
-0.055203549563884735,
0.09377160668373108,
0.0030751898884773254,
0.3442080318927765,
-0.18487229943275452,
-0.1886288821697235,
0.2643788456916809,
-0.1593708097934723,
0.1300935298204422,
0.20491483807563782,
0.06572917103767395,
0.11827252805233002,
-0.44836923480033875,
-0.02380293793976307,
0.04374377429485321,
0.12853877246379852,
-0.044029008597135544,
0.4191422462463379,
0.3036997318267822,
0.02963874861598015,
0.3536558747291565,
0.1969595104455948,
0.16274230182170868,
0.30114585161209106,
0.044138092547655106,
-0.11835454404354095,
0.1699623465538025,
0.11933453381061554,
0.11044758558273315,
0.28261691331863403,
-0.2836562395095825,
-0.08447682857513428,
0.03322487324476242,
0.16436095535755157,
-0.033594194799661636,
0.05353565886616707,
0.06878150999546051,
0.29745155572891235,
-0.05593939125537872,
-0.18302880227565765,
0.10093513131141663,
0.4425368309020996,
0.05881340801715851,
-0.14509797096252441,
0.2595958709716797,
0.04288368299603462,
-0.16438718140125275,
0.313317209482193,
0.013778194785118103,
0.23169681429862976,
0.30951425433158875,
0.02467539720237255,
-0.06961682438850403,
-0.18148279190063477,
-0.2767196297645569,
-0.11992710083723068,
0.33475226163864136,
-0.16481269896030426,
0.22149670124053955,
-0.08919159322977066,
-0.14617344737052917,
0.07191944122314453,
-0.12944026291370392,
-0.15305911004543304,
-0.2924027740955353,
-0.007609188556671143,
-0.07672812044620514,
0.15054908394813538,
0.26488110423088074,
-0.18628042936325073,
0.25165852904319763,
0.36927658319473267,
-0.14751224219799042,
0.022987045347690582,
-0.37010693550109863,
-0.1531623899936676,
0.20319899916648865,
-0.002234293147921562,
-0.36855337023735046,
0.2077256441116333,
-0.19242244958877563,
-0.21813775599002838,
-0.12495379894971848,
-0.14777521789073944,
0.023244868963956833,
0.001274053007364273,
0.04329798370599747,
0.25604939460754395,
0.3906775712966919,
0.1269901841878891,
-0.052031032741069794,
0.4064900279045105,
-0.08842092007398605,
-0.0913148745894432,
0.028072096407413483,
-0.02361755073070526,
0.027909638360142708,
0.08001087605953217,
-0.628466010093689,
-0.5869354009628296,
-0.2942393124103546,
0.11829021573066711,
0.14319893717765808,
0.1980278193950653,
0.24892176687717438,
0.1683933585882187,
0.1541634052991867,
0.036575205624103546,
0.31813013553619385,
-0.2569628357887268,
-0.5267907977104187,
0.17748259007930756,
-0.17064110934734344,
-0.4868077337741852,
0.22124478220939636,
0.1338602751493454,
0.5196148157119751,
-0.039280299097299576,
-0.4721226096153259,
-0.4179496765136719,
0.07009853422641754,
0.11887922883033752,
-0.31652459502220154,
-0.10023050010204315,
0.2164640724658966,
-0.08345695585012436,
-0.19604024291038513,
0.06542035937309265,
-0.027941102162003517,
0.17863234877586365,
-0.00011610239744186401,
0.24095997214317322,
-0.13674938678741455,
0.49935245513916016,
-0.006689250469207764,
0.4120449423789978,
-0.001590421423316002,
0.04163910076022148,
0.17396216094493866,
-0.25171512365341187,
0.1825367659330368,
0.032086022198200226,
-0.39736083149909973,
0.19717836380004883,
-0.05068112909793854,
-0.12912440299987793,
0.0730496495962143,
-0.16453567147254944,
0.19090987741947174,
-0.5621136426925659,
0.042749691754579544,
-0.39129260182380676,
-0.251099169254303,
-0.12005139887332916,
-0.26601487398147583,
0.2810429632663727,
0.034674644470214844,
0.08599098771810532,
-0.09821298718452454,
0.03132344037294388,
0.04206964001059532,
0.3615584969520569,
-0.17670375108718872,
0.007870725356042385,
0.01090800017118454,
-0.07292070984840393,
-0.35221701860427856,
0.28085610270500183,
-0.027601415291428566,
0.5090869069099426,
-0.44460371136665344,
0.022132594138383865,
0.08617857843637466,
-0.0871061235666275,
0.6551527976989746,
-0.2658204138278961,
0.1087111085653305,
0.12168225646018982,
-0.054446518421173096,
-0.03708742558956146,
-0.1218067854642868,
-0.11756487190723419,
0.018005775287747383,
0.11021095514297485,
0.018762044608592987,
-0.21710878610610962,
0.036361176520586014,
0.13768652081489563,
-0.24473538994789124,
-0.3150655925273895,
0.02543162927031517,
-0.28480982780456543,
-0.36946961283683777,
-0.08778544515371323,
0.020495541393756866,
-0.02040526643395424,
0.27668872475624084,
0.08789682388305664,
-0.1161070168018341,
0.09792990237474442,
-0.11333069950342178,
0.017342902719974518,
0.0017110947519540787,
-0.05605090409517288,
-0.17870987951755524,
0.028876718133687973,
0.11280202120542526,
0.10068026185035706,
0.24404272437095642,
0.42359837889671326,
-0.04487461969256401,
-0.4300358295440674,
0.1076102927327156,
0.02847016230225563,
0.27948933839797974,
0.1612035483121872,
-0.1627589613199234,
0.20137426257133484,
0.12918329238891602,
0.313909649848938,
0.13624633848667145,
0.1027413010597229,
0.5461701154708862,
0.004274904727935791,
-0.2236461490392685,
-0.3965300917625427,
-0.03488181531429291,
-0.0644250437617302,
0.011310406029224396,
-0.027479052543640137,
-0.21964900195598602,
-0.08000560849905014,
0.0886775553226471,
-0.11249908059835434,
0.8294611573219299,
0.05597381293773651,
0.10790634900331497,
0.31642669439315796,
-0.16202810406684875,
0.3252578377723694,
-0.30668413639068604,
0.2736482620239258,
-0.3532903790473938,
-0.27863436937332153,
-0.0291731096804142,
-0.14966310560703278,
0.11265858262777328,
-0.15082359313964844,
-0.27048125863075256,
0.3974291682243347,
-0.10385716706514359,
-0.015174664556980133,
-0.03738325089216232,
0.02771317958831787,
-0.056335702538490295,
0.14030338823795319,
-0.3439783751964569,
0.2541297674179077,
-0.2757760286331177,
0.38248932361602783,
-0.24503564834594727,
-0.22915682196617126,
0.07929950952529907,
-0.36866581439971924,
-0.02937818318605423,
0.25526466965675354,
-0.5707986354827881,
0.355351984500885,
0.15454350411891937,
-0.25858205556869507,
-0.07733902335166931,
0.09488855302333832,
0.055224962532520294,
0.011714395135641098,
-0.03733476251363754,
0.2538473308086395,
-0.15815484523773193,
0.030168306082487106,
0.03153862804174423,
0.21921230852603912,
0.1645490676164627,
-0.2323613166809082,
-0.2736301124095917,
0.46644455194473267,
-0.06049930304288864,
-0.1921820193529129,
0.1606215238571167,
0.07824242115020752,
0.16153568029403687,
-0.244144469499588,
0.02636374905705452,
-0.2938992977142334,
-0.28024402260780334,
-0.1792212426662445,
0.20582318305969238,
-0.024694912135601044,
-0.21335981786251068,
0.2009061574935913,
0.22960808873176575,
-0.2660568654537201,
-0.0023669637739658356,
0.5637320876121521,
0.033970415592193604,
-0.10381325334310532,
0.5721571445465088,
0.06625376641750336,
-0.0789107084274292,
-0.32212769985198975,
0.029478318989276886,
-0.3145597577095032,
-0.17500969767570496,
-0.027083802968263626,
0.03212310001254082,
0.12965522706508636,
0.05264391005039215,
0.17408138513565063,
0.09580741822719574,
0.31096622347831726,
-0.016524530947208405,
-0.4803706109523773,
-0.36750850081443787,
-0.025188587605953217,
-0.030788857489824295,
0.11590863764286041,
0.015481557697057724,
0.304524689912796,
0.12934014201164246,
-0.14556436240673065,
-0.41379114985466003,
0.038231611251831055,
-0.40602272748947144,
-0.025034211575984955,
0.1632337123155594,
-0.43198931217193604,
0.20818006992340088,
0.23034363985061646,
0.2680648863315582,
-0.14510852098464966,
-0.30384817719459534,
-0.2964726686477661,
0.0754912942647934,
0.08264908939599991,
0.019213706254959106,
-0.10860635340213776,
-0.18498565256595612,
-0.20919932425022125,
-0.08720266819000244,
0.21963158249855042,
0.017261948436498642,
-0.05291816219687462,
0.0027894824743270874,
0.039793726056814194,
-0.2459592968225479,
0.01184302568435669,
-0.05903372913599014,
0.11821479350328445,
0.008824758231639862,
0.3148767054080963,
0.07646921277046204,
0.09355837106704712,
-0.2288634181022644,
-0.2149313986301422,
-0.049458783119916916,
0.01811511069536209,
0.11748874932527542,
-0.17268645763397217,
0.4006975293159485,
-0.28293490409851074,
-0.08372842520475388,
-0.1904573142528534,
0.2987390160560608,
0.4727974832057953,
-0.24738018214702606,
0.08023859560489655,
-0.02730252593755722,
0.31977152824401855,
-0.16815254092216492,
-0.046361733227968216,
-0.12420277297496796,
-0.05142638087272644,
-0.025346558541059494,
-0.062812440097332,
-0.20263192057609558,
-0.10887783020734787,
0.04286615550518036,
0.10065016895532608,
0.3122608959674835,
-0.1423400342464447,
0.07571886479854584,
0.22220313549041748,
-0.12287609279155731,
-0.06518447399139404,
0.16540105640888214,
-0.11064745485782623,
0.1571676880121231,
0.2767726182937622,
-0.2756946086883545,
0.14141042530536652,
-0.29671838879585266,
-0.006329130381345749,
-0.0764334574341774,
-0.3028632700443268,
-0.12830503284931183,
0.03376323729753494,
-0.2258463203907013,
-0.25064948201179504,
-0.13607007265090942,
0.33804330229759216,
-0.038578327745199203,
-0.10339495539665222,
-0.30244776606559753,
0.12028875946998596,
-0.20537742972373962,
-0.20390361547470093,
0.022392187267541885,
-0.114641472697258,
-0.11982351541519165,
-0.06273756176233292,
0.07186900824308395,
0.0012594535946846008,
0.08756759017705917,
0.1861034631729126,
0.011227771639823914,
-0.05286959558725357,
-0.08736089617013931,
0.20299160480499268,
-0.018056191504001617,
-0.19291232526302338,
0.2882751524448395,
0.20565202832221985,
0.07472983002662659,
-0.21499797701835632,
0.29685914516448975,
0.5699781775474548,
0.3594915270805359,
-0.15153038501739502,
0.13150493800640106,
0.12482890486717224,
-0.03301866725087166,
-0.04035693407058716,
-0.030348770320415497,
0.29415425658226013,
0.07635069638490677,
0.3400415778160095,
0.28774917125701904,
-0.18941226601600647,
0.39145663380622864,
-0.06860692799091339,
0.1110328882932663,
-0.06366822123527527,
0.1955818384885788,
0.12191000580787659,
-0.09931132197380066,
-0.43621060252189636,
0.23742687702178955,
-0.6870332360267639,
0.017641769722104073,
0.13139739632606506,
0.08552855253219604,
0.27306559681892395,
-0.2660718262195587,
0.1238822489976883,
-0.24095863103866577,
0.6967999935150146,
0.2872365415096283,
0.22401559352874756,
-0.3663334250450134,
-0.04547639191150665,
-0.4192795157432556,
0.3314240574836731,
0.03936139866709709,
0.09674534201622009,
-0.14520150423049927,
0.17072798311710358,
-0.13172772526741028,
0.19271807372570038,
0.36833810806274414,
-0.06176762655377388,
0.047532886266708374,
0.07528704404830933,
-0.3002038300037384,
-0.08933950960636139,
0.11333015561103821,
0.12129803001880646,
0.07761234045028687,
-0.18715041875839233,
0.16496694087982178,
-0.40683412551879883,
0.2258768081665039,
0.01779026910662651,
-0.2796664834022522,
0.01147337257862091,
-0.056208692491054535,
0.4100192189216614,
0.054407909512519836,
0.4602576792240143,
-0.01725952886044979,
0.032336845993995667,
-0.06385812163352966,
-0.3920343220233917,
0.1263432651758194,
0.18343371152877808,
0.21989409625530243,
-0.03306793048977852,
0.07966960966587067,
0.04090193286538124,
-0.35265907645225525,
0.19720591604709625,
-0.033469751477241516,
-0.05182785913348198,
-0.052414797246456146,
-0.001403091475367546,
0.3012177646160126,
0.08769576996564865,
-0.03790988773107529,
-0.11616823822259903,
-0.016877129673957825,
-0.007144502364099026,
-0.5099961757659912,
-0.3519430458545685,
0.49595269560813904,
0.1254890263080597,
-0.06749045848846436,
-0.21543598175048828,
0.3892974257469177,
-0.04260019212961197,
0.23779122531414032,
-0.3732433021068573,
0.3449624478816986,
0.3041445314884186,
-0.04727266728878021,
-0.38025280833244324,
0.3203735649585724,
-0.1481858640909195,
0.3062383234500885,
0.002188868820667267,
-0.05636470019817352,
-0.10567494481801987,
-0.037837229669094086,
-0.11251683533191681,
-0.10958170145750046
] |
https://github.com/huggingface/datasets/issues/1594 | connection error | Hi @lhoestq thank you for the modification, I will use`script_version="master"` for now :), to my experience, also setting timeout to a larger number like 3*60 which I normally use helps a lot on this.
| Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_trainer.py", line 207, in <dictcomp>
for task in data_args.eval_tasks}
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset
return datasets.load_dataset(self.task.name, split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py
el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED
``` | 34 | connection error
Hi
I am hitting to this error, thanks
```
> Traceback (most recent call last):
File "finetune_t5_trainer.py", line 379, in <module>
main()
File "finetune_t5_trainer.py", line 208, in main
if training_args.do_eval or training_args.evaluation_strategy != EvaluationStrategy.NO
File "finetune_t5_trainer.py", line 207, in <dictcomp>
for task in data_args.eval_tasks}
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 66, in load_dataset
return datasets.load_dataset(self.task.name, split=split, script_version="master")
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 267, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 487, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/master/datasets/boolq/boolq.py
el/0 I1217 01:11:33.898849 354161 main shadow.py:210 Current job status: FINISHED
```
Hi @lhoestq thank you for the modification, I will use`script_version="master"` for now :), to my experience, also setting timeout to a larger number like 3*60 which I normally use helps a lot on this.
| [
-0.32930809259414673,
-0.1345851719379425,
-0.20169228315353394,
0.32317471504211426,
0.500186562538147,
-0.18860065937042236,
0.16027362644672394,
0.2997078001499176,
-0.30557897686958313,
0.1561729907989502,
0.012656984850764275,
-0.005644007585942745,
0.22510112822055817,
0.16426512598991394,
-0.045574162155389786,
-0.06605500727891922,
-0.2141922414302826,
0.05169225484132767,
-0.16686944663524628,
0.10178054869174957,
-0.07599009573459625,
0.058925651013851166,
-0.13565495610237122,
0.10666611790657043,
-0.0014339718036353588,
-0.09252603352069855,
0.04826983064413071,
0.09140299260616302,
-0.17704106867313385,
-0.398122638463974,
0.3847734332084656,
-0.047531578689813614,
-0.08782117068767548,
0.24403220415115356,
-0.00010260085400659591,
0.22397486865520477,
0.18407060205936432,
0.061385154724121094,
-0.21913564205169678,
-0.1654970496892929,
-0.18252870440483093,
-0.1764972060918808,
0.34661877155303955,
-0.2045547366142273,
-0.3234614431858063,
0.15653716027736664,
0.019442342221736908,
0.02451300621032715,
0.6095243096351624,
0.5391380786895752,
0.3651290833950043,
0.12393267452716827,
0.2508777678012848,
-0.12635919451713562,
0.012159362435340881,
-0.46494919061660767,
-0.054887719452381134,
0.25003546476364136,
0.22939170897006989,
-0.1382567137479782,
0.06777548789978027,
0.04190356656908989,
0.04114575684070587,
-0.01825868710875511,
0.07190294563770294,
-0.10401742160320282,
0.1631597876548767,
-0.360894113779068,
0.24695301055908203,
0.11527328193187714,
0.5638701319694519,
0.05166810378432274,
-0.13453252613544464,
0.24363571405410767,
0.014592733234167099,
-0.21673017740249634,
0.2574056386947632,
0.0059992168098688126,
-0.23661673069000244,
0.18257790803909302,
0.1746409684419632,
-0.17081013321876526,
-0.5097801089286804,
0.22976873815059662,
-0.09341311454772949,
0.21040239930152893,
-0.048345956951379776,
0.059406429529190063,
0.0371311716735363,
-0.20340602099895477,
0.32397931814193726,
0.28223639726638794,
0.06399610638618469,
0.09560269862413406,
-0.48731744289398193,
-0.025834280997514725,
-0.051708921790122986,
-0.17438703775405884,
-0.04841545969247818,
0.1437138319015503,
0.2108505666255951,
0.08263446390628815,
0.14339058101177216,
0.055150967091321945,
0.08774015307426453,
0.1378038078546524,
-0.1206297054886818,
0.25177475810050964,
0.22802892327308655,
0.3546997308731079,
-0.14444096386432648,
-0.010969001799821854,
-0.15170224010944366,
-0.5245382785797119,
0.022719018161296844,
0.3155856132507324,
0.32857781648635864,
-0.08003626763820648,
-0.2814171016216278,
0.1608618050813675,
-0.07347923517227173,
0.037410687655210495,
-0.014757934026420116,
0.5862594842910767,
-0.4222014546394348,
0.13645204901695251,
-0.03852381557226181,
0.02068200707435608,
-0.16984786093235016,
0.08162573724985123,
-0.21035534143447876,
0.12868864834308624,
-0.11098693311214447,
-0.2046240121126175,
0.12674088776111603,
-0.09792830049991608,
0.10368186980485916,
-0.1254517287015915,
0.07966525107622147,
-0.15403848886489868,
0.2098279893398285,
-0.30715808272361755,
0.04039277881383896,
0.2144148200750351,
-0.009331680834293365,
-0.03976742550730705,
0.2562389671802521,
0.08682842552661896,
0.14266139268875122,
-0.058305077254772186,
-0.3986392617225647,
-0.4699077308177948,
-0.024635938927531242,
0.3337433338165283,
0.18888218700885773,
-0.10189884901046753,
0.242503821849823,
-0.23944227397441864,
0.10152661800384521,
-0.18596187233924866,
-0.15863177180290222,
-0.3791601061820984,
-0.18983164429664612,
-0.2785961329936981,
0.3494768738746643,
0.24114111065864563,
-0.22692351043224335,
-0.055518630892038345,
-0.006358283571898937,
-0.22996312379837036,
-0.08419299870729446,
0.10941939055919647,
-0.16549813747406006,
0.18536445498466492,
-0.21264995634555817,
-0.05563385412096977,
0.6239513158798218,
-0.6403185129165649,
-0.5884611010551453,
0.45188063383102417,
-0.2488527148962021,
-0.21720795333385468,
0.002621963620185852,
0.012835226021707058,
0.31572607159614563,
0.1871754229068756,
0.2534632086753845,
0.25316375494003296,
-0.0963229089975357,
-0.0373813733458519,
-0.1279287338256836,
-0.27831804752349854,
0.21043142676353455,
0.25292715430259705,
0.33838629722595215,
-0.05422879010438919,
0.1496916562318802,
-0.22244113683700562,
0.2122182548046112,
0.123366579413414,
0.055119045078754425,
0.26958680152893066,
0.2858494222164154,
0.1266419142484665,
-0.01516200415790081,
0.2609187960624695,
-0.2238553762435913,
0.10113822668790817,
-0.08232709020376205,
0.13168805837631226,
-0.40206480026245117,
0.2130478024482727,
-0.30468854308128357,
-0.0709667056798935,
-0.42437130212783813,
-0.11106571555137634,
0.32905396819114685,
0.01987285166978836,
0.10098516941070557,
0.06050131097435951,
-0.04663199558854103,
0.2943362593650818,
-0.15117715299129486,
0.15328672528266907,
-0.03330262750387192,
0.2780037820339203,
-0.326854944229126,
-0.055203549563884735,
0.09377160668373108,
0.0030751898884773254,
0.3442080318927765,
-0.18487229943275452,
-0.1886288821697235,
0.2643788456916809,
-0.1593708097934723,
0.1300935298204422,
0.20491483807563782,
0.06572917103767395,
0.11827252805233002,
-0.44836923480033875,
-0.02380293793976307,
0.04374377429485321,
0.12853877246379852,
-0.044029008597135544,
0.4191422462463379,
0.3036997318267822,
0.02963874861598015,
0.3536558747291565,
0.1969595104455948,
0.16274230182170868,
0.30114585161209106,
0.044138092547655106,
-0.11835454404354095,
0.1699623465538025,
0.11933453381061554,
0.11044758558273315,
0.28261691331863403,
-0.2836562395095825,
-0.08447682857513428,
0.03322487324476242,
0.16436095535755157,
-0.033594194799661636,
0.05353565886616707,
0.06878150999546051,
0.29745155572891235,
-0.05593939125537872,
-0.18302880227565765,
0.10093513131141663,
0.4425368309020996,
0.05881340801715851,
-0.14509797096252441,
0.2595958709716797,
0.04288368299603462,
-0.16438718140125275,
0.313317209482193,
0.013778194785118103,
0.23169681429862976,
0.30951425433158875,
0.02467539720237255,
-0.06961682438850403,
-0.18148279190063477,
-0.2767196297645569,
-0.11992710083723068,
0.33475226163864136,
-0.16481269896030426,
0.22149670124053955,
-0.08919159322977066,
-0.14617344737052917,
0.07191944122314453,
-0.12944026291370392,
-0.15305911004543304,
-0.2924027740955353,
-0.007609188556671143,
-0.07672812044620514,
0.15054908394813538,
0.26488110423088074,
-0.18628042936325073,
0.25165852904319763,
0.36927658319473267,
-0.14751224219799042,
0.022987045347690582,
-0.37010693550109863,
-0.1531623899936676,
0.20319899916648865,
-0.002234293147921562,
-0.36855337023735046,
0.2077256441116333,
-0.19242244958877563,
-0.21813775599002838,
-0.12495379894971848,
-0.14777521789073944,
0.023244868963956833,
0.001274053007364273,
0.04329798370599747,
0.25604939460754395,
0.3906775712966919,
0.1269901841878891,
-0.052031032741069794,
0.4064900279045105,
-0.08842092007398605,
-0.0913148745894432,
0.028072096407413483,
-0.02361755073070526,
0.027909638360142708,
0.08001087605953217,
-0.628466010093689,
-0.5869354009628296,
-0.2942393124103546,
0.11829021573066711,
0.14319893717765808,
0.1980278193950653,
0.24892176687717438,
0.1683933585882187,
0.1541634052991867,
0.036575205624103546,
0.31813013553619385,
-0.2569628357887268,
-0.5267907977104187,
0.17748259007930756,
-0.17064110934734344,
-0.4868077337741852,
0.22124478220939636,
0.1338602751493454,
0.5196148157119751,
-0.039280299097299576,
-0.4721226096153259,
-0.4179496765136719,
0.07009853422641754,
0.11887922883033752,
-0.31652459502220154,
-0.10023050010204315,
0.2164640724658966,
-0.08345695585012436,
-0.19604024291038513,
0.06542035937309265,
-0.027941102162003517,
0.17863234877586365,
-0.00011610239744186401,
0.24095997214317322,
-0.13674938678741455,
0.49935245513916016,
-0.006689250469207764,
0.4120449423789978,
-0.001590421423316002,
0.04163910076022148,
0.17396216094493866,
-0.25171512365341187,
0.1825367659330368,
0.032086022198200226,
-0.39736083149909973,
0.19717836380004883,
-0.05068112909793854,
-0.12912440299987793,
0.0730496495962143,
-0.16453567147254944,
0.19090987741947174,
-0.5621136426925659,
0.042749691754579544,
-0.39129260182380676,
-0.251099169254303,
-0.12005139887332916,
-0.26601487398147583,
0.2810429632663727,
0.034674644470214844,
0.08599098771810532,
-0.09821298718452454,
0.03132344037294388,
0.04206964001059532,
0.3615584969520569,
-0.17670375108718872,
0.007870725356042385,
0.01090800017118454,
-0.07292070984840393,
-0.35221701860427856,
0.28085610270500183,
-0.027601415291428566,
0.5090869069099426,
-0.44460371136665344,
0.022132594138383865,
0.08617857843637466,
-0.0871061235666275,
0.6551527976989746,
-0.2658204138278961,
0.1087111085653305,
0.12168225646018982,
-0.054446518421173096,
-0.03708742558956146,
-0.1218067854642868,
-0.11756487190723419,
0.018005775287747383,
0.11021095514297485,
0.018762044608592987,
-0.21710878610610962,
0.036361176520586014,
0.13768652081489563,
-0.24473538994789124,
-0.3150655925273895,
0.02543162927031517,
-0.28480982780456543,
-0.36946961283683777,
-0.08778544515371323,
0.020495541393756866,
-0.02040526643395424,
0.27668872475624084,
0.08789682388305664,
-0.1161070168018341,
0.09792990237474442,
-0.11333069950342178,
0.017342902719974518,
0.0017110947519540787,
-0.05605090409517288,
-0.17870987951755524,
0.028876718133687973,
0.11280202120542526,
0.10068026185035706,
0.24404272437095642,
0.42359837889671326,
-0.04487461969256401,
-0.4300358295440674,
0.1076102927327156,
0.02847016230225563,
0.27948933839797974,
0.1612035483121872,
-0.1627589613199234,
0.20137426257133484,
0.12918329238891602,
0.313909649848938,
0.13624633848667145,
0.1027413010597229,
0.5461701154708862,
0.004274904727935791,
-0.2236461490392685,
-0.3965300917625427,
-0.03488181531429291,
-0.0644250437617302,
0.011310406029224396,
-0.027479052543640137,
-0.21964900195598602,
-0.08000560849905014,
0.0886775553226471,
-0.11249908059835434,
0.8294611573219299,
0.05597381293773651,
0.10790634900331497,
0.31642669439315796,
-0.16202810406684875,
0.3252578377723694,
-0.30668413639068604,
0.2736482620239258,
-0.3532903790473938,
-0.27863436937332153,
-0.0291731096804142,
-0.14966310560703278,
0.11265858262777328,
-0.15082359313964844,
-0.27048125863075256,
0.3974291682243347,
-0.10385716706514359,
-0.015174664556980133,
-0.03738325089216232,
0.02771317958831787,
-0.056335702538490295,
0.14030338823795319,
-0.3439783751964569,
0.2541297674179077,
-0.2757760286331177,
0.38248932361602783,
-0.24503564834594727,
-0.22915682196617126,
0.07929950952529907,
-0.36866581439971924,
-0.02937818318605423,
0.25526466965675354,
-0.5707986354827881,
0.355351984500885,
0.15454350411891937,
-0.25858205556869507,
-0.07733902335166931,
0.09488855302333832,
0.055224962532520294,
0.011714395135641098,
-0.03733476251363754,
0.2538473308086395,
-0.15815484523773193,
0.030168306082487106,
0.03153862804174423,
0.21921230852603912,
0.1645490676164627,
-0.2323613166809082,
-0.2736301124095917,
0.46644455194473267,
-0.06049930304288864,
-0.1921820193529129,
0.1606215238571167,
0.07824242115020752,
0.16153568029403687,
-0.244144469499588,
0.02636374905705452,
-0.2938992977142334,
-0.28024402260780334,
-0.1792212426662445,
0.20582318305969238,
-0.024694912135601044,
-0.21335981786251068,
0.2009061574935913,
0.22960808873176575,
-0.2660568654537201,
-0.0023669637739658356,
0.5637320876121521,
0.033970415592193604,
-0.10381325334310532,
0.5721571445465088,
0.06625376641750336,
-0.0789107084274292,
-0.32212769985198975,
0.029478318989276886,
-0.3145597577095032,
-0.17500969767570496,
-0.027083802968263626,
0.03212310001254082,
0.12965522706508636,
0.05264391005039215,
0.17408138513565063,
0.09580741822719574,
0.31096622347831726,
-0.016524530947208405,
-0.4803706109523773,
-0.36750850081443787,
-0.025188587605953217,
-0.030788857489824295,
0.11590863764286041,
0.015481557697057724,
0.304524689912796,
0.12934014201164246,
-0.14556436240673065,
-0.41379114985466003,
0.038231611251831055,
-0.40602272748947144,
-0.025034211575984955,
0.1632337123155594,
-0.43198931217193604,
0.20818006992340088,
0.23034363985061646,
0.2680648863315582,
-0.14510852098464966,
-0.30384817719459534,
-0.2964726686477661,
0.0754912942647934,
0.08264908939599991,
0.019213706254959106,
-0.10860635340213776,
-0.18498565256595612,
-0.20919932425022125,
-0.08720266819000244,
0.21963158249855042,
0.017261948436498642,
-0.05291816219687462,
0.0027894824743270874,
0.039793726056814194,
-0.2459592968225479,
0.01184302568435669,
-0.05903372913599014,
0.11821479350328445,
0.008824758231639862,
0.3148767054080963,
0.07646921277046204,
0.09355837106704712,
-0.2288634181022644,
-0.2149313986301422,
-0.049458783119916916,
0.01811511069536209,
0.11748874932527542,
-0.17268645763397217,
0.4006975293159485,
-0.28293490409851074,
-0.08372842520475388,
-0.1904573142528534,
0.2987390160560608,
0.4727974832057953,
-0.24738018214702606,
0.08023859560489655,
-0.02730252593755722,
0.31977152824401855,
-0.16815254092216492,
-0.046361733227968216,
-0.12420277297496796,
-0.05142638087272644,
-0.025346558541059494,
-0.062812440097332,
-0.20263192057609558,
-0.10887783020734787,
0.04286615550518036,
0.10065016895532608,
0.3122608959674835,
-0.1423400342464447,
0.07571886479854584,
0.22220313549041748,
-0.12287609279155731,
-0.06518447399139404,
0.16540105640888214,
-0.11064745485782623,
0.1571676880121231,
0.2767726182937622,
-0.2756946086883545,
0.14141042530536652,
-0.29671838879585266,
-0.006329130381345749,
-0.0764334574341774,
-0.3028632700443268,
-0.12830503284931183,
0.03376323729753494,
-0.2258463203907013,
-0.25064948201179504,
-0.13607007265090942,
0.33804330229759216,
-0.038578327745199203,
-0.10339495539665222,
-0.30244776606559753,
0.12028875946998596,
-0.20537742972373962,
-0.20390361547470093,
0.022392187267541885,
-0.114641472697258,
-0.11982351541519165,
-0.06273756176233292,
0.07186900824308395,
0.0012594535946846008,
0.08756759017705917,
0.1861034631729126,
0.011227771639823914,
-0.05286959558725357,
-0.08736089617013931,
0.20299160480499268,
-0.018056191504001617,
-0.19291232526302338,
0.2882751524448395,
0.20565202832221985,
0.07472983002662659,
-0.21499797701835632,
0.29685914516448975,
0.5699781775474548,
0.3594915270805359,
-0.15153038501739502,
0.13150493800640106,
0.12482890486717224,
-0.03301866725087166,
-0.04035693407058716,
-0.030348770320415497,
0.29415425658226013,
0.07635069638490677,
0.3400415778160095,
0.28774917125701904,
-0.18941226601600647,
0.39145663380622864,
-0.06860692799091339,
0.1110328882932663,
-0.06366822123527527,
0.1955818384885788,
0.12191000580787659,
-0.09931132197380066,
-0.43621060252189636,
0.23742687702178955,
-0.6870332360267639,
0.017641769722104073,
0.13139739632606506,
0.08552855253219604,
0.27306559681892395,
-0.2660718262195587,
0.1238822489976883,
-0.24095863103866577,
0.6967999935150146,
0.2872365415096283,
0.22401559352874756,
-0.3663334250450134,
-0.04547639191150665,
-0.4192795157432556,
0.3314240574836731,
0.03936139866709709,
0.09674534201622009,
-0.14520150423049927,
0.17072798311710358,
-0.13172772526741028,
0.19271807372570038,
0.36833810806274414,
-0.06176762655377388,
0.047532886266708374,
0.07528704404830933,
-0.3002038300037384,
-0.08933950960636139,
0.11333015561103821,
0.12129803001880646,
0.07761234045028687,
-0.18715041875839233,
0.16496694087982178,
-0.40683412551879883,
0.2258768081665039,
0.01779026910662651,
-0.2796664834022522,
0.01147337257862091,
-0.056208692491054535,
0.4100192189216614,
0.054407909512519836,
0.4602576792240143,
-0.01725952886044979,
0.032336845993995667,
-0.06385812163352966,
-0.3920343220233917,
0.1263432651758194,
0.18343371152877808,
0.21989409625530243,
-0.03306793048977852,
0.07966960966587067,
0.04090193286538124,
-0.35265907645225525,
0.19720591604709625,
-0.033469751477241516,
-0.05182785913348198,
-0.052414797246456146,
-0.001403091475367546,
0.3012177646160126,
0.08769576996564865,
-0.03790988773107529,
-0.11616823822259903,
-0.016877129673957825,
-0.007144502364099026,
-0.5099961757659912,
-0.3519430458545685,
0.49595269560813904,
0.1254890263080597,
-0.06749045848846436,
-0.21543598175048828,
0.3892974257469177,
-0.04260019212961197,
0.23779122531414032,
-0.3732433021068573,
0.3449624478816986,
0.3041445314884186,
-0.04727266728878021,
-0.38025280833244324,
0.3203735649585724,
-0.1481858640909195,
0.3062383234500885,
0.002188868820667267,
-0.05636470019817352,
-0.10567494481801987,
-0.037837229669094086,
-0.11251683533191681,
-0.10958170145750046
] |
https://github.com/huggingface/datasets/issues/1593 | Access to key in DatasetDict map | Indeed that would be cool
Also FYI right now the easiest way to do this is
```python
dataset_dict["train"] = dataset_dict["train"].map(my_transform_for_the_train_set)
dataset_dict["test"] = dataset_dict["test"].map(my_transform_for_the_test_set)
``` | It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`. | 24 | Access to key in DatasetDict map
It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`.
Indeed that would be cool
Also FYI right now the easiest way to do this is
```python
dataset_dict["train"] = dataset_dict["train"].map(my_transform_for_the_train_set)
dataset_dict["test"] = dataset_dict["test"].map(my_transform_for_the_test_set)
``` | [
0.012361627072095871,
-0.09805375337600708,
-0.1504412591457367,
0.03158815950155258,
0.14852562546730042,
0.051978699862957,
0.2157808393239975,
0.1856267899274826,
0.2782224118709564,
0.11376085132360458,
0.01877705194056034,
0.6971395015716553,
-0.1946282684803009,
0.36247146129608154,
0.007596162147819996,
0.12611430883407593,
-0.08226703852415085,
0.17260214686393738,
0.25976091623306274,
0.020080670714378357,
-0.5007085204124451,
-0.2413187175989151,
-0.29910874366760254,
0.17247940599918365,
0.18130961060523987,
-0.058189757168293,
-0.04124879091978073,
-0.12548291683197021,
0.08634818345308304,
-0.49714934825897217,
0.31502148509025574,
0.35001376271247864,
-0.07134187966585159,
0.03196775168180466,
-0.00011510141484905034,
0.16534124314785004,
0.17972415685653687,
-0.06157401204109192,
-0.23175816237926483,
-0.2660994529724121,
-0.47534793615341187,
-0.22235216200351715,
-0.06653054803609848,
-0.6481959223747253,
0.07364364713430405,
-0.26588675379753113,
0.08994033932685852,
-0.38693559169769287,
0.1715962439775467,
0.14914411306381226,
0.14718329906463623,
0.1689085066318512,
-0.06544743478298187,
0.20374692976474762,
-0.010079525411128998,
0.0594719797372818,
-0.06777214258909225,
-0.1251581311225891,
0.09099376946687698,
-0.16092607378959656,
0.19300982356071472,
0.08979456126689911,
-0.034720905125141144,
-0.1856621950864792,
0.48000338673591614,
0.19622653722763062,
-0.2003140151500702,
-0.2015485316514969,
-0.035012803971767426,
0.10731521248817444,
0.2576014995574951,
-0.46453359723091125,
-0.46077701449394226,
-0.3498968780040741,
0.0422467440366745,
0.06052369624376297,
0.12028921395540237,
-0.18996109068393707,
0.12205269932746887,
0.20784644782543182,
-0.05677536875009537,
-0.014876850880682468,
-0.12104987353086472,
0.06963455677032471,
-0.10261055082082748,
0.3232734203338623,
0.05015261098742485,
0.3766310513019562,
0.14480367302894592,
0.10345800220966339,
-0.05072948709130287,
-0.1709427684545517,
0.06425054371356964,
0.44604963064193726,
-0.007025409489870071,
-0.14974695444107056,
0.2523939609527588,
-0.1559838056564331,
0.20759835839271545,
-0.34789353609085083,
0.17291593551635742,
0.12566223740577698,
-0.4662781059741974,
0.3151428997516632,
0.3825662434101105,
0.19097162783145905,
0.34237733483314514,
0.49601808190345764,
0.4341568350791931,
-0.24147233366966248,
-0.10158505290746689,
0.00001613423228263855,
0.05294041335582733,
-0.09840047359466553,
0.32598885893821716,
0.4494171142578125,
0.44945377111434937,
0.19421815872192383,
-0.08871928602457047,
-0.14227208495140076,
-0.1836029589176178,
-0.22308580577373505,
0.25250446796417236,
0.1441776007413864,
0.19534854590892792,
0.12954699993133545,
-0.08439472317695618,
-0.10637713968753815,
0.11834634095430374,
0.08307540416717529,
-0.11326106637716293,
-0.1972927749156952,
0.14578713476657867,
-0.03851219266653061,
0.028464850038290024,
-0.022925879806280136,
0.04791032522916794,
-0.1424475610256195,
0.12690111994743347,
0.12060928344726562,
0.22164826095104218,
-0.11085362732410431,
0.4448648691177368,
0.09495093673467636,
-0.3591141104698181,
-0.02338768169283867,
0.16488832235336304,
-0.25350743532180786,
-0.5074765086174011,
0.06310838460922241,
-0.2506263256072998,
-0.35530439019203186,
0.5641080737113953,
0.11272408068180084,
0.13488788902759552,
0.04483357444405556,
-0.16568031907081604,
0.4262408912181854,
0.03854142874479294,
-0.1489332914352417,
0.29244229197502136,
-0.14527961611747742,
-0.6354401707649231,
-0.4432384967803955,
-0.12249604612588882,
0.07152147591114044,
-0.4225706160068512,
-0.2193414568901062,
0.19368882477283478,
-0.2955152094364166,
-0.2337774932384491,
-0.1400134414434433,
-0.4305417239665985,
0.18452094495296478,
-0.11331157386302948,
0.08422991633415222,
0.59831303358078,
-0.5417661666870117,
-0.7054087519645691,
-0.01947481371462345,
-0.07344673573970795,
-0.09098131954669952,
0.10615137964487076,
0.19833098351955414,
0.3027152121067047,
-0.107578806579113,
0.3345129191875458,
0.24827273190021515,
0.07040466368198395,
0.07398245483636856,
0.3476864993572235,
-0.07754335552453995,
0.04400091618299484,
-0.13865432143211365,
-0.2733564078807831,
0.01239633560180664,
-0.020933113992214203,
-0.15700645744800568,
0.16053250432014465,
-0.04444306716322899,
0.13195958733558655,
-0.031611524522304535,
0.1468590348958969,
-0.014786355197429657,
0.08973591029644012,
-0.0011812113225460052,
-0.15742778778076172,
0.4363514184951782,
-0.06880365312099457,
-0.11614027619361877,
-0.3282235264778137,
-0.5135017037391663,
0.04574296995997429,
0.3376215994358063,
-0.16755220293998718,
0.044651441276073456,
0.1876627504825592,
-0.09614183008670807,
0.018324334174394608,
-0.04903724044561386,
-0.3668052554130554,
0.02694031223654747,
-0.0686383843421936,
-0.16889096796512604,
0.03454674407839775,
-0.10815740376710892,
0.2327881157398224,
0.22830238938331604,
0.005708418786525726,
0.13084186613559723,
0.11893153935670853,
0.12840931117534637,
-0.14364874362945557,
-0.03527596592903137,
0.34561893343925476,
-0.078020378947258,
-0.13581031560897827,
0.4973071217536926,
0.19562619924545288,
0.03635447099804878,
0.05470363795757294,
0.249528169631958,
0.17096270620822906,
-0.1297854781150818,
-0.14261174201965332,
0.5926753282546997,
0.028571806848049164,
0.5155335664749146,
-0.009834781289100647,
0.04828675091266632,
0.05504446476697922,
0.05767463520169258,
-0.4270040690898895,
-0.33039602637290955,
-0.4731326997280121,
-0.19182707369327545,
0.21410790085792542,
0.019202820956707,
0.11398471891880035,
0.14466208219528198,
0.6021991968154907,
0.05691992864012718,
0.13993892073631287,
-0.24707546830177307,
-0.1606607735157013,
0.11734730750322342,
-0.028029849752783775,
0.09747494757175446,
0.2293155938386917,
0.13528844714164734,
-0.02883770689368248,
0.09354095160961151,
-0.13503627479076385,
0.13136926293373108,
0.13006000220775604,
0.33213919401168823,
-0.17519430816173553,
-0.28582656383514404,
0.05609329044818878,
-0.06373271346092224,
-0.028283817693591118,
-0.33086851239204407,
-0.05582531541585922,
-0.09748794883489609,
-0.1905638724565506,
0.24134276807308197,
-0.042622290551662445,
-0.09786204993724823,
0.060888443142175674,
-0.21862897276878357,
0.03259255737066269,
-0.37615901231765747,
-0.013131406158208847,
0.008322939276695251,
-0.23121033608913422,
0.10490448027849197,
-0.16300487518310547,
0.18370652198791504,
0.13999958336353302,
-0.39120563864707947,
0.03172476589679718,
-0.47205615043640137,
0.03691719099879265,
0.03226272761821747,
0.027948714792728424,
-0.3296690285205841,
0.39568743109703064,
0.2419900745153427,
0.016612034291028976,
-0.1163707748055458,
-0.24595648050308228,
-0.005321826785802841,
-0.17300021648406982,
-0.2134750783443451,
0.3398190140724182,
0.14147596061229706,
-0.17573821544647217,
0.1314515620470047,
0.1284938007593155,
0.03306863456964493,
-0.23872725665569305,
-0.19164882600307465,
0.05591307580471039,
-0.033156294375658035,
0.005646649748086929,
-0.07442318648099899,
-0.25254935026168823,
-0.3577525317668915,
0.5741583704948425,
-0.1613994836807251,
0.24676893651485443,
-0.0077682482078671455,
-0.07851186394691467,
0.18469884991645813,
0.1403215080499649,
0.161054328083992,
-0.27829116582870483,
0.2995181083679199,
0.17007356882095337,
-0.11717836558818817,
-0.10322153568267822,
-0.11143296211957932,
-0.23282787203788757,
0.23137585818767548,
0.14779898524284363,
-0.18640029430389404,
-0.11991263926029205,
-0.0949164405465126,
0.3826453685760498,
-0.14261016249656677,
0.06255277246236801,
0.3247348368167877,
0.33715564012527466,
0.02880578301846981,
-0.1655997782945633,
-0.27284741401672363,
-0.11003413051366806,
0.34272706508636475,
-0.30263906717300415,
0.46930399537086487,
0.3372192084789276,
-0.023904766887426376,
0.4323863387107849,
-0.028122054412961006,
-0.02662365511059761,
0.08634480088949203,
-0.09896529465913773,
0.09835194051265717,
0.014652878046035767,
-0.34116131067276,
-0.24299027025699615,
0.11728613823652267,
0.01569788157939911,
0.09477534145116806,
-0.19104772806167603,
-0.1910979300737381,
-0.0792386531829834,
-0.5995091199874878,
-0.011566698551177979,
-0.1916852444410324,
0.29175907373428345,
-0.14492133259773254,
0.056501660495996475,
0.03856075182557106,
0.2522510886192322,
-0.39425647258758545,
0.18601980805397034,
0.007053351029753685,
-0.24362613260746002,
0.32064977288246155,
-0.20167778432369232,
-0.13467466831207275,
-0.4841749966144562,
-0.29135721921920776,
0.22846508026123047,
0.10668932646512985,
0.18270014226436615,
0.12471285462379456,
-0.18614405393600464,
0.04245353490114212,
0.035159140825271606,
0.6711296439170837,
-0.0902375876903534,
-0.04339730739593506,
0.13022522628307343,
-0.17059026658535004,
-0.4726124405860901,
0.1933230608701706,
0.09558486938476562,
0.6799290180206299,
-0.48853784799575806,
0.4142970144748688,
-0.2821060121059418,
0.16813528537750244,
-0.27880579233169556,
0.14248855412006378,
-0.2792942225933075,
-0.23703359067440033,
-0.10036711394786835,
0.032902345061302185,
-0.3489784300327301,
0.15543177723884583,
0.05560141056776047,
-0.205723837018013,
-0.04106619209051132,
0.003735538572072983,
-0.10113421082496643,
-0.05873524397611618,
-0.02571071684360504,
0.2758447825908661,
0.18171349167823792,
0.04628462344408035,
0.14806035161018372,
0.39175093173980713,
-0.06736841797828674,
0.0019899774342775345,
0.463541716337204,
0.09006547927856445,
-0.6185472011566162,
-0.2677067220211029,
0.2093936651945114,
0.36055639386177063,
0.0001380443572998047,
0.0508040189743042,
0.36528027057647705,
0.21225233376026154,
-0.3647414445877075,
-0.29205209016799927,
-0.09126489609479904,
0.13701730966567993,
0.14097054302692413,
-0.6226904392242432,
-0.8021767735481262,
0.5334593057632446,
0.14244988560676575,
-0.4570407271385193,
0.5476131439208984,
0.1369374841451645,
-0.5080651640892029,
0.693981409072876,
0.031746771186590195,
0.8180792927742004,
0.09096912294626236,
0.24597270786762238,
-0.11423002928495407,
-0.25173109769821167,
0.38704508543014526,
-0.08053842186927795,
-0.09425462782382965,
-0.11357514560222626,
-0.22766177356243134,
-0.14738816022872925,
-0.059604331851005554,
-0.14504075050354004,
0.24153165519237518,
-0.40930476784706116,
0.14808006584644318,
-0.08836580067873001,
0.11705851554870605,
-0.16513973474502563,
0.03853059560060501,
0.012329544872045517,
-0.2198590487241745,
-0.19523295760154724,
0.07503224909305573,
0.189008429646492,
0.12838080525398254,
0.1366221308708191,
-0.08019735664129257,
-0.22209028899669647,
-0.1737527996301651,
0.03644837439060211,
-0.3822329044342041,
-0.5194311738014221,
0.4279223680496216,
-0.24923816323280334,
0.21816925704479218,
0.06731629371643066,
0.2284746766090393,
0.42096829414367676,
0.2316121757030487,
-0.08538026362657547,
0.196737140417099,
0.5073007941246033,
0.28955692052841187,
-0.09518603980541229,
-0.10962708294391632,
0.3067338764667511,
0.23804336786270142,
-0.3285784423351288,
0.35365793108940125,
0.007967599667608738,
-0.38470709323883057,
-0.45069289207458496,
0.4155711531639099,
-0.018130816519260406,
-0.20025725662708282,
-0.06228283792734146,
-0.19202956557273865,
-0.11501902341842651,
-0.04309392347931862,
0.09387223422527313,
-0.005101241171360016,
0.05014580115675926,
0.3668043315410614,
-0.049803126603364944,
-0.21653099358081818,
0.10427439212799072,
0.5097558498382568,
0.22946542501449585,
0.3759143650531769,
0.37579700350761414,
-0.4711039960384369,
-0.06149890273809433,
-0.10085272043943405,
-0.05790586769580841,
0.29630112648010254,
0.1827336847782135,
0.09359722584486008,
0.17161718010902405,
0.0842457264661789,
-0.31704407930374146,
0.3108106553554535,
-0.08575408160686493,
0.29728034138679504,
-0.3940308690071106,
-0.27486497163772583,
-0.7087803483009338,
0.3164024353027344,
0.24874195456504822,
0.2865429222583771,
0.1933692991733551,
-0.014220638200640678,
-0.2886119484901428,
-0.027103958651423454,
-0.27332648634910583,
-0.34201711416244507,
0.018158266320824623,
-0.010234899818897247,
0.3442188501358032,
0.44798174500465393,
0.17612333595752716,
0.09331175684928894,
0.07553564012050629,
0.07443408668041229,
0.0688590556383133,
-0.22350206971168518,
-0.18014056980609894,
0.14932090044021606,
0.02451246976852417,
0.2308112382888794,
-0.3096635341644287,
-0.4354643225669861,
-0.007896054536104202,
-0.2798786163330078,
0.1082427054643631,
0.45230644941329956,
0.13479554653167725,
0.2953726351261139,
0.25477084517478943,
0.0669463649392128,
-0.02441999316215515,
0.2991234362125397,
0.04229271411895752,
0.06451839208602905,
0.11171965301036835,
0.3623962700366974,
-0.37815892696380615,
0.03104884922504425,
-0.06885416805744171,
0.13807982206344604,
-0.005524493753910065,
-0.1330188512802124,
0.033208951354026794,
0.32812654972076416,
0.140397846698761,
0.23534885048866272,
0.0821000412106514,
0.2767198085784912,
-0.18823373317718506,
0.156040757894516,
0.10657965391874313,
0.12008249014616013,
-0.1776866614818573,
-0.20916201174259186,
0.21558570861816406,
-0.17039677500724792,
0.15770773589611053,
0.18706640601158142,
-0.010338813066482544,
0.11878347396850586,
-0.1394832730293274,
-0.2212410569190979,
0.1681768000125885,
-0.2791551351547241,
0.12452064454555511,
0.43018391728401184,
0.046742942184209824,
-0.1407843679189682,
0.2656864523887634,
0.3378240466117859,
0.49448561668395996,
0.26553118228912354,
-0.314428448677063,
0.16655534505844116,
0.08083383738994598,
-0.17136110365390778,
0.43705540895462036,
0.0694446712732315,
0.14632846415042877,
0.1456020325422287,
-0.0595264732837677,
0.12599551677703857,
0.2828306555747986,
0.08928437530994415,
-0.1263163536787033,
0.09739431738853455,
-0.024555690586566925,
0.13204650580883026,
-0.0004664584994316101,
-0.24212177097797394,
-0.2539229989051819,
-0.08546904474496841,
0.19726437330245972,
-0.2780998945236206,
0.15934404730796814,
-0.18811117112636566,
0.16523820161819458,
-0.07844629883766174,
0.12060819566249847,
0.2307354062795639,
0.02845645882189274,
0.09064699709415436,
0.36250966787338257,
-0.04316997900605202,
-0.43252164125442505,
-0.05750323832035065,
0.3947233259677887,
0.4380663335323334,
-0.026602966710925102,
0.04255061596632004,
-0.08635109663009644,
-0.23634976148605347,
0.21954767405986786,
-0.010504504665732384,
-0.23395061492919922,
-0.3468415439128876,
0.1312466561794281,
-0.23675739765167236,
-0.024898633360862732,
0.21807238459587097,
0.10720168054103851,
-0.045714251697063446,
-0.10694064199924469,
0.05814196169376373,
0.24355502426624298,
0.06449604034423828,
0.09644291549921036,
0.14333198964595795,
-0.5415205359458923,
0.22907482087612152,
0.02767646312713623,
0.07108911126852036,
-0.2556734085083008,
0.11227467656135559,
0.2078499048948288,
0.26899537444114685,
-0.051294196397066116,
0.0678156390786171,
0.09285666048526764,
0.17387701570987701,
0.027061302214860916,
0.05026251822710037,
-0.0984315499663353,
0.20004861056804657,
-0.3773202896118164,
-0.008905686438083649,
0.0027762949466705322,
-0.2553081810474396,
0.08471952378749847,
-0.09049038589000702,
0.1383443921804428,
-0.026653457432985306,
0.20759540796279907,
-0.3855069577693939,
-0.10193543136119843,
0.052267275750637054,
-0.002739153802394867,
-0.516288697719574,
-0.0027055367827415466,
0.019206026569008827,
0.136153444647789,
-0.26074281334877014,
0.048884451389312744,
0.06087188795208931,
0.021640881896018982,
-0.47466301918029785,
0.2268770933151245,
0.04281950369477272,
0.35220468044281006,
0.5298023223876953,
0.04211578890681267,
0.39256083965301514,
-0.12508833408355713,
0.30329298973083496,
-0.009470809251070023,
0.12850947678089142,
-0.17538121342658997,
0.22152665257453918,
-0.23319891095161438,
-0.07195314764976501,
-0.20321540534496307,
-0.3315401077270508,
-0.0679730772972107,
-0.038856036961078644,
-0.019420547410845757,
-0.34441906213760376,
-0.05032841116189957,
0.12416281551122665,
-0.3433816730976105,
-0.16273613274097443,
-0.30865582823753357,
0.17013290524482727,
0.022962722927331924,
-0.06016779690980911,
0.1718801110982895,
-0.2669442892074585,
0.544651210308075,
-0.36495131254196167,
-0.1904861330986023,
0.4018333852291107,
0.03414178639650345,
-0.38514870405197144,
0.14203135669231415,
-0.3323296308517456,
-0.02129240334033966,
0.4848422110080719,
-0.13302981853485107,
-0.18772728741168976,
-0.020565394312143326,
0.2040703296661377,
0.4866795837879181,
-0.3850894868373871,
0.40777185559272766,
-0.09669064730405807,
-0.0449477881193161,
0.025576990097761154,
-0.17586562037467957
] |
https://github.com/huggingface/datasets/issues/1593 | Access to key in DatasetDict map | I don't feel like adding an extra param for this simple usage makes sense, considering how many args `map` already has.
(Feel free to re-open this issue if you don't agree with me) | It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`. | 33 | Access to key in DatasetDict map
It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`.
I don't feel like adding an extra param for this simple usage makes sense, considering how many args `map` already has.
(Feel free to re-open this issue if you don't agree with me) | [
-0.003871280699968338,
-0.03975968062877655,
-0.17285792529582977,
-0.04880891740322113,
0.04630596190690994,
-0.04591454938054085,
0.208854541182518,
0.20048433542251587,
0.23444774746894836,
0.12350796163082123,
0.1395583301782608,
0.7042030692100525,
-0.1394842267036438,
0.20880472660064697,
0.062286555767059326,
0.21225117146968842,
-0.11455921083688736,
0.1262546330690384,
0.45454615354537964,
0.09280610084533691,
-0.44131040573120117,
-0.20451302826404572,
-0.2760046124458313,
0.18159610033035278,
0.3092232048511505,
-0.051694631576538086,
-0.0874006450176239,
-0.07668343931436539,
0.06131602078676224,
-0.4911295473575592,
0.23775430023670197,
0.35072582960128784,
-0.0017130151391029358,
-0.0948537215590477,
-0.00011596077092690393,
0.1611545830965042,
0.26683861017227173,
-0.08390817791223526,
-0.18574334681034088,
-0.19259317219257355,
-0.4931090176105499,
-0.15325690805912018,
-0.0890577882528305,
-0.5846049189567566,
0.1657346487045288,
-0.18804503977298737,
0.04913046956062317,
-0.3792591691017151,
0.03754869103431702,
0.08573146164417267,
0.14909544587135315,
0.09313473850488663,
-0.07151637226343155,
0.23178839683532715,
0.049601517617702484,
0.1376456320285797,
-0.033458225429058075,
-0.19962351024150848,
0.24073851108551025,
-0.11962465196847916,
0.19676423072814941,
0.15574172139167786,
-0.13330014050006866,
-0.13061335682868958,
0.46444761753082275,
0.17114783823490143,
-0.08247194439172745,
-0.04180338233709335,
0.10530462116003036,
0.02794118970632553,
0.30367937684059143,
-0.43008100986480713,
-0.2939624488353729,
-0.2850051522254944,
-0.05882369726896286,
0.1267213672399521,
0.10301372408866882,
-0.2547522187232971,
0.07193119823932648,
0.2303340584039688,
0.008022849448025227,
-0.14841771125793457,
-0.12166275084018707,
0.09331158548593521,
0.17690028250217438,
0.22398634254932404,
0.0034209114965051413,
0.4566402733325958,
0.23407109081745148,
0.060531988739967346,
-0.22495463490486145,
-0.18222589790821075,
-0.0784977525472641,
0.4673890471458435,
0.22905012965202332,
-0.07184033840894699,
0.29208436608314514,
-0.03376656770706177,
0.37781962752342224,
-0.34447747468948364,
0.1661318689584732,
0.17010900378227234,
-0.3658018112182617,
0.284767210483551,
0.399116188287735,
0.13079525530338287,
0.5341598987579346,
0.3492891192436218,
0.4850269556045532,
-0.35577988624572754,
0.02823283150792122,
-0.025986410677433014,
0.05786751210689545,
-0.062296971678733826,
0.3688153028488159,
0.4637262225151062,
0.38964033126831055,
0.11493265628814697,
0.051116108894348145,
-0.11970207840204239,
-0.06264123320579529,
-0.3119685649871826,
0.2860940992832184,
0.09371121972799301,
0.3508077561855316,
0.0019741784781217575,
-0.07901859283447266,
-0.18102049827575684,
0.12920068204402924,
-0.06478194147348404,
-0.04485213756561279,
-0.21587225794792175,
0.17272494733333588,
0.05801381915807724,
0.00010398030281066895,
0.003557490184903145,
-0.06565053015947342,
-0.21925890445709229,
0.07143466919660568,
0.12033648788928986,
0.2546405494213104,
-0.015502081252634525,
0.3818886876106262,
0.05116540938615799,
-0.32283324003219604,
0.024942440912127495,
0.23845356702804565,
-0.27932387590408325,
-0.47351357340812683,
0.1569003015756607,
-0.3073659837245941,
-0.4530014097690582,
0.4815853536128998,
0.04962083324790001,
0.17072419822216034,
0.2287052869796753,
-0.18340718746185303,
0.5188066959381104,
0.03749139606952667,
-0.288896381855011,
0.2638094425201416,
-0.014819104224443436,
-0.7101165652275085,
-0.4450342059135437,
-0.26058128476142883,
0.16755665838718414,
-0.43021535873413086,
-0.17118608951568604,
-0.0035614706575870514,
-0.4002426564693451,
-0.1345144510269165,
-0.30450427532196045,
-0.42646270990371704,
0.21397235989570618,
-0.07570391893386841,
0.15277719497680664,
0.5439136028289795,
-0.450096994638443,
-0.6557261943817139,
0.1251409500837326,
-0.1518331915140152,
-0.2136356681585312,
0.166120246052742,
0.06842721253633499,
0.21588662266731262,
-0.0953131765127182,
0.4505264461040497,
0.08551830798387527,
0.040892377495765686,
0.024320585653185844,
0.2995895445346832,
-0.08641518652439117,
-0.10191170871257782,
-0.12266993522644043,
-0.3691229224205017,
-0.024739764630794525,
0.0985962375998497,
-0.2897852659225464,
0.08782142400741577,
0.015423137694597244,
0.23206478357315063,
-0.0924234390258789,
0.2354568988084793,
-0.1413697451353073,
0.14903922379016876,
0.09239689260721207,
-0.21219870448112488,
0.3651285767555237,
0.09382664412260056,
-0.10693664848804474,
-0.3372047543525696,
-0.4773663282394409,
0.13895311951637268,
0.39987558126449585,
0.019455403089523315,
0.10359525680541992,
0.1397497057914734,
-0.06358765065670013,
-0.09891699254512787,
-0.14305727183818817,
-0.35950905084609985,
-0.12612956762313843,
-0.07034890353679657,
-0.3107091188430786,
0.18617917597293854,
-0.19706405699253082,
0.16817712783813477,
0.2001398652791977,
-0.014606887474656105,
-0.05723639577627182,
0.061776380985975266,
0.08157788217067719,
-0.16123434901237488,
-0.009980075061321259,
0.4720768332481384,
-0.07044059038162231,
-0.04036187380552292,
0.4283336400985718,
0.1110781654715538,
0.10957629978656769,
-0.010799983516335487,
0.14720945060253143,
0.1625927984714508,
-0.22512277960777283,
-0.17345115542411804,
0.49109721183776855,
-0.010967742651700974,
0.5691577792167664,
-0.006289858371019363,
0.011647166684269905,
0.1435222178697586,
0.10043294727802277,
-0.4274982810020447,
-0.3202168941497803,
-0.3381199836730957,
-0.16006356477737427,
-0.018191520124673843,
0.06547877937555313,
0.264255553483963,
0.2580271363258362,
0.45385122299194336,
0.030164144933223724,
0.12498762458562851,
-0.15752297639846802,
-0.060809649527072906,
0.10020007938146591,
0.09758096933364868,
-0.02118813246488571,
0.30072110891342163,
0.16886840760707855,
-0.07845079898834229,
-0.031029602512717247,
-0.07036649435758591,
0.14072690904140472,
0.17770519852638245,
0.31211841106414795,
-0.1704035997390747,
-0.2699281573295593,
-0.011611593887209892,
-0.11713597923517227,
-0.05893782526254654,
-0.33727386593818665,
-0.007690632250159979,
-0.042613208293914795,
-0.18283696472644806,
0.1761445850133896,
-0.07969821989536285,
-0.07269947230815887,
0.20161262154579163,
-0.17578795552253723,
-0.03133254870772362,
-0.28762534260749817,
0.01578921638429165,
-0.00041504576802253723,
-0.25252535939216614,
0.041082415729761124,
-0.25938528776168823,
0.4111214876174927,
0.15978005528450012,
-0.35832834243774414,
-0.009783029556274414,
-0.532902181148529,
-0.02799546718597412,
-0.004134221002459526,
0.04556870087981224,
-0.35354775190353394,
0.34714192152023315,
0.34511539340019226,
0.07373742759227753,
-0.09674935787916183,
-0.36187392473220825,
0.10983976721763611,
-0.12037123739719391,
-0.13121920824050903,
0.3957144618034363,
0.07875567674636841,
-0.24859178066253662,
0.14031146466732025,
0.08772788196802139,
-0.05523376911878586,
-0.28291812539100647,
-0.24693357944488525,
-0.04047717899084091,
-0.16519908607006073,
-0.15506277978420258,
0.1059640571475029,
-0.15268893539905548,
-0.32175126671791077,
0.5308065414428711,
-0.16006843745708466,
0.35923492908477783,
-0.030638478696346283,
-0.06913507729768753,
0.22325913608074188,
0.10021337866783142,
0.07057956606149673,
-0.3552720844745636,
0.32626378536224365,
0.12098371982574463,
-0.09315063804388046,
-0.08666552603244781,
-0.06118818745017052,
-0.1661672741174698,
0.24717175960540771,
0.13637679815292358,
-0.180749773979187,
-0.17055173218250275,
0.08519580960273743,
0.36303842067718506,
-0.15449966490268707,
0.013730009086430073,
0.2482452094554901,
0.33972403407096863,
0.04410471022129059,
-0.22087711095809937,
-0.4420042932033539,
-0.04495837539434433,
0.3589826822280884,
-0.2585529685020447,
0.5380486845970154,
0.3725394904613495,
0.010476406663656235,
0.40501999855041504,
-0.21302291750907898,
0.06839689612388611,
0.11865440011024475,
-0.07555223256349564,
0.1431821882724762,
0.18504153192043304,
-0.335006445646286,
-0.15633970499038696,
0.17406828701496124,
-0.06568177044391632,
0.11455502361059189,
-0.17741996049880981,
-0.3440946042537689,
-0.1186908408999443,
-0.6390949487686157,
0.15507203340530396,
-0.2027607560157776,
0.3332439064979553,
0.13025251030921936,
0.026596926152706146,
0.07631468772888184,
0.1880321502685547,
-0.5270886421203613,
0.21333497762680054,
-0.031809002161026,
-0.18938614428043365,
0.40462228655815125,
-0.1395382434129715,
-0.1684589684009552,
-0.37027856707572937,
-0.2901743948459625,
0.28975844383239746,
0.24237790703773499,
0.19104717671871185,
0.015076320618391037,
-0.09679700434207916,
0.05250949412584305,
-0.0037923133932054043,
0.6804163455963135,
-0.14282475411891937,
-0.013294566422700882,
0.04530748352408409,
-0.04407867416739464,
-0.4846212863922119,
0.2178371399641037,
0.2550523281097412,
0.8090028166770935,
-0.4174996316432953,
0.40572911500930786,
-0.3360254466533661,
0.2465861290693283,
-0.3055211901664734,
-0.01003251876682043,
-0.2093414068222046,
-0.3308171331882477,
-0.14357054233551025,
-0.04752185940742493,
-0.3818432688713074,
0.17845988273620605,
0.054276272654533386,
-0.28546640276908875,
0.1440281718969345,
-0.022485801950097084,
0.08913152664899826,
-0.058560580015182495,
-0.09804967045783997,
0.1716596782207489,
0.1485532522201538,
0.09958869218826294,
0.031480755656957626,
0.36575618386268616,
-0.12767207622528076,
-0.08817315101623535,
0.44205930829048157,
0.07381993532180786,
-0.4592732787132263,
-0.1587962806224823,
0.057844337075948715,
0.4523100256919861,
0.11611106991767883,
0.11400437355041504,
0.40777072310447693,
0.29601937532424927,
-0.3487829566001892,
-0.16724875569343567,
-0.18670272827148438,
0.008973880670964718,
0.02724292501807213,
-0.5312826037406921,
-0.680393636226654,
0.3687562346458435,
0.0629587173461914,
-0.4663001298904419,
0.7247322797775269,
0.2268669158220291,
-0.45705488324165344,
0.6179762482643127,
0.10150683671236038,
0.9383857846260071,
0.18130280077457428,
0.06041552126407623,
-0.21655893325805664,
-0.17359194159507751,
0.3714349567890167,
-0.04744446277618408,
-0.1076008528470993,
0.026196513324975967,
-0.22156518697738647,
-0.12455211579799652,
-0.10106402635574341,
-0.14915111660957336,
0.24185866117477417,
-0.4456517696380615,
-0.024410415440797806,
0.09536442160606384,
0.2425922304391861,
-0.06999873369932175,
0.08273282647132874,
0.00823409203439951,
-0.26192694902420044,
-0.04163458198308945,
0.057802923023700714,
0.05430486053228378,
-0.014911368489265442,
0.13619202375411987,
-0.05103515088558197,
-0.09965763986110687,
-0.3875533938407898,
-0.024114854633808136,
-0.3998536765575409,
-0.522935688495636,
0.3824115991592407,
-0.17494100332260132,
0.4534236192703247,
0.050701748579740524,
-0.008381325751543045,
0.2389943152666092,
0.23783844709396362,
-0.06209930032491684,
0.19054290652275085,
0.5119683742523193,
0.29944854974746704,
-0.28732550144195557,
-0.13620109856128693,
0.17495280504226685,
0.16881972551345825,
-0.3590722680091858,
0.33410048484802246,
0.0016182241961359978,
-0.5657643675804138,
-0.5311431884765625,
0.4746020436286926,
0.04783996567130089,
-0.02667994797229767,
-0.07216060161590576,
-0.14788053929805756,
-0.16867902874946594,
0.042146775871515274,
0.06796905398368835,
0.04046451300382614,
0.03965289518237114,
0.3636086881160736,
0.012767460197210312,
-0.19195055961608887,
0.12528620660305023,
0.5779110789299011,
0.18736180663108826,
0.40315690636634827,
0.21423912048339844,
-0.4153648614883423,
-0.10981623828411102,
-0.09169209003448486,
-0.163076251745224,
0.27919426560401917,
0.21632292866706848,
-0.003258763812482357,
0.06470178812742233,
0.13691698014736176,
-0.2525242865085602,
0.21128147840499878,
-0.054811544716358185,
0.3701884150505066,
-0.3601670563220978,
-0.29042890667915344,
-0.6536862850189209,
0.26371604204177856,
0.06519298255443573,
0.18201571702957153,
0.2778201997280121,
-0.24489589035511017,
-0.30880045890808105,
0.08823546022176743,
-0.24001844227313995,
-0.391620397567749,
0.21781383454799652,
-0.011163968592882156,
0.4606424868106842,
0.5373942255973816,
0.20141057670116425,
0.018147779628634453,
0.04529661685228348,
0.19416652619838715,
0.05304216966032982,
-0.17456737160682678,
-0.11005069315433502,
0.17045505344867706,
0.05934608727693558,
0.22541168332099915,
-0.3541359305381775,
-0.4543412923812866,
-0.041784923523664474,
-0.19938324391841888,
0.015815898776054382,
0.31698137521743774,
0.0592404305934906,
0.046176448464393616,
0.17826026678085327,
0.013693664222955704,
0.05438889563083649,
0.2868354916572571,
0.11602957546710968,
0.20590588450431824,
0.05998917296528816,
0.3320862948894501,
-0.3690522015094757,
0.054731279611587524,
0.15453918278217316,
0.19338786602020264,
0.07155658304691315,
-0.1751452088356018,
-0.02388935536146164,
0.4390859007835388,
0.10079523921012878,
0.2102348804473877,
-0.057001952081918716,
0.27229398488998413,
-0.1941787153482437,
0.1750793159008026,
-0.0238676555454731,
0.0729653611779213,
-0.12104015797376633,
-0.25641995668411255,
0.19257207214832306,
-0.05359896272420883,
0.08740141987800598,
0.2683522403240204,
0.00003388896584510803,
0.06333594024181366,
0.019124571233987808,
-0.22247150540351868,
0.34481921792030334,
-0.3245692253112793,
-0.026616295799613,
0.3341678977012634,
-0.08658093959093094,
-0.08109335601329803,
0.31040477752685547,
0.3628162741661072,
0.5327631235122681,
0.16810289025306702,
-0.3801760971546173,
0.044305406510829926,
0.21342149376869202,
-0.1442611664533615,
0.3852362036705017,
0.0016046054661273956,
0.15634799003601074,
0.3195134401321411,
0.09773629903793335,
0.2091846764087677,
0.40577125549316406,
-0.02990972250699997,
-0.10551564395427704,
0.15847595036029816,
-0.026371372863650322,
0.03813965991139412,
0.06458066403865814,
-0.18334081768989563,
-0.40022364258766174,
-0.11399340629577637,
0.10528704524040222,
-0.1951829493045807,
0.19161275029182434,
-0.09374557435512543,
0.15878655016422272,
-0.1032082587480545,
0.11559503525495529,
0.19665120542049408,
-0.1122918501496315,
0.0754099190235138,
0.24262988567352295,
-0.0842340886592865,
-0.37589365243911743,
-0.11067895591259003,
0.3832547962665558,
0.4785799980163574,
-0.17002485692501068,
0.00956660509109497,
-0.05862278491258621,
-0.018039606511592865,
0.11629869043827057,
-0.044771164655685425,
-0.2138000726699829,
-0.40492382645606995,
0.2454613447189331,
-0.21460017561912537,
-0.07786893844604492,
0.15531323850154877,
0.060840412974357605,
0.012131371535360813,
-0.11794397234916687,
0.13345859944820404,
0.16301515698432922,
0.21346114575862885,
0.023822098970413208,
0.12538044154644012,
-0.4702008068561554,
0.2609791159629822,
-0.009314611554145813,
0.19881346821784973,
-0.28956422209739685,
0.09109041094779968,
0.11017612367868423,
0.25434619188308716,
-0.1280464231967926,
0.04092080146074295,
0.06080712005496025,
0.10328240692615509,
-0.002807874232530594,
-0.08400777727365494,
-0.1888134479522705,
0.1517122983932495,
-0.3413054645061493,
0.01253904402256012,
-0.057878393679857254,
-0.15543851256370544,
0.19277814030647278,
-0.1430903971195221,
0.2800811231136322,
-0.01290084794163704,
0.1949029564857483,
-0.48038601875305176,
-0.02636464312672615,
-0.09509886801242828,
-0.07146366685628891,
-0.49166160821914673,
0.18891263008117676,
0.007988720200955868,
0.1410861760377884,
-0.2402210533618927,
0.08842044323682785,
-0.009963329881429672,
-0.01135554164648056,
-0.6253106594085693,
0.11312410235404968,
-0.05035413056612015,
0.4049398601055145,
0.5597734451293945,
-0.019105756655335426,
0.34506186842918396,
-0.16261956095695496,
0.3346729278564453,
-0.05453943833708763,
0.24946807324886322,
-0.13786530494689941,
0.1900620013475418,
-0.21476516127586365,
-0.20648735761642456,
-0.20108020305633545,
-0.27489593625068665,
-0.09167421609163284,
-0.041967689990997314,
-0.10680466890335083,
-0.1021624505519867,
-0.03272450342774391,
0.18238434195518494,
-0.46438655257225037,
-0.1748076230287552,
-0.38412347435951233,
-0.06727106869220734,
0.08207465708255768,
0.003312591463327408,
0.17220313847064972,
-0.15350030362606049,
0.5551882982254028,
-0.3378225862979889,
-0.1839771270751953,
0.4303261339664459,
0.05880299583077431,
-0.3094165027141571,
0.06695199012756348,
-0.22305312752723694,
-0.13544723391532898,
0.4720962345600128,
-0.05907118320465088,
-0.21879854798316956,
-0.04009302332997322,
0.15873003005981445,
0.43576472997665405,
-0.39703238010406494,
0.32474297285079956,
-0.045875027775764465,
-0.05521364137530327,
-0.017693914473056793,
-0.21666091680526733
] |
https://github.com/huggingface/datasets/issues/1593 | Access to key in DatasetDict map | I still think this is useful, since it's common that the data processing is different for training/dev/testing. And I don't know if the fact that `map` currently takes many arguments is a good reason not to support a useful feature. | It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`. | 40 | Access to key in DatasetDict map
It is possible that we want to do different things in the `map` function (and possibly other functions too) of a `DatasetDict`, depending on the key. I understand that `DatasetDict.map` is a really thin wrapper of `Dataset.map`, so it is easy to directly implement this functionality in the client code. Still, it'd be nice if there can be a flag, similar to `with_indices`, that allows the callable to know the key inside `DatasetDict`.
I still think this is useful, since it's common that the data processing is different for training/dev/testing. And I don't know if the fact that `map` currently takes many arguments is a good reason not to support a useful feature. | [
-0.05647892504930496,
-0.08198577165603638,
-0.2005559653043747,
0.025824978947639465,
0.023189730942249298,
-0.003994181752204895,
0.2461400032043457,
0.2529509365558624,
0.3246658444404602,
0.21125710010528564,
0.10791382938623428,
0.6381980180740356,
-0.16955700516700745,
0.29291677474975586,
0.06822053343057632,
0.14814600348472595,
-0.07356102019548416,
0.17838239669799805,
0.34428882598876953,
0.11376427114009857,
-0.4701693058013916,
-0.2825177311897278,
-0.3593398928642273,
0.17593355476856232,
0.2479192465543747,
-0.01075168140232563,
-0.06782642751932144,
-0.25369489192962646,
0.09598533064126968,
-0.5530229210853577,
0.2382177859544754,
0.4046211242675781,
-0.035156089812517166,
-0.0887557789683342,
-0.00011752660066122189,
0.15158019959926605,
0.27080273628234863,
-0.017346257343888283,
-0.3090914487838745,
-0.1739930659532547,
-0.4739857316017151,
-0.1698559820652008,
-0.12357351183891296,
-0.6159873604774475,
0.16318488121032715,
-0.225693941116333,
0.23702354729175568,
-0.3893016278743744,
0.03285089135169983,
0.0774146169424057,
0.12180577218532562,
0.17662742733955383,
-0.10357832908630371,
0.23140014708042145,
0.008936598896980286,
0.19888800382614136,
-0.13200271129608154,
-0.08728459477424622,
0.285564661026001,
-0.1045832559466362,
0.1833028942346573,
0.14860554039478302,
-0.00022391602396965027,
-0.1510673463344574,
0.41664788126945496,
0.11401378363370895,
-0.10836144536733627,
-0.08017285913228989,
0.06915531307458878,
0.11549332737922668,
0.25390902161598206,
-0.34145861864089966,
-0.3650651276111603,
-0.36448121070861816,
0.03880453109741211,
0.08284611254930496,
0.12894538044929504,
-0.19039691984653473,
0.06317560374736786,
0.22918294370174408,
-0.03313707560300827,
-0.07572552561759949,
-0.10820920765399933,
0.005040757358074188,
0.07867351174354553,
0.20982834696769714,
0.04185729846358299,
0.42042919993400574,
0.17904430627822876,
0.15574392676353455,
-0.024589810520410538,
-0.21173392236232758,
-0.047043148428201675,
0.39406636357307434,
0.09550546854734421,
-0.16326653957366943,
0.23956921696662903,
-0.11724440008401871,
0.3436216115951538,
-0.43181300163269043,
0.21549472212791443,
0.16923534870147705,
-0.4345843493938446,
0.2602349817752838,
0.4194357395172119,
0.12481380999088287,
0.5614778399467468,
0.3713476359844208,
0.4160904288291931,
-0.33324524760246277,
-0.10859708487987518,
0.018336385488510132,
0.07857591658830643,
-0.08213667571544647,
0.26488158106803894,
0.4718657433986664,
0.32012009620666504,
0.17099617421627045,
0.016094548627734184,
-0.21861322224140167,
-0.27036452293395996,
-0.2823455035686493,
0.26697036623954773,
0.0893881767988205,
0.24135522544384003,
0.06076161563396454,
-0.15144798159599304,
-0.21454128623008728,
0.14170795679092407,
-0.0877491682767868,
-0.043603841215372086,
-0.3215768337249756,
0.08224353194236755,
0.02337042987346649,
-0.014646122232079506,
-0.03154909238219261,
0.014666033908724785,
-0.17757467925548553,
0.047482650727033615,
0.14362020790576935,
0.24761950969696045,
-0.10847224295139313,
0.5008804798126221,
0.023231033235788345,
-0.3423435688018799,
-0.05343322455883026,
0.019693003967404366,
-0.21026581525802612,
-0.4956747591495514,
0.08531510084867477,
-0.32177698612213135,
-0.4196670353412628,
0.6450583338737488,
0.03859620913863182,
0.20767739415168762,
0.2022767812013626,
-0.1957220733165741,
0.5046624541282654,
-0.04208225756883621,
-0.273414671421051,
0.2554817199707031,
-0.10940870642662048,
-0.7485781908035278,
-0.41287532448768616,
-0.23515675961971283,
0.03628617525100708,
-0.3821770250797272,
-0.1778128445148468,
0.14598064124584198,
-0.31277379393577576,
-0.24539238214492798,
-0.2062774896621704,
-0.4986209571361542,
0.3003871440887451,
-0.12821780145168304,
0.12758588790893555,
0.616194486618042,
-0.4545237720012665,
-0.6813392043113708,
0.10934815555810928,
-0.04281910881400108,
-0.20819251239299774,
0.15327386558055878,
0.11397168040275574,
0.3339805603027344,
-0.10950397700071335,
0.2957184314727783,
0.09769240021705627,
0.002247842028737068,
0.04376044124364853,
0.3438056707382202,
-0.10915220528841019,
-0.037416182458400726,
-0.13427089154720306,
-0.3488757610321045,
-0.053649090230464935,
0.11083100736141205,
-0.22116106748580933,
0.19761338829994202,
-0.08666758239269257,
0.11098981648683548,
-0.09747318923473358,
0.15552696585655212,
-0.06445406377315521,
0.07671835273504257,
0.03079887479543686,
-0.2288399338722229,
0.41152751445770264,
-0.09198983758687973,
-0.21526315808296204,
-0.19239632785320282,
-0.46459680795669556,
0.23194563388824463,
0.4083663821220398,
-0.025366898626089096,
0.08135051280260086,
0.1053333729505539,
-0.10523441433906555,
0.016526278108358383,
-0.09933286905288696,
-0.3712480962276459,
-0.03386761248111725,
-0.2262890636920929,
-0.2703426778316498,
0.20119822025299072,
-0.20400509238243103,
0.2470484972000122,
0.25027337670326233,
-0.01183452270925045,
0.06028846651315689,
-0.026257656514644623,
0.074650339782238,
-0.14144828915596008,
-0.1064203754067421,
0.42944568395614624,
-0.14305905997753143,
-0.010949481278657913,
0.5023685693740845,
0.18702425062656403,
0.11523869633674622,
-0.010519443079829216,
0.11844640970230103,
0.11372110247612,
-0.18375732004642487,
-0.13627222180366516,
0.5143100023269653,
0.05942178890109062,
0.5746105313301086,
0.012685850262641907,
-0.03444531559944153,
0.14379315078258514,
0.12679362297058105,
-0.44194912910461426,
-0.2694573402404785,
-0.3912920355796814,
-0.1853906363248825,
0.17154385149478912,
0.03527313843369484,
0.10565589368343353,
0.151039257645607,
0.6111037731170654,
0.019088752567768097,
0.1403966099023819,
-0.2454521656036377,
-0.037400148808956146,
0.07373815029859543,
0.04925244301557541,
0.009732630103826523,
0.3973051905632019,
0.1403682827949524,
0.009925059974193573,
-0.004946528002619743,
-0.10228698700666428,
0.11764103174209595,
0.16232214868068695,
0.27485984563827515,
-0.20332150161266327,
-0.30198267102241516,
-0.0023562773130834103,
-0.08909367024898529,
-0.09130235016345978,
-0.3225707411766052,
-0.017680833116173744,
-0.17821870744228363,
-0.1120385080575943,
0.1985047608613968,
-0.09024129807949066,
-0.1453017294406891,
0.09549475461244583,
-0.04783158376812935,
0.07942254096269608,
-0.2821390628814697,
0.008329072967171669,
0.002187296748161316,
-0.24584032595157623,
0.13481640815734863,
-0.15641473233699799,
0.4149619936943054,
0.059736110270023346,
-0.24838633835315704,
-0.003460656851530075,
-0.4504055678844452,
-0.013306450098752975,
-0.022755494341254234,
0.0797225758433342,
-0.34679484367370605,
0.41905370354652405,
0.24601124227046967,
0.041328780353069305,
-0.2064339816570282,
-0.41315555572509766,
0.11198530346155167,
-0.09084928035736084,
-0.15708716213703156,
0.36082810163497925,
0.07102949917316437,
-0.20681577920913696,
0.12644276022911072,
0.026752635836601257,
-0.09831677377223969,
-0.27273958921432495,
-0.32263392210006714,
-0.026047110557556152,
-0.10246063023805618,
-0.11855091154575348,
-0.008358828723430634,
-0.11563018709421158,
-0.34193548560142517,
0.6053947806358337,
-0.25620439648628235,
0.3401000499725342,
-0.06398016214370728,
-0.09946484118700027,
0.19764263927936554,
-0.07453082501888275,
0.09810052812099457,
-0.27313488721847534,
0.24713334441184998,
0.030253011733293533,
-0.14800386130809784,
-0.09481143951416016,
-0.15939640998840332,
-0.1250322461128235,
0.29493603110313416,
0.22143030166625977,
-0.20056571066379547,
-0.08062827587127686,
0.09405086934566498,
0.39412644505500793,
-0.11480660736560822,
0.00028958171606063843,
0.28179824352264404,
0.310202032327652,
0.09720614552497864,
-0.11407741904258728,
-0.30305787920951843,
-0.09645215421915054,
0.3390304744243622,
-0.2820773422718048,
0.5646209716796875,
0.27665871381759644,
0.037961315363645554,
0.49088674783706665,
-0.13156886398792267,
-0.030397463589906693,
0.024364124983549118,
-0.04603743553161621,
0.1763014942407608,
-0.0065967366099357605,
-0.2524396777153015,
-0.09380697458982468,
0.13505864143371582,
-0.03804711624979973,
0.17262636125087738,
-0.20950305461883545,
-0.34273895621299744,
-0.06329174339771271,
-0.5403957366943359,
0.10042192786931992,
-0.17685599625110626,
0.35369592905044556,
-0.08046269416809082,
0.11118151992559433,
0.030365947633981705,
0.2495395839214325,
-0.5158457159996033,
0.2236727476119995,
0.06425158679485321,
-0.21504996716976166,
0.41686442494392395,
-0.20360910892486572,
-0.2991260290145874,
-0.473143994808197,
-0.25096020102500916,
0.22102147340774536,
0.18967336416244507,
0.2243269383907318,
0.03173599764704704,
-0.05650121718645096,
0.09694526344537735,
0.09044859558343887,
0.6309434771537781,
-0.1628890037536621,
-0.03751032054424286,
0.01471400260925293,
-0.1334514319896698,
-0.36821895837783813,
0.2023915797472,
0.17168433964252472,
0.7367925643920898,
-0.45735710859298706,
0.45927751064300537,
-0.3148127496242523,
0.1344883143901825,
-0.26867347955703735,
0.13770867884159088,
-0.2014925330877304,
-0.3292248249053955,
-0.03349517658352852,
0.10950127989053726,
-0.26391908526420593,
0.1617155224084854,
0.05648697912693024,
-0.2680227756500244,
0.08235900104045868,
-0.06166650727391243,
-0.15955674648284912,
-0.0595712885260582,
-0.1443881392478943,
0.22618059813976288,
0.06410829722881317,
0.04468337818980217,
0.10721099376678467,
0.4318259358406067,
-0.09973055124282837,
-0.0160075593739748,
0.33903732895851135,
0.06321468204259872,
-0.49560171365737915,
-0.16459649801254272,
0.14428304135799408,
0.4390128552913666,
0.1104927808046341,
0.11007004976272583,
0.33786919713020325,
0.2299375832080841,
-0.34042972326278687,
-0.27229809761047363,
-0.07400143891572952,
0.15501157939434052,
0.144389808177948,
-0.5423495173454285,
-0.7486762404441833,
0.43197765946388245,
0.12021289765834808,
-0.4810943007469177,
0.792118489742279,
0.07184718549251556,
-0.4671652317047119,
0.5986349582672119,
0.08330336213111877,
0.8268611431121826,
0.14887110888957977,
0.14357513189315796,
-0.16580215096473694,
-0.2766210436820984,
0.3353724777698517,
-0.09885682165622711,
-0.041016835719347,
-0.08440912514925003,
-0.3157143294811249,
-0.11203032732009888,
-0.11335407197475433,
-0.09367043524980545,
0.35678160190582275,
-0.2513342797756195,
0.05322466418147087,
0.17557571828365326,
0.21369118988513947,
-0.13815614581108093,
0.10766136646270752,
0.06971373409032822,
-0.20663923025131226,
-0.09538517147302628,
0.010238047689199448,
0.14298836886882782,
0.0351194366812706,
0.11955703049898148,
-0.06024604290723801,
-0.0634281113743782,
-0.21490861475467682,
0.006073281168937683,
-0.4408571422100067,
-0.5618452429771423,
0.4085357189178467,
-0.12519024312496185,
0.3445051908493042,
0.12911456823349,
0.19423966109752655,
0.31153643131256104,
0.31220752000808716,
-0.029831359162926674,
0.1772008091211319,
0.514758288860321,
0.3416650891304016,
-0.13878114521503448,
-0.1306680142879486,
0.18758663535118103,
0.2013222873210907,
-0.3131723701953888,
0.34438103437423706,
-0.04347941279411316,
-0.6117557287216187,
-0.5229480266571045,
0.4037232995033264,
-0.03680209070444107,
-0.08234742283821106,
-0.08367933332920074,
-0.1574612557888031,
-0.12943054735660553,
0.041606608778238297,
0.044517338275909424,
-0.046160705387592316,
0.11832014471292496,
0.42003247141838074,
0.022493142634630203,
-0.24212764203548431,
0.07179491221904755,
0.4570780396461487,
0.13569262623786926,
0.3673282265663147,
0.2691642642021179,
-0.5459564328193665,
-0.07101285457611084,
-0.10455822944641113,
-0.006527688354253769,
0.27409839630126953,
0.24124246835708618,
0.01841146871447563,
0.04879550635814667,
0.07848930358886719,
-0.30745363235473633,
0.21573394536972046,
-0.022686555981636047,
0.3356536030769348,
-0.3970223665237427,
-0.18634870648384094,
-0.6309598088264465,
0.31276488304138184,
0.06814233958721161,
0.21895307302474976,
0.2996463179588318,
-0.15068748593330383,
-0.29220178723335266,
-0.017151279374957085,
-0.22293703258037567,
-0.3753277361392975,
0.15422604978084564,
-0.020301509648561478,
0.386569619178772,
0.48743346333503723,
0.17467361688613892,
0.11378057301044464,
0.027642952278256416,
0.12102220207452774,
0.011242924258112907,
-0.16445133090019226,
-0.12377722561359406,
0.17946971952915192,
0.012762508355081081,
0.378877729177475,
-0.2797265648841858,
-0.4674566984176636,
0.01590251922607422,
-0.2747252583503723,
0.07954500615596771,
0.321382075548172,
0.12413813918828964,
0.20891211926937103,
0.1904412806034088,
0.07917245477437973,
-0.006977308541536331,
0.4633021652698517,
0.09687954187393188,
0.20052629709243774,
0.08594763278961182,
0.36350128054618835,
-0.30976781249046326,
-0.004603497684001923,
-0.03896385431289673,
0.15171456336975098,
-0.08356782793998718,
-0.18861913681030273,
0.06859969347715378,
0.4730391502380371,
0.1508222073316574,
0.2995964288711548,
-0.09214863926172256,
0.2516491413116455,
-0.20151287317276,
0.12214860320091248,
0.03276630863547325,
0.05404145270586014,
-0.059233129024505615,
-0.2668890655040741,
0.16136609017848969,
-0.07081884890794754,
0.11607670783996582,
0.185580775141716,
0.06555968523025513,
0.09402725100517273,
-0.011657878756523132,
-0.2903284728527069,
0.13830511271953583,
-0.3517555594444275,
0.011794354766607285,
0.49475210905075073,
0.052281979471445084,
-0.07790564000606537,
0.3703007400035858,
0.33226510882377625,
0.4792802929878235,
0.1883217692375183,
-0.2977070212364197,
0.13874675333499908,
0.19254785776138306,
-0.08637736737728119,
0.4982282221317291,
0.11310306191444397,
0.11302202939987183,
0.26562127470970154,
-0.07898741960525513,
0.18282878398895264,
0.26905709505081177,
0.0007437393069267273,
-0.19597724080085754,
0.04590236023068428,
-0.028939159587025642,
-0.03384183719754219,
-0.039324723184108734,
-0.2100593000650406,
-0.43031612038612366,
-0.09305821359157562,
0.20267364382743835,
-0.1539759635925293,
0.0907130092382431,
-0.08415314555168152,
0.22564363479614258,
-0.07689221203327179,
0.13587355613708496,
0.3259437084197998,
-0.04382431507110596,
0.118655726313591,
0.3662632703781128,
-0.08280591666698456,
-0.3985113203525543,
-0.2822331190109253,
0.41987109184265137,
0.45859938859939575,
-0.006154043599963188,
-0.04149412736296654,
-0.11354543268680573,
-0.07252532243728638,
0.0333331823348999,
-0.06900523602962494,
-0.17562618851661682,
-0.38644692301750183,
0.1847524344921112,
-0.1496770679950714,
-0.08839970827102661,
0.22133943438529968,
0.040302447974681854,
0.046309277415275574,
-0.06225923076272011,
0.11903944611549377,
0.19977127015590668,
0.039233021438121796,
0.033545300364494324,
0.17392279207706451,
-0.5192856788635254,
0.29292193055152893,
0.08841043710708618,
0.21911269426345825,
-0.18450474739074707,
0.07108244299888611,
0.095342256128788,
0.21194544434547424,
-0.08443011343479156,
0.037876106798648834,
0.07497270405292511,
0.20761148631572723,
0.02545737475156784,
-0.11816685646772385,
-0.129072904586792,
0.1569754183292389,
-0.3474248945713043,
0.0077030956745147705,
0.024550816044211388,
-0.048956796526908875,
0.1378941386938095,
-0.08698952943086624,
0.2075999677181244,
0.05912443622946739,
0.22632110118865967,
-0.532379150390625,
0.006270420737564564,
-0.07588429749011993,
-0.10439614951610565,
-0.5158591866493225,
0.12302908301353455,
0.052807264029979706,
0.13146059215068817,
-0.3143615424633026,
0.15282097458839417,
0.005563843995332718,
-0.044444698840379715,
-0.49796462059020996,
0.22141501307487488,
0.04048501327633858,
0.43681809306144714,
0.5582205057144165,
-0.003223976120352745,
0.3324640691280365,
-0.08369232714176178,
0.22962701320648193,
-0.042659562081098557,
0.14448998868465424,
-0.10597728192806244,
0.3136887550354004,
-0.2604053020477295,
-0.19537274539470673,
-0.19408661127090454,
-0.35731759667396545,
-0.06056944280862808,
-0.07547233253717422,
-0.06238925829529762,
-0.20255960524082184,
0.037492990493774414,
0.0710463598370552,
-0.3983912467956543,
-0.13609135150909424,
-0.16207392513751984,
0.14326244592666626,
0.07262236624956131,
-0.17111742496490479,
0.17100800573825836,
-0.05064845457673073,
0.3765544593334198,
-0.35737907886505127,
-0.15314774215221405,
0.3992328345775604,
0.09186653047800064,
-0.31075549125671387,
0.10692951083183289,
-0.27598097920417786,
-0.18233706057071686,
0.5459157824516296,
-0.18807440996170044,
-0.14165644347667694,
-0.034465763717889786,
0.21197620034217834,
0.47375181317329407,
-0.36329618096351624,
0.3996197581291199,
-0.11057107895612717,
-0.09930077195167542,
0.02085300162434578,
-0.22274887561798096
] |
https://github.com/huggingface/datasets/issues/1591 | IWSLT-17 Link Broken | Sorry, this is a duplicate of #1287. Not sure why it didn't come up when I searched `iwslt` in the issues list. | ```
FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
``` | 22 | IWSLT-17 Link Broken
```
FileNotFoundError: Couldn't find file at https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
```
Sorry, this is a duplicate of #1287. Not sure why it didn't come up when I searched `iwslt` in the issues list. | [
0.0006842613220214844,
-0.47329181432724,
-0.04730316996574402,
-0.02524581551551819,
-0.07237177342176437,
-0.1378002017736435,
0.4260435700416565,
0.21967154741287231,
0.08615809679031372,
-0.05100814998149872,
0.10149132460355759,
0.011178162880241871,
0.23412451148033142,
0.13998918235301971,
0.06858500093221664,
0.3315434157848358,
0.16963809728622437,
-0.05917665362358093,
-0.2145913541316986,
0.06490803509950638,
-0.293026328086853,
0.4922836124897003,
-0.18604189157485962,
-0.023099079728126526,
-0.40226319432258606,
0.19435343146324158,
-0.054675523191690445,
0.3688049018383026,
0.0660201758146286,
-0.31805673241615295,
0.09282463043928146,
-0.2664249539375305,
-0.11555851250886917,
0.0801597461104393,
-0.00010272686631651595,
0.07259629666805267,
0.33129656314849854,
0.018231699243187904,
-0.03972434252500534,
0.0038763582706451416,
-0.4141123592853546,
-0.3607580065727234,
-0.3401447534561157,
-0.26799145340919495,
0.08319596201181412,
-0.15417374670505524,
0.012753492221236229,
0.43280407786369324,
0.45940226316452026,
0.28577136993408203,
0.28579390048980713,
0.0177021287381649,
0.34643006324768066,
-0.2142920196056366,
-0.03377607464790344,
-0.19641517102718353,
-0.1482028067111969,
0.017515545710921288,
-0.05725632607936859,
-0.0490616112947464,
0.0739293023943901,
0.4202606976032257,
-0.0014973003417253494,
-0.09069180488586426,
0.08320364356040955,
-0.1663055568933487,
0.6395931243896484,
-0.2843969762325287,
0.3459233045578003,
0.03264521062374115,
0.3625124990940094,
0.09561425447463989,
-0.024690056219697,
0.23919132351875305,
-0.00662350095808506,
0.14530713856220245,
0.4166465997695923,
-0.05762002617120743,
-0.10828900337219238,
0.14794622361660004,
0.09970109164714813,
-0.12292522192001343,
0.04432595521211624,
0.10563783347606659,
0.006114363670349121,
0.709802508354187,
-0.06801167130470276,
-0.004249639809131622,
0.2167513072490692,
-0.29686474800109863,
-0.08502662181854248,
0.33044368028640747,
-0.2750072777271271,
0.037519168108701706,
0.030532486736774445,
-0.10252287983894348,
0.17721635103225708,
0.09319011867046356,
-0.15664905309677124,
-0.10703662037849426,
-0.15567469596862793,
0.007566440850496292,
-0.02288219705224037,
-0.009847164154052734,
-0.1456734836101532,
0.021774709224700928,
0.03293374925851822,
-0.18807367980480194,
0.3502296209335327,
0.22997358441352844,
-0.05628039315342903,
0.05381721258163452,
0.0640302523970604,
-0.2839125394821167,
-0.2731637954711914,
0.08009079843759537,
0.060378335416316986,
0.014891412109136581,
-0.32699641585350037,
-0.036639273166656494,
-0.0750795304775238,
0.1032092273235321,
0.03965985029935837,
0.1052275151014328,
0.1486850380897522,
0.10838662832975388,
0.07374552637338638,
-0.1670614629983902,
-0.14569306373596191,
-0.1165534034371376,
-0.08397841453552246,
0.058739885687828064,
-0.00975365936756134,
0.075445756316185,
0.11675518751144409,
0.2683938145637512,
0.15531741082668304,
-0.03965972736477852,
-0.3994237780570984,
-0.34709790349006653,
-0.3023122251033783,
0.21894977986812592,
0.09328701347112656,
0.21794377267360687,
-0.15347449481487274,
0.1959984302520752,
0.13816651701927185,
-0.2337033748626709,
0.09155435115098953,
0.17506414651870728,
-0.21985241770744324,
-0.3070577085018158,
-0.33032041788101196,
0.3187910318374634,
-0.08903195708990097,
-0.06205868721008301,
0.5920006632804871,
0.1136389821767807,
-0.23926803469657898,
-0.2184087038040161,
-0.05383802205324173,
0.2799757421016693,
-0.5356162786483765,
-0.039527278393507004,
0.164509579539299,
0.2866089344024658,
-0.4959421455860138,
-0.21725262701511383,
-0.15703551471233368,
-0.04507874324917793,
0.014299251139163971,
0.27599021792411804,
-0.0980980396270752,
0.2701853811740875,
-0.31805333495140076,
0.37193119525909424,
0.211175799369812,
-0.12383243441581726,
-0.3806766867637634,
0.20754218101501465,
-0.22827142477035522,
-0.10474450141191483,
-0.1508675217628479,
0.1886082887649536,
-0.030527450144290924,
-0.27699992060661316,
-0.23785552382469177,
0.02365175075829029,
0.1344771832227707,
0.12170965224504471,
-0.42520830035209656,
-0.4194180965423584,
0.15526551008224487,
-0.1698843389749527,
0.0007905475795269012,
-0.2586683928966522,
0.18222808837890625,
0.42470258474349976,
0.15669572353363037,
-0.034261006861925125,
-0.06515239179134369,
0.17902164161205292,
0.4760872721672058,
0.12833049893379211,
0.33199167251586914,
0.08667989820241928,
-0.07110614329576492,
0.1365966796875,
0.2252647578716278,
0.13617905974388123,
0.1692943125963211,
0.06215531378984451,
-0.2857605814933777,
-0.012903226539492607,
-0.23412631452083588,
-0.281282514333725,
0.29950883984565735,
0.15467621386051178,
-0.13140851259231567,
0.024663686752319336,
-0.11310946941375732,
-0.035298049449920654,
-0.33654075860977173,
-0.08467613905668259,
0.03956153988838196,
0.32136452198028564,
-0.3308698534965515,
-0.14634566009044647,
-0.050264909863471985,
0.2350209355354309,
0.30477669835090637,
-0.026391606777906418,
-0.1382351517677307,
0.1381838470697403,
-0.22471660375595093,
0.10463448613882065,
0.003626082092523575,
0.3050384521484375,
0.10950084775686264,
-0.6218360662460327,
-0.18842414021492004,
0.526505708694458,
0.010966341011226177,
-0.04267256706953049,
0.17248496413230896,
-0.35641759634017944,
0.16304507851600647,
0.10863368958234787,
-0.07189111411571503,
-0.012003013864159584,
-0.04168202355504036,
-0.35729530453681946,
0.0865868628025055,
-0.18125596642494202,
0.11337780952453613,
-0.1891232579946518,
-0.3709324598312378,
-0.10582756996154785,
0.20160448551177979,
0.23129883408546448,
0.33631056547164917,
0.0031454935669898987,
0.21528089046478271,
0.17933589220046997,
0.018363628536462784,
-0.015805870294570923,
-0.15733881294727325,
0.10238716006278992,
0.22079595923423767,
0.0757257267832756,
-0.04015582427382469,
-0.0022344421595335007,
-0.02901921421289444,
-0.18798431754112244,
0.3390097916126251,
0.04866458848118782,
-0.02585611678659916,
0.34975144267082214,
0.15881304442882538,
0.12617337703704834,
-0.24623402953147888,
0.15714852511882782,
0.09753522276878357,
0.010404053144156933,
-0.2005769908428192,
-0.09185592085123062,
-0.37295231223106384,
-0.6177489161491394,
-0.258500337600708,
0.1413276642560959,
-0.16002091765403748,
-0.2828134298324585,
0.2161184549331665,
0.07315568625926971,
-0.10827352106571198,
0.31509703397750854,
0.2780669033527374,
0.40488386154174805,
0.036442868411540985,
0.5076468586921692,
-0.22027260065078735,
-0.09386508911848068,
-0.3835860788822174,
0.12700027227401733,
0.4048323929309845,
-0.05280372127890587,
0.14833535254001617,
-0.17003899812698364,
-0.07753085345029831,
-0.653038740158081,
-0.56731778383255,
0.048984866589307785,
0.010817321017384529,
0.2896003723144531,
0.08045662939548492,
0.3780202865600586,
-0.14547888934612274,
-0.32180431485176086,
0.35582050681114197,
-0.089498370885849,
0.11285407841205597,
-0.27901363372802734,
-0.08168046176433563,
0.005465473514050245,
-0.241079181432724,
-0.025537796318531036,
-0.16253311932086945,
-0.44135093688964844,
0.18852612376213074,
-0.39206916093826294,
0.06770819425582886,
0.1095627024769783,
0.038684867322444916,
-0.028651095926761627,
0.05459817498922348,
-0.052810996770858765,
-0.046645645052194595,
0.2581876814365387,
0.2488071620464325,
-0.10490623861551285,
-0.31565970182418823,
0.25836315751075745,
0.23351849615573883,
0.1036948561668396,
-0.5245766043663025,
-0.5797258615493774,
-0.1467759758234024,
0.04888539761304855,
0.09521946310997009,
-0.17830483615398407,
0.0995088517665863,
0.04922354221343994,
0.05567626282572746,
-0.24199718236923218,
-0.15826191008090973,
-0.08893238008022308,
0.06539637595415115,
-0.05563075840473175,
0.41276150941848755,
0.12552273273468018,
0.11347021907567978,
0.1550672948360443,
0.10158968716859818,
0.11607299745082855,
0.02124510332942009,
0.15737071633338928,
-0.048096708953380585,
-0.04878002777695656,
0.034110333770513535,
-0.3927624523639679,
0.25811654329299927,
-0.05896468460559845,
0.06550665199756622,
0.40924233198165894,
0.03542064502835274,
-0.08915194123983383,
-0.02914242260158062,
-0.09855231642723083,
-0.15682435035705566,
-0.30995702743530273,
-0.07772666960954666,
0.5121835470199585,
0.0831046774983406,
0.120271235704422,
-0.02832288295030594,
-0.07005445659160614,
-0.25119391083717346,
0.39185887575149536,
0.33747321367263794,
-0.2671716511249542,
-0.01104544848203659,
0.4114719331264496,
-0.3707740902900696,
-0.12340909987688065,
0.012249916791915894,
0.1930212676525116,
0.1237209290266037,
-0.2686847150325775,
-0.23431828618049622,
0.009931445121765137,
-0.22008267045021057,
0.57522052526474,
-0.03967782109975815,
0.2547217607498169,
0.12741480767726898,
0.34192004799842834,
0.21402645111083984,
-0.0659976676106453,
0.09776024520397186,
0.12440349906682968,
0.711320161819458,
0.3554587662220001,
-0.008793294429779053,
0.08702075481414795,
0.2661786675453186,
0.15902531147003174,
-0.11395470798015594,
-0.3886224031448364,
-0.016643058508634567,
-0.31414395570755005,
-0.3908327519893646,
-0.3156842291355133,
0.07926923036575317,
-0.07889854907989502,
-0.05194099247455597,
0.08260478079319,
0.21717321872711182,
-0.3817940056324005,
-0.09292854368686676,
0.10535377264022827,
-0.04731684550642967,
0.28019750118255615,
0.073359414935112,
0.046142272651195526,
0.1459237039089203,
-0.5549023747444153,
-0.015223272144794464,
0.3242753744125366,
-0.013877317309379578,
0.052994295954704285,
-0.06273060292005539,
-0.21902251243591309,
0.3730349540710449,
0.03893212229013443,
0.031107377260923386,
-0.02194981649518013,
0.1446046233177185,
-0.032043855637311935,
-0.15855617821216583,
0.3358009159564972,
-0.046682845801115036,
-0.09379047155380249,
0.2446247637271881,
0.4014317989349365,
-0.2614635229110718,
0.06886403262615204,
0.3759865462779999,
0.14372196793556213,
-0.10759255290031433,
-0.0036895896773785353,
-0.10407402366399765,
0.8769703507423401,
0.5410659313201904,
-0.16704609990119934,
0.179672509431839,
0.18055620789527893,
0.422065407037735,
-0.1025896817445755,
0.166143998503685,
-0.05921662598848343,
0.12656450271606445,
0.05498190224170685,
0.2576267719268799,
-0.19959694147109985,
0.11887138336896896,
-0.14965130388736725,
0.061420317739248276,
0.387485146522522,
-0.040234167128801346,
0.16437989473342896,
0.21934974193572998,
0.0151952113956213,
-0.01960083842277527,
-0.17099682986736298,
0.29336702823638916,
0.09806258976459503,
0.3090146481990814,
-0.1907309591770172,
-0.13374413549900055,
0.25831568241119385,
-0.09716565907001495,
-0.4179598093032837,
0.24035584926605225,
-0.3239864408969879,
0.5455453395843506,
0.10460343956947327,
0.2023065835237503,
0.11964991688728333,
-0.013776961714029312,
0.22588850557804108,
0.1009838730096817,
-0.3179384171962738,
0.3280111849308014,
0.22943058609962463,
-0.1505611091852188,
-0.3033994436264038,
0.10248076170682907,
0.00199124775826931,
-0.336616575717926,
-0.4029812812805176,
-0.1634419560432434,
-0.027688149362802505,
0.10278798639774323,
-0.065516896545887,
-0.03625643253326416,
0.21704089641571045,
0.17099237442016602,
0.08478477597236633,
0.21138688921928406,
-0.17908233404159546,
-0.2219298779964447,
0.2504846155643463,
-0.27273404598236084,
-0.16626906394958496,
-0.008699968457221985,
-0.2595968246459961,
-0.05869726091623306,
0.08025917410850525,
0.3711560070514679,
-0.477460116147995,
0.08368633687496185,
0.5087404847145081,
0.3086290955543518,
-0.2049729824066162,
-0.2534294128417969,
0.05383884906768799,
-0.508384644985199,
-0.5010903477668762,
-0.09781277924776077,
0.03977097570896149,
-0.07699590921401978,
0.042666736990213394,
0.793725848197937,
0.08088219165802002,
0.14891666173934937,
-0.19894440472126007,
-0.24614375829696655,
0.08645297586917877,
0.20579299330711365,
0.20140519738197327,
0.11290933191776276,
-0.422316312789917,
0.2567219138145447,
0.13140225410461426,
-0.34579843282699585,
-0.4207066595554352,
0.1900729537010193,
-0.1318688839673996,
-0.1235416829586029,
0.02413490042090416,
-0.1946236789226532,
0.2517673969268799,
0.22674468159675598,
0.19140006601810455,
0.25711947679519653,
0.06732512265443802,
-0.3255093991756439,
-0.20299787819385529,
0.0958784744143486,
0.1198638528585434,
-0.3343102037906647,
-0.07676747441291809,
-0.15057271718978882,
0.13342459499835968,
0.3163566291332245,
-0.09532909095287323,
-0.17801162600517273,
0.048216283321380615,
-0.10814248770475388,
-0.013793561607599258,
0.012573134154081345,
0.12592680752277374,
0.19349178671836853,
0.3097813129425049,
0.6810581684112549,
-0.005645278841257095,
0.08598882704973221,
0.047094687819480896,
0.07953424751758575,
0.14904336631298065,
0.06811772286891937,
0.005585767328739166,
-0.06932984292507172,
0.08369956165552139,
-0.23318515717983246,
-0.01602136343717575,
0.18742920458316803,
-0.08549502491950989,
0.23301765322685242,
-0.32153627276420593,
-0.16631397604942322,
0.23213276267051697,
0.29296886920928955,
-0.16085465252399445,
0.012525007128715515,
0.03119167685508728,
-0.12628796696662903,
0.03300081565976143,
0.025874294340610504,
0.06928454339504242,
-0.22372335195541382,
0.34054386615753174,
0.1852990984916687,
0.25807100534439087,
-0.43479394912719727,
-0.18575164675712585,
-0.0469825454056263,
-0.059480007737874985,
0.07245565950870514,
-0.3675893247127533,
-0.2700927257537842,
0.2561876177787781,
0.10289078950881958,
-0.10382024198770523,
-0.0006863735616207123,
-0.0012100227177143097,
0.3537602126598358,
0.1350405514240265,
-0.07752824574708939,
0.1472007781267166,
-0.20142841339111328,
0.04818868637084961,
-0.1448146104812622,
-0.09774646162986755,
-0.02734270691871643,
-0.16063769161701202,
-0.1517382264137268,
-0.22798274457454681,
0.4944901168346405,
-0.10469689220190048,
0.0031333649531006813,
-0.2525528371334076,
0.008933477103710175,
-0.3407759666442871,
0.02171984687447548,
-0.09959873557090759,
0.12782487273216248,
-0.13374286890029907,
0.13251852989196777,
-0.18171392381191254,
0.04018283635377884,
-0.3725852072238922,
-0.00804847851395607,
0.34623560309410095,
-0.1691354662179947,
0.4039764106273651,
0.25569361448287964,
-0.0111856609582901,
0.08787613362073898,
0.48903167247772217,
0.36120691895484924,
0.2412550300359726,
0.06269079446792603,
0.08445719629526138,
-0.08793576061725616,
-0.2101273387670517,
-0.066708043217659,
0.2262798249721527,
0.07287641614675522,
0.18949149549007416,
0.10275484621524811,
0.19919490814208984,
-0.2840890884399414,
-0.10344122350215912,
-0.09216146171092987,
0.0008315425366163254,
0.1463599056005478,
-0.11536844819784164,
-0.40123695135116577,
0.14037871360778809,
-0.2646600604057312,
0.040360987186431885,
-0.42375630140304565,
0.1678452491760254,
0.2200510948896408,
0.08914488554000854,
0.17053717374801636,
0.016603708267211914,
0.1612882912158966,
-0.2782749831676483,
0.4427604079246521,
0.21201294660568237,
-0.19594240188598633,
-0.10665919631719589,
-0.47029536962509155,
-0.39758872985839844,
0.16340750455856323,
-0.10767386853694916,
0.14291901886463165,
-0.13341541588306427,
0.03230424225330353,
-0.23350563645362854,
-0.09156468510627747,
0.08259379118680954,
-0.136957585811615,
-0.1162932738661766,
0.09185122698545456,
-0.12647059559822083,
-0.12457932531833649,
0.1015838235616684,
0.053087495267391205,
-0.018260331824421883,
-0.11632692068815231,
0.09510233998298645,
0.008990173228085041,
0.16165202856063843,
0.1846158504486084,
-0.4957478642463684,
-0.3013750910758972,
-0.06807128340005875,
-0.06705741584300995,
0.15499766170978546,
0.19915318489074707,
-0.23495793342590332,
-0.38188794255256653,
-0.2930976450443268,
-0.3963510990142822,
-0.030228547751903534,
0.24017184972763062,
0.043371181935071945,
0.19210486114025116,
0.04430582374334335,
0.4203980267047882,
-0.26316314935684204,
-0.13711164891719818,
-0.15919983386993408,
0.28262266516685486,
-0.22753813862800598,
0.13627886772155762,
-0.11492699384689331,
0.12171824276447296,
0.20103752613067627,
0.2671245038509369,
-0.12607847154140472,
-0.1371556967496872,
-0.29574257135391235,
-0.4097743332386017,
0.47836726903915405,
-0.43019750714302063,
-0.11164876818656921,
-0.01502954214811325,
0.25231602787971497,
-0.02440442144870758,
0.2548386752605438,
-0.3287769556045532,
-0.11610100418329239,
0.2193017154932022,
0.29758259654045105,
-0.00589197501540184,
0.0242543313652277,
0.06520349532365799,
-0.18353837728500366,
0.04138750210404396,
-0.22191980481147766,
0.41282981634140015,
-0.08297831565141678,
0.3143579363822937,
0.10224752128124237
] |
https://github.com/huggingface/datasets/issues/1590 | Add helper to resolve namespace collision | I was thinking about using something like [importlib](https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly) to over-ride the collision.
**Reason requested**: I use the [following template](https://github.com/jramapuram/ml_base/) repo where I house all my datasets as a submodule. | Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict. | 29 | Add helper to resolve namespace collision
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
I was thinking about using something like [importlib](https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly) to over-ride the collision.
**Reason requested**: I use the [following template](https://github.com/jramapuram/ml_base/) repo where I house all my datasets as a submodule. | [
-0.15694504976272583,
0.08580529689788818,
-0.04595388472080231,
0.27503710985183716,
0.1614484190940857,
-0.04710704833269119,
0.18794700503349304,
0.23515485227108002,
0.13997256755828857,
0.06762176752090454,
-0.10601560026407242,
0.07263129204511642,
-0.3794688582420349,
0.3651081919670105,
0.1478726714849472,
-0.0800851583480835,
0.10184997320175171,
0.08713838458061218,
-0.10150229930877686,
0.22703592479228973,
-0.2017206847667694,
0.13218127191066742,
-0.17732474207878113,
0.06925079226493835,
-0.13610859215259552,
0.28087982535362244,
0.21818947792053223,
0.04119231179356575,
0.07831208407878876,
-0.37637656927108765,
0.6635085940361023,
0.2178047001361847,
0.3690735399723053,
0.61924147605896,
-0.00011748225369956344,
0.11172127723693848,
0.3730972409248352,
-0.06070559471845627,
-0.1470484882593155,
-0.1178855150938034,
-0.08965258300304413,
-0.3986479640007019,
0.1572783887386322,
-0.046240612864494324,
-0.14691077172756195,
-0.19829252362251282,
-0.2507445216178894,
-0.3956300616264343,
0.2224409282207489,
0.10464145243167877,
0.15703734755516052,
0.3138195276260376,
0.3482818901538849,
0.195520281791687,
0.40426957607269287,
0.05803621932864189,
-0.10306999832391739,
0.25182583928108215,
0.31024712324142456,
-0.27741968631744385,
0.18637868762016296,
0.29997703433036804,
-0.4233085811138153,
-0.16099245846271515,
0.5737729668617249,
0.08064068853855133,
-0.13354161381721497,
-0.1649821698665619,
-0.3388844430446625,
0.22399571537971497,
0.3205665946006775,
-0.3809445798397064,
-0.27333322167396545,
-0.6625201106071472,
-0.09536854922771454,
-0.3431423008441925,
0.35816627740859985,
-0.25876864790916443,
-0.04899880290031433,
0.11626431345939636,
-0.010224157012999058,
-0.35721495747566223,
-0.21722309291362762,
0.14012402296066284,
0.062152206897735596,
0.26543283462524414,
-0.11824499070644379,
0.038289718329906464,
0.4718242883682251,
-0.04132167249917984,
0.13910239934921265,
-0.12246522307395935,
0.12928873300552368,
0.024968784302473068,
-0.38986700773239136,
-0.22208943963050842,
-0.06599541753530502,
0.1947239190340042,
-0.002747016027569771,
0.09278885275125504,
-0.12148797512054443,
0.1434396654367447,
-0.246982604265213,
0.08913680911064148,
0.14381320774555206,
-0.07590962946414948,
0.02289951965212822,
-0.007478967308998108,
0.7173020839691162,
0.2782008647918701,
0.03562256321310997,
0.14285075664520264,
-0.030919339507818222,
-0.2796591818332672,
-0.12773987650871277,
-0.05575374513864517,
0.31283998489379883,
-0.08372244983911514,
-0.1144181415438652,
0.13105499744415283,
-0.029507633298635483,
-0.010242260061204433,
0.31199678778648376,
-0.06745713204145432,
-0.12611763179302216,
0.2743070125579834,
0.2009349763393402,
-0.01478688046336174,
-0.09147538244724274,
-0.3621775507926941,
0.07685118168592453,
-0.020012278109788895,
-0.1118423342704773,
-0.11721857637166977,
-0.023646237328648567,
0.14873364567756653,
-0.12323234230279922,
-0.12124171853065491,
0.426693320274353,
0.05888591706752777,
0.12276175618171692,
0.21285751461982727,
-0.0646677240729332,
0.13082581758499146,
-0.13849566876888275,
0.026455136016011238,
0.04550590366125107,
-0.2981046438217163,
-0.2503245174884796,
0.08371730893850327,
-0.2816404104232788,
-0.11051531136035919,
0.016873842105269432,
0.11374297738075256,
0.08729156851768494,
0.0983208566904068,
-0.3846317529678345,
0.06603233516216278,
-0.11019513756036758,
-0.3452208936214447,
0.04574408009648323,
0.04821144789457321,
-0.17432032525539398,
-0.2597378194332123,
0.2053050547838211,
0.1476271003484726,
-0.37921351194381714,
-0.07839252054691315,
-0.3599070608615875,
0.09916293621063232,
-0.15375304222106934,
-0.015714995563030243,
0.06864993274211884,
-0.1013026311993599,
-0.3450179398059845,
-0.1573764979839325,
0.13459104299545288,
-0.45957741141319275,
-0.46011361479759216,
-0.06516724824905396,
-0.005425482988357544,
0.1478835791349411,
0.1906598061323166,
0.5217300057411194,
-0.3122332692146301,
-0.21249055862426758,
0.07280316203832626,
0.559584379196167,
-0.21028979122638702,
-0.030966049060225487,
0.10562460124492645,
-0.12800763547420502,
0.18735185265541077,
0.17577549815177917,
0.08009439706802368,
-0.17758482694625854,
-0.08473416417837143,
0.029668230563402176,
0.04359026625752449,
-0.24407830834388733,
0.0962442010641098,
0.29093366861343384,
0.38824331760406494,
0.23041072487831116,
-0.04883953928947449,
-0.474062442779541,
-0.5224713087081909,
0.026003330945968628,
0.06595445424318314,
0.19048558175563812,
-0.12725523114204407,
-0.1919788420200348,
0.13164836168289185,
0.05623620003461838,
-0.09141181409358978,
0.11168849468231201,
-0.023463940247893333,
-0.13595062494277954,
0.3357864320278168,
-0.21173319220542908,
-0.2838372588157654,
0.39588984847068787,
-0.18354672193527222,
0.48515743017196655,
-0.47349244356155396,
0.3816848397254944,
0.16581958532333374,
-0.001257520169019699,
0.03937888145446777,
0.523358941078186,
-0.020772531628608704,
-0.08896005898714066,
0.0956602618098259,
0.3063693940639496,
0.00918674934655428,
0.2391798049211502,
-0.06975201517343521,
0.3499193787574768,
0.11790182441473007,
-0.09328486770391464,
-0.1358383297920227,
0.09453488886356354,
-0.09330900758504868,
0.12385853379964828,
0.12656012177467346,
0.42338722944259644,
-0.23258231580257416,
0.2775109112262726,
0.05666964501142502,
0.009364668279886246,
-0.08604404330253601,
-0.11405768990516663,
-0.1919591724872589,
-0.06084113195538521,
0.2643047571182251,
-0.006696583703160286,
0.5013022422790527,
0.1276094764471054,
-0.09600389003753662,
-0.022862732410430908,
0.15014375746250153,
0.030849020928144455,
0.14862430095672607,
0.15697498619556427,
-0.37295228242874146,
0.3065495193004608,
-0.06696470081806183,
0.39526495337486267,
0.21928082406520844,
0.19733048975467682,
-0.22247546911239624,
0.3172089755535126,
-0.0031695710495114326,
-0.03339826315641403,
0.20447546243667603,
0.10719650983810425,
-0.004124862607568502,
-0.12958595156669617,
0.1589457243680954,
-0.009883222170174122,
0.011781025677919388,
0.17704364657402039,
-0.35269397497177124,
0.14592577517032623,
-0.39813655614852905,
0.059504441916942596,
-0.35603848099708557,
-0.5332531929016113,
-0.3027784824371338,
-0.3312540054321289,
-0.6207664608955383,
-0.2648799419403076,
0.04661446064710617,
0.3321264386177063,
-0.3618956208229065,
0.17268677055835724,
0.21539747714996338,
0.308545857667923,
0.014952277764678001,
-0.24856071174144745,
0.21479728817939758,
-0.23504579067230225,
-0.2394416630268097,
0.04238477721810341,
0.46598589420318604,
-0.16260968148708344,
0.2937949597835541,
-0.11416003853082657,
-0.08102447539567947,
-0.22255395352840424,
-0.6898435354232788,
0.08725524693727493,
-0.017535101622343063,
0.2277435064315796,
0.33183661103248596,
0.10908757895231247,
0.31080251932144165,
-0.15351878106594086,
-0.0013426176737993956,
-0.2860572040081024,
-0.015325769782066345,
-0.07406874001026154,
0.10478587448596954,
0.21112284064292908,
-0.012338036671280861,
0.10769540071487427,
-0.22206413745880127,
-0.44462093710899353,
0.10814085602760315,
-0.13492749631404877,
-0.031064800918102264,
0.20123237371444702,
-0.07433269172906876,
0.1763155460357666,
-0.2543163001537323,
-0.06397933512926102,
0.16000452637672424,
-0.35239776968955994,
0.14519332349300385,
-0.019041940569877625,
-0.022738639265298843,
-0.09868446737527847,
-0.06570768356323242,
0.09908568859100342,
-0.07483017444610596,
-0.20346872508525848,
-0.41110000014305115,
-0.11613546311855316,
0.23013806343078613,
0.3544765114784241,
0.2806239724159241,
0.07176477462053299,
0.15211163461208344,
0.10686385631561279,
-0.21292942762374878,
-0.08885085582733154,
0.0074361637234687805,
0.07161393016576767,
0.017176218330860138,
0.43997180461883545,
0.04823243245482445,
-0.22884361445903778,
0.2650894820690155,
0.12169018387794495,
-0.18757402896881104,
0.3132731318473816,
0.19844499230384827,
0.5431450009346008,
0.1646975576877594,
-0.2474229335784912,
-0.17331920564174652,
-0.019951090216636658,
-0.05146430805325508,
0.21029776334762573,
0.18964266777038574,
0.39609917998313904,
-0.3102766275405884,
-0.29643192887306213,
-0.0569041483104229,
-0.40346166491508484,
-0.024837205186486244,
0.10671979188919067,
0.08192862570285797,
-0.14140477776527405,
-0.5966581702232361,
-0.1719110757112503,
-0.22439253330230713,
0.22016724944114685,
0.4008530378341675,
0.19403548538684845,
0.016709430143237114,
-0.6984475255012512,
-0.07787035405635834,
-0.21813055872917175,
0.28284239768981934,
0.05986808240413666,
-0.11709976196289062,
0.13099528849124908,
-0.008375898003578186,
-0.29772698879241943,
0.09109753370285034,
0.5523028373718262,
-0.2209063172340393,
-0.30597400665283203,
-0.4303901791572571,
0.0762128084897995,
-0.17079947888851166,
-0.004795260727405548,
0.13003545999526978,
0.09264784306287766,
0.0008675064891576767,
0.4298420250415802,
-0.18587180972099304,
-0.06500069051980972,
0.07523331046104431,
0.512958288192749,
0.045475397258996964,
0.04098224267363548,
-0.11268597841262817,
-0.02594018541276455,
-0.44551369547843933,
-0.09043025225400925,
0.11371930688619614,
0.003402909729629755,
0.13507144153118134,
-0.07841216027736664,
0.03461800888180733,
-0.1736748218536377,
0.3371177315711975,
-0.01429007574915886,
0.23238429427146912,
-0.1093478724360466,
0.17240312695503235,
0.13340789079666138,
0.3156103491783142,
0.3287721574306488,
0.45736005902290344,
-0.43614470958709717,
-0.7642872333526611,
-0.08672324568033218,
0.19446350634098053,
0.7389250993728638,
0.20487919449806213,
-0.12251973897218704,
0.306064248085022,
0.04740098863840103,
0.09074778854846954,
-0.49086612462997437,
-0.016903314739465714,
-0.02461881749331951,
0.4625959098339081,
-0.36016345024108887,
-0.4996226727962494,
0.4395853281021118,
0.4005664587020874,
0.10930712521076202,
0.1701030135154724,
0.6332277059555054,
-0.37436825037002563,
-0.05119551345705986,
-0.1848616898059845,
0.9142556190490723,
0.15872907638549805,
0.23625676333904266,
0.09157774597406387,
0.008989103138446808,
1.0984022617340088,
-0.2501586079597473,
0.1661791056394577,
-0.13802099227905273,
-0.16254623234272003,
-0.05477970838546753,
-0.05903591960668564,
0.07684187591075897,
-0.22887326776981354,
0.04137543961405754,
0.4591512084007263,
0.012120679020881653,
0.34136083722114563,
-0.2457135170698166,
0.09859056770801544,
0.35707634687423706,
-0.3516688942909241,
-0.6398150324821472,
-0.008994515985250473,
-0.07163387537002563,
0.00408283993601799,
-0.07082831859588623,
0.016975920647382736,
-0.04891115427017212,
-0.021370021626353264,
-0.23329858481884003,
-0.08921869099140167,
0.13052459061145782,
-0.2368205040693283,
0.3903694152832031,
-0.09912832826375961,
0.1750013381242752,
0.17353171110153198,
0.6006439328193665,
0.2176593840122223,
-0.03407299518585205,
-0.04524829611182213,
-0.30881139636039734,
0.1927148550748825,
-0.0972941517829895,
-0.1421903371810913,
0.21578571200370789,
0.018698710948228836,
0.027692832052707672,
-0.03196612000465393,
0.13700520992279053,
-0.5409182906150818,
-0.08546817302703857,
-0.06522956490516663,
0.06337028741836548,
-0.17689497768878937,
-0.15928947925567627,
-0.18324613571166992,
0.15861718356609344,
-0.2548704147338867,
0.08551168441772461,
-0.07727251946926117,
-0.2614862024784088,
-0.06411149352788925,
0.12246708571910858,
-0.1924474537372589,
-0.11299987137317657,
0.18614128232002258,
0.19586092233657837,
-0.06979987025260925,
0.3000405728816986,
0.3983021676540375,
-0.08969941735267639,
0.002738621085882187,
-0.07398014515638351,
0.38059335947036743,
0.0014838054776191711,
0.2747151255607605,
-0.05243095010519028,
-0.19811156392097473,
0.0061160060577094555,
-0.030992936342954636,
0.08711373805999756,
-0.16279658675193787,
0.09464944899082184,
-0.40056294202804565,
-0.2875577509403229,
0.39816784858703613,
-0.12937402725219727,
0.2608489692211151,
0.344178169965744,
0.021708950400352478,
-0.2792412042617798,
0.008729998022317886,
-0.20158377289772034,
-0.092101089656353,
-0.05323779955506325,
-0.06508620083332062,
0.3431398570537567,
0.1689758598804474,
-0.030739622190594673,
-0.15619921684265137,
-0.06637217849493027,
0.2169063538312912,
0.13144147396087646,
-0.06882305443286896,
-0.25633305311203003,
0.16738426685333252,
-0.03776925057172775,
-0.2141348272562027,
0.2650291919708252,
-0.23623882234096527,
0.09740132093429565,
-0.2687416076660156,
0.02307518571615219,
-0.0017983317375183105,
0.008668795228004456,
0.004037092439830303,
-0.003261905163526535,
-0.12285681813955307,
0.013244956731796265,
0.5187283754348755,
-0.06513887643814087,
0.12034029513597488,
0.20216704905033112,
0.14305222034454346,
-0.002097342861816287,
0.00713946670293808,
0.2849826216697693,
0.1805707812309265,
0.30722934007644653,
-0.2070937156677246,
0.2245766520500183,
-0.045944951474666595,
-0.24849165976047516,
0.4754433035850525,
0.3130017817020416,
0.225047767162323,
-0.13406991958618164,
-0.030816206708550453,
0.2520120143890381,
0.051123786717653275,
-0.43148642778396606,
-0.4235871434211731,
0.401942640542984,
-0.23476825654506683,
0.1546395868062973,
0.30058714747428894,
0.2775351107120514,
0.29262733459472656,
0.09772408753633499,
0.21493446826934814,
0.2707151770591736,
0.3168257474899292,
0.4239741563796997,
0.31183943152427673,
-0.08488892018795013,
-0.07836306095123291,
0.22916769981384277,
0.09896118938922882,
0.13558578491210938,
0.4182695150375366,
-0.244008868932724,
0.35260820388793945,
-0.1801428198814392,
-0.12471741437911987,
0.15382020175457,
-0.38972732424736023,
0.18890893459320068,
0.10898813605308533,
0.026567712426185608,
0.08664964884519577,
0.07478269934654236,
0.2063044011592865,
-0.20384298264980316,
0.11011554300785065,
0.16007915139198303,
0.3905008137226105,
-0.19386133551597595,
-0.10502243041992188,
0.12259957194328308,
-0.25579530000686646,
-0.15939490497112274,
0.03230569139122963,
0.07229597121477127,
-0.29471355676651,
0.29782459139823914,
-0.06553415954113007,
0.2978484034538269,
-0.19924207031726837,
-0.0010344833135604858,
0.1497364044189453,
0.10763898491859436,
-0.09178619086742401,
0.04475608095526695,
0.11189756542444229,
-0.022515326738357544,
0.22948653995990753,
0.02457558736205101,
0.33660855889320374,
0.1335034966468811,
-0.29411670565605164,
-0.025658905506134033,
-0.12411220371723175,
0.03924228250980377,
-0.31472867727279663,
-0.09585926681756973,
-0.2602226436138153,
0.13927434384822845,
-0.006813929416239262,
0.11063440144062042,
-0.05083397775888443,
-0.1520017832517624,
-0.2369692474603653,
-0.07351404428482056,
-0.6723147630691528,
0.19200581312179565,
-0.06608322262763977,
0.056267984211444855,
-0.3296038508415222,
0.13612981140613556,
-0.23557400703430176,
-0.15860484540462494,
0.752623438835144,
0.05161937698721886,
-0.07347705215215683,
-0.07436008006334305,
0.04413768649101257,
0.03996274620294571,
0.5922051072120667,
0.4784475266933441,
-0.0028786659240722656,
-0.07713731378316879,
-0.23625017702579498,
-0.7712090015411377,
0.3004337549209595,
-0.22629952430725098,
-0.010352905839681625,
-0.03125724196434021,
-0.5115123391151428,
0.2582509219646454,
0.22904850542545319,
0.1962856948375702,
0.06689085811376572,
0.18503563106060028,
-0.4785354435443878,
-0.4799032509326935,
-0.33767569065093994,
-0.03637080639600754,
-0.34462594985961914,
0.09117984771728516,
-0.09468738734722137,
0.0666486918926239,
0.29475483298301697,
-0.08618982881307602,
-0.258950412273407,
0.2926539182662964,
0.043274205178022385,
0.13213896751403809,
0.33141326904296875,
0.23847836256027222,
0.41193893551826477,
-0.10038625448942184,
-0.3274395763874054,
-0.018465887755155563,
0.007605499587953091,
-0.46044787764549255,
0.0969594269990921,
-0.30557480454444885,
0.13702212274074554,
-0.4718427062034607,
-0.12608565390110016,
-0.519867479801178,
0.030256060883402824,
0.1490969955921173,
0.061825379729270935,
-0.4667411744594574,
0.018136801198124886,
-0.23382461071014404,
0.09215813875198364,
0.050125982612371445,
0.21108612418174744,
-0.0013975538313388824,
0.21096746623516083,
-0.12682142853736877,
-0.030988967046141624,
0.20411349833011627,
-0.2729180157184601,
-0.1864512413740158,
-0.20457765460014343,
-0.06825466454029083,
-0.08986688405275345,
-0.1786535233259201,
-0.5367220044136047,
-0.11309932917356491,
0.13997632265090942,
-0.003818795084953308,
0.16101425886154175,
0.2622503340244293,
0.009179913438856602,
0.1546238660812378,
0.0039019063115119934,
0.027315661311149597,
0.3570767343044281,
-0.14508278667926788,
0.31854328513145447,
0.017427410930395126
] |
https://github.com/huggingface/datasets/issues/1590 | Add helper to resolve namespace collision | Alternatively huggingface could consider some submodule type structure like:
`import huggingface.datasets`
`import huggingface.transformers`
`datasets` is a very common module in ML and should be an end-user decision and not scope all of python ¯\_(ツ)_/¯
| Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict. | 34 | Add helper to resolve namespace collision
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
Alternatively huggingface could consider some submodule type structure like:
`import huggingface.datasets`
`import huggingface.transformers`
`datasets` is a very common module in ML and should be an end-user decision and not scope all of python ¯\_(ツ)_/¯
| [
-0.02022361569106579,
-0.26522451639175415,
-0.09271927177906036,
0.15545938909053802,
0.36449378728866577,
-0.16256661713123322,
0.22060413658618927,
0.16719500720500946,
0.08917675912380219,
0.2554262578487396,
-0.27163633704185486,
0.16977278888225555,
-0.23846901953220367,
0.2573798894882202,
0.05928560346364975,
-0.2396574318408966,
0.07538191974163055,
0.19700589776039124,
-0.3191305994987488,
0.0870094895362854,
-0.22883109748363495,
0.19714513421058655,
-0.13596230745315552,
0.058976367115974426,
-0.2770675718784332,
0.09284141659736633,
0.2053653746843338,
-0.08659368008375168,
0.05949889123439789,
-0.37897199392318726,
0.4213661551475525,
0.11528809368610382,
0.05469173938035965,
0.5897501707077026,
-0.0001011381100397557,
0.13189426064491272,
0.33769506216049194,
-0.040848471224308014,
-0.09359610080718994,
-0.09024551510810852,
0.06463031470775604,
-0.2467930167913437,
0.24345754086971283,
-0.0631532222032547,
-0.27578005194664,
-0.1726580709218979,
-0.02013934589922428,
-0.19087423384189606,
0.41779500246047974,
0.054187241941690445,
0.346364825963974,
0.5181910991668701,
0.2339327484369278,
0.06297191977500916,
0.25001367926597595,
0.10266261547803879,
-0.1660958081483841,
0.11539958417415619,
0.19119106233119965,
-0.12564395368099213,
0.09231603145599365,
0.4077005088329315,
-0.20573316514492035,
-0.10770733654499054,
0.47333258390426636,
0.11477286368608475,
-0.11442742496728897,
-0.3207322061061859,
-0.18288809061050415,
0.22362414002418518,
0.13932949304580688,
-0.46432945132255554,
-0.33878517150878906,
-0.48863485455513,
-0.12476909905672073,
-0.14062942564487457,
0.33306607604026794,
-0.13303545117378235,
-0.043827544897794724,
0.17501667141914368,
-0.0336097851395607,
-0.06291565299034119,
-0.12902866303920746,
0.0887390673160553,
0.011289186775684357,
0.32850074768066406,
-0.28767460584640503,
0.057205330580472946,
0.28736382722854614,
-0.16348692774772644,
-0.10592111200094223,
0.011427678167819977,
0.1962401419878006,
-0.06317849457263947,
-0.23037366569042206,
-0.20784145593643188,
0.027132585644721985,
0.2500011920928955,
0.04006770998239517,
0.016424357891082764,
-0.16809672117233276,
0.20963895320892334,
0.10572784394025803,
0.12437981367111206,
0.09334516525268555,
-0.00372119527310133,
-0.10130741447210312,
-0.11847563087940216,
0.5116112232208252,
0.10348286479711533,
-0.013022173196077347,
0.016830148175358772,
0.017248932272195816,
-0.22490191459655762,
-0.1072269082069397,
-0.18916749954223633,
0.39181089401245117,
-0.00008792802691459656,
-0.14383041858673096,
-0.09839241951704025,
0.0842556282877922,
0.13895773887634277,
0.27410271763801575,
0.3232210874557495,
-0.058258142322301865,
0.12311660498380661,
0.1442243456840515,
0.05093628540635109,
-0.19393958151340485,
-0.16194644570350647,
-0.09364434331655502,
-0.08908286690711975,
-0.25356748700141907,
-0.10627471655607224,
0.021815035492181778,
0.14647416770458221,
0.13633807003498077,
-0.08208729326725006,
0.3387715220451355,
0.09016731381416321,
0.12259380519390106,
0.28849929571151733,
0.03876524791121483,
0.2551595866680145,
-0.09810110926628113,
0.08195801824331284,
0.06158262491226196,
-0.1290496587753296,
-0.291673481464386,
-0.2555927336215973,
-0.22726920247077942,
-0.08536665886640549,
-0.08527006208896637,
0.2785584330558777,
0.05713214725255966,
0.10057053714990616,
-0.08619681745767593,
0.02242858335375786,
-0.06135577708482742,
-0.22599226236343384,
0.005808964371681213,
0.09542901813983917,
-0.13731223344802856,
-0.2678748667240143,
0.17369048297405243,
0.11474395543336868,
0.08811013400554657,
-0.2211495041847229,
-0.19865310192108154,
-0.1133027970790863,
-0.08810410648584366,
0.18676568567752838,
-0.05368753522634506,
-0.14506053924560547,
-0.25099483132362366,
-0.1305902600288391,
0.03926908224821091,
-0.34787169098854065,
-0.44692063331604004,
0.003473169170320034,
-0.05129450559616089,
0.09210606664419174,
0.22167310118675232,
0.287513792514801,
-0.28452831506729126,
-0.1318761259317398,
0.14971232414245605,
0.3345823884010315,
-0.10781221091747284,
0.14193665981292725,
-0.07023946195840836,
-0.1103658452630043,
0.08548159152269363,
0.09562690556049347,
-0.07150639593601227,
-0.010913431644439697,
-0.15618574619293213,
0.06797949224710464,
0.06514948606491089,
-0.18325912952423096,
0.012015290558338165,
0.34516239166259766,
0.40771743655204773,
0.23244331777095795,
0.03795710578560829,
-0.39825597405433655,
-0.5612103343009949,
0.032327473163604736,
-0.22377920150756836,
0.13173669576644897,
-0.1021726131439209,
-0.38117504119873047,
-0.027361055836081505,
-0.007482537068426609,
-0.10124325752258301,
-0.05799828842282295,
0.2481878399848938,
-0.033185169100761414,
0.249414324760437,
-0.11522479355335236,
-0.15020014345645905,
0.277292937040329,
0.02690834365785122,
0.29360589385032654,
-0.5201869010925293,
0.24673806130886078,
-0.013309793546795845,
-0.0575285479426384,
0.16875894367694855,
0.40315723419189453,
-0.024670861661434174,
-0.10864822566509247,
0.09685896337032318,
0.3235655426979065,
0.02062143199145794,
0.2406052052974701,
-0.12781482934951782,
0.3849266767501831,
0.06083241105079651,
-0.14275003969669342,
-0.07697515934705734,
0.20667023956775665,
-0.07254727929830551,
0.17627593874931335,
0.015879150480031967,
0.4241328239440918,
-0.1905093938112259,
0.13944293558597565,
0.13818012177944183,
0.019780976697802544,
0.10217033326625824,
-0.1923258751630783,
-0.31331151723861694,
-0.23943762481212616,
0.08743898570537567,
-0.058820340782403946,
0.5211862921714783,
0.2794663608074188,
-0.21538613736629486,
-0.15654435753822327,
0.34949564933776855,
0.1497509479522705,
0.2577458322048187,
0.10611153393983841,
-0.45593512058258057,
0.2515173554420471,
-0.03591220825910568,
0.2682377099990845,
0.16030317544937134,
0.3987918198108673,
-0.1590258777141571,
0.230638325214386,
-0.06390038132667542,
-0.10537104308605194,
0.1615658700466156,
0.2154635488986969,
-0.05003613606095314,
-0.06887253373861313,
0.07562590390443802,
-0.028541412204504013,
-0.222474604845047,
0.07289738953113556,
-0.3403606712818146,
-0.036485686898231506,
-0.32400983572006226,
0.13974682986736298,
-0.26116475462913513,
-0.38967058062553406,
-0.43154919147491455,
-0.1077599823474884,
-0.5112163424491882,
-0.1372930407524109,
0.0964360311627388,
0.16423363983631134,
-0.3801087737083435,
0.3237052857875824,
0.28676122426986694,
0.21101385354995728,
-0.002032563090324402,
-0.14933434128761292,
-0.05265507474541664,
-0.10769104212522507,
-0.21544897556304932,
0.1281556934118271,
0.27697765827178955,
-0.030529582872986794,
0.3913137912750244,
-0.12593278288841248,
0.05500101298093796,
-0.19509488344192505,
-0.6819353103637695,
0.06301150470972061,
-0.0705563873052597,
0.19627858698368073,
0.37269237637519836,
0.04213287681341171,
0.311090350151062,
-0.35236769914627075,
0.17906105518341064,
-0.2390560656785965,
-0.1668487936258316,
-0.01333592925220728,
-0.022200467064976692,
-0.020477572456002235,
-0.14096906781196594,
-0.07461781054735184,
-0.1765635907649994,
-0.5822032690048218,
0.32507675886154175,
-0.17972393333911896,
-0.06275343894958496,
0.3977239727973938,
-0.06895281374454498,
0.15720349550247192,
-0.36183592677116394,
0.20502609014511108,
0.023238306865096092,
-0.21143575012683868,
0.21113447844982147,
-0.11159080266952515,
-0.11418484151363373,
-0.19688861072063446,
-0.15226730704307556,
0.2833878695964813,
-0.1439308524131775,
-0.1671084612607956,
-0.3801898658275604,
-0.21014738082885742,
0.0034126974642276764,
0.3275092840194702,
0.27159392833709717,
0.1351824402809143,
0.2047845870256424,
-0.15200424194335938,
-0.22114983201026917,
-0.1301625818014145,
-0.05826955288648605,
-0.05159921199083328,
0.1095561534166336,
0.11243288964033127,
0.1236448660492897,
-0.22426006197929382,
0.2787705063819885,
0.28019633889198303,
-0.23981811106204987,
0.25249481201171875,
0.05293562263250351,
0.48873260617256165,
-0.035075075924396515,
-0.3629170358181,
-0.08965536952018738,
-0.04272036254405975,
0.03469494357705116,
0.28652703762054443,
0.025055639445781708,
0.24487437307834625,
-0.15812507271766663,
-0.1891268938779831,
-0.08245070278644562,
-0.47483375668525696,
-0.0026114024221897125,
0.1852332353591919,
0.11929427087306976,
-0.09337723255157471,
-0.3426041007041931,
-0.1773269921541214,
-0.042863037437200546,
0.2780267000198364,
0.2471112310886383,
-0.09305369108915329,
-0.019360223785042763,
-0.5284512042999268,
-0.059346310794353485,
-0.23611709475517273,
0.20379935204982758,
-0.06799934059381485,
-0.017614226788282394,
0.0776781439781189,
-0.16311800479888916,
-0.17699827253818512,
0.21655794978141785,
0.675346314907074,
-0.04999113827943802,
-0.28331834077835083,
-0.22409561276435852,
-0.06804603338241577,
-0.32749587297439575,
0.11462776362895966,
-0.02109205722808838,
0.1283043622970581,
0.09317341446876526,
0.4130402207374573,
-0.32204702496528625,
-0.24184918403625488,
0.08104780316352844,
0.2850702404975891,
0.0428888164460659,
0.002953285351395607,
-0.39014390110969543,
-0.02892138436436653,
-0.39023536443710327,
-0.1144886240363121,
0.14731253683567047,
-0.24075782299041748,
0.1469937413930893,
-0.1408350169658661,
-0.04148704558610916,
-0.2923744022846222,
0.296586275100708,
0.23875509202480316,
0.389486163854599,
-0.06587352603673935,
0.13003456592559814,
0.2103612869977951,
0.41486766934394836,
0.20321348309516907,
0.45459696650505066,
-0.4082920253276825,
-0.6085439920425415,
0.05842806398868561,
0.15215066075325012,
0.4647037088871002,
0.2070518434047699,
0.0766124427318573,
0.3528672456741333,
0.08120694011449814,
0.2780642509460449,
-0.43306487798690796,
0.140001580119133,
0.21680916845798492,
0.3346441388130188,
-0.20167283713817596,
-0.27228260040283203,
0.4416022300720215,
0.09006237983703613,
0.007056757807731628,
0.1701144278049469,
0.6453776955604553,
-0.3645777702331543,
0.1618504524230957,
-0.09690859168767929,
0.9009621143341064,
0.08090328425168991,
0.2035180777311325,
0.16207721829414368,
-0.029331298545002937,
0.9161872863769531,
-0.1057751327753067,
0.1829102635383606,
-0.18108314275741577,
0.023398367688059807,
0.07176881283521652,
-0.02717473916709423,
0.05933920294046402,
-0.1545615941286087,
-0.28435859084129333,
0.30822688341140747,
0.06855185329914093,
0.2132793664932251,
-0.29649338126182556,
0.20898029208183289,
0.12280984222888947,
-0.4371931552886963,
-0.5631969571113586,
0.17792928218841553,
0.0335509367287159,
0.24414588510990143,
-0.08816374838352203,
-0.173307403922081,
0.0018390864133834839,
-0.0984584391117096,
0.013970986008644104,
-0.11713258922100067,
-0.032328639179468155,
0.040773794054985046,
0.4415961503982544,
0.03788040578365326,
0.2005828469991684,
0.20268908143043518,
0.512951135635376,
0.23441757261753082,
-0.26306086778640747,
0.12629610300064087,
-0.2502363622188568,
0.10975111275911331,
-0.24379605054855347,
-0.009193029254674911,
0.20046798884868622,
-0.022975953295826912,
-0.08511511981487274,
-0.13548877835273743,
0.12420274317264557,
-0.2236681580543518,
-0.21851499378681183,
0.02655884623527527,
0.002975858747959137,
-0.2992795705795288,
0.049284789711236954,
-0.15334786474704742,
0.1045876145362854,
-0.25690793991088867,
0.2286132574081421,
-0.16734008491039276,
-0.1289890706539154,
0.0257408544421196,
0.280182421207428,
-0.2060459554195404,
-0.10729062557220459,
0.13824774324893951,
0.15948975086212158,
-0.0734933391213417,
0.2619617283344269,
0.17534415423870087,
-0.18083088099956512,
-0.2089405655860901,
-0.1262279748916626,
0.3283752202987671,
-0.2221454381942749,
0.33118900656700134,
0.05563723295927048,
-0.2929076552391052,
0.07985032349824905,
0.08313287794589996,
0.1865788847208023,
-0.1984473466873169,
-0.10313737392425537,
-0.025435548275709152,
-0.4370604157447815,
0.49165409803390503,
-0.065066859126091,
0.37495097517967224,
0.12442334741353989,
0.35629960894584656,
-0.13300639390945435,
0.07819624990224838,
-0.4297305643558502,
-0.10964354127645493,
-0.32578006386756897,
0.08098875731229782,
0.28104254603385925,
-0.17706626653671265,
0.1059289202094078,
0.008150042966008186,
0.15898822247982025,
0.18069665133953094,
-0.17619889974594116,
-0.25161755084991455,
-0.27993056178092957,
0.05679813027381897,
-0.12029505521059036,
0.03208206221461296,
0.24834665656089783,
0.016112439334392548,
0.03848760947585106,
-0.2850761413574219,
0.14894327521324158,
0.11439051479101181,
0.13099324703216553,
0.0645134374499321,
0.03067287802696228,
-0.10784880071878433,
0.09680034220218658,
0.09269539266824722,
-0.08958180248737335,
-0.0007838085293769836,
0.15984664857387543,
-0.0319490060210228,
-0.22844184935092926,
-0.03130139410495758,
0.22679440677165985,
0.15849852561950684,
0.3250283896923065,
-0.16431927680969238,
0.08680438995361328,
0.03679138422012329,
-0.31481030583381653,
0.36819085478782654,
0.2952309548854828,
0.18745064735412598,
-0.16086533665657043,
0.09558568149805069,
0.2768038809299469,
0.2737601101398468,
-0.4097082018852234,
-0.19163645803928375,
0.22371676564216614,
-0.21722277998924255,
0.3088390827178955,
0.34861746430397034,
0.15645338594913483,
0.4141768217086792,
0.32690566778182983,
0.12843576073646545,
0.3097161054611206,
0.11662070453166962,
0.3002035915851593,
0.09214165806770325,
-0.017439644783735275,
-0.043122779577970505,
0.3794749677181244,
0.194227397441864,
0.3303908109664917,
0.4142691493034363,
-0.21035659313201904,
0.3748692572116852,
-0.47794488072395325,
-0.029490400105714798,
0.2914586663246155,
-0.1085100769996643,
-0.021315302699804306,
-0.02185218036174774,
0.032461851835250854,
0.2077527940273285,
-0.043836161494255066,
0.2561405599117279,
-0.2644200921058655,
0.0026096985675394535,
-0.042960233986377716,
0.27104392647743225,
-0.22686955332756042,
-0.2666250467300415,
0.2371622920036316,
-0.15588440001010895,
-0.08605917543172836,
-0.10945890843868256,
0.15418821573257446,
-0.14261887967586517,
0.24591314792633057,
-0.08121822774410248,
0.19608676433563232,
-0.29102787375450134,
-0.07731122523546219,
0.26260513067245483,
0.29311463236808777,
-0.19072112441062927,
0.08677647262811661,
0.13229501247406006,
-0.15139958262443542,
-0.045427095144987106,
0.11231192946434021,
0.3918342888355255,
0.10823199898004532,
-0.2031150907278061,
-0.04212011396884918,
-0.0660860687494278,
-0.04475557059049606,
-0.3440141975879669,
-0.09717399626970291,
-0.08160920441150665,
0.3048807680606842,
0.06105077639222145,
0.2392604649066925,
-0.24128656089305878,
-0.3084825277328491,
-0.29681146144866943,
0.00020425021648406982,
-0.45689621567726135,
0.18373119831085205,
-0.2699306011199951,
0.01934470236301422,
-0.3872523605823517,
0.013388514518737793,
-0.5692487359046936,
-0.11788828670978546,
0.42669203877449036,
-0.058445993810892105,
-0.008873450569808483,
-0.23501747846603394,
0.13139919936656952,
0.15790829062461853,
0.6225573420524597,
0.23830974102020264,
0.26478710770606995,
-0.091632179915905,
-0.2467312514781952,
-0.6086645126342773,
0.31371691823005676,
-0.17535868287086487,
0.08791390061378479,
0.003958599176257849,
-0.21029247343540192,
0.1343158483505249,
0.09301074594259262,
0.06528887152671814,
-0.12128927558660507,
0.03765133023262024,
-0.4913037121295929,
-0.42354297637939453,
-0.10501943528652191,
-0.2243243306875229,
-0.25876620411872864,
0.34892600774765015,
-0.12689566612243652,
0.04302428290247917,
0.20421583950519562,
0.08718643337488174,
-0.33076804876327515,
0.3949809670448303,
0.07612602412700653,
0.13875263929367065,
0.25213825702667236,
0.10646156221628189,
0.3198627531528473,
-0.21119841933250427,
-0.3475874364376068,
-0.07202643156051636,
-0.23256263136863708,
-0.3384207487106323,
-0.06687375158071518,
-0.055873606353998184,
0.26291704177856445,
-0.35702186822891235,
-0.31476274132728577,
-0.39395418763160706,
0.04795733466744423,
0.25867319107055664,
0.0014334798324853182,
-0.2825322151184082,
0.1819223165512085,
-0.06186862662434578,
0.14584267139434814,
0.040477294474840164,
0.3666269779205322,
0.02879629284143448,
0.11509187519550323,
-0.18927264213562012,
-0.26485806703567505,
0.4914450943470001,
-0.21281392872333527,
-0.22218720614910126,
-0.09237577021121979,
0.18107646703720093,
-0.07291381806135178,
-0.2240479290485382,
-0.638380765914917,
-0.024679742753505707,
0.07543466240167618,
0.011352453380823135,
-0.09576040506362915,
0.29127368330955505,
0.06060066819190979,
-0.09352758526802063,
-0.03045821189880371,
0.07518557459115982,
0.28533151745796204,
-0.1355644017457962,
0.32216352224349976,
-0.1054505854845047
] |
https://github.com/huggingface/datasets/issues/1590 | Add helper to resolve namespace collision | It also wasn't initially obvious to me that the samples which contain `import datasets` were in fact importing a huggingface library (in fact all the huggingface imports are very generic - transformers, tokenizers, datasets...) | Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict. | 34 | Add helper to resolve namespace collision
Many projects use a module called `datasets`, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.
It also wasn't initially obvious to me that the samples which contain `import datasets` were in fact importing a huggingface library (in fact all the huggingface imports are very generic - transformers, tokenizers, datasets...) | [
-0.17162297666072845,
-0.054332055151462555,
-0.1060905009508133,
0.16611698269844055,
0.3200764060020447,
-0.2631010115146637,
0.22331498563289642,
0.2214922308921814,
0.11521467566490173,
0.346835732460022,
-0.21770738065242767,
0.07699400931596756,
-0.22704805433750153,
0.22918303310871124,
0.051088958978652954,
-0.09679941833019257,
0.14140908420085907,
0.18827344477176666,
-0.3230443596839905,
0.09567394852638245,
-0.2504669427871704,
0.36763638257980347,
-0.11526189744472504,
0.048935405910015106,
-0.26319950819015503,
0.1357956975698471,
0.17811021208763123,
0.024297498166561127,
-0.10312056541442871,
-0.3912397623062134,
0.48881030082702637,
0.2592073380947113,
0.09825998544692993,
0.5347704887390137,
-0.00010085110989166424,
0.0321502685546875,
0.33290624618530273,
-0.02765066735446453,
0.0007687201723456383,
-0.047589465975761414,
0.03647695481777191,
-0.17088280618190765,
0.2306136041879654,
-0.023940563201904297,
-0.16865259408950806,
-0.2056216597557068,
-0.11987362802028656,
-0.29703396558761597,
0.2763870358467102,
0.08416611701250076,
0.3598597049713135,
0.46174049377441406,
0.13138563930988312,
-0.07680348306894302,
0.36275729537010193,
0.09633222222328186,
-0.2227720320224762,
0.05772486329078674,
0.3163788318634033,
-0.1041613519191742,
0.04681796208024025,
0.3070700764656067,
-0.19918951392173767,
-0.07620489597320557,
0.45493048429489136,
0.02596420608460903,
-0.35869258642196655,
-0.32873332500457764,
-0.15280985832214355,
0.19081687927246094,
0.2731133699417114,
-0.2819487154483795,
-0.1536627858877182,
-0.4264022409915924,
-0.10694196820259094,
-0.09593834728002548,
0.3473280072212219,
-0.30369946360588074,
-0.010770592838525772,
0.1086406260728836,
-0.1284346878528595,
-0.10546573251485825,
-0.20673768222332,
0.04881128668785095,
0.12028466165065765,
0.18204471468925476,
-0.29338204860687256,
0.048438917845487595,
0.3704204559326172,
-0.11886636912822723,
-0.10898106545209885,
0.012095130980014801,
0.06707212328910828,
-0.10902883112430573,
-0.3166464865207672,
-0.11506220698356628,
0.09215064346790314,
0.23775345087051392,
0.15976911783218384,
0.1767260879278183,
-0.20380286872386932,
0.21822130680084229,
0.0010573873296380043,
0.06233775243163109,
-0.0008599050343036652,
0.05422763153910637,
-0.034277983009815216,
-0.19860340654850006,
0.5527967214584351,
0.21324321627616882,
0.04996706172823906,
0.08546401560306549,
-0.07990746945142746,
-0.224485844373703,
-0.18338826298713684,
-0.2480134665966034,
0.29993027448654175,
-0.1290079802274704,
-0.08300863206386566,
-0.06333056092262268,
0.24994611740112305,
0.1599762886762619,
0.16705115139484406,
0.2875522971153259,
-0.10708105564117432,
0.09249212592840195,
0.16257432103157043,
-0.0009795352816581726,
-0.1402505338191986,
-0.2982374429702759,
-0.12804748117923737,
-0.08778613805770874,
-0.2294626086950302,
-0.11014024168252945,
0.0930650383234024,
0.0016782991588115692,
0.1425853669643402,
-0.07302208244800568,
0.3274427056312561,
0.10992175340652466,
0.12555035948753357,
0.38767415285110474,
0.15817178785800934,
0.20853441953659058,
-0.1047995537519455,
0.16038866341114044,
0.0640212744474411,
-0.15357398986816406,
-0.20431914925575256,
-0.18159878253936768,
-0.32859429717063904,
-0.12443912029266357,
-0.24278809130191803,
0.27839943766593933,
-0.0005785971879959106,
0.07427661120891571,
-0.17769861221313477,
0.07873893529176712,
-0.23541879653930664,
-0.30154839158058167,
-0.002579502761363983,
0.08983553946018219,
-0.12857158482074738,
-0.19335730373859406,
0.2595251202583313,
0.1862838715314865,
-0.03972313925623894,
-0.15157198905944824,
-0.23120255768299103,
-0.20901834964752197,
-0.025839976966381073,
0.1009814441204071,
-0.07683394849300385,
-0.09128894656896591,
-0.42907950282096863,
0.08889132738113403,
0.03632400184869766,
-0.3410758674144745,
-0.34446388483047485,
-0.026679763570427895,
-0.12207238376140594,
0.09664589166641235,
0.11807933449745178,
0.24783745408058167,
-0.0789286270737648,
-0.08974802494049072,
0.05069035291671753,
0.37431347370147705,
-0.08060169965028763,
0.11136969178915024,
-0.08373776078224182,
-0.1473536640405655,
0.06195890158414841,
0.14963702857494354,
0.032267652451992035,
-0.05068796128034592,
0.08184255659580231,
0.09673536568880081,
0.02446332946419716,
-0.26887428760528564,
0.05126846581697464,
0.35491353273391724,
0.29281696677207947,
0.17578619718551636,
0.056687239557504654,
-0.28842103481292725,
-0.5094380378723145,
0.04904872924089432,
-0.13371387124061584,
0.17776557803153992,
0.05790184065699577,
-0.2778174579143524,
-0.11935532093048096,
-0.021070584654808044,
-0.17241491377353668,
-0.1329302191734314,
0.2425021231174469,
0.08803579956293106,
0.20635996758937836,
-0.12137702107429504,
-0.15326429903507233,
0.39622753858566284,
-0.07097721099853516,
0.28909602761268616,
-0.544617235660553,
0.13601656258106232,
-0.013389157131314278,
-0.08018311858177185,
0.21090146899223328,
0.3362106680870056,
-0.07376251369714737,
-0.13147889077663422,
0.012851047329604626,
0.46662068367004395,
0.03879997134208679,
0.21698825061321259,
-0.06103293597698212,
0.32501280307769775,
0.03820310905575752,
-0.08090747147798538,
-0.13486233353614807,
-0.016369622200727463,
-0.11586249619722366,
0.12639585137367249,
0.07523257285356522,
0.3234567642211914,
-0.1517745554447174,
0.13483257591724396,
0.12061770260334015,
0.008551670238375664,
0.06116575002670288,
-0.12660638988018036,
-0.29371270537376404,
-0.20635253190994263,
0.17848427593708038,
-0.039971914142370224,
0.5010519623756409,
0.20958533883094788,
-0.1630297303199768,
-0.09040137380361557,
0.30065035820007324,
0.1256808042526245,
0.16909435391426086,
0.1850462257862091,
-0.3328075706958771,
0.12355243414640427,
0.06210194528102875,
0.31230518221855164,
0.1769827902317047,
0.37498387694358826,
-0.10407689213752747,
0.13400550186634064,
-0.08029023557901382,
-0.1943264603614807,
0.10711592435836792,
0.08100268244743347,
-0.031039735302329063,
-0.07326128333806992,
0.09537315368652344,
-0.02093147486448288,
-0.43748030066490173,
0.0044064000248909,
-0.36781588196754456,
-0.01235092245042324,
-0.356740802526474,
0.04878636449575424,
-0.32438427209854126,
-0.41198116540908813,
-0.23330490291118622,
-0.07888593524694443,
-0.45296213030815125,
-0.21496494114398956,
0.20017752051353455,
0.1844457983970642,
-0.3822820782661438,
0.33988627791404724,
0.25638169050216675,
0.34521257877349854,
-0.1577739119529724,
0.018363554030656815,
-0.09603098779916763,
-0.09793401509523392,
-0.2653644382953644,
0.17270787060260773,
0.2459767609834671,
0.06960486620664597,
0.4489153325557709,
-0.18800312280654907,
0.2625865936279297,
-0.24943020939826965,
-0.75853031873703,
0.09281005710363388,
-0.011303577572107315,
0.20217494666576385,
0.32930082082748413,
0.05855835974216461,
0.2586823105812073,
-0.36706802248954773,
0.006915534846484661,
-0.33434101939201355,
-0.18453386425971985,
0.01256871223449707,
-0.14369159936904907,
-0.1622941493988037,
-0.19935663044452667,
-0.11868181079626083,
-0.03685734421014786,
-0.55110102891922,
0.22292232513427734,
-0.20394708216190338,
-0.1150980293750763,
0.3167097568511963,
-0.023549526929855347,
0.2907906770706177,
-0.4422481954097748,
0.167328879237175,
-0.031062806025147438,
-0.40988585352897644,
0.21753008663654327,
-0.21917808055877686,
-0.25637245178222656,
-0.04895777255296707,
0.002754645422101021,
0.2813415825366974,
-0.1618330180644989,
-0.23812289535999298,
-0.24360817670822144,
-0.1488196700811386,
0.1200854629278183,
0.38164642453193665,
0.17986929416656494,
0.20969438552856445,
0.12863264977931976,
-0.16892126202583313,
-0.25206518173217773,
-0.11570620536804199,
0.06511697173118591,
-0.20262771844863892,
0.019757770001888275,
0.023634282872080803,
-0.06035885214805603,
-0.23306715488433838,
0.20462656021118164,
0.116468146443367,
-0.18969425559043884,
0.3827632665634155,
0.08094796538352966,
0.6727415919303894,
-0.10065741091966629,
-0.29284220933914185,
0.0680512860417366,
-0.01947799324989319,
0.13354668021202087,
0.39652109146118164,
0.04752345755696297,
0.21173612773418427,
-0.2093106061220169,
-0.08538858592510223,
-0.0438355877995491,
-0.3954038619995117,
-0.13902752101421356,
0.17244257032871246,
0.015035312622785568,
-0.0690046101808548,
-0.46184051036834717,
-0.10635034739971161,
-0.07943021506071091,
0.3416062891483307,
0.25452035665512085,
-0.00453302264213562,
0.016030924394726753,
-0.6660515666007996,
0.08512277901172638,
-0.287312775850296,
0.20386502146720886,
-0.03580280393362045,
-0.06910575926303864,
-0.06435145437717438,
-0.11579760164022446,
-0.18001605570316315,
0.23919270932674408,
0.6643901467323303,
-0.06013631820678711,
-0.3686951994895935,
-0.23619909584522247,
-0.0007075108587741852,
-0.30689752101898193,
0.06367520987987518,
-0.06118546053767204,
-0.10258381068706512,
0.12285274267196655,
0.45526212453842163,
-0.2801753282546997,
-0.1845306009054184,
0.12175313383340836,
0.2923199236392975,
0.15442392230033875,
0.09988806396722794,
-0.2492324262857437,
-0.15594510734081268,
-0.4418143332004547,
-0.1102471873164177,
0.07819899916648865,
-0.1388847380876541,
0.06604339927434921,
-0.20898094773292542,
-0.0043863095343112946,
-0.16655415296554565,
0.27412301301956177,
0.22908823192119598,
0.3621070086956024,
-0.019253481179475784,
0.1066804826259613,
0.27449411153793335,
0.38476666808128357,
0.1978493630886078,
0.38442784547805786,
-0.4340296685695648,
-0.6006049513816833,
0.23850694298744202,
0.08328091353178024,
0.4434194564819336,
0.2322695255279541,
-0.008061693981289864,
0.2868749797344208,
-0.02730651944875717,
0.33151698112487793,
-0.3384511172771454,
0.2471526712179184,
0.19390973448753357,
0.2923811078071594,
-0.10954269766807556,
-0.15285441279411316,
0.3241996169090271,
0.20080402493476868,
-0.03209271281957626,
0.38438498973846436,
0.6873421669006348,
-0.29574188590049744,
0.07327242940664291,
-0.1591494083404541,
0.8891835808753967,
0.15309739112854004,
0.11672618985176086,
0.27548661828041077,
-0.057044945657253265,
0.9147965312004089,
-0.16532814502716064,
-0.012580368667840958,
-0.12586791813373566,
-0.11360280215740204,
0.08870303630828857,
0.012550342828035355,
0.09217012673616409,
-0.22250069677829742,
-0.20663385093212128,
0.17200711369514465,
0.1576688587665558,
0.23621802031993866,
-0.2536673843860626,
0.2309843897819519,
0.21334275603294373,
-0.4571327567100525,
-0.25727030634880066,
0.21190716326236725,
-0.10449543595314026,
0.21026653051376343,
-0.16527360677719116,
-0.028787441551685333,
0.04035094007849693,
-0.1484420895576477,
-0.07392297685146332,
-0.012767981737852097,
0.05332169681787491,
0.002135859802365303,
0.4662957489490509,
0.1825072020292282,
0.14024026691913605,
0.3002673387527466,
0.662922739982605,
0.1969093680381775,
-0.32394593954086304,
0.18124429881572723,
-0.26856479048728943,
0.10984715074300766,
-0.13463658094406128,
-0.08879977464675903,
0.20294921100139618,
-0.06343666464090347,
-0.03377431631088257,
-0.1287306249141693,
0.07370378822088242,
-0.2807866036891937,
-0.18921905755996704,
-0.05646944046020508,
-0.036861151456832886,
-0.26800236105918884,
0.05375688895583153,
-0.08890536427497864,
0.16577939689159393,
-0.28064295649528503,
0.2254054993391037,
-0.20690710842609406,
-0.0022462697234004736,
0.016889527440071106,
0.33666327595710754,
-0.29857611656188965,
-0.1466330587863922,
0.17542709410190582,
0.01102248951792717,
-0.27792638540267944,
0.19275429844856262,
0.20562095940113068,
-0.19071641564369202,
-0.18949973583221436,
-0.11409486085176468,
0.4079243540763855,
-0.26807090640068054,
0.23160673677921295,
0.0067962161265313625,
-0.3190092444419861,
0.11159908026456833,
0.17994241416454315,
0.14099523425102234,
-0.26111555099487305,
0.027652699500322342,
-0.09296873211860657,
-0.311661958694458,
0.45359963178634644,
-0.22231988608837128,
0.4007023870944977,
0.18956658244132996,
0.02518324926495552,
-0.10249469429254532,
0.08646144717931747,
-0.41826510429382324,
-0.08646820485591888,
-0.2789539694786072,
0.01824037916958332,
0.3211548924446106,
-0.04192916303873062,
0.0900932028889656,
-0.05789409205317497,
0.1070772260427475,
0.19157345592975616,
-0.15548767149448395,
-0.23921915888786316,
-0.30623406171798706,
0.06376367062330246,
-0.09721007943153381,
-0.015336958691477776,
0.2928592562675476,
0.02286476641893387,
-0.01403868943452835,
-0.2541782557964325,
0.1784348487854004,
0.06030814349651337,
-0.02050146460533142,
0.0031806034967303276,
0.11312460899353027,
-0.07425292581319809,
0.11064156889915466,
0.19563014805316925,
0.013804368674755096,
0.14853809773921967,
0.026824332773685455,
-0.10770009458065033,
-0.2043927013874054,
-0.16406363248825073,
0.29152169823646545,
0.3105289041996002,
0.3763984441757202,
-0.07431331276893616,
0.04037383198738098,
0.03564467281103134,
-0.18520644307136536,
0.33604496717453003,
0.3035385310649872,
0.07630684971809387,
-0.15807631611824036,
-0.00902368314564228,
0.25094375014305115,
0.2672973573207855,
-0.28016403317451477,
-0.3140060305595398,
0.1554098129272461,
-0.13225477933883667,
0.15998215973377228,
0.19951263070106506,
0.25331348180770874,
0.25550806522369385,
0.3761177659034729,
0.1835835874080658,
0.3712933659553528,
0.1086525246500969,
0.3857231140136719,
0.07148586213588715,
-0.17538797855377197,
-0.0757979303598404,
0.3299858272075653,
0.0942314863204956,
0.23465925455093384,
0.4205246567726135,
-0.25182342529296875,
0.47892168164253235,
-0.3529280722141266,
0.09279905259609222,
0.20492276549339294,
-0.23541568219661713,
0.15248985588550568,
-0.017527341842651367,
0.0026283040642738342,
0.18359291553497314,
0.011021949350833893,
0.3121458888053894,
-0.23951081931591034,
-0.014194261282682419,
-0.10600404441356659,
0.3352072834968567,
-0.19688403606414795,
-0.1233878880739212,
0.052949316799640656,
-0.24661758542060852,
-0.18141555786132812,
0.03326035663485527,
0.06915882974863052,
-0.03495980054140091,
0.3456924259662628,
-0.08269183337688446,
0.10445413738489151,
-0.33919695019721985,
-0.04896768182516098,
0.06822754442691803,
0.18898174166679382,
-0.15213657915592194,
0.18903563916683197,
0.1043090745806694,
-0.18275856971740723,
0.20954589545726776,
0.27041882276535034,
0.4066827595233917,
0.17553550004959106,
-0.034375276416540146,
-0.09351907670497894,
-0.10543124377727509,
-0.0592624694108963,
-0.36757972836494446,
0.04332873225212097,
-0.05850692093372345,
0.10198439657688141,
0.07106368243694305,
0.23394010961055756,
-0.2674208879470825,
-0.23100797832012177,
-0.22153206169605255,
0.032175906002521515,
-0.404678076505661,
0.10926418751478195,
-0.23007217049598694,
0.03735635429620743,
-0.35637640953063965,
0.035980962216854095,
-0.4958159923553467,
-0.06569582223892212,
0.3878442347049713,
-0.0793619379401207,
-0.06560224294662476,
-0.33217641711235046,
0.12316939234733582,
0.1516617238521576,
0.6866530776023865,
0.26196834444999695,
0.11907132714986801,
-0.10693779587745667,
-0.5023648142814636,
-0.7254453897476196,
0.38008442521095276,
-0.06377197802066803,
0.1848854124546051,
-0.003061814233660698,
-0.31446608901023865,
0.11687023937702179,
0.13476991653442383,
0.1403684765100479,
-0.011443207040429115,
0.03913536295294762,
-0.5646094083786011,
-0.5288476347923279,
0.005791328847408295,
-0.022979460656642914,
-0.3092224895954132,
0.2121952921152115,
-0.13312919437885284,
0.1813652217388153,
0.12068718671798706,
0.06850254535675049,
-0.2805919051170349,
0.2687818706035614,
0.08000364899635315,
0.13083109259605408,
0.27091413736343384,
0.18273133039474487,
0.3108760714530945,
-0.235372394323349,
-0.2521843910217285,
-0.10056932270526886,
-0.2863897979259491,
-0.2737153172492981,
0.04157007485628128,
-0.08265072107315063,
0.25777432322502136,
-0.31244584918022156,
-0.30138054490089417,
-0.348810613155365,
0.001541742356494069,
0.29286277294158936,
0.22749392688274384,
-0.4342719316482544,
0.14746373891830444,
-0.05416939780116081,
0.21322627365589142,
0.08373202383518219,
0.22555586695671082,
0.07214605808258057,
0.12372943758964539,
-0.2248808890581131,
-0.2834954559803009,
0.4166069030761719,
-0.1089392825961113,
-0.1908559948205948,
-0.14896471798419952,
0.1179051548242569,
-0.07919654995203018,
-0.3435348570346832,
-0.5919111967086792,
0.023360222578048706,
0.08692589402198792,
0.12905341386795044,
-0.048689648509025574,
0.3910192847251892,
-0.09091873466968536,
0.04992086812853813,
-0.014505801722407341,
0.2419300526380539,
0.4145050346851349,
-0.1119275838136673,
0.36314165592193604,
-0.046698205173015594
] |
https://github.com/huggingface/datasets/issues/1585 | FileNotFoundError for `amazon_polarity` | Hi @phtephanx , the `amazon_polarity` dataset has not been released yet. It will be available in the coming soon v2of `datasets` :)
You can still access it now if you want, but you will need to install datasets via the master branch:
`pip install git+https://github.com/huggingface/datasets.git@master` | Version: `datasets==v1.1.3`
### Reproduction
```python
from datasets import load_dataset
data = load_dataset("amazon_polarity")
```
crashes with
```bash
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py
```
and
```bash
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py
```
and
```bash
FileNotFoundError: Couldn't find file locally at amazon_polarity/amazon_polarity.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py
``` | 45 | FileNotFoundError for `amazon_polarity`
Version: `datasets==v1.1.3`
### Reproduction
```python
from datasets import load_dataset
data = load_dataset("amazon_polarity")
```
crashes with
```bash
FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py
```
and
```bash
FileNotFoundError: Couldn't find file at https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py
```
and
```bash
FileNotFoundError: Couldn't find file locally at amazon_polarity/amazon_polarity.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/amazon_polarity/amazon_polarity.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/amazon_polarity/amazon_polarity.py
```
Hi @phtephanx , the `amazon_polarity` dataset has not been released yet. It will be available in the coming soon v2of `datasets` :)
You can still access it now if you want, but you will need to install datasets via the master branch:
`pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.3479881286621094,
-0.40796947479248047,
-0.15942953526973724,
0.14680078625679016,
0.340961217880249,
0.12450353056192398,
0.13682933151721954,
0.07088274508714676,
-0.014782864600419998,
0.21001476049423218,
-0.03047703020274639,
-0.08569659292697906,
-0.275296688079834,
0.007995521649718285,
-0.08337227255105972,
-0.17970645427703857,
0.08368855714797974,
0.14741824567317963,
-0.10620592534542084,
0.14483702182769775,
-0.18574152886867523,
0.3676772713661194,
-0.2011098563671112,
-0.03633011132478714,
-0.1535671204328537,
0.032141316682100296,
-0.124417744576931,
0.2561990022659302,
-0.3571482300758362,
-0.17194615304470062,
0.6051850914955139,
-0.1438155621290207,
0.11664654314517975,
0.4674166738986969,
-0.00010942395601887256,
0.12184004485607147,
0.2970665991306305,
0.11700549721717834,
-0.2840382754802704,
-0.6816431283950806,
0.18931880593299866,
-0.11371132731437683,
0.10025034844875336,
-0.030090034008026123,
-0.17242762446403503,
-0.42736849188804626,
0.3060816824436188,
0.066267229616642,
0.40949833393096924,
0.05995665118098259,
0.2611252963542938,
0.4023945927619934,
0.4682304263114929,
-0.12979835271835327,
0.47187450528144836,
0.30506378412246704,
-0.1289898157119751,
0.11521588265895844,
0.01958855241537094,
-0.043679192662239075,
0.20555999875068665,
0.37192052602767944,
0.011306004598736763,
-0.07898373901844025,
0.2118726372718811,
-0.004247325472533703,
0.17502963542938232,
-0.11000721156597137,
0.023283015936613083,
0.21480324864387512,
0.2996562719345093,
-0.3209211528301239,
-0.5227020978927612,
-0.0029203593730926514,
0.011715932749211788,
-0.3397398889064789,
0.16439048945903778,
0.1410713493824005,
-0.0013032453134655952,
-0.10670627653598785,
0.01942506432533264,
-0.21684974431991577,
-0.3099757134914398,
0.394634485244751,
-0.0742107480764389,
0.5269246101379395,
-0.3228902518749237,
0.03136888146400452,
0.18164964020252228,
-0.42861998081207275,
-0.38901597261428833,
0.11382754892110825,
-0.10718224942684174,
0.1441514939069748,
-0.2899426221847534,
-0.07563377916812897,
-0.13927379250526428,
0.07488890737295151,
0.13997995853424072,
0.27537643909454346,
-0.07402162253856659,
-0.005577467381954193,
-0.031799960881471634,
0.17088216543197632,
0.07710055261850357,
0.03413143754005432,
0.15192756056785583,
0.3041285574436188,
0.11581841111183167,
0.3378834128379822,
0.16733188927173615,
-0.06220628321170807,
-0.0027532551903277636,
-0.31019869446754456,
-0.05841348320245743,
-0.10084357112646103,
0.49760347604751587,
-0.19355574250221252,
-0.4300059974193573,
-0.016138948500156403,
-0.22631633281707764,
0.10124896466732025,
0.16385173797607422,
0.42740029096603394,
0.04454285651445389,
-0.028920669108629227,
0.18090903759002686,
0.16168439388275146,
-0.2305804193019867,
0.20292344689369202,
-0.23814572393894196,
0.256045401096344,
-0.1458517462015152,
-0.005112053826451302,
0.12023895978927612,
-0.12301704287528992,
0.42299315333366394,
-0.12864552438259125,
-0.09038679301738739,
0.010275248438119888,
0.13586604595184326,
0.047302089631557465,
0.09378541260957718,
0.3426353335380554,
-0.15036240220069885,
-0.07593979686498642,
0.12744301557540894,
0.09283307194709778,
-0.14700452983379364,
-0.17991852760314941,
0.02030402421951294,
-0.0959177017211914,
-0.2991921007633209,
0.2074981927871704,
-0.21993203461170197,
-0.12302887439727783,
0.07898944616317749,
-0.024936024099588394,
-0.174474835395813,
-0.3944457769393921,
0.018854357302188873,
-0.05017179995775223,
-0.1533363312482834,
-0.11926408112049103,
0.29747462272644043,
0.6852933764457703,
-0.248723566532135,
-0.20894618332386017,
-0.3055850565433502,
-0.2532976269721985,
0.15330348908901215,
0.042713966220617294,
-0.06613783538341522,
-0.13108521699905396,
-0.3379170894622803,
-0.23956505954265594,
0.1273248791694641,
-0.34221047163009644,
-0.21949782967567444,
0.14260035753250122,
-0.3919655680656433,
0.10905279964208603,
0.2609383463859558,
0.10727304220199585,
-0.484402060508728,
-0.00230388343334198,
0.07275491952896118,
-0.23470242321491241,
0.10895676910877228,
0.0022046025842428207,
-0.026271602138876915,
-0.3088283836841583,
-0.01184656098484993,
0.16871215403079987,
-0.010352805256843567,
-0.10978797823190689,
0.23946422338485718,
0.17236757278442383,
0.18688315153121948,
-0.015090499073266983,
-0.13298089802265167,
0.4036784768104553,
0.43009820580482483,
0.18119990825653076,
-0.04386639967560768,
-0.41731104254722595,
-0.5634766817092896,
0.06963730603456497,
-0.12970656156539917,
-0.014324218034744263,
-0.19500182569026947,
-0.12363427877426147,
-0.1820707619190216,
-0.16353479027748108,
-0.053065117448568344,
-0.1849987506866455,
0.16036520898342133,
0.16319172084331512,
0.30208098888397217,
0.02906361222267151,
-0.17315787076950073,
0.13038311898708344,
-0.20448504388332367,
0.2718697786331177,
-0.5783799886703491,
0.06285739690065384,
-0.10962913185358047,
-0.012314763851463795,
0.1489766389131546,
0.17356395721435547,
0.08944405615329742,
-0.26060929894447327,
0.21546322107315063,
0.4597683548927307,
-0.24630092084407806,
0.41140103340148926,
0.16037634015083313,
0.1741541177034378,
0.26823219656944275,
-0.096037358045578,
-0.096156544983387,
-0.008065089583396912,
0.02734503149986267,
0.12789583206176758,
-0.06980780512094498,
0.38514775037765503,
-0.1351649910211563,
0.14834581315517426,
0.1445951759815216,
0.0045579951256513596,
0.12590794265270233,
0.20727378129959106,
-0.2886957824230194,
-0.3195874094963074,
0.3829953968524933,
-0.09563545882701874,
0.20781977474689484,
-0.27571672201156616,
-0.34059619903564453,
-0.04808724671602249,
0.13227835297584534,
-0.010274793952703476,
0.16427698731422424,
-0.09900952130556107,
-0.21422654390335083,
0.19305923581123352,
0.11845740675926208,
0.4621913731098175,
0.47994130849838257,
0.3050815761089325,
-0.08553746342658997,
0.04667007178068161,
-0.1272163838148117,
-0.16059507429599762,
0.404302179813385,
0.24061661958694458,
0.0038171776104718447,
0.050407204777002335,
-0.13362987339496613,
-0.018937766551971436,
-0.24332484602928162,
-0.393501877784729,
-0.25336259603500366,
0.13061025738716125,
-0.25057798624038696,
-0.032147116959095,
-0.4261738657951355,
-0.225895494222641,
-0.3069344162940979,
0.1278163641691208,
-0.17576774954795837,
-0.17792236804962158,
-0.10885739326477051,
0.2513081431388855,
-0.16866834461688995,
0.08350563794374466,
-0.05593661218881607,
0.093320831656456,
-0.04351469501852989,
-0.32515212893486023,
-0.22291116416454315,
-0.16417479515075684,
-0.06135418266057968,
0.14250829815864563,
0.21378839015960693,
-0.12467671185731888,
0.4876340627670288,
-0.2830374538898468,
0.06888668984174728,
-0.38989996910095215,
-0.4924218952655792,
0.018963217735290527,
-0.20722168684005737,
0.09492859244346619,
0.45822495222091675,
0.10321927070617676,
-0.2475157082080841,
-0.07394358515739441,
0.16845683753490448,
-0.15757347643375397,
-0.23923152685165405,
-0.006298116408288479,
-0.06973234564065933,
-0.17335517704486847,
-0.025323398411273956,
-0.4028540849685669,
-0.15086033940315247,
-0.3371182382106781,
0.2300264835357666,
0.1486731618642807,
-0.0006278157234191895,
0.18069395422935486,
0.1901656538248062,
0.3676954209804535,
-0.3491116464138031,
0.24900877475738525,
0.014367055147886276,
-0.2989015579223633,
0.2959597706794739,
-0.24350745975971222,
-0.26439857482910156,
0.27903467416763306,
0.16171371936798096,
0.016734974458813667,
0.04994162544608116,
-0.28360140323638916,
-0.06305855512619019,
-0.12184542417526245,
-0.11747871339321136,
0.011159554123878479,
0.3160508871078491,
0.3380793333053589,
0.030294038355350494,
-0.1007642149925232,
0.046714410185813904,
-0.12406352162361145,
-0.1301068365573883,
-0.2254657745361328,
0.3550340235233307,
-0.2552395761013031,
0.07670492678880692,
-0.2182060331106186,
0.6340250968933105,
0.06237936392426491,
-0.19365915656089783,
0.09104155004024506,
-0.14831450581550598,
0.4900239408016205,
-0.1918845772743225,
-0.289442777633667,
-0.27670007944107056,
0.25727882981300354,
0.30886608362197876,
0.1075013130903244,
0.04332032799720764,
0.2568730115890503,
-0.3664233982563019,
-0.09177015721797943,
-0.321322500705719,
-0.21313613653182983,
-0.3383033275604248,
0.1778077781200409,
0.15703661739826202,
-0.018624529242515564,
-0.007351994514465332,
0.04932687059044838,
-0.16629186272621155,
-0.07114693522453308,
0.41219520568847656,
-0.10359925776720047,
0.09973286837339401,
-0.06683623790740967,
-0.3051207959651947,
-0.19881001114845276,
0.4756162166595459,
0.0304133128374815,
0.05096043646335602,
-0.09379622340202332,
-0.19187846779823303,
0.000923745334148407,
-0.10813142359256744,
0.4818146228790283,
0.09031865745782852,
-0.08012174069881439,
0.02285335585474968,
-0.15779918432235718,
-0.4005211889743805,
-0.027478011325001717,
-0.2612535059452057,
0.42495912313461304,
0.03427267074584961,
0.5901093482971191,
-0.3759631812572479,
-0.22289325296878815,
0.2796899080276489,
0.1097371056675911,
-0.0025946572422981262,
-0.07701767981052399,
-0.2817256450653076,
0.027290895581245422,
-0.040255747735500336,
0.03648783639073372,
-0.08456184715032578,
0.2202620506286621,
-0.1750410944223404,
0.17866377532482147,
0.061827316880226135,
-0.1259285807609558,
0.07540379464626312,
0.02949947863817215,
0.39224204421043396,
-0.23856282234191895,
0.06228942796587944,
0.25030815601348877,
-0.06645664572715759,
0.26581326127052307,
0.6059340834617615,
0.21760232746601105,
-0.27757278084754944,
0.15822625160217285,
0.10052864253520966,
-0.1520286202430725,
0.3247641324996948,
-0.03920423239469528,
0.013015799224376678,
0.30819204449653625,
0.173500657081604,
-0.1358238309621811,
-0.32106107473373413,
0.39369648694992065,
0.11341073364019394,
0.09182063490152359,
-0.03603331372141838,
0.24418535828590393,
0.01969146728515625,
0.14109843969345093,
0.32123908400535583,
0.5112125873565674,
-0.15869082510471344,
0.27313047647476196,
0.04611212760210037,
0.805271565914154,
0.01672399789094925,
0.2628684937953949,
0.13041028380393982,
-0.03472677618265152,
0.986242413520813,
-0.102505624294281,
0.14905665814876556,
-0.3020688593387604,
0.19349125027656555,
0.10816021263599396,
-0.04077848047018051,
0.41973352432250977,
-0.26517200469970703,
-0.1427743136882782,
0.32993483543395996,
0.26759952306747437,
0.08350194245576859,
-0.21664787828922272,
-0.010750304907560349,
-0.4383026659488678,
0.08782462775707245,
-0.19166798889636993,
0.14524757862091064,
0.0791354849934578,
0.4863109886646271,
-0.21619179844856262,
0.007214214652776718,
-0.16260433197021484,
-0.3805137276649475,
-0.38524073362350464,
-0.09128923714160919,
-0.14108827710151672,
0.2592482268810272,
0.17412787675857544,
-0.09071146696805954,
-0.019073808565735817,
0.3718283176422119,
0.249721497297287,
0.06099814549088478,
-0.396470844745636,
0.09221525490283966,
-0.21503061056137085,
-0.3787037134170532,
-0.16576765477657318,
0.1121566891670227,
0.20955605804920197,
-0.037489861249923706,
-0.2007797360420227,
-0.0353635773062706,
0.04702575132250786,
-0.008067280054092407,
-0.3303603529930115,
-0.0268964022397995,
-0.2138492912054062,
0.0041925557889044285,
-0.18969912827014923,
-0.008246898651123047,
-0.25430646538734436,
-0.15784209966659546,
0.1775463968515396,
0.11219020187854767,
-0.22318483889102936,
-0.20315974950790405,
0.10214661061763763,
-0.05877106636762619,
-0.13087569177150726,
0.5322408676147461,
-0.18283957242965698,
0.08361910283565521,
0.4300753176212311,
0.27868980169296265,
-0.09716221690177917,
-0.3899720013141632,
0.18660956621170044,
0.2124699354171753,
-0.4469737708568573,
0.02273864671587944,
0.15109661221504211,
0.19176332652568817,
0.16808265447616577,
0.1403879076242447,
0.2693329453468323,
-0.09486288577318192,
0.08755786716938019,
-0.38823869824409485,
-0.07694238424301147,
0.3205410838127136,
0.03325952962040901,
0.18999594449996948,
0.17365476489067078,
-0.2284809798002243,
0.0975499078631401,
-0.28369125723838806,
-0.3788015842437744,
0.07866004854440689,
-0.22540618479251862,
-0.09391140937805176,
0.0192460548132658,
-0.007398013025522232,
0.5711520910263062,
0.10186111927032471,
0.23201173543930054,
0.2181951105594635,
-0.3243470788002014,
-0.2544843256473541,
-0.10842525959014893,
0.09456802904605865,
-0.03464304283261299,
-0.012521471828222275,
-0.024957314133644104,
-0.022222384810447693,
0.06878429651260376,
0.1524956375360489,
0.17347568273544312,
0.3341301679611206,
0.15825119614601135,
0.14460840821266174,
-0.11945204436779022,
0.1690201759338379,
0.011778492480516434,
0.01957382634282112,
-0.07198907434940338,
0.12895646691322327,
0.17799001932144165,
0.07757106423377991,
0.006738140247762203,
-0.11916458606719971,
0.03731411322951317,
-0.08101093024015427,
-0.1880480796098709,
0.11362349987030029,
0.30635756254196167,
-0.07588639855384827,
-0.22145763039588928,
-0.16267405450344086,
0.4580841660499573,
0.38455554842948914,
-0.21835586428642273,
0.12485887110233307,
0.2854147255420685,
0.2142765074968338,
-0.2931698262691498,
0.010399844497442245,
0.019062701612710953,
0.17608296871185303,
0.18904876708984375,
0.1412038952112198,
-0.20635341107845306,
-0.016713157296180725,
0.2385963350534439,
0.3029823899269104,
0.3455761969089508,
-0.39218413829803467,
0.22768384218215942,
0.10785931348800659,
0.06318704783916473,
0.004116170108318329,
0.04180924594402313,
0.28046533465385437,
0.25545841455459595,
0.1395144760608673,
-0.25390109419822693,
0.23056849837303162,
-0.4177193343639374,
0.289743036031723,
0.053615204989910126,
-0.2980116903781891,
0.18869999051094055,
0.1838293969631195,
-0.1125129908323288,
0.007354941219091415,
-0.199933260679245,
0.7434195280075073,
-0.3424646854400635,
0.2930617928504944,
-0.2554725408554077,
0.02521193027496338,
-0.13854768872261047,
-0.1526787430047989,
-0.2909659743309021,
-0.2425522804260254,
-0.07983897626399994,
-0.2007220983505249,
0.12634466588497162,
-0.2806015610694885,
-0.087774857878685,
0.058793868869543076,
-0.034941017627716064,
-0.3793412148952484,
0.008664848282933235,
0.09441784769296646,
0.20721441507339478,
-0.15285298228263855,
0.0437527634203434,
0.4355440139770508,
-0.039181046187877655,
0.06301438063383102,
0.32426056265830994,
0.431612104177475,
0.07381734251976013,
-0.0038450490683317184,
0.15458790957927704,
-0.09411835670471191,
-0.28151828050613403,
0.10101545602083206,
0.17617236077785492,
-0.009571723639965057,
0.029462875798344612,
0.3469567894935608,
0.29396435618400574,
-0.22928644716739655,
0.37073418498039246,
0.14919480681419373,
0.26236411929130554,
-0.16035246849060059,
0.2588387131690979,
-0.5671654939651489,
-0.0026882775127887726,
-0.21753919124603271,
0.14890818297863007,
-0.7439573407173157,
-0.07495427876710892,
-0.07344613969326019,
0.15578018128871918,
-0.013472795486450195,
-0.07518912106752396,
0.11844147741794586,
0.12253068387508392,
0.36553850769996643,
0.40049681067466736,
0.10813026130199432,
-0.09992311149835587,
-0.0020381659269332886,
-0.3938154876232147,
0.07235368341207504,
-0.08340518176555634,
0.11739474534988403,
-0.2401401847600937,
0.255921870470047,
-0.11043306440114975,
0.06973738968372345,
0.2139819711446762,
-0.3945614993572235,
0.026039723306894302,
0.16591323912143707,
-0.14307941496372223,
-0.08835186064243317,
0.2128644436597824,
-0.11369331181049347,
0.10558223724365234,
-0.14759600162506104,
-0.08682464063167572,
-0.18747630715370178,
0.01441405713558197,
-0.1302589476108551,
0.08702287077903748,
-0.17730946838855743,
-0.30223143100738525,
0.27043938636779785,
-0.03576478362083435,
0.004244916141033173,
-0.12068022787570953,
-0.24279168248176575,
-0.42674359679222107,
-0.16905072331428528,
0.03122537210583687,
0.06885789334774017,
0.10931867361068726,
0.6689342260360718,
-0.29431232810020447,
-0.6157659888267517,
-0.20464588701725006,
0.22882910072803497,
-0.1594865769147873,
-0.1637365221977234,
-0.057552628219127655,
0.1553613543510437,
-0.07378268986940384,
-0.05510834604501724,
-0.12519928812980652,
0.2218608558177948,
0.0011764280498027802,
-0.002342013642191887,
-0.2762526869773865,
-0.23098568618297577,
0.5606694221496582,
-0.29871058464050293,
0.09175778925418854,
0.14256222546100616,
0.328560471534729,
0.5192724466323853,
-0.17706777155399323,
-0.47497549653053284,
0.5117940902709961,
0.16414837539196014,
0.21778139472007751,
0.11998343467712402,
0.222452312707901,
-0.188686341047287,
0.05964550003409386,
0.023248013108968735,
0.1988113820552826,
0.025437241420149803,
-0.010647512972354889,
0.19783639907836914,
-0.17956094443798065
] |
https://github.com/huggingface/datasets/issues/1581 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers' | Thanks for reporting !
You can override the directory in which cache file are stored using for example
```
ENV HF_HOME="/root/cache/hf_cache_home"
```
This way both `transformers` and `datasets` will use this directory instead of the default `.cache` | I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
| 37 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
Thanks for reporting !
You can override the directory in which cache file are stored using for example
```
ENV HF_HOME="/root/cache/hf_cache_home"
```
This way both `transformers` and `datasets` will use this directory instead of the default `.cache` | [
-0.26019391417503357,
0.15375763177871704,
-0.08791576325893402,
0.1361185908317566,
0.05338235944509506,
0.05931984633207321,
0.6560070514678955,
0.1960311383008957,
0.1612776219844818,
-0.01366986334323883,
-0.3051159381866455,
-0.16839063167572021,
-0.032444339245557785,
-0.510906457901001,
-0.025965671986341476,
-0.2055930197238922,
0.05517354980111122,
-0.06763441860675812,
-0.3101544678211212,
-0.1253342628479004,
-0.09135370701551437,
-0.016897087916731834,
-0.007581844925880432,
0.10207974165678024,
-0.351379930973053,
0.023547597229480743,
0.3338409960269928,
-0.09798344224691391,
0.004927355796098709,
-0.11368101835250854,
0.3865947425365448,
0.1387622207403183,
0.1959904134273529,
0.8908079862594604,
-0.00011386849655536935,
0.364698588848114,
0.1204633116722107,
0.07541316002607346,
0.08663949370384216,
-0.20864133536815643,
-0.13870865106582642,
-0.24775059521198273,
-0.12011916935443878,
-0.08176038414239883,
0.0790475606918335,
0.009072688408195972,
0.014073817059397697,
-0.12140268832445145,
0.6044267416000366,
0.3587145507335663,
0.20279426872730255,
0.49039408564567566,
0.09081859886646271,
0.1236841008067131,
0.25372782349586487,
-0.03160307556390762,
-0.24834397435188293,
-0.07382792234420776,
-0.12432776391506195,
-0.2798888683319092,
-0.004701495170593262,
0.2760695517063141,
-0.05404180288314819,
0.1426950991153717,
0.21706482768058777,
-0.19405671954154968,
0.1225123330950737,
-0.3570999801158905,
-0.04122772067785263,
0.045318640768527985,
0.5151115655899048,
-0.06564310193061829,
-0.5028496980667114,
-0.18646568059921265,
-0.11892923712730408,
0.05840858072042465,
0.30263200402259827,
0.30468443036079407,
-0.03617741912603378,
0.2790156304836273,
-0.21445631980895996,
-0.15145133435726166,
-0.47300925850868225,
0.0950545072555542,
-0.23947079479694366,
0.3513741195201874,
0.062044598162174225,
0.19479262828826904,
-0.09114159643650055,
-0.07159028947353363,
0.6296565532684326,
-0.0060651469975709915,
0.14748898148536682,
0.29799386858940125,
-0.32393938302993774,
0.23162367939949036,
0.033177997916936874,
-0.5658232569694519,
-0.31283313035964966,
0.0865982323884964,
-0.23144076764583588,
-0.09240606427192688,
-0.07044339179992676,
0.3829045593738556,
-0.20214694738388062,
0.4120384156703949,
-0.3363807797431946,
0.7340707182884216,
0.3856591582298279,
-0.30472055077552795,
0.03326248750090599,
-0.043215394020080566,
-0.03741025552153587,
-0.08813883364200592,
-0.1260700225830078,
-0.03192222863435745,
0.14577269554138184,
0.09391289949417114,
-0.09843337535858154,
-0.03468150272965431,
0.08689676970243454,
-0.01001674309372902,
0.18542160093784332,
0.38152578473091125,
0.1036059781908989,
0.09915655851364136,
0.39013636112213135,
0.1196971982717514,
-0.015224281698465347,
0.05747159197926521,
-0.25006070733070374,
0.07202664762735367,
-0.09461836516857147,
-0.06414928287267685,
0.19876714050769806,
0.08668135106563568,
0.029890714213252068,
-0.10370095819234848,
0.23031628131866455,
-0.140620619058609,
0.4395028352737427,
-0.20773564279079437,
0.11424156278371811,
0.7253697514533997,
0.12368100881576538,
0.04058217257261276,
0.32526320219039917,
-0.1411765217781067,
0.038567982614040375,
0.11152709275484085,
-0.3354063928127289,
-0.1929330825805664,
0.04830536991357803,
0.13853566348552704,
-0.1338282823562622,
0.270851194858551,
-0.24604028463363647,
-0.13437248766422272,
0.37964096665382385,
-0.05941268056631088,
-0.038740672171115875,
-0.2568914294242859,
0.01892746612429619,
-0.1345490664243698,
-0.09949202835559845,
0.24764907360076904,
-0.1799388974905014,
-0.17853839695453644,
-0.04763741046190262,
0.01073445938527584,
-0.0975557491183281,
0.4373539388179779,
-0.1490982621908188,
0.36120933294296265,
-0.01225820928812027,
0.12157364189624786,
0.02134200930595398,
-0.5040408372879028,
-0.45079419016838074,
-0.0658407136797905,
-0.03176183998584747,
0.055245041847229004,
0.07705022394657135,
0.008005982264876366,
0.32634425163269043,
-0.239107146859169,
-0.27245885133743286,
0.3224855661392212,
0.214126855134964,
0.08870856463909149,
0.22979550063610077,
-0.18839587271213531,
-0.016739219427108765,
0.029926590621471405,
0.5327504873275757,
0.23559266328811646,
0.044531453400850296,
0.40130582451820374,
-0.18303018808364868,
-0.3429360091686249,
0.1383524239063263,
0.4372715950012207,
0.31348979473114014,
0.009820722043514252,
0.01957130990922451,
-0.03599880635738373,
-0.3422744870185852,
0.3768792450428009,
-0.1361483633518219,
0.19837158918380737,
-0.08840645849704742,
-0.001343458890914917,
-0.13734397292137146,
0.30429694056510925,
-0.0974787175655365,
-0.06246185675263405,
0.15741002559661865,
0.09149910509586334,
-0.029762525111436844,
-0.05235346406698227,
0.21315346658229828,
0.41223350167274475,
0.03037790022790432,
0.19243739545345306,
-0.013811895623803139,
0.41037699580192566,
-0.20208612084388733,
-0.04396997019648552,
-0.0946272537112236,
-0.07129985839128494,
0.15172997117042542,
-0.1395326554775238,
-0.20551294088363647,
0.16279911994934082,
-0.02852766402065754,
0.18272480368614197,
-0.50957190990448,
0.42736130952835083,
0.23665450513362885,
-0.04729804769158363,
0.05715879052877426,
0.11108359694480896,
-0.0023625961039215326,
-0.008951310068368912,
-0.04385693371295929,
0.04674168676137924,
0.07031093537807465,
0.0665786862373352,
-0.0663851797580719,
0.11591609567403793,
0.20436257123947144,
0.09289155900478363,
0.05802994966506958,
-0.035117801278829575,
0.09873397648334503,
0.10059210658073425,
-0.0032765697687864304,
-0.12620560824871063,
0.3256447911262512,
-0.284822553396225,
0.21493011713027954,
0.1594940423965454,
0.09419410675764084,
0.03787410259246826,
-0.0761304423213005,
0.17142468690872192,
0.32547709345817566,
0.3470337986946106,
0.22318395972251892,
0.03149697929620743,
0.024645201861858368,
-0.05499915033578873,
-0.05492568016052246,
-0.020639916881918907,
-0.11162730306386948,
0.1299440711736679,
0.1952214539051056,
0.07320883870124817,
0.06171572580933571,
0.03505423292517662,
-0.18385085463523865,
-0.27961254119873047,
0.09117218852043152,
0.39460843801498413,
-0.3553250730037689,
0.1200248971581459,
-0.03968636691570282,
0.05551891028881073,
0.13015292584896088,
0.018967028707265854,
-0.4570337235927582,
-0.2215028703212738,
-0.20296646654605865,
0.42108333110809326,
-0.11945915222167969,
0.1644144058227539,
-0.0810748040676117,
0.0509679913520813,
0.2963259518146515,
-0.12554137408733368,
-0.2593311071395874,
0.10433542728424072,
0.06259731203317642,
0.04257161542773247,
0.19250069558620453,
-0.5198507905006409,
0.19002053141593933,
0.17503835260868073,
0.18426235020160675,
-0.00837882049381733,
-0.5007291436195374,
0.048075541853904724,
-0.15370500087738037,
0.1523052603006363,
-0.14558063447475433,
0.2838713228702545,
0.04922515153884888,
-0.29095712304115295,
-0.021078869700431824,
-0.13726460933685303,
-0.06801512837409973,
-0.045319877564907074,
-0.06198424473404884,
-0.2530844807624817,
-0.19543328881263733,
-0.06982234865427017,
-0.29331931471824646,
-0.42128288745880127,
0.12250079214572906,
0.3711083233356476,
0.2529846429824829,
0.44076859951019287,
0.13771040737628937,
0.09211250394582748,
0.26906901597976685,
0.09945961833000183,
-0.0383627749979496,
-0.10742165893316269,
0.24517686665058136,
-0.31047698855400085,
-0.2563970685005188,
0.0066130273044109344,
0.011105641722679138,
0.283728688955307,
0.3374527096748352,
-0.3564891815185547,
-0.1421986222267151,
-0.3123047351837158,
-0.004187498241662979,
-0.08119571208953857,
0.11920484155416489,
0.04539775475859642,
-0.025792740285396576,
0.13074544072151184,
-0.16389256715774536,
0.034788716584444046,
-0.07955891638994217,
0.10422457009553909,
-0.07282231003046036,
0.09760983288288116,
0.09978468716144562,
0.21151119470596313,
0.6869978308677673,
-0.12913815677165985,
0.14133913815021515,
0.01830918714404106,
0.21512432396411896,
0.45130249857902527,
0.043445516377687454,
-0.2967941164970398,
0.06688570976257324,
0.08370829373598099,
-0.20622147619724274,
-0.13335397839546204,
0.04589928686618805,
-0.14973920583724976,
0.020668454468250275,
0.11788983643054962,
-0.047187745571136475,
-0.22599098086357117,
0.11343679577112198,
-0.0898844450712204,
0.33409982919692993,
0.18791887164115906,
0.05070248246192932,
-0.443408727645874,
-0.10771621018648148,
-0.05628109723329544,
0.38045263290405273,
0.08983799070119858,
0.15080882608890533,
-0.3076767027378082,
-0.09042636305093765,
-0.27491968870162964,
0.06113480031490326,
-0.08113785833120346,
0.5575762987136841,
-0.18521253764629364,
0.3113374710083008,
-0.044709473848342896,
0.18090853095054626,
0.4595348834991455,
-0.2760762870311737,
0.005392979830503464,
-0.10668157041072845,
-0.2819322347640991,
-0.34338364005088806,
-0.23908363282680511,
-0.08590219914913177,
-0.0639391764998436,
0.11368657648563385,
0.1906847059726715,
-0.07914687693119049,
-0.008477418683469296,
-0.14287428557872772,
-0.21934670209884644,
-0.13710008561611176,
-0.24797455966472626,
-0.11156626045703888,
-0.269183874130249,
-0.4986169636249542,
-0.12510734796524048,
0.3895348310470581,
-0.10923125594854355,
-0.12258798629045486,
0.10317511856555939,
-0.226003497838974,
0.06719787418842316,
0.19040611386299133,
0.1915997415781021,
0.026641208678483963,
-0.009567000903189182,
-0.1999967396259308,
0.20651698112487793,
-0.5022634267807007,
0.06269221752882004,
0.19732636213302612,
-0.12631191313266754,
-0.356732577085495,
-0.016329731792211533,
0.1559303104877472,
-0.13579896092414856,
0.0637567862868309,
-0.1743563562631607,
-0.0275263711810112,
0.025474263355135918,
-0.05044138431549072,
-0.07185447961091995,
0.31049129366874695,
-0.05589023977518082,
0.19566060602664948,
-0.10124729573726654,
-0.4688993990421295,
0.19685903191566467,
0.2237323373556137,
-0.07574824243783951,
0.16891562938690186,
0.09436806291341782,
-0.39896830916404724,
0.46683019399642944,
0.15838047862052917,
0.5565395355224609,
-0.35991692543029785,
0.09744316339492798,
0.31961506605148315,
0.06722463667392731,
0.695379912853241,
-0.6555452942848206,
0.3161596655845642,
-0.20793317258358002,
-0.35276299715042114,
-0.1493598073720932,
-0.3817497789859772,
0.18163084983825684,
0.06919032335281372,
-0.027342207729816437,
0.0941414013504982,
-0.0852651372551918,
0.3506408631801605,
0.17975986003875732,
0.20206278562545776,
0.0884777158498764,
-0.44483140110969543,
0.15288227796554565,
0.22949761152267456,
-0.27201175689697266,
0.3177684247493744,
-0.1780320107936859,
-0.027753975242376328,
-0.291852205991745,
0.02548500895500183,
-0.27476340532302856,
0.11615005880594254,
-0.2991314232349396,
0.5190947651863098,
0.11131367087364197,
0.046483114361763,
0.28793418407440186,
0.24458032846450806,
0.2088555246591568,
0.2620200216770172,
-0.22693932056427002,
0.06379629671573639,
-0.13031139969825745,
-0.09316115081310272,
-0.03921729326248169,
0.006658877246081829,
0.3359815180301666,
0.05962510406970978,
-0.05854097753763199,
-0.06652497500181198,
-0.16961675882339478,
-0.3609888553619385,
0.017403215169906616,
0.22940771281719208,
0.20241746306419373,
0.0064578247256577015,
-0.051013343036174774,
-0.011928081512451172,
-0.38251128792762756,
0.07267718017101288,
0.14926393330097198,
0.010934576392173767,
-0.25340646505355835,
0.23340994119644165,
-0.04548613354563713,
-0.2722892165184021,
0.0967668741941452,
0.3703702390193939,
0.11949776858091354,
-0.19713473320007324,
0.5597562789916992,
0.20433087646961212,
-0.289831280708313,
-0.03916601464152336,
-0.2040649652481079,
0.09313157945871353,
-0.45414456725120544,
-0.04464495927095413,
-0.45647475123405457,
-0.41412925720214844,
-0.018843652680516243,
-0.46147504448890686,
0.34597909450531006,
-0.007462024688720703,
-0.17365899682044983,
-0.40798884630203247,
-0.3153894543647766,
-0.0964629203081131,
-0.3273630440235138,
-0.00012177228927612305,
-0.006962999701499939,
-0.01824532076716423,
-0.07103882730007172,
0.16265501081943512,
-0.25917768478393555,
-0.2372058779001236,
-0.344459593296051,
0.006200382485985756,
0.3342401683330536,
-0.22125595808029175,
0.04363379627466202,
-0.18109436333179474,
0.025680245831608772,
0.14668989181518555,
-0.3872324228286743,
-0.18461114168167114,
-0.26417988538742065,
0.110768161714077,
0.2623438537120819,
-0.32764893770217896,
-0.06802695244550705,
-0.34715408086776733,
-0.09141509234905243,
-0.1358477771282196,
0.16200706362724304,
0.26431038975715637,
-0.11826799809932709,
0.18543745577335358,
-0.1474616974592209,
0.27187851071357727,
-0.01950272172689438,
0.17738160490989685,
-0.026876121759414673,
0.0644543394446373,
0.03844184800982475,
0.38233479857444763,
0.13267937302589417,
0.06032191216945648,
-0.6228340864181519,
0.11320251226425171,
0.03758496046066284,
0.15171125531196594,
0.39311298727989197,
-0.34608572721481323,
0.3375236690044403,
-0.03623950481414795,
0.06055275350809097,
-0.1529017686843872,
-0.3420253396034241,
-0.06917455792427063,
0.11604585498571396,
0.16422629356384277,
0.0276590995490551,
-0.09630338102579117,
0.05487009882926941,
0.03271971642971039,
0.09876137971878052,
0.26904934644699097,
0.26195386052131653,
-0.04063403233885765,
-0.012445665895938873,
0.3720315396785736,
0.6341762542724609,
-0.2661922574043274,
0.2063337117433548,
0.24768568575382233,
-0.23349715769290924,
0.1992756873369217,
0.2232559323310852,
-0.0020312778651714325,
0.00013585388660430908,
0.19903717935085297,
0.1524522304534912,
-0.05407150089740753,
0.02052491158246994,
-0.18347123265266418,
0.33609169721603394,
-0.21243664622306824,
-0.12753158807754517,
-0.03996330499649048,
0.1181052178144455,
0.23080974817276,
-0.03970533609390259,
-0.3249219059944153,
0.026186995208263397,
-0.010464569553732872,
-0.2011927366256714,
0.195068359375,
-0.14026296138763428,
0.04432523250579834,
0.04285199195146561,
0.2038140892982483,
0.013280652463436127,
-0.2877649962902069,
0.12713755667209625,
-0.47797471284866333,
-0.3058706223964691,
0.3640509247779846,
-0.13408340513706207,
0.09858501702547073,
0.06168678030371666,
0.2978544235229492,
-0.22024068236351013,
-0.19689270853996277,
0.08386045694351196,
0.10720523446798325,
-0.11164997518062592,
-0.08257326483726501,
0.0934758111834526,
0.5431833863258362,
0.28934037685394287,
0.15996591746807098,
0.26315510272979736,
0.09807160496711731,
-0.05940668284893036,
-0.09065710008144379,
0.3076894283294678,
-0.2290302813053131,
0.17995585501194,
0.11973679065704346,
0.09251268208026886,
-0.21267984807491302,
-0.2806040048599243,
0.09323611110448837,
0.09015484154224396,
-0.0003153011202812195,
0.2890574634075165,
-0.26148805022239685,
-0.25878700613975525,
0.07482626289129257,
-0.04763726145029068,
-0.19734954833984375,
0.17404687404632568,
0.834632396697998,
-0.19613437354564667,
0.2542150914669037,
-0.04287329316139221,
0.012007884681224823,
-0.16337066888809204,
0.3853303790092468,
0.3202114701271057,
0.020792588591575623,
-0.26390838623046875,
0.29962342977523804,
-0.29905274510383606,
0.12000627815723419,
-0.19165290892124176,
-0.013993518427014351,
0.18185821175575256,
0.17015637457370758,
-0.06139446049928665,
-0.030143067240715027,
0.10605651885271072,
-0.4536415934562683,
-0.002872435376048088,
0.02408737689256668,
-0.2195235788822174,
-0.12867076694965363,
0.12163366377353668,
0.029588283970952034,
0.06571026891469955,
-0.39432767033576965,
0.0754956305027008,
0.07249670475721359,
0.09723547846078873,
-0.3166571855545044,
0.01669326424598694,
0.2151383012533188,
0.25265079736709595,
0.25398343801498413,
0.20794497430324554,
0.33164554834365845,
0.07036977261304855,
0.09582310169935226,
-0.3994334638118744,
-0.3495732545852661,
-0.3445073366165161,
0.016041893512010574,
-0.15694989264011383,
0.5965114831924438,
-0.28795960545539856,
-0.5061551928520203,
-0.362011581659317,
0.09601391106843948,
0.10511736571788788,
-0.2808544635772705,
-0.20179010927677155,
0.1834329068660736,
-0.4025211036205292,
0.34279119968414307,
0.2535628378391266,
-0.09806086868047714,
0.24482104182243347,
0.3333665430545807,
-0.3015100359916687,
-0.37713876366615295,
0.5819668769836426,
-0.44550907611846924,
-0.49402663111686707,
0.22483360767364502,
0.035274386405944824,
-0.11007962375879288,
-0.02674839459359646,
-0.4583677351474762,
0.24847319722175598,
0.13769760727882385,
-0.3479515016078949,
-0.3160349428653717,
0.008638938888907433,
0.1702643632888794,
0.20866407454013824,
-0.055956561118364334,
0.14567029476165771,
-0.07568589597940445,
-0.34608954191207886,
0.11846792697906494,
-0.03191234916448593
] |
https://github.com/huggingface/datasets/issues/1581 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers' | > Thanks for reporting !
> You can override the directory in which cache file are stored using for example
>
> ```
> ENV HF_HOME="/root/cache/hf_cache_home"
> ```
>
> This way both `transformers` and `datasets` will use this directory instead of the default `.cache`
can we disable caching directly? | I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
| 50 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
> Thanks for reporting !
> You can override the directory in which cache file are stored using for example
>
> ```
> ENV HF_HOME="/root/cache/hf_cache_home"
> ```
>
> This way both `transformers` and `datasets` will use this directory instead of the default `.cache`
can we disable caching directly? | [
-0.26019391417503357,
0.15375763177871704,
-0.08791576325893402,
0.1361185908317566,
0.05338235944509506,
0.05931984633207321,
0.6560070514678955,
0.1960311383008957,
0.1612776219844818,
-0.01366986334323883,
-0.3051159381866455,
-0.16839063167572021,
-0.032444339245557785,
-0.510906457901001,
-0.025965671986341476,
-0.2055930197238922,
0.05517354980111122,
-0.06763441860675812,
-0.3101544678211212,
-0.1253342628479004,
-0.09135370701551437,
-0.016897087916731834,
-0.007581844925880432,
0.10207974165678024,
-0.351379930973053,
0.023547597229480743,
0.3338409960269928,
-0.09798344224691391,
0.004927355796098709,
-0.11368101835250854,
0.3865947425365448,
0.1387622207403183,
0.1959904134273529,
0.8908079862594604,
-0.00011386849655536935,
0.364698588848114,
0.1204633116722107,
0.07541316002607346,
0.08663949370384216,
-0.20864133536815643,
-0.13870865106582642,
-0.24775059521198273,
-0.12011916935443878,
-0.08176038414239883,
0.0790475606918335,
0.009072688408195972,
0.014073817059397697,
-0.12140268832445145,
0.6044267416000366,
0.3587145507335663,
0.20279426872730255,
0.49039408564567566,
0.09081859886646271,
0.1236841008067131,
0.25372782349586487,
-0.03160307556390762,
-0.24834397435188293,
-0.07382792234420776,
-0.12432776391506195,
-0.2798888683319092,
-0.004701495170593262,
0.2760695517063141,
-0.05404180288314819,
0.1426950991153717,
0.21706482768058777,
-0.19405671954154968,
0.1225123330950737,
-0.3570999801158905,
-0.04122772067785263,
0.045318640768527985,
0.5151115655899048,
-0.06564310193061829,
-0.5028496980667114,
-0.18646568059921265,
-0.11892923712730408,
0.05840858072042465,
0.30263200402259827,
0.30468443036079407,
-0.03617741912603378,
0.2790156304836273,
-0.21445631980895996,
-0.15145133435726166,
-0.47300925850868225,
0.0950545072555542,
-0.23947079479694366,
0.3513741195201874,
0.062044598162174225,
0.19479262828826904,
-0.09114159643650055,
-0.07159028947353363,
0.6296565532684326,
-0.0060651469975709915,
0.14748898148536682,
0.29799386858940125,
-0.32393938302993774,
0.23162367939949036,
0.033177997916936874,
-0.5658232569694519,
-0.31283313035964966,
0.0865982323884964,
-0.23144076764583588,
-0.09240606427192688,
-0.07044339179992676,
0.3829045593738556,
-0.20214694738388062,
0.4120384156703949,
-0.3363807797431946,
0.7340707182884216,
0.3856591582298279,
-0.30472055077552795,
0.03326248750090599,
-0.043215394020080566,
-0.03741025552153587,
-0.08813883364200592,
-0.1260700225830078,
-0.03192222863435745,
0.14577269554138184,
0.09391289949417114,
-0.09843337535858154,
-0.03468150272965431,
0.08689676970243454,
-0.01001674309372902,
0.18542160093784332,
0.38152578473091125,
0.1036059781908989,
0.09915655851364136,
0.39013636112213135,
0.1196971982717514,
-0.015224281698465347,
0.05747159197926521,
-0.25006070733070374,
0.07202664762735367,
-0.09461836516857147,
-0.06414928287267685,
0.19876714050769806,
0.08668135106563568,
0.029890714213252068,
-0.10370095819234848,
0.23031628131866455,
-0.140620619058609,
0.4395028352737427,
-0.20773564279079437,
0.11424156278371811,
0.7253697514533997,
0.12368100881576538,
0.04058217257261276,
0.32526320219039917,
-0.1411765217781067,
0.038567982614040375,
0.11152709275484085,
-0.3354063928127289,
-0.1929330825805664,
0.04830536991357803,
0.13853566348552704,
-0.1338282823562622,
0.270851194858551,
-0.24604028463363647,
-0.13437248766422272,
0.37964096665382385,
-0.05941268056631088,
-0.038740672171115875,
-0.2568914294242859,
0.01892746612429619,
-0.1345490664243698,
-0.09949202835559845,
0.24764907360076904,
-0.1799388974905014,
-0.17853839695453644,
-0.04763741046190262,
0.01073445938527584,
-0.0975557491183281,
0.4373539388179779,
-0.1490982621908188,
0.36120933294296265,
-0.01225820928812027,
0.12157364189624786,
0.02134200930595398,
-0.5040408372879028,
-0.45079419016838074,
-0.0658407136797905,
-0.03176183998584747,
0.055245041847229004,
0.07705022394657135,
0.008005982264876366,
0.32634425163269043,
-0.239107146859169,
-0.27245885133743286,
0.3224855661392212,
0.214126855134964,
0.08870856463909149,
0.22979550063610077,
-0.18839587271213531,
-0.016739219427108765,
0.029926590621471405,
0.5327504873275757,
0.23559266328811646,
0.044531453400850296,
0.40130582451820374,
-0.18303018808364868,
-0.3429360091686249,
0.1383524239063263,
0.4372715950012207,
0.31348979473114014,
0.009820722043514252,
0.01957130990922451,
-0.03599880635738373,
-0.3422744870185852,
0.3768792450428009,
-0.1361483633518219,
0.19837158918380737,
-0.08840645849704742,
-0.001343458890914917,
-0.13734397292137146,
0.30429694056510925,
-0.0974787175655365,
-0.06246185675263405,
0.15741002559661865,
0.09149910509586334,
-0.029762525111436844,
-0.05235346406698227,
0.21315346658229828,
0.41223350167274475,
0.03037790022790432,
0.19243739545345306,
-0.013811895623803139,
0.41037699580192566,
-0.20208612084388733,
-0.04396997019648552,
-0.0946272537112236,
-0.07129985839128494,
0.15172997117042542,
-0.1395326554775238,
-0.20551294088363647,
0.16279911994934082,
-0.02852766402065754,
0.18272480368614197,
-0.50957190990448,
0.42736130952835083,
0.23665450513362885,
-0.04729804769158363,
0.05715879052877426,
0.11108359694480896,
-0.0023625961039215326,
-0.008951310068368912,
-0.04385693371295929,
0.04674168676137924,
0.07031093537807465,
0.0665786862373352,
-0.0663851797580719,
0.11591609567403793,
0.20436257123947144,
0.09289155900478363,
0.05802994966506958,
-0.035117801278829575,
0.09873397648334503,
0.10059210658073425,
-0.0032765697687864304,
-0.12620560824871063,
0.3256447911262512,
-0.284822553396225,
0.21493011713027954,
0.1594940423965454,
0.09419410675764084,
0.03787410259246826,
-0.0761304423213005,
0.17142468690872192,
0.32547709345817566,
0.3470337986946106,
0.22318395972251892,
0.03149697929620743,
0.024645201861858368,
-0.05499915033578873,
-0.05492568016052246,
-0.020639916881918907,
-0.11162730306386948,
0.1299440711736679,
0.1952214539051056,
0.07320883870124817,
0.06171572580933571,
0.03505423292517662,
-0.18385085463523865,
-0.27961254119873047,
0.09117218852043152,
0.39460843801498413,
-0.3553250730037689,
0.1200248971581459,
-0.03968636691570282,
0.05551891028881073,
0.13015292584896088,
0.018967028707265854,
-0.4570337235927582,
-0.2215028703212738,
-0.20296646654605865,
0.42108333110809326,
-0.11945915222167969,
0.1644144058227539,
-0.0810748040676117,
0.0509679913520813,
0.2963259518146515,
-0.12554137408733368,
-0.2593311071395874,
0.10433542728424072,
0.06259731203317642,
0.04257161542773247,
0.19250069558620453,
-0.5198507905006409,
0.19002053141593933,
0.17503835260868073,
0.18426235020160675,
-0.00837882049381733,
-0.5007291436195374,
0.048075541853904724,
-0.15370500087738037,
0.1523052603006363,
-0.14558063447475433,
0.2838713228702545,
0.04922515153884888,
-0.29095712304115295,
-0.021078869700431824,
-0.13726460933685303,
-0.06801512837409973,
-0.045319877564907074,
-0.06198424473404884,
-0.2530844807624817,
-0.19543328881263733,
-0.06982234865427017,
-0.29331931471824646,
-0.42128288745880127,
0.12250079214572906,
0.3711083233356476,
0.2529846429824829,
0.44076859951019287,
0.13771040737628937,
0.09211250394582748,
0.26906901597976685,
0.09945961833000183,
-0.0383627749979496,
-0.10742165893316269,
0.24517686665058136,
-0.31047698855400085,
-0.2563970685005188,
0.0066130273044109344,
0.011105641722679138,
0.283728688955307,
0.3374527096748352,
-0.3564891815185547,
-0.1421986222267151,
-0.3123047351837158,
-0.004187498241662979,
-0.08119571208953857,
0.11920484155416489,
0.04539775475859642,
-0.025792740285396576,
0.13074544072151184,
-0.16389256715774536,
0.034788716584444046,
-0.07955891638994217,
0.10422457009553909,
-0.07282231003046036,
0.09760983288288116,
0.09978468716144562,
0.21151119470596313,
0.6869978308677673,
-0.12913815677165985,
0.14133913815021515,
0.01830918714404106,
0.21512432396411896,
0.45130249857902527,
0.043445516377687454,
-0.2967941164970398,
0.06688570976257324,
0.08370829373598099,
-0.20622147619724274,
-0.13335397839546204,
0.04589928686618805,
-0.14973920583724976,
0.020668454468250275,
0.11788983643054962,
-0.047187745571136475,
-0.22599098086357117,
0.11343679577112198,
-0.0898844450712204,
0.33409982919692993,
0.18791887164115906,
0.05070248246192932,
-0.443408727645874,
-0.10771621018648148,
-0.05628109723329544,
0.38045263290405273,
0.08983799070119858,
0.15080882608890533,
-0.3076767027378082,
-0.09042636305093765,
-0.27491968870162964,
0.06113480031490326,
-0.08113785833120346,
0.5575762987136841,
-0.18521253764629364,
0.3113374710083008,
-0.044709473848342896,
0.18090853095054626,
0.4595348834991455,
-0.2760762870311737,
0.005392979830503464,
-0.10668157041072845,
-0.2819322347640991,
-0.34338364005088806,
-0.23908363282680511,
-0.08590219914913177,
-0.0639391764998436,
0.11368657648563385,
0.1906847059726715,
-0.07914687693119049,
-0.008477418683469296,
-0.14287428557872772,
-0.21934670209884644,
-0.13710008561611176,
-0.24797455966472626,
-0.11156626045703888,
-0.269183874130249,
-0.4986169636249542,
-0.12510734796524048,
0.3895348310470581,
-0.10923125594854355,
-0.12258798629045486,
0.10317511856555939,
-0.226003497838974,
0.06719787418842316,
0.19040611386299133,
0.1915997415781021,
0.026641208678483963,
-0.009567000903189182,
-0.1999967396259308,
0.20651698112487793,
-0.5022634267807007,
0.06269221752882004,
0.19732636213302612,
-0.12631191313266754,
-0.356732577085495,
-0.016329731792211533,
0.1559303104877472,
-0.13579896092414856,
0.0637567862868309,
-0.1743563562631607,
-0.0275263711810112,
0.025474263355135918,
-0.05044138431549072,
-0.07185447961091995,
0.31049129366874695,
-0.05589023977518082,
0.19566060602664948,
-0.10124729573726654,
-0.4688993990421295,
0.19685903191566467,
0.2237323373556137,
-0.07574824243783951,
0.16891562938690186,
0.09436806291341782,
-0.39896830916404724,
0.46683019399642944,
0.15838047862052917,
0.5565395355224609,
-0.35991692543029785,
0.09744316339492798,
0.31961506605148315,
0.06722463667392731,
0.695379912853241,
-0.6555452942848206,
0.3161596655845642,
-0.20793317258358002,
-0.35276299715042114,
-0.1493598073720932,
-0.3817497789859772,
0.18163084983825684,
0.06919032335281372,
-0.027342207729816437,
0.0941414013504982,
-0.0852651372551918,
0.3506408631801605,
0.17975986003875732,
0.20206278562545776,
0.0884777158498764,
-0.44483140110969543,
0.15288227796554565,
0.22949761152267456,
-0.27201175689697266,
0.3177684247493744,
-0.1780320107936859,
-0.027753975242376328,
-0.291852205991745,
0.02548500895500183,
-0.27476340532302856,
0.11615005880594254,
-0.2991314232349396,
0.5190947651863098,
0.11131367087364197,
0.046483114361763,
0.28793418407440186,
0.24458032846450806,
0.2088555246591568,
0.2620200216770172,
-0.22693932056427002,
0.06379629671573639,
-0.13031139969825745,
-0.09316115081310272,
-0.03921729326248169,
0.006658877246081829,
0.3359815180301666,
0.05962510406970978,
-0.05854097753763199,
-0.06652497500181198,
-0.16961675882339478,
-0.3609888553619385,
0.017403215169906616,
0.22940771281719208,
0.20241746306419373,
0.0064578247256577015,
-0.051013343036174774,
-0.011928081512451172,
-0.38251128792762756,
0.07267718017101288,
0.14926393330097198,
0.010934576392173767,
-0.25340646505355835,
0.23340994119644165,
-0.04548613354563713,
-0.2722892165184021,
0.0967668741941452,
0.3703702390193939,
0.11949776858091354,
-0.19713473320007324,
0.5597562789916992,
0.20433087646961212,
-0.289831280708313,
-0.03916601464152336,
-0.2040649652481079,
0.09313157945871353,
-0.45414456725120544,
-0.04464495927095413,
-0.45647475123405457,
-0.41412925720214844,
-0.018843652680516243,
-0.46147504448890686,
0.34597909450531006,
-0.007462024688720703,
-0.17365899682044983,
-0.40798884630203247,
-0.3153894543647766,
-0.0964629203081131,
-0.3273630440235138,
-0.00012177228927612305,
-0.006962999701499939,
-0.01824532076716423,
-0.07103882730007172,
0.16265501081943512,
-0.25917768478393555,
-0.2372058779001236,
-0.344459593296051,
0.006200382485985756,
0.3342401683330536,
-0.22125595808029175,
0.04363379627466202,
-0.18109436333179474,
0.025680245831608772,
0.14668989181518555,
-0.3872324228286743,
-0.18461114168167114,
-0.26417988538742065,
0.110768161714077,
0.2623438537120819,
-0.32764893770217896,
-0.06802695244550705,
-0.34715408086776733,
-0.09141509234905243,
-0.1358477771282196,
0.16200706362724304,
0.26431038975715637,
-0.11826799809932709,
0.18543745577335358,
-0.1474616974592209,
0.27187851071357727,
-0.01950272172689438,
0.17738160490989685,
-0.026876121759414673,
0.0644543394446373,
0.03844184800982475,
0.38233479857444763,
0.13267937302589417,
0.06032191216945648,
-0.6228340864181519,
0.11320251226425171,
0.03758496046066284,
0.15171125531196594,
0.39311298727989197,
-0.34608572721481323,
0.3375236690044403,
-0.03623950481414795,
0.06055275350809097,
-0.1529017686843872,
-0.3420253396034241,
-0.06917455792427063,
0.11604585498571396,
0.16422629356384277,
0.0276590995490551,
-0.09630338102579117,
0.05487009882926941,
0.03271971642971039,
0.09876137971878052,
0.26904934644699097,
0.26195386052131653,
-0.04063403233885765,
-0.012445665895938873,
0.3720315396785736,
0.6341762542724609,
-0.2661922574043274,
0.2063337117433548,
0.24768568575382233,
-0.23349715769290924,
0.1992756873369217,
0.2232559323310852,
-0.0020312778651714325,
0.00013585388660430908,
0.19903717935085297,
0.1524522304534912,
-0.05407150089740753,
0.02052491158246994,
-0.18347123265266418,
0.33609169721603394,
-0.21243664622306824,
-0.12753158807754517,
-0.03996330499649048,
0.1181052178144455,
0.23080974817276,
-0.03970533609390259,
-0.3249219059944153,
0.026186995208263397,
-0.010464569553732872,
-0.2011927366256714,
0.195068359375,
-0.14026296138763428,
0.04432523250579834,
0.04285199195146561,
0.2038140892982483,
0.013280652463436127,
-0.2877649962902069,
0.12713755667209625,
-0.47797471284866333,
-0.3058706223964691,
0.3640509247779846,
-0.13408340513706207,
0.09858501702547073,
0.06168678030371666,
0.2978544235229492,
-0.22024068236351013,
-0.19689270853996277,
0.08386045694351196,
0.10720523446798325,
-0.11164997518062592,
-0.08257326483726501,
0.0934758111834526,
0.5431833863258362,
0.28934037685394287,
0.15996591746807098,
0.26315510272979736,
0.09807160496711731,
-0.05940668284893036,
-0.09065710008144379,
0.3076894283294678,
-0.2290302813053131,
0.17995585501194,
0.11973679065704346,
0.09251268208026886,
-0.21267984807491302,
-0.2806040048599243,
0.09323611110448837,
0.09015484154224396,
-0.0003153011202812195,
0.2890574634075165,
-0.26148805022239685,
-0.25878700613975525,
0.07482626289129257,
-0.04763726145029068,
-0.19734954833984375,
0.17404687404632568,
0.834632396697998,
-0.19613437354564667,
0.2542150914669037,
-0.04287329316139221,
0.012007884681224823,
-0.16337066888809204,
0.3853303790092468,
0.3202114701271057,
0.020792588591575623,
-0.26390838623046875,
0.29962342977523804,
-0.29905274510383606,
0.12000627815723419,
-0.19165290892124176,
-0.013993518427014351,
0.18185821175575256,
0.17015637457370758,
-0.06139446049928665,
-0.030143067240715027,
0.10605651885271072,
-0.4536415934562683,
-0.002872435376048088,
0.02408737689256668,
-0.2195235788822174,
-0.12867076694965363,
0.12163366377353668,
0.029588283970952034,
0.06571026891469955,
-0.39432767033576965,
0.0754956305027008,
0.07249670475721359,
0.09723547846078873,
-0.3166571855545044,
0.01669326424598694,
0.2151383012533188,
0.25265079736709595,
0.25398343801498413,
0.20794497430324554,
0.33164554834365845,
0.07036977261304855,
0.09582310169935226,
-0.3994334638118744,
-0.3495732545852661,
-0.3445073366165161,
0.016041893512010574,
-0.15694989264011383,
0.5965114831924438,
-0.28795960545539856,
-0.5061551928520203,
-0.362011581659317,
0.09601391106843948,
0.10511736571788788,
-0.2808544635772705,
-0.20179010927677155,
0.1834329068660736,
-0.4025211036205292,
0.34279119968414307,
0.2535628378391266,
-0.09806086868047714,
0.24482104182243347,
0.3333665430545807,
-0.3015100359916687,
-0.37713876366615295,
0.5819668769836426,
-0.44550907611846924,
-0.49402663111686707,
0.22483360767364502,
0.035274386405944824,
-0.11007962375879288,
-0.02674839459359646,
-0.4583677351474762,
0.24847319722175598,
0.13769760727882385,
-0.3479515016078949,
-0.3160349428653717,
0.008638938888907433,
0.1702643632888794,
0.20866407454013824,
-0.055956561118364334,
0.14567029476165771,
-0.07568589597940445,
-0.34608954191207886,
0.11846792697906494,
-0.03191234916448593
] |
https://github.com/huggingface/datasets/issues/1581 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers' | Hi ! Unfortunately no since we need this directory to load datasets.
When you load a dataset, it downloads the raw data files in the cache directory inside <cache_dir>/downloads. Then it builds the dataset and saves it as arrow data inside <cache_dir>/<dataset_name>.
However you can specify the directory of your choice, and it can be a temporary directory if you want to clean everything up at one point. | I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
| 68 | Installing datasets and transformers in a tensorflow docker image throws Permission Error on 'import transformers'
I am using a docker container, based on latest tensorflow-gpu image, to run transformers and datasets (4.0.1 and 1.1.3 respectively - Dockerfile attached below). Importing transformers throws a Permission Error to access `/.cache`:
```
$ docker run --gpus=all --rm -it -u $(id -u):$(id -g) -v $(pwd)/data:/root/data -v $(pwd):/root -v $(pwd)/models/:/root/models -v $(pwd)/saved_models/:/root/saved_models -e "HOST_HOSTNAME=$(hostname)" hf-error:latest /bin/bash
________ _______________
___ __/__________________________________ ____/__ /________ __
__ / _ _ \_ __ \_ ___/ __ \_ ___/_ /_ __ /_ __ \_ | /| / /
_ / / __/ / / /(__ )/ /_/ / / _ __/ _ / / /_/ /_ |/ |/ /
/_/ \___//_/ /_//____/ \____//_/ /_/ /_/ \____/____/|__/
You are running this container as user with ID 1000 and group 1000,
which should map to the ID and group for your user on the Docker host. Great!
tf-docker /root > python
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import transformers
2020-12-15 23:53:21.165827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/transformers/__init__.py", line 22, in <module>
from .integrations import ( # isort:skip
File "/usr/local/lib/python3.6/dist-packages/transformers/integrations.py", line 5, in <module>
from .trainer_utils import EvaluationStrategy
File "/usr/local/lib/python3.6/dist-packages/transformers/trainer_utils.py", line 25, in <module>
from .file_utils import is_tf_available, is_torch_available, is_torch_tpu_available
File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 88, in <module>
import datasets # noqa: F401
File "/usr/local/lib/python3.6/dist-packages/datasets/__init__.py", line 26, in <module>
from .arrow_dataset import Dataset, concatenate_datasets
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py", line 40, in <module>
from .arrow_reader import ArrowReader
File "/usr/local/lib/python3.6/dist-packages/datasets/arrow_reader.py", line 31, in <module>
from .utils import cached_path, logging
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/__init__.py", line 20, in <module>
from .download_manager import DownloadManager, GenerateMode
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/download_manager.py", line 25, in <module>
from .file_utils import HF_DATASETS_CACHE, cached_path, get_from_cache, hash_url_to_filename
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 118, in <module>
os.makedirs(HF_MODULES_CACHE, exist_ok=True)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.6/os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/.cache'
```
I've pinned the problem to `RUN pip install datasets`, and by commenting it you can actually import transformers correctly. Another workaround I've found is creating the directory and giving permissions to it directly on the Dockerfile.
```
FROM tensorflow/tensorflow:latest-gpu-jupyter
WORKDIR /root
EXPOSE 80
EXPOSE 8888
EXPOSE 6006
ENV SHELL /bin/bash
ENV PATH="/root/.local/bin:${PATH}"
ENV CUDA_CACHE_PATH="/root/cache/cuda"
ENV CUDA_CACHE_MAXSIZE="4294967296"
ENV TFHUB_CACHE_DIR="/root/cache/tfhub"
RUN pip install --upgrade pip
RUN apt update -y && apt upgrade -y
RUN pip install transformers
#Installing datasets will throw the error, try commenting and rebuilding
RUN pip install datasets
#Another workaround is creating the directory and give permissions explicitly
#RUN mkdir /.cache
#RUN chmod 777 /.cache
```
Hi ! Unfortunately no since we need this directory to load datasets.
When you load a dataset, it downloads the raw data files in the cache directory inside <cache_dir>/downloads. Then it builds the dataset and saves it as arrow data inside <cache_dir>/<dataset_name>.
However you can specify the directory of your choice, and it can be a temporary directory if you want to clean everything up at one point. | [
-0.26019391417503357,
0.15375763177871704,
-0.08791576325893402,
0.1361185908317566,
0.05338235944509506,
0.05931984633207321,
0.6560070514678955,
0.1960311383008957,
0.1612776219844818,
-0.01366986334323883,
-0.3051159381866455,
-0.16839063167572021,
-0.032444339245557785,
-0.510906457901001,
-0.025965671986341476,
-0.2055930197238922,
0.05517354980111122,
-0.06763441860675812,
-0.3101544678211212,
-0.1253342628479004,
-0.09135370701551437,
-0.016897087916731834,
-0.007581844925880432,
0.10207974165678024,
-0.351379930973053,
0.023547597229480743,
0.3338409960269928,
-0.09798344224691391,
0.004927355796098709,
-0.11368101835250854,
0.3865947425365448,
0.1387622207403183,
0.1959904134273529,
0.8908079862594604,
-0.00011386849655536935,
0.364698588848114,
0.1204633116722107,
0.07541316002607346,
0.08663949370384216,
-0.20864133536815643,
-0.13870865106582642,
-0.24775059521198273,
-0.12011916935443878,
-0.08176038414239883,
0.0790475606918335,
0.009072688408195972,
0.014073817059397697,
-0.12140268832445145,
0.6044267416000366,
0.3587145507335663,
0.20279426872730255,
0.49039408564567566,
0.09081859886646271,
0.1236841008067131,
0.25372782349586487,
-0.03160307556390762,
-0.24834397435188293,
-0.07382792234420776,
-0.12432776391506195,
-0.2798888683319092,
-0.004701495170593262,
0.2760695517063141,
-0.05404180288314819,
0.1426950991153717,
0.21706482768058777,
-0.19405671954154968,
0.1225123330950737,
-0.3570999801158905,
-0.04122772067785263,
0.045318640768527985,
0.5151115655899048,
-0.06564310193061829,
-0.5028496980667114,
-0.18646568059921265,
-0.11892923712730408,
0.05840858072042465,
0.30263200402259827,
0.30468443036079407,
-0.03617741912603378,
0.2790156304836273,
-0.21445631980895996,
-0.15145133435726166,
-0.47300925850868225,
0.0950545072555542,
-0.23947079479694366,
0.3513741195201874,
0.062044598162174225,
0.19479262828826904,
-0.09114159643650055,
-0.07159028947353363,
0.6296565532684326,
-0.0060651469975709915,
0.14748898148536682,
0.29799386858940125,
-0.32393938302993774,
0.23162367939949036,
0.033177997916936874,
-0.5658232569694519,
-0.31283313035964966,
0.0865982323884964,
-0.23144076764583588,
-0.09240606427192688,
-0.07044339179992676,
0.3829045593738556,
-0.20214694738388062,
0.4120384156703949,
-0.3363807797431946,
0.7340707182884216,
0.3856591582298279,
-0.30472055077552795,
0.03326248750090599,
-0.043215394020080566,
-0.03741025552153587,
-0.08813883364200592,
-0.1260700225830078,
-0.03192222863435745,
0.14577269554138184,
0.09391289949417114,
-0.09843337535858154,
-0.03468150272965431,
0.08689676970243454,
-0.01001674309372902,
0.18542160093784332,
0.38152578473091125,
0.1036059781908989,
0.09915655851364136,
0.39013636112213135,
0.1196971982717514,
-0.015224281698465347,
0.05747159197926521,
-0.25006070733070374,
0.07202664762735367,
-0.09461836516857147,
-0.06414928287267685,
0.19876714050769806,
0.08668135106563568,
0.029890714213252068,
-0.10370095819234848,
0.23031628131866455,
-0.140620619058609,
0.4395028352737427,
-0.20773564279079437,
0.11424156278371811,
0.7253697514533997,
0.12368100881576538,
0.04058217257261276,
0.32526320219039917,
-0.1411765217781067,
0.038567982614040375,
0.11152709275484085,
-0.3354063928127289,
-0.1929330825805664,
0.04830536991357803,
0.13853566348552704,
-0.1338282823562622,
0.270851194858551,
-0.24604028463363647,
-0.13437248766422272,
0.37964096665382385,
-0.05941268056631088,
-0.038740672171115875,
-0.2568914294242859,
0.01892746612429619,
-0.1345490664243698,
-0.09949202835559845,
0.24764907360076904,
-0.1799388974905014,
-0.17853839695453644,
-0.04763741046190262,
0.01073445938527584,
-0.0975557491183281,
0.4373539388179779,
-0.1490982621908188,
0.36120933294296265,
-0.01225820928812027,
0.12157364189624786,
0.02134200930595398,
-0.5040408372879028,
-0.45079419016838074,
-0.0658407136797905,
-0.03176183998584747,
0.055245041847229004,
0.07705022394657135,
0.008005982264876366,
0.32634425163269043,
-0.239107146859169,
-0.27245885133743286,
0.3224855661392212,
0.214126855134964,
0.08870856463909149,
0.22979550063610077,
-0.18839587271213531,
-0.016739219427108765,
0.029926590621471405,
0.5327504873275757,
0.23559266328811646,
0.044531453400850296,
0.40130582451820374,
-0.18303018808364868,
-0.3429360091686249,
0.1383524239063263,
0.4372715950012207,
0.31348979473114014,
0.009820722043514252,
0.01957130990922451,
-0.03599880635738373,
-0.3422744870185852,
0.3768792450428009,
-0.1361483633518219,
0.19837158918380737,
-0.08840645849704742,
-0.001343458890914917,
-0.13734397292137146,
0.30429694056510925,
-0.0974787175655365,
-0.06246185675263405,
0.15741002559661865,
0.09149910509586334,
-0.029762525111436844,
-0.05235346406698227,
0.21315346658229828,
0.41223350167274475,
0.03037790022790432,
0.19243739545345306,
-0.013811895623803139,
0.41037699580192566,
-0.20208612084388733,
-0.04396997019648552,
-0.0946272537112236,
-0.07129985839128494,
0.15172997117042542,
-0.1395326554775238,
-0.20551294088363647,
0.16279911994934082,
-0.02852766402065754,
0.18272480368614197,
-0.50957190990448,
0.42736130952835083,
0.23665450513362885,
-0.04729804769158363,
0.05715879052877426,
0.11108359694480896,
-0.0023625961039215326,
-0.008951310068368912,
-0.04385693371295929,
0.04674168676137924,
0.07031093537807465,
0.0665786862373352,
-0.0663851797580719,
0.11591609567403793,
0.20436257123947144,
0.09289155900478363,
0.05802994966506958,
-0.035117801278829575,
0.09873397648334503,
0.10059210658073425,
-0.0032765697687864304,
-0.12620560824871063,
0.3256447911262512,
-0.284822553396225,
0.21493011713027954,
0.1594940423965454,
0.09419410675764084,
0.03787410259246826,
-0.0761304423213005,
0.17142468690872192,
0.32547709345817566,
0.3470337986946106,
0.22318395972251892,
0.03149697929620743,
0.024645201861858368,
-0.05499915033578873,
-0.05492568016052246,
-0.020639916881918907,
-0.11162730306386948,
0.1299440711736679,
0.1952214539051056,
0.07320883870124817,
0.06171572580933571,
0.03505423292517662,
-0.18385085463523865,
-0.27961254119873047,
0.09117218852043152,
0.39460843801498413,
-0.3553250730037689,
0.1200248971581459,
-0.03968636691570282,
0.05551891028881073,
0.13015292584896088,
0.018967028707265854,
-0.4570337235927582,
-0.2215028703212738,
-0.20296646654605865,
0.42108333110809326,
-0.11945915222167969,
0.1644144058227539,
-0.0810748040676117,
0.0509679913520813,
0.2963259518146515,
-0.12554137408733368,
-0.2593311071395874,
0.10433542728424072,
0.06259731203317642,
0.04257161542773247,
0.19250069558620453,
-0.5198507905006409,
0.19002053141593933,
0.17503835260868073,
0.18426235020160675,
-0.00837882049381733,
-0.5007291436195374,
0.048075541853904724,
-0.15370500087738037,
0.1523052603006363,
-0.14558063447475433,
0.2838713228702545,
0.04922515153884888,
-0.29095712304115295,
-0.021078869700431824,
-0.13726460933685303,
-0.06801512837409973,
-0.045319877564907074,
-0.06198424473404884,
-0.2530844807624817,
-0.19543328881263733,
-0.06982234865427017,
-0.29331931471824646,
-0.42128288745880127,
0.12250079214572906,
0.3711083233356476,
0.2529846429824829,
0.44076859951019287,
0.13771040737628937,
0.09211250394582748,
0.26906901597976685,
0.09945961833000183,
-0.0383627749979496,
-0.10742165893316269,
0.24517686665058136,
-0.31047698855400085,
-0.2563970685005188,
0.0066130273044109344,
0.011105641722679138,
0.283728688955307,
0.3374527096748352,
-0.3564891815185547,
-0.1421986222267151,
-0.3123047351837158,
-0.004187498241662979,
-0.08119571208953857,
0.11920484155416489,
0.04539775475859642,
-0.025792740285396576,
0.13074544072151184,
-0.16389256715774536,
0.034788716584444046,
-0.07955891638994217,
0.10422457009553909,
-0.07282231003046036,
0.09760983288288116,
0.09978468716144562,
0.21151119470596313,
0.6869978308677673,
-0.12913815677165985,
0.14133913815021515,
0.01830918714404106,
0.21512432396411896,
0.45130249857902527,
0.043445516377687454,
-0.2967941164970398,
0.06688570976257324,
0.08370829373598099,
-0.20622147619724274,
-0.13335397839546204,
0.04589928686618805,
-0.14973920583724976,
0.020668454468250275,
0.11788983643054962,
-0.047187745571136475,
-0.22599098086357117,
0.11343679577112198,
-0.0898844450712204,
0.33409982919692993,
0.18791887164115906,
0.05070248246192932,
-0.443408727645874,
-0.10771621018648148,
-0.05628109723329544,
0.38045263290405273,
0.08983799070119858,
0.15080882608890533,
-0.3076767027378082,
-0.09042636305093765,
-0.27491968870162964,
0.06113480031490326,
-0.08113785833120346,
0.5575762987136841,
-0.18521253764629364,
0.3113374710083008,
-0.044709473848342896,
0.18090853095054626,
0.4595348834991455,
-0.2760762870311737,
0.005392979830503464,
-0.10668157041072845,
-0.2819322347640991,
-0.34338364005088806,
-0.23908363282680511,
-0.08590219914913177,
-0.0639391764998436,
0.11368657648563385,
0.1906847059726715,
-0.07914687693119049,
-0.008477418683469296,
-0.14287428557872772,
-0.21934670209884644,
-0.13710008561611176,
-0.24797455966472626,
-0.11156626045703888,
-0.269183874130249,
-0.4986169636249542,
-0.12510734796524048,
0.3895348310470581,
-0.10923125594854355,
-0.12258798629045486,
0.10317511856555939,
-0.226003497838974,
0.06719787418842316,
0.19040611386299133,
0.1915997415781021,
0.026641208678483963,
-0.009567000903189182,
-0.1999967396259308,
0.20651698112487793,
-0.5022634267807007,
0.06269221752882004,
0.19732636213302612,
-0.12631191313266754,
-0.356732577085495,
-0.016329731792211533,
0.1559303104877472,
-0.13579896092414856,
0.0637567862868309,
-0.1743563562631607,
-0.0275263711810112,
0.025474263355135918,
-0.05044138431549072,
-0.07185447961091995,
0.31049129366874695,
-0.05589023977518082,
0.19566060602664948,
-0.10124729573726654,
-0.4688993990421295,
0.19685903191566467,
0.2237323373556137,
-0.07574824243783951,
0.16891562938690186,
0.09436806291341782,
-0.39896830916404724,
0.46683019399642944,
0.15838047862052917,
0.5565395355224609,
-0.35991692543029785,
0.09744316339492798,
0.31961506605148315,
0.06722463667392731,
0.695379912853241,
-0.6555452942848206,
0.3161596655845642,
-0.20793317258358002,
-0.35276299715042114,
-0.1493598073720932,
-0.3817497789859772,
0.18163084983825684,
0.06919032335281372,
-0.027342207729816437,
0.0941414013504982,
-0.0852651372551918,
0.3506408631801605,
0.17975986003875732,
0.20206278562545776,
0.0884777158498764,
-0.44483140110969543,
0.15288227796554565,
0.22949761152267456,
-0.27201175689697266,
0.3177684247493744,
-0.1780320107936859,
-0.027753975242376328,
-0.291852205991745,
0.02548500895500183,
-0.27476340532302856,
0.11615005880594254,
-0.2991314232349396,
0.5190947651863098,
0.11131367087364197,
0.046483114361763,
0.28793418407440186,
0.24458032846450806,
0.2088555246591568,
0.2620200216770172,
-0.22693932056427002,
0.06379629671573639,
-0.13031139969825745,
-0.09316115081310272,
-0.03921729326248169,
0.006658877246081829,
0.3359815180301666,
0.05962510406970978,
-0.05854097753763199,
-0.06652497500181198,
-0.16961675882339478,
-0.3609888553619385,
0.017403215169906616,
0.22940771281719208,
0.20241746306419373,
0.0064578247256577015,
-0.051013343036174774,
-0.011928081512451172,
-0.38251128792762756,
0.07267718017101288,
0.14926393330097198,
0.010934576392173767,
-0.25340646505355835,
0.23340994119644165,
-0.04548613354563713,
-0.2722892165184021,
0.0967668741941452,
0.3703702390193939,
0.11949776858091354,
-0.19713473320007324,
0.5597562789916992,
0.20433087646961212,
-0.289831280708313,
-0.03916601464152336,
-0.2040649652481079,
0.09313157945871353,
-0.45414456725120544,
-0.04464495927095413,
-0.45647475123405457,
-0.41412925720214844,
-0.018843652680516243,
-0.46147504448890686,
0.34597909450531006,
-0.007462024688720703,
-0.17365899682044983,
-0.40798884630203247,
-0.3153894543647766,
-0.0964629203081131,
-0.3273630440235138,
-0.00012177228927612305,
-0.006962999701499939,
-0.01824532076716423,
-0.07103882730007172,
0.16265501081943512,
-0.25917768478393555,
-0.2372058779001236,
-0.344459593296051,
0.006200382485985756,
0.3342401683330536,
-0.22125595808029175,
0.04363379627466202,
-0.18109436333179474,
0.025680245831608772,
0.14668989181518555,
-0.3872324228286743,
-0.18461114168167114,
-0.26417988538742065,
0.110768161714077,
0.2623438537120819,
-0.32764893770217896,
-0.06802695244550705,
-0.34715408086776733,
-0.09141509234905243,
-0.1358477771282196,
0.16200706362724304,
0.26431038975715637,
-0.11826799809932709,
0.18543745577335358,
-0.1474616974592209,
0.27187851071357727,
-0.01950272172689438,
0.17738160490989685,
-0.026876121759414673,
0.0644543394446373,
0.03844184800982475,
0.38233479857444763,
0.13267937302589417,
0.06032191216945648,
-0.6228340864181519,
0.11320251226425171,
0.03758496046066284,
0.15171125531196594,
0.39311298727989197,
-0.34608572721481323,
0.3375236690044403,
-0.03623950481414795,
0.06055275350809097,
-0.1529017686843872,
-0.3420253396034241,
-0.06917455792427063,
0.11604585498571396,
0.16422629356384277,
0.0276590995490551,
-0.09630338102579117,
0.05487009882926941,
0.03271971642971039,
0.09876137971878052,
0.26904934644699097,
0.26195386052131653,
-0.04063403233885765,
-0.012445665895938873,
0.3720315396785736,
0.6341762542724609,
-0.2661922574043274,
0.2063337117433548,
0.24768568575382233,
-0.23349715769290924,
0.1992756873369217,
0.2232559323310852,
-0.0020312778651714325,
0.00013585388660430908,
0.19903717935085297,
0.1524522304534912,
-0.05407150089740753,
0.02052491158246994,
-0.18347123265266418,
0.33609169721603394,
-0.21243664622306824,
-0.12753158807754517,
-0.03996330499649048,
0.1181052178144455,
0.23080974817276,
-0.03970533609390259,
-0.3249219059944153,
0.026186995208263397,
-0.010464569553732872,
-0.2011927366256714,
0.195068359375,
-0.14026296138763428,
0.04432523250579834,
0.04285199195146561,
0.2038140892982483,
0.013280652463436127,
-0.2877649962902069,
0.12713755667209625,
-0.47797471284866333,
-0.3058706223964691,
0.3640509247779846,
-0.13408340513706207,
0.09858501702547073,
0.06168678030371666,
0.2978544235229492,
-0.22024068236351013,
-0.19689270853996277,
0.08386045694351196,
0.10720523446798325,
-0.11164997518062592,
-0.08257326483726501,
0.0934758111834526,
0.5431833863258362,
0.28934037685394287,
0.15996591746807098,
0.26315510272979736,
0.09807160496711731,
-0.05940668284893036,
-0.09065710008144379,
0.3076894283294678,
-0.2290302813053131,
0.17995585501194,
0.11973679065704346,
0.09251268208026886,
-0.21267984807491302,
-0.2806040048599243,
0.09323611110448837,
0.09015484154224396,
-0.0003153011202812195,
0.2890574634075165,
-0.26148805022239685,
-0.25878700613975525,
0.07482626289129257,
-0.04763726145029068,
-0.19734954833984375,
0.17404687404632568,
0.834632396697998,
-0.19613437354564667,
0.2542150914669037,
-0.04287329316139221,
0.012007884681224823,
-0.16337066888809204,
0.3853303790092468,
0.3202114701271057,
0.020792588591575623,
-0.26390838623046875,
0.29962342977523804,
-0.29905274510383606,
0.12000627815723419,
-0.19165290892124176,
-0.013993518427014351,
0.18185821175575256,
0.17015637457370758,
-0.06139446049928665,
-0.030143067240715027,
0.10605651885271072,
-0.4536415934562683,
-0.002872435376048088,
0.02408737689256668,
-0.2195235788822174,
-0.12867076694965363,
0.12163366377353668,
0.029588283970952034,
0.06571026891469955,
-0.39432767033576965,
0.0754956305027008,
0.07249670475721359,
0.09723547846078873,
-0.3166571855545044,
0.01669326424598694,
0.2151383012533188,
0.25265079736709595,
0.25398343801498413,
0.20794497430324554,
0.33164554834365845,
0.07036977261304855,
0.09582310169935226,
-0.3994334638118744,
-0.3495732545852661,
-0.3445073366165161,
0.016041893512010574,
-0.15694989264011383,
0.5965114831924438,
-0.28795960545539856,
-0.5061551928520203,
-0.362011581659317,
0.09601391106843948,
0.10511736571788788,
-0.2808544635772705,
-0.20179010927677155,
0.1834329068660736,
-0.4025211036205292,
0.34279119968414307,
0.2535628378391266,
-0.09806086868047714,
0.24482104182243347,
0.3333665430545807,
-0.3015100359916687,
-0.37713876366615295,
0.5819668769836426,
-0.44550907611846924,
-0.49402663111686707,
0.22483360767364502,
0.035274386405944824,
-0.11007962375879288,
-0.02674839459359646,
-0.4583677351474762,
0.24847319722175598,
0.13769760727882385,
-0.3479515016078949,
-0.3160349428653717,
0.008638938888907433,
0.1702643632888794,
0.20866407454013824,
-0.055956561118364334,
0.14567029476165771,
-0.07568589597940445,
-0.34608954191207886,
0.11846792697906494,
-0.03191234916448593
] |
https://github.com/huggingface/datasets/issues/1541 | connection issue while downloading data | could you tell me how I can avoid download, by pre-downloading the data first, put them in a folder so the code does not try to redownload? could you tell me the path to put the downloaded data, and how to do it? thanks
@lhoestq | Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks
```
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 361, in <module>
main()
File "finetune_t5_trainer.py", line 269, in main
add_prefix=False if training_args.train_adapters else True)
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset
return datasets.load_dataset('glue', 'cola', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
``` | 45 | connection issue while downloading data
Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks
```
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 361, in <module>
main()
File "finetune_t5_trainer.py", line 269, in main
add_prefix=False if training_args.train_adapters else True)
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset
return datasets.load_dataset('glue', 'cola', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
```
could you tell me how I can avoid download, by pre-downloading the data first, put them in a folder so the code does not try to redownload? could you tell me the path to put the downloaded data, and how to do it? thanks
@lhoestq | [
-0.23484058678150177,
-0.026418231427669525,
-0.16849574446678162,
0.3393735885620117,
0.43915778398513794,
-0.1407119631767273,
0.15639817714691162,
0.3509829342365265,
-0.21380732953548431,
0.06850869953632355,
-0.02089734934270382,
-0.10968641936779022,
0.07043556123971939,
0.5369913578033447,
-0.15150418877601624,
-0.23888781666755676,
-0.18773281574249268,
0.028061389923095703,
-0.2314402163028717,
0.042034752666950226,
-0.12957394123077393,
0.25903335213661194,
-0.06210217624902725,
0.17306038737297058,
0.0358288548886776,
-0.11314398795366287,
0.12265883386135101,
0.14596928656101227,
-0.28016138076782227,
-0.38385987281799316,
0.15420924127101898,
0.17454834282398224,
-0.051769424229860306,
0.20622187852859497,
-0.00010889439727179706,
0.10769040882587433,
0.30794650316238403,
-0.10704699158668518,
-0.2203332632780075,
-0.1559581607580185,
0.040047042071819305,
0.09561700373888016,
0.193454772233963,
-0.04383311793208122,
-0.1365969181060791,
0.434664249420166,
0.0030511971563100815,
0.02376411110162735,
0.451521098613739,
0.44716259837150574,
0.25726044178009033,
0.18208301067352295,
0.3130951523780823,
-0.1857018619775772,
0.040604718029499054,
-0.4782786965370178,
0.023144850507378578,
0.3593069016933441,
0.2628660202026367,
-0.2473662793636322,
0.21748670935630798,
0.12158522009849548,
0.0678003653883934,
-0.11032749712467194,
0.08817475289106369,
-0.09931046515703201,
0.09093466401100159,
-0.37027373909950256,
0.043435122817754745,
0.17799746990203857,
0.6764322519302368,
0.042095523327589035,
-0.13455432653427124,
0.20678362250328064,
-0.05631033703684807,
-0.20220662653446198,
0.3282393515110016,
-0.029324272647500038,
-0.18380548059940338,
0.16036993265151978,
-0.045853063464164734,
-0.06829226762056351,
-0.3555367588996887,
0.2799239158630371,
-0.0877680629491806,
0.08899209648370743,
0.05979599058628082,
0.12906008958816528,
-0.0441390760242939,
-0.08502640575170517,
0.11783728003501892,
0.1198885440826416,
-0.015531446784734726,
-0.013937779702246189,
-0.4044624865055084,
-0.038215961307287216,
-0.04939098656177521,
-0.16490066051483154,
0.08930642902851105,
0.19169872999191284,
0.3861718475818634,
-0.16561570763587952,
0.18510520458221436,
0.1951490044593811,
0.3030421733856201,
0.025145307183265686,
-0.15356123447418213,
0.2802618145942688,
0.48533278703689575,
0.3582318425178528,
0.1091378927230835,
-0.11685288697481155,
-0.07934901118278503,
-0.4436267912387848,
-0.1070656031370163,
0.19319596886634827,
0.14817526936531067,
-0.17132973670959473,
-0.25802358984947205,
0.18386121094226837,
-0.1554703414440155,
0.2243509441614151,
0.19146347045898438,
0.40516018867492676,
-0.29337579011917114,
-0.12063112109899521,
0.20532791316509247,
0.055620692670345306,
-0.13465729355812073,
-0.24758440256118774,
-0.1776149421930313,
0.12701398134231567,
0.0032317154109477997,
-0.1961534023284912,
0.11298824846744537,
-0.18060718476772308,
0.3181101083755493,
-0.13544350862503052,
0.16546350717544556,
-0.15479576587677002,
-0.0770798772573471,
-0.3587571978569031,
-0.42655327916145325,
0.3428647816181183,
-0.05158499628305435,
-0.10061817616224289,
0.12178166210651398,
-0.027178026735782623,
0.13962194323539734,
-0.1921750009059906,
-0.25948581099510193,
-0.4317108690738678,
-0.21481432020664215,
0.3007485568523407,
0.0068480148911476135,
-0.04608968645334244,
-0.0009698569774627686,
-0.13414137065410614,
0.16351155936717987,
-0.39072462916374207,
0.034153006970882416,
-0.34280967712402344,
0.01679585501551628,
-0.3032228946685791,
0.26726481318473816,
0.500035285949707,
-0.4822484254837036,
0.0011322200298309326,
-0.08242786675691605,
-0.2504619359970093,
0.1914060115814209,
0.298963338136673,
-0.24371865391731262,
0.10512130707502365,
-0.15357878804206848,
0.06785033643245697,
0.39296460151672363,
-0.3507173955440521,
-0.47488927841186523,
0.38052740693092346,
-0.14703643321990967,
-0.2910527288913727,
-0.03794112056493759,
0.06436506658792496,
0.21326036751270294,
0.07812914252281189,
0.14322933554649353,
0.3018903136253357,
-0.0660439282655716,
-0.28960829973220825,
-0.2765759527683258,
-0.2182384729385376,
0.08533961325883865,
0.4488564431667328,
0.3002043664455414,
0.03658729046583176,
0.30327555537223816,
-0.3245079219341278,
-0.04626505821943283,
0.07777152955532074,
0.07127638906240463,
0.32338088750839233,
0.34489989280700684,
0.11763571202754974,
-0.02035529911518097,
0.37611085176467896,
-0.5498911142349243,
0.1730107069015503,
-0.42781686782836914,
0.20518267154693604,
-0.37521660327911377,
0.14599250257015228,
-0.18225285410881042,
-0.03546580672264099,
-0.1066942811012268,
-0.04417017474770546,
0.24708732962608337,
-0.31189894676208496,
0.09673817455768585,
0.1461653858423233,
0.1997203677892685,
0.49786368012428284,
-0.24755792319774628,
0.14455363154411316,
-0.0677042156457901,
0.5404035449028015,
-0.33577868342399597,
-0.20707577466964722,
0.32099857926368713,
-0.28711894154548645,
0.25735846161842346,
-0.07472670823335648,
-0.21767276525497437,
0.34658801555633545,
-0.24537597596645355,
0.36028754711151123,
0.08622949570417404,
0.26530519127845764,
0.15091559290885925,
-0.14172212779521942,
-0.0060184430330991745,
0.22023466229438782,
0.3463452458381653,
-0.13751643896102905,
0.26032543182373047,
0.2672843635082245,
0.08491669595241547,
0.10058809071779251,
0.13408321142196655,
0.18512247502803802,
0.2902145981788635,
0.055423568934202194,
-0.003684026189148426,
0.11903578042984009,
0.27993226051330566,
0.1297674924135208,
0.15414555370807648,
-0.23950420320034027,
-0.3208913803100586,
0.030442267656326294,
0.18744710087776184,
-0.13647343218326569,
0.005089454352855682,
0.09559419006109238,
0.3231284022331238,
-0.286757230758667,
-0.14669272303581238,
-0.048322923481464386,
0.3849932551383972,
-0.06792709231376648,
-0.21811074018478394,
0.33911848068237305,
0.1424875408411026,
-0.3514520227909088,
0.36876463890075684,
-0.014821313321590424,
0.15303102135658264,
0.4343568980693817,
0.019793348386883736,
-0.17249351739883423,
-0.2720377743244171,
-0.5410826802253723,
0.17270530760288239,
0.5017485618591309,
-0.3676474392414093,
0.028473736718297005,
-0.06098092347383499,
-0.1288912147283554,
0.16700208187103271,
0.16636192798614502,
-0.29799482226371765,
-0.3026401996612549,
0.09027563035488129,
0.1386958211660385,
-0.10179442167282104,
0.04003776237368584,
0.029171034693717957,
0.23078884184360504,
0.30607324838638306,
-0.017434408888220787,
-0.1619216799736023,
-0.2939366400241852,
-0.12999826669692993,
0.06915678083896637,
0.08039237558841705,
-0.2212880402803421,
0.1464632749557495,
-0.08452723175287247,
-0.07983629405498505,
-0.16839738190174103,
-0.19751518964767456,
0.07117561250925064,
0.0564204677939415,
0.33332565426826477,
0.3781261444091797,
0.4529692530632019,
-0.002747099846601486,
-0.046543631702661514,
0.26666271686553955,
-0.20105905830860138,
-0.10931190848350525,
0.05651240050792694,
-0.03991970047354698,
-0.08809088170528412,
-0.14071619510650635,
-0.42130687832832336,
-0.6614131331443787,
-0.22700002789497375,
-0.01877240091562271,
-0.1047687977552414,
0.20297637581825256,
0.23866134881973267,
0.1687428504228592,
0.0918302834033966,
0.2343425750732422,
-0.04319775849580765,
-0.3158208131790161,
-0.4506630003452301,
0.2588956654071808,
-0.16799266636371613,
-0.26925933361053467,
0.10859228670597076,
0.3187675476074219,
0.4288705885410309,
-0.07199624925851822,
-0.4718376398086548,
-0.2920772135257721,
-0.019622424617409706,
0.13152197003364563,
-0.20317921042442322,
-0.18418240547180176,
0.3288871645927429,
-0.16716748476028442,
-0.1352887600660324,
0.019843578338623047,
0.14863267540931702,
0.30616721510887146,
0.32335522770881653,
0.1663653701543808,
-0.03506603464484215,
0.6165554523468018,
-0.16574400663375854,
0.3962855935096741,
0.19989223778247833,
0.006024952977895737,
0.27774927020072937,
-0.025253670290112495,
-0.0822134017944336,
-0.09382375329732895,
-0.013138050213456154,
0.3243089020252228,
-0.10690978169441223,
-0.28813397884368896,
0.14852651953697205,
-0.4488643705844879,
0.001185443252325058,
-0.42618489265441895,
-0.05408665910363197,
-0.42639535665512085,
-0.13681523501873016,
-0.0879223421216011,
0.08613315224647522,
0.24262771010398865,
-0.016240205615758896,
-0.04127352312207222,
0.07884642481803894,
0.023074444383382797,
0.05870496854186058,
0.3784460425376892,
-0.022794276475906372,
0.03189926594495773,
0.2137586921453476,
-0.25033044815063477,
-0.31881657242774963,
0.3502258360385895,
0.01553000696003437,
0.31368762254714966,
-0.43806949257850647,
0.2704894244670868,
0.06701499968767166,
-0.14442776143550873,
0.5130231380462646,
-0.49476927518844604,
0.06634783744812012,
-0.022724483162164688,
0.003618396818637848,
0.241850808262825,
-0.2858086824417114,
-0.1581924557685852,
-0.22804692387580872,
0.06774000823497772,
0.01798395812511444,
-0.46082425117492676,
0.035451292991638184,
0.06616590917110443,
-0.2189420461654663,
-0.2123013436794281,
-0.0013239309191703796,
-0.06053624302148819,
-0.48507097363471985,
-0.16837286949157715,
0.05310644954442978,
-0.014417747035622597,
0.2999933958053589,
-0.06253843754529953,
-0.0462602935731411,
0.2140880823135376,
0.012098841369152069,
0.08382648229598999,
0.00845431350171566,
0.07923634350299835,
-0.2319025993347168,
0.2287394106388092,
0.13015058636665344,
-0.20596882700920105,
0.4853295385837555,
0.4809722304344177,
0.227024108171463,
-0.16932857036590576,
0.12868404388427734,
0.03296925500035286,
0.15853574872016907,
0.20002862811088562,
-0.21110016107559204,
0.2564336657524109,
0.08561377227306366,
0.36133652925491333,
0.1694755107164383,
-0.1247667670249939,
0.27462664246559143,
-0.1899612843990326,
-0.3355725109577179,
-0.3043574392795563,
0.08133455365896225,
-0.035494111478328705,
-0.026610098779201508,
-0.0049341097474098206,
-0.16731052100658417,
-0.12127715349197388,
0.13522124290466309,
0.07125566899776459,
0.9138275384902954,
0.020995523780584335,
0.0808267891407013,
0.3139437735080719,
-0.33839887380599976,
0.15142597258090973,
-0.3617416024208069,
0.2639290690422058,
-0.3707277774810791,
-0.2160765528678894,
-0.08495304733514786,
-0.06615184992551804,
0.15255731344223022,
0.07106547802686691,
-0.3401983976364136,
0.42977991700172424,
-0.4042375087738037,
0.16659100353717804,
-0.17839646339416504,
0.0652061253786087,
0.007496114820241928,
0.07184317708015442,
-0.22171460092067719,
0.18848514556884766,
-0.35392481088638306,
0.3225487172603607,
-0.30015066266059875,
-0.2629716396331787,
0.026824992150068283,
-0.3401605486869812,
-0.1810239851474762,
0.1295183002948761,
-0.5444912910461426,
0.23514781892299652,
-0.07111747562885284,
-0.27620771527290344,
0.355816513299942,
0.067648746073246,
0.1636480689048767,
0.20841507613658905,
-0.12428843975067139,
0.304179847240448,
-0.05708221346139908,
-0.05890818312764168,
-0.09616908431053162,
0.2220030277967453,
-0.0016731787472963333,
-0.22517281770706177,
-0.31612011790275574,
0.2273072898387909,
-0.09935885667800903,
-0.20420782268047333,
-0.05314677953720093,
-0.23241470754146576,
-0.5021011233329773,
-0.23617321252822876,
0.03604605421423912,
-0.19573864340782166,
-0.30026885867118835,
-0.17277535796165466,
0.15541890263557434,
0.1541726291179657,
-0.12444399297237396,
0.09527701139450073,
0.27077701687812805,
-0.1908458024263382,
-0.17129041254520416,
0.5571672320365906,
0.10966052860021591,
0.05871668457984924,
0.6863902807235718,
0.20835019648075104,
-0.23497070372104645,
-0.2707695960998535,
-0.19175422191619873,
0.06024434044957161,
-0.42009714245796204,
0.23830799758434296,
-0.05316887050867081,
0.19858099520206451,
0.06073501333594322,
0.44701123237609863,
0.12069328129291534,
0.28246089816093445,
0.22089146077632904,
-0.510477602481842,
-0.26402023434638977,
0.14466610550880432,
-0.21375925838947296,
0.2587624192237854,
-0.08706030249595642,
0.2654634118080139,
0.022186385467648506,
-0.07703515887260437,
-0.3624049127101898,
0.08669452369213104,
-0.6442701816558838,
-0.023835577070713043,
0.2712138891220093,
-0.5243381857872009,
0.17255641520023346,
0.06100613251328468,
0.19901730120182037,
-0.015314441174268723,
-0.3990592658519745,
-0.19569861888885498,
0.042440686374902725,
0.14849500358104706,
0.04660937190055847,
-0.1798485368490219,
-0.030298717319965363,
-0.18628381192684174,
-0.26447510719299316,
0.3944399058818817,
0.27263784408569336,
-0.07357989251613617,
0.17217004299163818,
-0.029706638306379318,
-0.2637213468551636,
0.007681943476200104,
-0.07013166695833206,
0.0800347775220871,
0.13999123871326447,
0.16013693809509277,
0.0016732937656342983,
0.07942813634872437,
-0.009706261567771435,
-0.1773548424243927,
-0.09996026754379272,
0.16694331169128418,
-0.0649406909942627,
-0.02406042441725731,
0.47167542576789856,
-0.4384283423423767,
-0.04454690217971802,
-0.12810541689395905,
0.27683842182159424,
0.5457196235656738,
-0.20848451554775238,
0.04773382097482681,
0.17347463965415955,
0.26877787709236145,
-0.1477644443511963,
-0.1217348501086235,
-0.20086753368377686,
-0.006731257773935795,
-0.009357314556837082,
0.0009225010871887207,
0.11109012365341187,
0.03857763856649399,
-0.028606534004211426,
0.0887347012758255,
0.4709984064102173,
0.04153376445174217,
-0.014364033937454224,
0.2882627546787262,
0.008448924869298935,
-0.08224381506443024,
0.05640046298503876,
0.110872283577919,
0.11427795141935349,
0.0868123397231102,
-0.35035574436187744,
-0.25567370653152466,
-0.1168413832783699,
0.2562554180622101,
-0.11419828981161118,
-0.4329718351364136,
-0.40231966972351074,
0.1917794942855835,
-0.3171720504760742,
-0.047557227313518524,
-0.14285646378993988,
0.23960691690444946,
0.029990319162607193,
-0.18827421963214874,
-0.28704196214675903,
0.3079289495944977,
-0.14580038189888,
-0.1753404438495636,
-0.254018634557724,
-0.20200657844543457,
-0.3433501422405243,
0.19947342574596405,
0.05691501870751381,
0.13010120391845703,
0.16260488331317902,
0.16888779401779175,
-0.005948953330516815,
-0.17881178855895996,
-0.09571471065282822,
0.23165440559387207,
0.0032797902822494507,
-0.2984701991081238,
0.2564793825149536,
0.21688327193260193,
0.0045154765248298645,
-0.009024366736412048,
0.34615692496299744,
0.6126067638397217,
0.15625156462192535,
-0.06027216091752052,
0.17353782057762146,
0.07771505415439606,
-0.015206039883196354,
0.12787280976772308,
-0.0035639889538288116,
0.6596262454986572,
0.12811528146266937,
0.2581997215747833,
0.11506681144237518,
-0.09499696642160416,
0.2833234369754791,
-0.008917149156332016,
-0.026870466768741608,
-0.1481945961713791,
0.09609401971101761,
0.06500266492366791,
0.07601364701986313,
-0.2816140055656433,
-0.09643060714006424,
-0.5803740620613098,
-0.09027933329343796,
0.128662109375,
0.16843216121196747,
0.18926849961280823,
-0.0685637965798378,
0.07355615496635437,
-0.27006539702415466,
0.7045837044715881,
0.3630318343639374,
0.32301071286201477,
-0.35156726837158203,
-0.06155921891331673,
-0.24113799631595612,
0.0012108534574508667,
-0.17640681564807892,
0.29348358511924744,
0.008216321468353271,
0.2739602029323578,
-0.004444107413291931,
-0.056747086346149445,
0.32551026344299316,
0.026548586785793304,
-0.3016250431537628,
0.2652546763420105,
-0.15809600055217743,
0.012840816751122475,
-0.10931316018104553,
-0.10337083041667938,
0.073000468313694,
-0.06468423455953598,
0.12055753171443939,
-0.17649729549884796,
0.18283969163894653,
-0.2580229640007019,
0.02193514257669449,
-0.03693506121635437,
-0.21410590410232544,
0.4725673198699951,
0.11469313502311707,
0.4608369767665863,
0.06955602765083313,
-0.03731166198849678,
-0.126010462641716,
-0.3512321412563324,
0.05596298351883888,
0.1321919709444046,
0.2736307382583618,
0.1281118094921112,
0.2889137864112854,
-0.04221760854125023,
-0.30183061957359314,
0.23752540349960327,
-0.0987885445356369,
0.04423321783542633,
-0.026236115023493767,
-0.0956496149301529,
0.10662279278039932,
-0.060849882662296295,
0.031821999698877335,
0.00397568941116333,
0.06762246787548065,
-0.13320037722587585,
-0.5958691239356995,
-0.4013920724391937,
0.553463339805603,
0.1308206170797348,
-0.024752099066972733,
-0.035659827291965485,
0.24271626770496368,
0.12074699997901917,
0.22696971893310547,
-0.5182470679283142,
0.2293889820575714,
0.12525708973407745,
-0.2398456633090973,
-0.43682023882865906,
0.27780330181121826,
0.17320659756660461,
0.05963562801480293,
0.044151220470666885,
-0.006080456078052521,
-0.034997448325157166,
-0.0930216833949089,
-0.11057107150554657,
-0.12814047932624817
] |
https://github.com/huggingface/datasets/issues/1541 | connection issue while downloading data | Does your instance have an internet connection ?
If you don't have an internet connection you'll need to have the dataset on the instance disk.
To do so first download the dataset on another machine using `load_dataset` and then you can save it in a folder using `my_dataset.save_to_disk("path/to/folder")`. Once the folder is copied on your instance you can reload the dataset with `datasets.load_from_disk("path/to/folder")` | Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks
```
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 361, in <module>
main()
File "finetune_t5_trainer.py", line 269, in main
add_prefix=False if training_args.train_adapters else True)
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset
return datasets.load_dataset('glue', 'cola', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
``` | 63 | connection issue while downloading data
Hi
I am running my codes on google cloud, and I am getting this error resulting in the failure of the codes when trying to download the data, could you assist me to solve this? also as a temporary solution, could you tell me how I can increase the number of retries and timeout to at least let the models run for now. thanks
```
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 361, in <module>
main()
File "finetune_t5_trainer.py", line 269, in main
add_prefix=False if training_args.train_adapters else True)
File "/workdir/seq2seq/data/tasks.py", line 70, in get_dataset
dataset = self.load_dataset(split=split)
File "/workdir/seq2seq/data/tasks.py", line 306, in load_dataset
return datasets.load_dataset('glue', 'cola', split=split)
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 589, in load_dataset
path, script_version=script_version, download_config=download_config, download_mode=download_mode, dataset=True
File "/usr/local/lib/python3.6/dist-packages/datasets/load.py", line 263, in prepare_module
head_hf_s3(path, filename=name, dataset=dataset)
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 200, in head_hf_s3
return http_head(hf_bucket_url(identifier=identifier, filename=filename, use_cdn=use_cdn, dataset=dataset))
File "/usr/local/lib/python3.6/dist-packages/datasets/utils/file_utils.py", line 403, in http_head
url, proxies=proxies, headers=headers, cookies=cookies, allow_redirects=allow_redirects, timeout=timeout
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 104, in head
return request('head', url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /datasets.huggingface.co/datasets/datasets/glue/glue.py (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f47db511e80>, 'Connection to s3.amazonaws.com timed out. (connect timeout=10)'))
```
Does your instance have an internet connection ?
If you don't have an internet connection you'll need to have the dataset on the instance disk.
To do so first download the dataset on another machine using `load_dataset` and then you can save it in a folder using `my_dataset.save_to_disk("path/to/folder")`. Once the folder is copied on your instance you can reload the dataset with `datasets.load_from_disk("path/to/folder")` | [
-0.23484058678150177,
-0.026418231427669525,
-0.16849574446678162,
0.3393735885620117,
0.43915778398513794,
-0.1407119631767273,
0.15639817714691162,
0.3509829342365265,
-0.21380732953548431,
0.06850869953632355,
-0.02089734934270382,
-0.10968641936779022,
0.07043556123971939,
0.5369913578033447,
-0.15150418877601624,
-0.23888781666755676,
-0.18773281574249268,
0.028061389923095703,
-0.2314402163028717,
0.042034752666950226,
-0.12957394123077393,
0.25903335213661194,
-0.06210217624902725,
0.17306038737297058,
0.0358288548886776,
-0.11314398795366287,
0.12265883386135101,
0.14596928656101227,
-0.28016138076782227,
-0.38385987281799316,
0.15420924127101898,
0.17454834282398224,
-0.051769424229860306,
0.20622187852859497,
-0.00010889439727179706,
0.10769040882587433,
0.30794650316238403,
-0.10704699158668518,
-0.2203332632780075,
-0.1559581607580185,
0.040047042071819305,
0.09561700373888016,
0.193454772233963,
-0.04383311793208122,
-0.1365969181060791,
0.434664249420166,
0.0030511971563100815,
0.02376411110162735,
0.451521098613739,
0.44716259837150574,
0.25726044178009033,
0.18208301067352295,
0.3130951523780823,
-0.1857018619775772,
0.040604718029499054,
-0.4782786965370178,
0.023144850507378578,
0.3593069016933441,
0.2628660202026367,
-0.2473662793636322,
0.21748670935630798,
0.12158522009849548,
0.0678003653883934,
-0.11032749712467194,
0.08817475289106369,
-0.09931046515703201,
0.09093466401100159,
-0.37027373909950256,
0.043435122817754745,
0.17799746990203857,
0.6764322519302368,
0.042095523327589035,
-0.13455432653427124,
0.20678362250328064,
-0.05631033703684807,
-0.20220662653446198,
0.3282393515110016,
-0.029324272647500038,
-0.18380548059940338,
0.16036993265151978,
-0.045853063464164734,
-0.06829226762056351,
-0.3555367588996887,
0.2799239158630371,
-0.0877680629491806,
0.08899209648370743,
0.05979599058628082,
0.12906008958816528,
-0.0441390760242939,
-0.08502640575170517,
0.11783728003501892,
0.1198885440826416,
-0.015531446784734726,
-0.013937779702246189,
-0.4044624865055084,
-0.038215961307287216,
-0.04939098656177521,
-0.16490066051483154,
0.08930642902851105,
0.19169872999191284,
0.3861718475818634,
-0.16561570763587952,
0.18510520458221436,
0.1951490044593811,
0.3030421733856201,
0.025145307183265686,
-0.15356123447418213,
0.2802618145942688,
0.48533278703689575,
0.3582318425178528,
0.1091378927230835,
-0.11685288697481155,
-0.07934901118278503,
-0.4436267912387848,
-0.1070656031370163,
0.19319596886634827,
0.14817526936531067,
-0.17132973670959473,
-0.25802358984947205,
0.18386121094226837,
-0.1554703414440155,
0.2243509441614151,
0.19146347045898438,
0.40516018867492676,
-0.29337579011917114,
-0.12063112109899521,
0.20532791316509247,
0.055620692670345306,
-0.13465729355812073,
-0.24758440256118774,
-0.1776149421930313,
0.12701398134231567,
0.0032317154109477997,
-0.1961534023284912,
0.11298824846744537,
-0.18060718476772308,
0.3181101083755493,
-0.13544350862503052,
0.16546350717544556,
-0.15479576587677002,
-0.0770798772573471,
-0.3587571978569031,
-0.42655327916145325,
0.3428647816181183,
-0.05158499628305435,
-0.10061817616224289,
0.12178166210651398,
-0.027178026735782623,
0.13962194323539734,
-0.1921750009059906,
-0.25948581099510193,
-0.4317108690738678,
-0.21481432020664215,
0.3007485568523407,
0.0068480148911476135,
-0.04608968645334244,
-0.0009698569774627686,
-0.13414137065410614,
0.16351155936717987,
-0.39072462916374207,
0.034153006970882416,
-0.34280967712402344,
0.01679585501551628,
-0.3032228946685791,
0.26726481318473816,
0.500035285949707,
-0.4822484254837036,
0.0011322200298309326,
-0.08242786675691605,
-0.2504619359970093,
0.1914060115814209,
0.298963338136673,
-0.24371865391731262,
0.10512130707502365,
-0.15357878804206848,
0.06785033643245697,
0.39296460151672363,
-0.3507173955440521,
-0.47488927841186523,
0.38052740693092346,
-0.14703643321990967,
-0.2910527288913727,
-0.03794112056493759,
0.06436506658792496,
0.21326036751270294,
0.07812914252281189,
0.14322933554649353,
0.3018903136253357,
-0.0660439282655716,
-0.28960829973220825,
-0.2765759527683258,
-0.2182384729385376,
0.08533961325883865,
0.4488564431667328,
0.3002043664455414,
0.03658729046583176,
0.30327555537223816,
-0.3245079219341278,
-0.04626505821943283,
0.07777152955532074,
0.07127638906240463,
0.32338088750839233,
0.34489989280700684,
0.11763571202754974,
-0.02035529911518097,
0.37611085176467896,
-0.5498911142349243,
0.1730107069015503,
-0.42781686782836914,
0.20518267154693604,
-0.37521660327911377,
0.14599250257015228,
-0.18225285410881042,
-0.03546580672264099,
-0.1066942811012268,
-0.04417017474770546,
0.24708732962608337,
-0.31189894676208496,
0.09673817455768585,
0.1461653858423233,
0.1997203677892685,
0.49786368012428284,
-0.24755792319774628,
0.14455363154411316,
-0.0677042156457901,
0.5404035449028015,
-0.33577868342399597,
-0.20707577466964722,
0.32099857926368713,
-0.28711894154548645,
0.25735846161842346,
-0.07472670823335648,
-0.21767276525497437,
0.34658801555633545,
-0.24537597596645355,
0.36028754711151123,
0.08622949570417404,
0.26530519127845764,
0.15091559290885925,
-0.14172212779521942,
-0.0060184430330991745,
0.22023466229438782,
0.3463452458381653,
-0.13751643896102905,
0.26032543182373047,
0.2672843635082245,
0.08491669595241547,
0.10058809071779251,
0.13408321142196655,
0.18512247502803802,
0.2902145981788635,
0.055423568934202194,
-0.003684026189148426,
0.11903578042984009,
0.27993226051330566,
0.1297674924135208,
0.15414555370807648,
-0.23950420320034027,
-0.3208913803100586,
0.030442267656326294,
0.18744710087776184,
-0.13647343218326569,
0.005089454352855682,
0.09559419006109238,
0.3231284022331238,
-0.286757230758667,
-0.14669272303581238,
-0.048322923481464386,
0.3849932551383972,
-0.06792709231376648,
-0.21811074018478394,
0.33911848068237305,
0.1424875408411026,
-0.3514520227909088,
0.36876463890075684,
-0.014821313321590424,
0.15303102135658264,
0.4343568980693817,
0.019793348386883736,
-0.17249351739883423,
-0.2720377743244171,
-0.5410826802253723,
0.17270530760288239,
0.5017485618591309,
-0.3676474392414093,
0.028473736718297005,
-0.06098092347383499,
-0.1288912147283554,
0.16700208187103271,
0.16636192798614502,
-0.29799482226371765,
-0.3026401996612549,
0.09027563035488129,
0.1386958211660385,
-0.10179442167282104,
0.04003776237368584,
0.029171034693717957,
0.23078884184360504,
0.30607324838638306,
-0.017434408888220787,
-0.1619216799736023,
-0.2939366400241852,
-0.12999826669692993,
0.06915678083896637,
0.08039237558841705,
-0.2212880402803421,
0.1464632749557495,
-0.08452723175287247,
-0.07983629405498505,
-0.16839738190174103,
-0.19751518964767456,
0.07117561250925064,
0.0564204677939415,
0.33332565426826477,
0.3781261444091797,
0.4529692530632019,
-0.002747099846601486,
-0.046543631702661514,
0.26666271686553955,
-0.20105905830860138,
-0.10931190848350525,
0.05651240050792694,
-0.03991970047354698,
-0.08809088170528412,
-0.14071619510650635,
-0.42130687832832336,
-0.6614131331443787,
-0.22700002789497375,
-0.01877240091562271,
-0.1047687977552414,
0.20297637581825256,
0.23866134881973267,
0.1687428504228592,
0.0918302834033966,
0.2343425750732422,
-0.04319775849580765,
-0.3158208131790161,
-0.4506630003452301,
0.2588956654071808,
-0.16799266636371613,
-0.26925933361053467,
0.10859228670597076,
0.3187675476074219,
0.4288705885410309,
-0.07199624925851822,
-0.4718376398086548,
-0.2920772135257721,
-0.019622424617409706,
0.13152197003364563,
-0.20317921042442322,
-0.18418240547180176,
0.3288871645927429,
-0.16716748476028442,
-0.1352887600660324,
0.019843578338623047,
0.14863267540931702,
0.30616721510887146,
0.32335522770881653,
0.1663653701543808,
-0.03506603464484215,
0.6165554523468018,
-0.16574400663375854,
0.3962855935096741,
0.19989223778247833,
0.006024952977895737,
0.27774927020072937,
-0.025253670290112495,
-0.0822134017944336,
-0.09382375329732895,
-0.013138050213456154,
0.3243089020252228,
-0.10690978169441223,
-0.28813397884368896,
0.14852651953697205,
-0.4488643705844879,
0.001185443252325058,
-0.42618489265441895,
-0.05408665910363197,
-0.42639535665512085,
-0.13681523501873016,
-0.0879223421216011,
0.08613315224647522,
0.24262771010398865,
-0.016240205615758896,
-0.04127352312207222,
0.07884642481803894,
0.023074444383382797,
0.05870496854186058,
0.3784460425376892,
-0.022794276475906372,
0.03189926594495773,
0.2137586921453476,
-0.25033044815063477,
-0.31881657242774963,
0.3502258360385895,
0.01553000696003437,
0.31368762254714966,
-0.43806949257850647,
0.2704894244670868,
0.06701499968767166,
-0.14442776143550873,
0.5130231380462646,
-0.49476927518844604,
0.06634783744812012,
-0.022724483162164688,
0.003618396818637848,
0.241850808262825,
-0.2858086824417114,
-0.1581924557685852,
-0.22804692387580872,
0.06774000823497772,
0.01798395812511444,
-0.46082425117492676,
0.035451292991638184,
0.06616590917110443,
-0.2189420461654663,
-0.2123013436794281,
-0.0013239309191703796,
-0.06053624302148819,
-0.48507097363471985,
-0.16837286949157715,
0.05310644954442978,
-0.014417747035622597,
0.2999933958053589,
-0.06253843754529953,
-0.0462602935731411,
0.2140880823135376,
0.012098841369152069,
0.08382648229598999,
0.00845431350171566,
0.07923634350299835,
-0.2319025993347168,
0.2287394106388092,
0.13015058636665344,
-0.20596882700920105,
0.4853295385837555,
0.4809722304344177,
0.227024108171463,
-0.16932857036590576,
0.12868404388427734,
0.03296925500035286,
0.15853574872016907,
0.20002862811088562,
-0.21110016107559204,
0.2564336657524109,
0.08561377227306366,
0.36133652925491333,
0.1694755107164383,
-0.1247667670249939,
0.27462664246559143,
-0.1899612843990326,
-0.3355725109577179,
-0.3043574392795563,
0.08133455365896225,
-0.035494111478328705,
-0.026610098779201508,
-0.0049341097474098206,
-0.16731052100658417,
-0.12127715349197388,
0.13522124290466309,
0.07125566899776459,
0.9138275384902954,
0.020995523780584335,
0.0808267891407013,
0.3139437735080719,
-0.33839887380599976,
0.15142597258090973,
-0.3617416024208069,
0.2639290690422058,
-0.3707277774810791,
-0.2160765528678894,
-0.08495304733514786,
-0.06615184992551804,
0.15255731344223022,
0.07106547802686691,
-0.3401983976364136,
0.42977991700172424,
-0.4042375087738037,
0.16659100353717804,
-0.17839646339416504,
0.0652061253786087,
0.007496114820241928,
0.07184317708015442,
-0.22171460092067719,
0.18848514556884766,
-0.35392481088638306,
0.3225487172603607,
-0.30015066266059875,
-0.2629716396331787,
0.026824992150068283,
-0.3401605486869812,
-0.1810239851474762,
0.1295183002948761,
-0.5444912910461426,
0.23514781892299652,
-0.07111747562885284,
-0.27620771527290344,
0.355816513299942,
0.067648746073246,
0.1636480689048767,
0.20841507613658905,
-0.12428843975067139,
0.304179847240448,
-0.05708221346139908,
-0.05890818312764168,
-0.09616908431053162,
0.2220030277967453,
-0.0016731787472963333,
-0.22517281770706177,
-0.31612011790275574,
0.2273072898387909,
-0.09935885667800903,
-0.20420782268047333,
-0.05314677953720093,
-0.23241470754146576,
-0.5021011233329773,
-0.23617321252822876,
0.03604605421423912,
-0.19573864340782166,
-0.30026885867118835,
-0.17277535796165466,
0.15541890263557434,
0.1541726291179657,
-0.12444399297237396,
0.09527701139450073,
0.27077701687812805,
-0.1908458024263382,
-0.17129041254520416,
0.5571672320365906,
0.10966052860021591,
0.05871668457984924,
0.6863902807235718,
0.20835019648075104,
-0.23497070372104645,
-0.2707695960998535,
-0.19175422191619873,
0.06024434044957161,
-0.42009714245796204,
0.23830799758434296,
-0.05316887050867081,
0.19858099520206451,
0.06073501333594322,
0.44701123237609863,
0.12069328129291534,
0.28246089816093445,
0.22089146077632904,
-0.510477602481842,
-0.26402023434638977,
0.14466610550880432,
-0.21375925838947296,
0.2587624192237854,
-0.08706030249595642,
0.2654634118080139,
0.022186385467648506,
-0.07703515887260437,
-0.3624049127101898,
0.08669452369213104,
-0.6442701816558838,
-0.023835577070713043,
0.2712138891220093,
-0.5243381857872009,
0.17255641520023346,
0.06100613251328468,
0.19901730120182037,
-0.015314441174268723,
-0.3990592658519745,
-0.19569861888885498,
0.042440686374902725,
0.14849500358104706,
0.04660937190055847,
-0.1798485368490219,
-0.030298717319965363,
-0.18628381192684174,
-0.26447510719299316,
0.3944399058818817,
0.27263784408569336,
-0.07357989251613617,
0.17217004299163818,
-0.029706638306379318,
-0.2637213468551636,
0.007681943476200104,
-0.07013166695833206,
0.0800347775220871,
0.13999123871326447,
0.16013693809509277,
0.0016732937656342983,
0.07942813634872437,
-0.009706261567771435,
-0.1773548424243927,
-0.09996026754379272,
0.16694331169128418,
-0.0649406909942627,
-0.02406042441725731,
0.47167542576789856,
-0.4384283423423767,
-0.04454690217971802,
-0.12810541689395905,
0.27683842182159424,
0.5457196235656738,
-0.20848451554775238,
0.04773382097482681,
0.17347463965415955,
0.26877787709236145,
-0.1477644443511963,
-0.1217348501086235,
-0.20086753368377686,
-0.006731257773935795,
-0.009357314556837082,
0.0009225010871887207,
0.11109012365341187,
0.03857763856649399,
-0.028606534004211426,
0.0887347012758255,
0.4709984064102173,
0.04153376445174217,
-0.014364033937454224,
0.2882627546787262,
0.008448924869298935,
-0.08224381506443024,
0.05640046298503876,
0.110872283577919,
0.11427795141935349,
0.0868123397231102,
-0.35035574436187744,
-0.25567370653152466,
-0.1168413832783699,
0.2562554180622101,
-0.11419828981161118,
-0.4329718351364136,
-0.40231966972351074,
0.1917794942855835,
-0.3171720504760742,
-0.047557227313518524,
-0.14285646378993988,
0.23960691690444946,
0.029990319162607193,
-0.18827421963214874,
-0.28704196214675903,
0.3079289495944977,
-0.14580038189888,
-0.1753404438495636,
-0.254018634557724,
-0.20200657844543457,
-0.3433501422405243,
0.19947342574596405,
0.05691501870751381,
0.13010120391845703,
0.16260488331317902,
0.16888779401779175,
-0.005948953330516815,
-0.17881178855895996,
-0.09571471065282822,
0.23165440559387207,
0.0032797902822494507,
-0.2984701991081238,
0.2564793825149536,
0.21688327193260193,
0.0045154765248298645,
-0.009024366736412048,
0.34615692496299744,
0.6126067638397217,
0.15625156462192535,
-0.06027216091752052,
0.17353782057762146,
0.07771505415439606,
-0.015206039883196354,
0.12787280976772308,
-0.0035639889538288116,
0.6596262454986572,
0.12811528146266937,
0.2581997215747833,
0.11506681144237518,
-0.09499696642160416,
0.2833234369754791,
-0.008917149156332016,
-0.026870466768741608,
-0.1481945961713791,
0.09609401971101761,
0.06500266492366791,
0.07601364701986313,
-0.2816140055656433,
-0.09643060714006424,
-0.5803740620613098,
-0.09027933329343796,
0.128662109375,
0.16843216121196747,
0.18926849961280823,
-0.0685637965798378,
0.07355615496635437,
-0.27006539702415466,
0.7045837044715881,
0.3630318343639374,
0.32301071286201477,
-0.35156726837158203,
-0.06155921891331673,
-0.24113799631595612,
0.0012108534574508667,
-0.17640681564807892,
0.29348358511924744,
0.008216321468353271,
0.2739602029323578,
-0.004444107413291931,
-0.056747086346149445,
0.32551026344299316,
0.026548586785793304,
-0.3016250431537628,
0.2652546763420105,
-0.15809600055217743,
0.012840816751122475,
-0.10931316018104553,
-0.10337083041667938,
0.073000468313694,
-0.06468423455953598,
0.12055753171443939,
-0.17649729549884796,
0.18283969163894653,
-0.2580229640007019,
0.02193514257669449,
-0.03693506121635437,
-0.21410590410232544,
0.4725673198699951,
0.11469313502311707,
0.4608369767665863,
0.06955602765083313,
-0.03731166198849678,
-0.126010462641716,
-0.3512321412563324,
0.05596298351883888,
0.1321919709444046,
0.2736307382583618,
0.1281118094921112,
0.2889137864112854,
-0.04221760854125023,
-0.30183061957359314,
0.23752540349960327,
-0.0987885445356369,
0.04423321783542633,
-0.026236115023493767,
-0.0956496149301529,
0.10662279278039932,
-0.060849882662296295,
0.031821999698877335,
0.00397568941116333,
0.06762246787548065,
-0.13320037722587585,
-0.5958691239356995,
-0.4013920724391937,
0.553463339805603,
0.1308206170797348,
-0.024752099066972733,
-0.035659827291965485,
0.24271626770496368,
0.12074699997901917,
0.22696971893310547,
-0.5182470679283142,
0.2293889820575714,
0.12525708973407745,
-0.2398456633090973,
-0.43682023882865906,
0.27780330181121826,
0.17320659756660461,
0.05963562801480293,
0.044151220470666885,
-0.006080456078052521,
-0.034997448325157166,
-0.0930216833949089,
-0.11057107150554657,
-0.12814047932624817
] |
https://github.com/huggingface/datasets/issues/1514 | how to get all the options of a property in datasets | In a dataset, labels correspond to the `ClassLabel` feature that has the `names` property that returns string represenation of the integer classes (or `num_classes` to get the number of different classes). | Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks | 31 | how to get all the options of a property in datasets
Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks
In a dataset, labels correspond to the `ClassLabel` feature that has the `names` property that returns string represenation of the integer classes (or `num_classes` to get the number of different classes). | [
-0.350850909948349,
-0.5276569128036499,
-0.03288998082280159,
0.3197903037071228,
-0.008852705359458923,
0.13270801305770874,
0.06692143529653549,
0.06275524944067001,
-0.1925358772277832,
0.27030473947525024,
-0.27753177285194397,
0.2990586459636688,
-0.25529664754867554,
0.12209328263998032,
-0.08262823522090912,
0.254877507686615,
-0.1904509961605072,
0.14004965126514435,
-0.09147749841213226,
-0.343411922454834,
-0.4865432381629944,
-0.297027051448822,
-0.45810389518737793,
0.014714308083057404,
-0.18325965106487274,
-0.42973485589027405,
-0.16202008724212646,
-0.3819607198238373,
-0.2474735826253891,
-0.44169771671295166,
-0.18034781515598297,
0.35770928859710693,
-0.005255674943327904,
-0.14652475714683533,
-0.00011202922905795276,
-0.18634910881519318,
-0.08778233826160431,
0.11952514946460724,
-0.21791493892669678,
-0.11707018315792084,
-0.20840966701507568,
0.07984798401594162,
0.0001605789875611663,
-0.2902163565158844,
-0.23801183700561523,
-0.1694646030664444,
0.1302454173564911,
-0.3067198395729065,
-0.28183138370513916,
0.03578237071633339,
0.16777198016643524,
-0.15806706249713898,
-0.19431571662425995,
0.03134685009717941,
0.2919987142086029,
0.34073352813720703,
-0.135093554854393,
-0.1522563397884369,
0.5592807531356812,
0.2760843336582184,
0.1553923785686493,
0.1595226377248764,
0.16392295062541962,
-0.06540007889270782,
-0.11259300261735916,
0.060131046921014786,
-0.017208635807037354,
-0.05131541192531586,
0.17003276944160461,
0.4939919412136078,
0.8889751434326172,
-0.07801420241594315,
-0.5552245378494263,
-0.22247284650802612,
0.38648104667663574,
-0.2008567750453949,
-0.0726846233010292,
0.4160013794898987,
-0.021555941551923752,
0.023975936695933342,
-0.5343722105026245,
-0.10470210015773773,
-0.2602105736732483,
0.004100486636161804,
0.09511815011501312,
0.44991281628608704,
-0.059737399220466614,
0.04803935065865517,
0.04353489354252815,
-0.19448617100715637,
0.35725101828575134,
0.00812477432191372,
-0.05550343170762062,
0.21317707002162933,
-0.1806757003068924,
-0.16134575009346008,
-0.07903537899255753,
0.31155964732170105,
0.46103402972221375,
0.22929736971855164,
-0.001809113658964634,
-0.20259782671928406,
-0.20452898740768433,
0.07138773798942566,
0.13169734179973602,
0.16380129754543304,
0.27788007259368896,
0.4300641119480133,
-0.09052450954914093,
-0.2591494023799896,
-0.5156910419464111,
-0.04364214092493057,
-0.1627068817615509,
0.5808578133583069,
0.09873028099536896,
0.09067394584417343,
0.14289236068725586,
-0.09878197312355042,
0.026177452877163887,
-0.12242736667394638,
-0.5973362326622009,
-0.1279478222131729,
0.36900845170021057,
0.06534795463085175,
-0.16630436480045319,
-0.28079986572265625,
-0.160465806722641,
-0.30476683378219604,
0.06983400881290436,
-0.5663421154022217,
-0.24556849896907806,
0.021114075556397438,
-0.04479854553937912,
0.029054954648017883,
0.15027974545955658,
0.08547338843345642,
0.28854525089263916,
0.2838985323905945,
-0.027061931788921356,
-0.09890934079885483,
0.19296576082706451,
-0.12953108549118042,
0.07351559400558472,
-0.24682186543941498,
-0.07553558051586151,
-0.1078970804810524,
-0.09590606391429901,
-0.032665759325027466,
-0.4610235393047333,
-0.09204644709825516,
0.0755554586648941,
-0.364921510219574,
0.037990763783454895,
0.1456156224012375,
-0.12214315682649612,
-0.13514062762260437,
-0.23409512639045715,
0.5512110590934753,
-0.19148680567741394,
0.2397632896900177,
0.1314302384853363,
-0.09859199821949005,
-0.23697347939014435,
-0.055508457124233246,
-0.1372012495994568,
0.19094006717205048,
-0.43818753957748413,
-0.11159282922744751,
0.13131766021251678,
-0.141665518283844,
-0.1695651113986969,
-0.03681361302733421,
-0.3678411543369293,
0.24952837824821472,
-0.19885912537574768,
-0.04204382002353668,
0.26567739248275757,
0.08458395302295685,
-0.40632346272468567,
-0.04533403366804123,
0.39621227979660034,
-0.38979753851890564,
0.23479488492012024,
0.35416123270988464,
0.5342302322387695,
0.15560278296470642,
0.0012973397970199585,
-0.010431360453367233,
-0.1367509365081787,
-0.47860798239707947,
0.2135130614042282,
-0.24915644526481628,
0.055504582822322845,
-0.1271500438451767,
-0.2984970211982727,
0.09405484050512314,
0.22617682814598083,
0.03743712976574898,
0.19450810551643372,
0.000815223902463913,
-0.20405836403369904,
0.31548821926116943,
0.16347165405750275,
0.3308371305465698,
-0.14087149500846863,
-0.522724986076355,
-0.4604741334915161,
0.24348184466362,
-0.18476052582263947,
-0.19826585054397583,
0.27152019739151,
-0.38397932052612305,
0.23110872507095337,
0.15845754742622375,
0.0020251907408237457,
0.06999015808105469,
0.12619160115718842,
0.18341593444347382,
0.0030260607600212097,
-0.2639644145965576,
-0.34758421778678894,
0.17393237352371216,
-0.17957803606987,
-0.08592494577169418,
-0.059641625732183456,
-0.28044503927230835,
0.3700777292251587,
0.1967257559299469,
-0.03147778660058975,
0.09210795164108276,
0.1555159091949463,
0.1380992978811264,
-0.0922476053237915,
-0.02896972745656967,
0.010293915867805481,
-0.020215705037117004,
0.19725894927978516,
0.22969654202461243,
0.1364671140909195,
-0.23460622131824493,
-0.10579504817724228,
-0.048855315893888474,
0.08345843851566315,
0.027762822806835175,
-0.2555171549320221,
0.2668006420135498,
-0.10347568988800049,
0.260888010263443,
-0.07798462361097336,
0.18333669006824493,
0.05404823273420334,
-0.045712970197200775,
-0.09400977939367294,
-0.12712861597537994,
0.16228139400482178,
-0.11343620717525482,
0.49423396587371826,
0.32700446248054504,
-0.4405330419540405,
0.17766492068767548,
0.25054264068603516,
-0.15021751821041107,
0.07490841299295425,
-0.2717396914958954,
0.1221662238240242,
0.12195924669504166,
0.40381669998168945,
0.12318766117095947,
0.27085182070732117,
0.21573908627033234,
0.05940096452832222,
0.19669556617736816,
-0.11147875338792801,
0.1793222874403,
0.21443399786949158,
0.0014690086245536804,
-0.22420386970043182,
-0.3802841603755951,
-0.014131313189864159,
0.1007094457745552,
-0.03208008408546448,
-0.39338576793670654,
0.21561501920223236,
0.020918356254696846,
-0.05428684502840042,
-0.045057058334350586,
-0.4118197560310364,
-0.07805536687374115,
0.11077933013439178,
-0.0728575736284256,
-0.019809968769550323,
-0.1078433096408844,
0.13962990045547485,
-0.0899958461523056,
0.09844423830509186,
0.13168618083000183,
-0.49196678400039673,
0.46926143765449524,
-0.07032397389411926,
0.0017364341765642166,
0.37281885743141174,
-0.16023816168308258,
-0.3173578083515167,
0.0002689305692911148,
-0.33467936515808105,
0.1726292222738266,
0.4815162718296051,
0.2825985550880432,
0.23879505693912506,
-0.4937897324562073,
-0.0780082643032074,
0.11001692712306976,
0.12046033143997192,
-0.00024288520216941833,
0.05645207688212395,
-0.1279258131980896,
-0.32481318712234497,
0.3949854373931885,
0.11542584002017975,
0.2966912090778351,
-0.040983326733112335,
-0.1411794126033783,
-0.1113705262541771,
-0.21858949959278107,
0.041426222771406174,
-0.47564801573753357,
-0.5091132521629333,
-0.06589285284280777,
0.1078629195690155,
-0.21459749341011047,
0.2966998219490051,
-0.009550954215228558,
-0.41338521242141724,
0.13386496901512146,
0.03583315759897232,
0.4845367968082428,
-0.1738811582326889,
-0.44744211435317993,
0.09165404736995697,
0.021022681146860123,
0.001624036580324173,
-0.20512792468070984,
-0.20071464776992798,
0.048229899257421494,
0.27214568853378296,
-0.17390862107276917,
-0.23736628890037537,
-0.2317437082529068,
0.09778279066085815,
-0.12277793884277344,
0.06888154149055481,
0.14216221868991852,
0.11513108760118484,
0.07534697651863098,
-0.054567497223615646,
-0.33157801628112793,
0.12242987751960754,
-0.2906486690044403,
0.3100849390029907,
0.3690906763076782,
-0.017502587288618088,
0.06510275602340698,
0.29336419701576233,
0.5332475304603577,
-0.0368296317756176,
-0.029932282865047455,
-0.46629971265792847,
0.11339041590690613,
0.41164129972457886,
-0.4543639123439789,
-0.12257181853055954,
0.3822774887084961,
-0.12446944415569305,
0.19784694910049438,
0.20406216382980347,
0.2663591802120209,
0.030679821968078613,
0.1350487470626831,
-0.2073504626750946,
-0.23622649908065796,
-0.3709763288497925,
-0.24459388852119446,
0.1783781349658966,
-0.18873172998428345,
0.049679435789585114,
-0.13825401663780212,
0.06048300117254257,
-0.06679356098175049,
-0.16240067780017853,
-0.11083581298589706,
0.049577198922634125,
-0.6374655961990356,
-0.2879965007305145,
0.5683385729789734,
0.14889360964298248,
0.16352710127830505,
0.2337237000465393,
-0.10370989143848419,
0.3242289125919342,
0.4476888179779053,
0.36755138635635376,
0.6122747659683228,
-0.11610967665910721,
-0.07382218539714813,
0.057605717331171036,
-0.39609000086784363,
-0.0004855189472436905,
-0.05065733194351196,
-0.36373448371887207,
-0.04290104657411575,
-0.12388220429420471,
0.45612436532974243,
-0.0572596937417984,
-0.1372625082731247,
-0.17346127331256866,
0.3180660307407379,
-0.2492273449897766,
-0.32839909195899963,
0.2676927149295807,
-0.0034217312932014465,
0.0775880217552185,
0.10977145284414291,
-0.1344328671693802,
0.019583458080887794,
0.1759524643421173,
-0.11855676770210266,
-0.27991610765457153,
0.0346677303314209,
0.4038733243942261,
0.019987531006336212,
-0.04038798436522484,
-0.003335709450766444,
0.32674285769462585,
0.03966628760099411,
0.0282007846981287,
0.05303444713354111,
0.5687280297279358,
-0.18185395002365112,
-0.40361928939819336,
-0.30235010385513306,
-0.07707298547029495,
0.10837484896183014,
-0.08636704087257385,
-0.043961670249700546,
0.21258799731731415,
-0.12361307442188263,
-0.048099979758262634,
-0.19689612090587616,
0.03526785969734192,
0.043027982115745544,
-0.040598977357149124,
-0.24147498607635498,
-0.35775089263916016,
0.6491358876228333,
0.07486928999423981,
-0.4582131505012512,
0.21824809908866882,
0.34735411405563354,
-0.27557191252708435,
-0.14578816294670105,
0.17418071627616882,
0.7046637535095215,
0.0962943434715271,
-0.2293824553489685,
-0.25952473282814026,
0.08242638409137726,
0.5855368971824646,
0.2945801615715027,
-0.08087843656539917,
-0.058178823441267014,
-0.33622777462005615,
-0.03682496398687363,
-0.01572559028863907,
0.04763006791472435,
0.3330002427101135,
0.03330883011221886,
0.22596777975559235,
0.056538596749305725,
0.27183082699775696,
0.10543177276849747,
0.07793750613927841,
-0.14149218797683716,
0.024765972048044205,
0.25234997272491455,
0.1107064038515091,
-0.17857787013053894,
0.23110851645469666,
0.1454969048500061,
0.10791230946779251,
0.24824276566505432,
0.2883226275444031,
-0.444848895072937,
-0.09178122878074646,
-0.28503817319869995,
0.20310956239700317,
0.4126006066799164,
0.06050550937652588,
0.17472133040428162,
0.21706657111644745,
0.4050027132034302,
0.4423660337924957,
-0.17112861573696136,
0.08044424653053284,
0.2109605371952057,
0.4124329388141632,
-0.2929897606372833,
0.19091753661632538,
0.30414918065071106,
0.15893864631652832,
-0.22946619987487793,
0.23238494992256165,
0.2367483675479889,
0.33152568340301514,
-0.491717666387558,
0.026816070079803467,
0.15488684177398682,
-0.3165368139743805,
0.27819281816482544,
-0.21630769968032837,
0.0856902003288269,
-0.039541780948638916,
0.061280153691768646,
0.16922138631343842,
-0.10624819993972778,
0.5225181579589844,
0.1892322301864624,
-0.15237179398536682,
-0.14670678973197937,
-0.18198728561401367,
0.20934614539146423,
0.10750052332878113,
0.338254451751709,
-0.1614837348461151,
-0.08827260881662369,
-0.13368849456310272,
0.44199055433273315,
-0.3051990568637848,
0.03781334310770035,
0.0915212482213974,
-0.019194865599274635,
0.3036918044090271,
-0.007088536862283945,
0.04182841628789902,
0.20913776755332947,
0.28664225339889526,
0.1424584984779358,
-0.13978824019432068,
-0.21464139223098755,
0.16312474012374878,
-0.07299630343914032,
0.41038182377815247,
0.009107079356908798,
-0.16321058571338654,
-0.27733299136161804,
0.17231689393520355,
-0.22451338171958923,
0.018867600709199905,
-0.27558600902557373,
0.13248077034950256,
0.09039010852575302,
0.3165181875228882,
-0.33935168385505676,
0.1298603117465973,
0.11202628910541534,
-0.15303067862987518,
0.17160825431346893,
-0.11401074379682541,
-0.31533950567245483,
0.09632401168346405,
0.24086925387382507,
0.36025217175483704,
-0.21501415967941284,
-0.3067852258682251,
0.038352854549884796,
-0.0774378702044487,
-0.06642647087574005,
0.1932677924633026,
0.22584164142608643,
0.50546795129776,
0.12781721353530884,
-0.2530195116996765,
-0.4976939558982849,
0.31595534086227417,
0.01219041645526886,
-0.02916516363620758,
0.176742285490036,
0.15497946739196777,
0.008320022374391556,
-0.27646636962890625,
-0.664469838142395,
-0.02093852311372757,
-0.13687624037265778,
-0.3500557839870453,
-0.03838898986577988,
0.30789971351623535,
0.5481113791465759,
0.3904306888580322,
-0.18959690630435944,
0.04057900235056877,
0.047006506472826004,
0.04244235157966614,
0.4098191559314728,
0.15007375180721283,
-0.16828571259975433,
-0.07057598978281021,
-0.08093109726905823,
0.09629269689321518,
0.13788634538650513,
0.42725709080696106,
-0.14572025835514069,
0.23539364337921143,
-0.07502280175685883,
-0.4264287054538727,
0.23586736619472504,
-0.12059405446052551,
0.06693841516971588,
0.3613480031490326,
-0.04281969368457794,
-0.24828727543354034,
0.21490004658699036,
0.6761202812194824,
0.13340431451797485,
0.17106638848781586,
-0.2072855830192566,
-0.03495582193136215,
0.02662578783929348,
0.022543318569660187,
0.6205438375473022,
-0.16569767892360687,
0.29134005308151245,
0.17555472254753113,
-0.2380998134613037,
-0.0714854821562767,
-0.23008492588996887,
0.10347522795200348,
-0.30742427706718445,
0.00976914819329977,
0.11380443722009659,
0.20604093372821808,
0.10700985044240952,
-0.16046114265918732,
-0.3988548815250397,
-0.07697559148073196,
0.07292331755161285,
0.0950029045343399,
0.057196371257305145,
-0.3662109971046448,
0.0002712160348892212,
-0.07971568405628204,
0.17833906412124634,
-0.5269303917884827,
0.09302908182144165,
0.331849068403244,
0.06694702804088593,
-0.20687775313854218,
0.09802381694316864,
0.004566282033920288,
0.09110976755619049,
0.2443210482597351,
0.161879301071167,
-0.1217997819185257,
-0.007125549018383026,
0.08036106824874878,
0.17378532886505127,
-0.12178640067577362,
-0.2072758674621582,
-0.047416191548109055,
-0.14941628277301788,
-0.011256016790866852,
-0.2534240484237671,
0.24784810841083527,
-0.01915094628930092,
0.04514790698885918,
0.38396358489990234,
-0.2259897142648697,
0.2885335087776184,
-0.2560209333896637,
0.39262208342552185,
0.3788807690143585,
-0.19230008125305176,
0.10745842754840851,
0.08723729103803635,
-0.1191888302564621,
-0.41599321365356445,
0.5320667624473572,
0.29522499442100525,
0.22673040628433228,
0.11941339820623398,
0.03698403388261795,
-0.20519037544727325,
-0.04877613112330437,
0.4255407154560089,
-0.0299864262342453,
0.017436539754271507,
0.45533818006515503,
-0.25764158368110657,
-0.17528873682022095,
0.06950968503952026,
-0.23280274868011475,
0.4561755061149597,
-0.019978955388069153,
-0.10472726076841354,
-0.11177141964435577,
-0.014859437942504883,
-0.10678873211145401,
0.090809665620327,
0.1928245574235916,
-0.3207892179489136,
-0.44833001494407654,
0.24575649201869965,
0.09981030225753784,
-0.004557192325592041,
-0.2362707555294037,
0.2528702914714813,
-0.27170318365097046,
-0.02972848154604435,
-0.13529454171657562,
0.3959845304489136,
0.11085119843482971,
-0.04696481674909592,
-0.28396081924438477,
0.13142217695713043,
0.15653648972511292,
0.16205871105194092,
0.4353889524936676,
0.10636782646179199,
0.03580928593873978,
-0.12164376676082611,
0.08200181275606155,
0.10734371840953827,
0.1328492909669876,
-0.04505201429128647,
-0.17140072584152222,
0.19470156729221344,
-0.03747635707259178,
-0.15663695335388184,
-0.21948324143886566,
-0.06246258318424225,
0.09882340580224991,
-0.2983468174934387,
0.012631476856768131,
0.38462260365486145,
-0.0683060958981514,
-0.14874456822872162,
0.1428324580192566,
0.15932802855968475,
-0.19016389548778534,
0.5893236398696899,
-0.06621566414833069,
-0.05942121148109436,
0.11129309237003326,
0.31833574175834656,
0.2559437155723572,
0.020031629130244255,
-0.16856899857521057,
-0.06699827313423157,
0.8531067967414856,
-0.5415776968002319,
-0.1140701025724411,
0.1884542554616928,
0.38350632786750793,
0.1347116380929947,
-0.08456487953662872,
0.15151628851890564,
-0.0027911476790905,
-0.12058409303426743,
0.3433544635772705,
0.01458096131682396
] |
https://github.com/huggingface/datasets/issues/1514 | how to get all the options of a property in datasets | I think the `features` attribute of the dataset object is what you are looking for:
```
>>> dataset.features
{'sentence1': Value(dtype='string', id=None),
'sentence2': Value(dtype='string', id=None),
'label': ClassLabel(num_classes=2, names=['not_equivalent', 'equivalent'], names_file=None, id=None),
'idx': Value(dtype='int32', id=None)
}
>>> dataset.features["label"].names
['not_equivalent', 'equivalent']
```
For reference: https://huggingface.co/docs/datasets/exploring.html | Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks | 42 | how to get all the options of a property in datasets
Hi
could you tell me how I can get all unique options of a property of dataset?
for instance in case of boolq, if the user wants to know which unique labels it has, is there a way to access unique labels without getting all training data lables and then forming a set i mean? thanks
I think the `features` attribute of the dataset object is what you are looking for:
```
>>> dataset.features
{'sentence1': Value(dtype='string', id=None),
'sentence2': Value(dtype='string', id=None),
'label': ClassLabel(num_classes=2, names=['not_equivalent', 'equivalent'], names_file=None, id=None),
'idx': Value(dtype='int32', id=None)
}
>>> dataset.features["label"].names
['not_equivalent', 'equivalent']
```
For reference: https://huggingface.co/docs/datasets/exploring.html | [
-0.2287430316209793,
-0.7055016756057739,
0.0021906886249780655,
0.36623722314834595,
0.050974614918231964,
0.14188829064369202,
0.026728421449661255,
0.06085146963596344,
-0.15471288561820984,
0.26906877756118774,
-0.4087378680706024,
0.25621190667152405,
-0.2511255443096161,
0.41049641370773315,
-0.001940515823662281,
0.15335191786289215,
-0.15574651956558228,
0.13356056809425354,
-0.1536467969417572,
-0.2861345112323761,
-0.4006635546684265,
-0.10757383704185486,
-0.4153289198875427,
0.0467984713613987,
-0.13148576021194458,
-0.3693218529224396,
-0.22433462738990784,
-0.26477041840553284,
-0.30923956632614136,
-0.4690886437892914,
-0.1003360003232956,
0.40636134147644043,
-0.019101373851299286,
-0.09850350767374039,
-0.00011683935736073181,
-0.09665774554014206,
-0.08514408767223358,
0.0530238002538681,
-0.195506289601326,
-0.16421853005886078,
-0.056053150445222855,
0.033016182482242584,
0.0604153573513031,
-0.31047874689102173,
-0.2448531985282898,
-0.2659603953361511,
0.06309472769498825,
-0.28156715631484985,
-0.096483513712883,
0.08341380208730698,
0.11242799460887909,
0.12287868559360504,
-0.1639305204153061,
0.05238276347517967,
0.23549404740333557,
0.3953166604042053,
-0.1452854573726654,
-0.1424500048160553,
0.3674566447734833,
0.21635951101779938,
0.20548173785209656,
0.17360137403011322,
0.17534515261650085,
0.019726751372218132,
0.06481417268514633,
0.10976503789424896,
-0.10489117354154587,
-0.10861702263355255,
0.1151849552989006,
0.6177585124969482,
0.7410162687301636,
-0.08024486154317856,
-0.6125473380088806,
-0.337149053812027,
0.2651628255844116,
-0.21873091161251068,
-0.042120300233364105,
0.34857290983200073,
-0.0364704430103302,
0.019628964364528656,
-0.616601824760437,
-0.14698642492294312,
-0.20998956263065338,
0.03418407589197159,
0.0878431648015976,
0.3314305245876312,
-0.229904904961586,
0.10702793300151825,
0.19945307075977325,
-0.2394701987504959,
0.11621850728988647,
-0.05320519208908081,
-0.1603344827890396,
0.29080963134765625,
-0.2628744840621948,
-0.20337499678134918,
0.0598604679107666,
0.3661661148071289,
0.6192520260810852,
0.24191300570964813,
0.02724624238908291,
-0.23198860883712769,
-0.28857141733169556,
0.03933922201395035,
0.21702535450458527,
0.2005423605442047,
0.24873706698417664,
0.31538382172584534,
0.01671469584107399,
-0.029265275225043297,
-0.3435154855251312,
-0.07558766007423401,
-0.08131349831819534,
0.4947541654109955,
-0.04878488928079605,
0.04950761795043945,
0.32423466444015503,
-0.13818064332008362,
0.02992967702448368,
-0.19831052422523499,
-0.5271270275115967,
-0.09540122002363205,
0.336398184299469,
0.0749921053647995,
-0.13599348068237305,
-0.2295091152191162,
-0.09804317355155945,
-0.14761899411678314,
-0.006886471062898636,
-0.4394296407699585,
-0.21581485867500305,
0.009178577922284603,
0.04502773657441139,
0.06275022774934769,
0.11909228563308716,
-0.10270266234874725,
0.3910476863384247,
0.2135324627161026,
-0.00786842405796051,
-0.14232954382896423,
0.025409983471035957,
-0.06375438719987869,
0.04695716127753258,
-0.13300608098506927,
-0.07965999096632004,
-0.09242312610149384,
-0.06027165427803993,
-0.13885968923568726,
-0.46075594425201416,
-0.1905696988105774,
0.10574378073215485,
-0.44339439272880554,
-0.02898661233484745,
0.0971212238073349,
-0.3224670886993408,
-0.14156374335289001,
-0.4366813600063324,
0.6044266819953918,
-0.2416907250881195,
0.35001644492149353,
0.13793498277664185,
0.01798373833298683,
-0.39080125093460083,
-0.04683392122387886,
-0.0240163691341877,
0.36387017369270325,
-0.33694231510162354,
-0.24053582549095154,
0.17974364757537842,
-0.21322324872016907,
-0.37136945128440857,
0.0807776153087616,
-0.3572638928890228,
0.20709994435310364,
-0.24160334467887878,
-0.03526247292757034,
0.2858678698539734,
0.024125318974256516,
-0.33144330978393555,
0.005265353247523308,
0.3683822751045227,
-0.22023358941078186,
0.1870831698179245,
0.23534291982650757,
0.5210515260696411,
0.1221044510602951,
-0.09852337837219238,
0.1144932359457016,
-0.028673620894551277,
-0.39899665117263794,
0.22465737164020538,
-0.21334703266620636,
0.07002288103103638,
-0.14523254334926605,
-0.3617035746574402,
0.15285420417785645,
0.09654383361339569,
-0.18971090018749237,
0.24682047963142395,
0.00485650822520256,
-0.20938946306705475,
0.3276515007019043,
0.22110417485237122,
0.38906872272491455,
-0.10366962105035782,
-0.5267806053161621,
-0.6104333400726318,
0.31311723589897156,
0.008116278797388077,
-0.15981118381023407,
0.21126560866832733,
-0.44732069969177246,
0.12148759514093399,
0.15375737845897675,
-0.03766943886876106,
-0.06091029569506645,
0.03372342139482498,
0.1989070475101471,
-0.000506402924656868,
-0.14290885627269745,
-0.42548543214797974,
0.27212631702423096,
-0.1248876228928566,
0.05058756098151207,
-0.1900823712348938,
-0.1255624145269394,
0.40105584263801575,
0.21124067902565002,
0.05481800436973572,
0.002891644835472107,
0.23834556341171265,
-0.010320714674890041,
-0.09246539324522018,
0.06456714123487473,
-0.03355171158909798,
0.11284930258989334,
0.2294694185256958,
0.2720688283443451,
0.24944749474525452,
-0.23920045793056488,
-0.18869157135486603,
-0.08287158608436584,
0.19108596444129944,
0.01825834810733795,
-0.3324783742427826,
0.39078789949417114,
-0.04638400301337242,
0.30150356888771057,
-0.07436179369688034,
0.17333900928497314,
0.014469223096966743,
-0.030882252380251884,
-0.18364150822162628,
-0.11960289627313614,
0.14720818400382996,
-0.05670228227972984,
0.3591715097427368,
0.3756248354911804,
-0.4823976159095764,
0.11439676582813263,
0.3670988380908966,
-0.13030953705310822,
-0.13364118337631226,
-0.20446568727493286,
0.0917305052280426,
0.09920232743024826,
0.39356499910354614,
0.05032419040799141,
0.22446683049201965,
0.18861471116542816,
0.04703231528401375,
0.277407169342041,
0.02060769312083721,
0.2673252522945404,
0.15990659594535828,
0.03431880846619606,
-0.16351068019866943,
-0.33302295207977295,
0.1298900693655014,
0.06779058277606964,
-0.19891145825386047,
-0.2625769376754761,
0.16144756972789764,
0.08835309743881226,
-0.16977103054523468,
0.023222291842103004,
-0.3889830708503723,
-0.08314169943332672,
0.07536103576421738,
-0.06319526582956314,
-0.06734605133533478,
-0.08440760523080826,
0.023329854011535645,
0.05265416204929352,
0.10113205015659332,
0.07643581181764603,
-0.35358601808547974,
0.3924438953399658,
-0.08046158403158188,
0.009225329384207726,
0.26919224858283997,
-0.03803841769695282,
-0.20514777302742004,
-0.06444413959980011,
-0.305620402097702,
0.21839740872383118,
0.4517788887023926,
0.14157825708389282,
0.10473029315471649,
-0.5595073103904724,
-0.07702633738517761,
0.0939006358385086,
0.07030420005321503,
0.20389749109745026,
0.146580770611763,
-0.06071142852306366,
-0.28097158670425415,
0.36658570170402527,
0.1948535144329071,
0.2723929286003113,
-0.1599520891904831,
-0.10319194197654724,
-0.06392022222280502,
-0.18115273118019104,
0.02883697673678398,
-0.4219207465648651,
-0.4215576946735382,
-0.07074971497058868,
0.3276546001434326,
-0.19995997846126556,
0.2525436282157898,
-0.005421211011707783,
-0.2850002646446228,
0.045660100877285004,
-0.1100153997540474,
0.37931787967681885,
-0.1815899759531021,
-0.5349195599555969,
0.12606403231620789,
0.01194322295486927,
-0.08212362229824066,
-0.15854018926620483,
-0.14448946714401245,
-0.12697014212608337,
0.19068759679794312,
-0.24524134397506714,
-0.386907696723938,
-0.33681604266166687,
0.24910730123519897,
-0.08603043854236603,
0.10271182656288147,
0.2500682473182678,
0.03527665138244629,
0.14863362908363342,
-0.038093194365501404,
-0.5036999583244324,
0.1496799886226654,
-0.0694485753774643,
0.24389776587486267,
0.3529319167137146,
0.07483091950416565,
0.021378513425588608,
0.3612080216407776,
0.524846076965332,
0.010234266519546509,
0.09071409702301025,
-0.5891010761260986,
0.2321331650018692,
0.34349292516708374,
-0.560032308101654,
-0.06955820322036743,
0.30564719438552856,
-0.015954431146383286,
0.15896140038967133,
0.2492460310459137,
0.3992689549922943,
-0.04809459298849106,
0.12045444548130035,
-0.1722259521484375,
-0.24788881838321686,
-0.43880438804626465,
-0.10805860161781311,
0.10122181475162506,
-0.14438167214393616,
0.040637969970703125,
-0.07926402986049652,
0.05880638211965561,
-0.037686802446842194,
0.0627976730465889,
-0.0023783668875694275,
0.14309875667095184,
-0.6517041921615601,
-0.23461118340492249,
0.3950178623199463,
0.1208132654428482,
0.12924720346927643,
0.1279478818178177,
-0.04686184227466583,
0.336909681558609,
0.499362587928772,
0.31625524163246155,
0.780180811882019,
0.026032673195004463,
-0.11287349462509155,
-0.03573796525597572,
-0.5820831656455994,
-0.0472150519490242,
-0.07635649293661118,
-0.2561796009540558,
0.013971138745546341,
-0.13295148313045502,
0.5977634191513062,
-0.12362390756607056,
-0.302671879529953,
-0.10314776003360748,
0.3476695716381073,
-0.3011566400527954,
-0.30655768513679504,
0.15948666632175446,
-0.07491615414619446,
-0.02140299789607525,
0.05764656513929367,
-0.10027111321687698,
0.04724933207035065,
0.1667349636554718,
-0.1385360062122345,
-0.22846713662147522,
0.028972681611776352,
0.3732239603996277,
0.0631881058216095,
-0.03613310307264328,
0.0028205309063196182,
0.3145393431186676,
0.18962383270263672,
-0.04538723826408386,
-0.01759563945233822,
0.6283414959907532,
-0.07176028192043304,
-0.40864861011505127,
-0.5035915970802307,
0.00824361015111208,
0.1751672327518463,
-0.05659765005111694,
-0.07742451876401901,
0.18410462141036987,
-0.09972801059484482,
0.0023476257920265198,
-0.2769593596458435,
0.12765413522720337,
0.22682391107082367,
0.03258882462978363,
-0.17492905259132385,
-0.2764028012752533,
0.7093743085861206,
0.016355153173208237,
-0.3961482644081116,
0.12688127160072327,
0.6459155678749084,
-0.2218303084373474,
-0.20998899638652802,
-0.007735483348369598,
0.6521450877189636,
0.0345277413725853,
-0.13813737034797668,
-0.1319209337234497,
0.01661715656518936,
0.6354855298995972,
0.30601388216018677,
-0.07978173345327377,
-0.05534208193421364,
-0.3093678057193756,
-0.05419787019491196,
-0.04532652348279953,
0.09682659059762955,
0.14559265971183777,
0.027608875185251236,
0.32488584518432617,
0.11163896322250366,
0.2808368504047394,
-0.005766561254858971,
0.10190597176551819,
-0.113715760409832,
-0.00033962540328502655,
0.10695678740739822,
0.07924989610910416,
-0.22619910538196564,
0.4505360722541809,
0.17496103048324585,
0.07016069442033768,
0.3037331700325012,
0.13299742341041565,
-0.5052329301834106,
-0.2289663553237915,
-0.3203360438346863,
0.017085935920476913,
0.4922899603843689,
-0.05186411365866661,
0.18339043855667114,
0.3056119382381439,
0.37391197681427,
0.3710642158985138,
-0.20795053243637085,
0.0042765140533447266,
0.07102607935667038,
0.36015310883522034,
-0.3773457109928131,
0.14119839668273926,
0.2795592248439789,
0.1284252405166626,
-0.2771092653274536,
0.15118688344955444,
0.24617183208465576,
0.32474958896636963,
-0.32417112588882446,
-0.018561623990535736,
-0.05768216401338577,
-0.33096563816070557,
0.17117053270339966,
-0.19887420535087585,
0.10356774926185608,
-0.09580932557582855,
0.009303447790443897,
0.20894408226013184,
-0.23727944493293762,
0.3808010220527649,
0.20462442934513092,
-0.15947657823562622,
-0.08428271114826202,
-0.02324419468641281,
0.12445451319217682,
0.1620337963104248,
0.34290632605552673,
-0.06533165276050568,
-0.0637662336230278,
-0.085842564702034,
0.3398197591304779,
-0.23615482449531555,
0.0771329328417778,
0.19246551394462585,
0.028887158259749413,
0.23185758292675018,
-0.13319525122642517,
0.17734751105308533,
0.20257458090782166,
0.20199799537658691,
0.20580489933490753,
-0.21158944070339203,
-0.2841513752937317,
0.1425226330757141,
-0.050017621368169785,
0.3632565438747406,
-0.002841576933860779,
-0.04855026677250862,
-0.1789277344942093,
0.17344680428504944,
-0.18743205070495605,
0.14801864326000214,
-0.28880181908607483,
0.08327121287584305,
0.21918556094169617,
0.2625325322151184,
-0.21794623136520386,
0.009809622541069984,
0.04097335785627365,
-0.15407688915729523,
0.0811910331249237,
-0.05823623389005661,
-0.45844054222106934,
0.12411437928676605,
0.17232093214988708,
0.2276165634393692,
-0.07473143935203552,
-0.2618877589702606,
0.03649090975522995,
-0.15760190784931183,
0.07991985976696014,
0.3282821476459503,
0.26942604780197144,
0.5273608565330505,
0.13945040106773376,
-0.31020110845565796,
-0.3670925498008728,
0.29095062613487244,
0.0024578124284744263,
-0.06137339770793915,
0.22684623301029205,
0.10745146870613098,
-0.09885630756616592,
-0.29878154397010803,
-0.539070725440979,
-0.03155861049890518,
-0.06428533792495728,
-0.36480939388275146,
-0.03177034854888916,
0.3734409809112549,
0.3671705722808838,
0.3179037272930145,
-0.004295527935028076,
0.17588776350021362,
0.06370165199041367,
0.20369231700897217,
0.37417423725128174,
0.08968759328126907,
-0.21981880068778992,
-0.1027810201048851,
0.057463712990283966,
0.10070544481277466,
0.16987408697605133,
0.3659593462944031,
-0.19081607460975647,
0.23989030718803406,
-0.11707758903503418,
-0.42715975642204285,
0.13816945254802704,
0.03871219977736473,
0.11314025521278381,
0.20402222871780396,
-0.13715896010398865,
-0.2020515650510788,
0.301950067281723,
0.65525221824646,
0.190393328666687,
0.15418052673339844,
-0.29287806153297424,
-0.11058565974235535,
-0.04134773463010788,
0.08947232365608215,
0.7109920382499695,
-0.17821849882602692,
0.19068597257137299,
0.07300528883934021,
-0.10238270461559296,
-0.13210147619247437,
-0.19817835092544556,
0.3249548673629761,
-0.27599281072616577,
-0.0703856572508812,
0.022975923493504524,
0.3993241488933563,
0.12700343132019043,
-0.3190344274044037,
-0.1811656951904297,
-0.08692467957735062,
-0.018061619251966476,
0.19692681729793549,
-0.0030607469379901886,
-0.5139035582542419,
0.1683695763349533,
-0.1095319539308548,
0.16526831686496735,
-0.5792853236198425,
0.06909433007240295,
0.22805970907211304,
0.14994896948337555,
-0.1392500400543213,
0.06951198726892471,
0.10275278240442276,
0.12997864186763763,
0.2193460613489151,
0.2406875342130661,
-0.10106830298900604,
-0.07332808524370193,
0.0974661260843277,
0.27901437878608704,
-0.15126283466815948,
-0.18668128550052643,
-0.03021913394331932,
-0.11597083508968353,
-0.1603495329618454,
-0.17260649800300598,
0.22218652069568634,
-0.0752006471157074,
0.07118834555149078,
0.37033629417419434,
-0.3475040793418884,
0.21749936044216156,
-0.44328293204307556,
0.3771456182003021,
0.18573956191539764,
-0.12873804569244385,
-0.036578670144081116,
0.08396773785352707,
-0.06483127176761627,
-0.3235020935535431,
0.46727776527404785,
0.34014537930488586,
0.23249578475952148,
0.08562307804822922,
0.013312246650457382,
-0.2151789665222168,
0.0051040612161159515,
0.5135844945907593,
0.047487854957580566,
0.005223467946052551,
0.4486812949180603,
-0.3901945948600769,
-0.33822140097618103,
0.07403361052274704,
-0.2447773814201355,
0.47778400778770447,
0.014551067724823952,
-0.1510377824306488,
-0.11167001724243164,
-0.014416784048080444,
-0.0516229048371315,
0.12023887783288956,
0.11774587631225586,
-0.28334006667137146,
-0.4744020104408264,
0.03199279308319092,
0.014188353903591633,
0.014838598668575287,
-0.19752681255340576,
0.22547465562820435,
-0.281390517950058,
-0.0948789119720459,
-0.12911953032016754,
0.4669206142425537,
-0.06858795881271362,
-0.12005743384361267,
-0.3512740731239319,
0.18763065338134766,
0.10871819406747818,
0.22518473863601685,
0.41647064685821533,
0.07545946538448334,
0.058272916823625565,
-0.16518472135066986,
0.07572326064109802,
0.047071244567632675,
0.19062240421772003,
-0.05281498283147812,
-0.10154217481613159,
0.143075630068779,
0.08156383782625198,
-0.0329459011554718,
-0.3104358911514282,
-0.026372000575065613,
0.20882554352283478,
-0.2509795129299164,
-0.08390037715435028,
0.43622666597366333,
0.09269236028194427,
-0.22831732034683228,
0.031208323314785957,
0.07809527218341827,
-0.18716417253017426,
0.787702202796936,
-0.0610986053943634,
-0.018959758803248405,
0.10263809561729431,
0.2547627389431,
0.5230177640914917,
-0.17360317707061768,
-0.37592005729675293,
-0.04950735345482826,
0.7507703900337219,
-0.4973525106906891,
-0.06827954947948456,
0.2854039967060089,
0.22971533238887787,
0.08635659515857697,
-0.04321210831403732,
0.28742533922195435,
0.09995505213737488,
-0.06769242137670517,
0.3426649272441864,
-0.0046432651579380035
] |
https://github.com/huggingface/datasets/issues/1478 | Inconsistent argument names. | Also for the `Accuracy` metric the `accuracy_score` method should have its args in the opposite order so `accuracy_score(predictions, references,,,)`. | Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40
Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree. | 19 | Inconsistent argument names.
Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40
Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree.
Also for the `Accuracy` metric the `accuracy_score` method should have its args in the opposite order so `accuracy_score(predictions, references,,,)`. | [
0.2731809914112091,
-0.36698687076568604,
0.010524686425924301,
0.26157498359680176,
0.40641552209854126,
-0.2207668125629425,
0.24355199933052063,
-0.03292917087674141,
-0.19604937732219696,
0.049791015684604645,
-0.1712590605020523,
0.11040011793375015,
0.023989591747522354,
0.1010812297463417,
-0.01336787547916174,
-0.3983658254146576,
0.08849544823169708,
-0.12080647051334381,
-0.27170538902282715,
-0.26691490411758423,
-0.04179789125919342,
0.32413938641548157,
-0.13408517837524414,
0.143111452460289,
-0.3410860598087311,
0.13065846264362335,
0.028488872572779655,
-0.2280273139476776,
-0.16596168279647827,
-0.37511467933654785,
0.2316487580537796,
0.11225302517414093,
-0.20130516588687897,
0.5761032104492188,
-0.0001090248697437346,
-0.09862911701202393,
0.45038843154907227,
0.042998306453228,
0.09795300662517548,
-0.13894657790660858,
0.20405423641204834,
0.0040312353521585464,
0.38006526231765747,
-0.27092164754867554,
-0.18114876747131348,
0.045563891530036926,
-0.16981811821460724,
0.3196668326854706,
0.5733874440193176,
0.20233802497386932,
0.2764057517051697,
0.49946245551109314,
0.026740137487649918,
-0.18205341696739197,
-0.016750700771808624,
0.36844372749328613,
-0.14352621138095856,
0.21940062940120697,
-0.022585339844226837,
0.17026589810848236,
-0.2521292269229889,
0.25527626276016235,
0.21965204179286957,
-0.07998807728290558,
0.49308598041534424,
0.0928412601351738,
0.044188570231199265,
0.008064204826951027,
-0.2042267918586731,
0.07531042397022247,
0.09808547794818878,
-0.20485961437225342,
-0.5751946568489075,
-0.14712610840797424,
-0.16710887849330902,
-0.22366778552532196,
0.03860025107860565,
-0.06287107616662979,
-0.08370836079120636,
-0.07436041533946991,
-0.31731468439102173,
0.06665665656328201,
-0.24840658903121948,
-0.10545173287391663,
-0.05657104402780533,
0.37787920236587524,
-0.051157183945178986,
0.025596026331186295,
0.20359832048416138,
-0.025975149124860764,
0.0071267373859882355,
-0.02203640341758728,
0.045858677476644516,
0.20648427307605743,
-0.24662546813488007,
-0.23526985943317413,
0.09788049012422562,
0.3341542184352875,
0.08308307826519012,
-0.06047605723142624,
-0.050915129482746124,
0.13320991396903992,
-0.025755980983376503,
-0.05440359562635422,
0.26709967851638794,
0.48391127586364746,
0.12956193089485168,
0.14487458765506744,
0.11130174994468689,
0.19414925575256348,
0.035285767167806625,
0.0035423412919044495,
0.34759947657585144,
-0.06085377186536789,
0.1952458918094635,
-0.03765047341585159,
-0.2405877411365509,
-0.4538149833679199,
0.07807499170303345,
-0.04678865149617195,
0.17355874180793762,
-0.21271857619285583,
0.3083496689796448,
0.24478068947792053,
-0.4023403227329254,
0.13044100999832153,
0.10049936175346375,
0.14576786756515503,
-0.15601687133312225,
0.045131489634513855,
-0.27949756383895874,
-0.03546388819813728,
-0.5579997301101685,
0.22659814357757568,
-0.01614511013031006,
0.15103746950626373,
0.40499335527420044,
0.044503793120384216,
0.4226752519607544,
-0.11608948558568954,
-0.23034891486167908,
0.06585663557052612,
0.148044615983963,
0.06952815502882004,
-0.3464033007621765,
-0.020282363519072533,
0.07589994370937347,
-0.14234790205955505,
-0.1665622889995575,
-0.1238342747092247,
-0.1915263831615448,
-0.2033853381872177,
0.08240154385566711,
0.2798466682434082,
-0.3662949800491333,
-0.023901894688606262,
-0.16848966479301453,
0.12408483028411865,
0.03280527889728546,
-0.005280289798974991,
0.032958872616291046,
-0.13587906956672668,
-0.015563242137432098,
-0.18649329245090485,
0.27905577421188354,
0.24941560626029968,
0.19061751663684845,
-0.39054641127586365,
0.14286015927791595,
-0.11486548185348511,
-0.18320107460021973,
0.36228156089782715,
-0.23611515760421753,
-0.022618703544139862,
-0.0717778131365776,
-0.06233369931578636,
0.12999269366264343,
-0.35593074560165405,
-0.10998967289924622,
0.02284829504787922,
0.28443390130996704,
0.1188528761267662,
-0.048843227326869965,
-0.03865869343280792,
-0.062323056161403656,
-0.24523499608039856,
0.0481165274977684,
-0.13312049210071564,
0.17784051597118378,
0.01547740213572979,
-0.5007197856903076,
-0.2730276882648468,
-0.14329613745212555,
0.09797216951847076,
0.12496255338191986,
0.12861423194408417,
-0.24461588263511658,
0.16088424623012543,
0.3392625153064728,
-0.09870414435863495,
-0.3262065052986145,
0.10280421376228333,
0.23082374036312103,
-0.19846530258655548,
0.05309049412608147,
0.030473660677671432,
-0.4228443503379822,
-0.04280955344438553,
-0.29053354263305664,
0.4193040430545807,
0.243400439620018,
-0.22943851351737976,
-0.19478946924209595,
0.09393192827701569,
-0.02116832509636879,
-0.1322898417711258,
0.23852339386940002,
-0.06935568153858185,
0.10614986717700958,
-0.010401144623756409,
-0.18737050890922546,
0.02341713011264801,
-0.24204668402671814,
0.2245827466249466,
-0.29619327187538147,
0.10952995717525482,
-0.16097231209278107,
-0.13994988799095154,
0.0054597631096839905,
0.2729823589324951,
0.19447451829910278,
-0.10461321473121643,
-0.12194138020277023,
0.4222336709499359,
0.02305666357278824,
0.21508780121803284,
-0.14715754985809326,
0.5913026332855225,
0.34483036398887634,
-0.1929064691066742,
-0.017554456368088722,
0.12098568677902222,
-0.028342410922050476,
-0.24375268816947937,
-0.31495028734207153,
0.40019625425338745,
-0.08573317527770996,
0.14078211784362793,
0.3331148624420166,
-0.14487504959106445,
-0.07838945835828781,
0.07355427742004395,
-0.3948213756084442,
-0.005742203444242477,
0.22055473923683167,
-0.1619671732187271,
0.2159050554037094,
0.10725191980600357,
-0.251216858625412,
-0.14854338765144348,
0.3663339912891388,
-0.0666087418794632,
-0.13508254289627075,
0.2656882405281067,
-0.0148497074842453,
-0.04438119754195213,
-0.15633876621723175,
0.10393297672271729,
0.40058088302612305,
0.20214371383190155,
-0.08173851668834686,
0.1937270164489746,
-0.1493363082408905,
-0.17475704848766327,
0.146733358502388,
0.3263316750526428,
-0.3253338038921356,
-0.015446729958057404,
0.07353129982948303,
0.17943844199180603,
-0.31614983081817627,
-0.05642908439040184,
-0.3818184733390808,
0.00262320414185524,
-0.18774065375328064,
0.17465703189373016,
0.056109100580215454,
0.0912809744477272,
-0.4408503472805023,
-0.41943326592445374,
-0.5085698366165161,
-0.3730958104133606,
0.0834481492638588,
-0.012585774064064026,
-0.11685560643672943,
0.29105788469314575,
0.010268967598676682,
0.2725933790206909,
-0.20127783715724945,
0.3011474907398224,
-0.2318161129951477,
-0.1809816211462021,
-0.14496207237243652,
0.06491896510124207,
-0.0005280934274196625,
-0.18644458055496216,
0.3517940938472748,
-0.12203337252140045,
-0.03299391269683838,
0.1803678572177887,
-0.7035815119743347,
0.15641632676124573,
-0.059343017637729645,
0.4357469081878662,
0.2694193720817566,
-0.046616584062576294,
0.024697810411453247,
-0.21721859276294708,
0.47278475761413574,
-0.36045148968696594,
0.13382144272327423,
-0.034632474184036255,
0.03816661611199379,
-0.3561862111091614,
-0.1619342714548111,
-0.2841198146343231,
-0.02317393384873867,
-0.22123782336711884,
0.16522496938705444,
0.08904720842838287,
0.015785876661539078,
0.6461840867996216,
-0.07487833499908447,
-0.0009126621298491955,
-0.12544526159763336,
0.24073636531829834,
-0.174422949552536,
-0.3264140188694,
0.3574677109718323,
-0.13759596645832062,
-0.33682364225387573,
-0.22109515964984894,
0.03897113353013992,
0.29036569595336914,
-0.26251471042633057,
-0.2988056540489197,
-0.5284345149993896,
-0.1652681529521942,
-0.28443920612335205,
0.1087450236082077,
0.2394401878118515,
0.0225941464304924,
0.06925307214260101,
-0.08200141042470932,
-0.0824645608663559,
-0.5388011932373047,
0.22796958684921265,
0.0763646587729454,
0.33850449323654175,
-0.1704762578010559,
0.04789719730615616,
-0.07001880556344986,
0.6143718957901001,
0.26813870668411255,
-0.35859251022338867,
-0.022196732461452484,
0.16959671676158905,
0.07516594976186752,
-0.13576221466064453,
-0.30610084533691406,
0.08764613419771194,
0.06790850311517715,
-0.10227514058351517,
0.3983542323112488,
0.1747196912765503,
0.08202182501554489,
-0.22483938932418823,
0.0019413605332374573,
-0.07151032984256744,
-0.388008177280426,
0.07470287382602692,
0.09039905667304993,
0.009020127356052399,
0.0017705876380205154,
0.3643040060997009,
-0.25516119599342346,
-0.026004144921898842,
0.3872630000114441,
0.1652655303478241,
0.0230904221534729,
0.059645697474479675,
-0.3090393841266632,
-0.26351505517959595,
-0.3135915696620941,
0.07892830669879913,
-0.10818127542734146,
0.010166534222662449,
0.0114542655646801,
-0.20424982905387878,
0.0426030270755291,
0.031412623822689056,
0.3680109977722168,
0.15401354432106018,
-0.18496017158031464,
-0.043977804481983185,
-0.20244035124778748,
-0.12045112997293472,
-0.1366417109966278,
-0.08660078048706055,
-0.23035717010498047,
0.14417241513729095,
0.5868594646453857,
-0.4578203856945038,
-0.2638999819755554,
0.15385319292545319,
-0.0666934922337532,
-0.20700697600841522,
-0.18652747571468353,
-0.10794399678707123,
-0.0729936957359314,
0.1400521695613861,
-0.08546943217515945,
-0.06517088413238525,
-0.16139250993728638,
-0.14614905416965485,
0.11291274428367615,
0.2235858291387558,
0.10556850582361221,
0.23765432834625244,
0.49364638328552246,
0.2925414741039276,
-0.27763134241104126,
0.051354002207517624,
0.21335729956626892,
0.1717783808708191,
-0.08033040910959244,
0.2920035123825073,
-0.2146085500717163,
-0.12279532849788666,
-0.1981619894504547,
-0.1105412095785141,
0.21489685773849487,
0.2506064772605896,
0.1510547697544098,
0.015692196786403656,
-0.006319098174571991,
0.2994705140590668,
-0.15399429202079773,
0.03855842724442482,
0.45086103677749634,
0.03957362473011017,
-0.15584895014762878,
-0.17062312364578247,
0.6738691329956055,
-0.060156840831041336,
-0.2831737995147705,
0.16384130716323853,
0.4449312090873718,
-0.22729997336864471,
0.5194255709648132,
0.21758288145065308,
1.0889222621917725,
0.10691600292921066,
0.04945162683725357,
0.31581348180770874,
-0.27303487062454224,
0.4263893961906433,
0.011511553078889847,
0.08286624401807785,
-0.34557783603668213,
-0.1167232096195221,
0.09765632450580597,
-0.0800309106707573,
-0.06657873839139938,
0.028196347877383232,
-0.2774501442909241,
0.33167949318885803,
-0.05960560962557793,
0.2070012241601944,
-0.1536545604467392,
0.09928347170352936,
0.2525377869606018,
-0.17733876407146454,
-0.3854658901691437,
0.2241418957710266,
-0.07179029285907745,
0.21676699817180634,
-0.16304704546928406,
-0.18309316039085388,
-0.0060109943151474,
-0.2771734595298767,
-0.1023513451218605,
0.03048481047153473,
-0.005970788188278675,
-0.11982066929340363,
0.601456344127655,
0.019870176911354065,
0.15224963426589966,
0.16203005611896515,
0.4937831163406372,
0.11999328434467316,
-0.22327445447444916,
0.21487970650196075,
-0.30810776352882385,
0.2238095998764038,
-0.007922849617898464,
0.15120209753513336,
0.18544109165668488,
-0.08961018919944763,
-0.1417723000049591,
-0.006603993475437164,
0.0774519294500351,
-0.12096770852804184,
-0.336794376373291,
-0.20360200107097626,
0.026784703135490417,
-0.31919652223587036,
0.1342591792345047,
-0.05855637788772583,
-0.1731138676404953,
-0.06454569101333618,
0.21342624723911285,
0.013839654624462128,
-0.19956161081790924,
0.4642745852470398,
0.31063389778137207,
-0.07822000980377197,
-0.19325461983680725,
0.2929200828075409,
-0.03223150968551636,
-0.2332819402217865,
0.09053830057382584,
0.06295806169509888,
-0.09867296367883682,
-0.15771102905273438,
-0.442442923784256,
0.03556999936699867,
-0.46610814332962036,
0.13869908452033997,
-0.17610102891921997,
-0.32793915271759033,
-0.0027019865810871124,
0.47347894310951233,
0.5512042045593262,
0.0011474117636680603,
-0.09020152688026428,
-0.034390367567539215,
-0.38422128558158875,
0.2968621850013733,
0.270379900932312,
0.29628613591194153,
-0.26521560549736023,
0.266392320394516,
0.029416026547551155,
0.34024757146835327,
-0.42739275097846985,
-0.20280598104000092,
-0.24106596410274506,
0.07179766893386841,
0.05326138064265251,
-0.3644259572029114,
0.1708068996667862,
-0.0033056819811463356,
0.11219115555286407,
-0.075349822640419,
-0.2686135470867157,
-0.1798395812511444,
-0.24296285212039948,
0.07903801649808884,
0.07198513299226761,
-0.06339693814516068,
-0.08433395624160767,
0.2383141666650772,
0.1235138475894928,
-0.20018944144248962,
0.09441418945789337,
0.25968942046165466,
0.14651767909526825,
0.50005704164505,
-0.030410107225179672,
0.2394498586654663,
0.060353681445121765,
-0.08461230993270874,
0.44276782870292664,
0.011653512716293335,
0.33526650071144104,
-0.074396513402462,
-0.2876390218734741,
-0.24150532484054565,
0.16566041111946106,
0.3212960958480835,
0.012582644820213318,
0.19433021545410156,
0.2605952024459839,
-0.009730592370033264,
-0.15827742218971252,
0.21217219531536102,
0.3628944456577301,
0.3294595777988434,
-0.01701217144727707,
-0.18821261823177338,
-0.1788673996925354,
0.2839376628398895,
-0.1827601045370102,
-0.10950778424739838,
0.002461431547999382,
0.23592184484004974,
0.09595362842082977,
0.29225295782089233,
0.023467492312192917,
-0.03530595451593399,
0.2685288190841675,
0.11224351078271866,
0.5112108588218689,
-0.3401264548301697,
0.23637157678604126,
0.1527334302663803,
-0.036609947681427,
0.08569546043872833,
0.4524397552013397,
-0.08766508102416992,
0.3393721282482147,
-0.08274957537651062,
-0.20799317955970764,
0.21952450275421143,
-0.4933939278125763,
-0.046551015228033066,
0.2815234661102295,
0.3500545024871826,
-0.2611860930919647,
0.19404879212379456,
0.17390796542167664,
0.14762896299362183,
-0.035783424973487854,
0.403176873922348,
-0.01338737178593874,
-0.4535726010799408,
-0.4093821942806244,
-0.027681950479745865,
-0.07578864693641663,
-0.23373715579509735,
-0.15271525084972382,
-0.2250804901123047,
-0.18192744255065918,
-0.1274147629737854,
-0.09988902509212494,
-0.15538537502288818,
0.5217833518981934,
-0.03586076945066452,
0.03085482493042946,
-0.0640525370836258,
-0.34815576672554016,
0.12882579863071442,
0.48755067586898804,
-0.07671084254980087,
0.2586063742637634,
0.465658962726593,
-0.047151826322078705,
0.05785101652145386,
0.3424310088157654,
0.24853694438934326,
0.18300442397594452,
-0.054247546941041946,
0.05470230057835579,
0.04169781878590584,
-0.048528511077165604,
0.07328367233276367,
0.3361123204231262,
0.00013553351163864136,
-0.008693497627973557,
0.15093615651130676,
0.21785573661327362,
-0.2653510570526123,
0.31538739800453186,
-0.5025443434715271,
0.12854517996311188,
-0.26536837220191956,
0.7372076511383057,
-0.010550692677497864,
-0.20245397090911865,
-0.13954804837703705,
-0.19469863176345825,
-0.366217702627182,
0.018585575744509697,
0.055879637598991394,
0.026545926928520203,
0.08488776534795761,
-0.15733623504638672,
0.118136927485466,
0.1454438418149948,
0.5106710195541382,
0.323432058095932,
0.2254035770893097,
-0.39175665378570557,
0.04544420540332794,
-0.3647664189338684,
0.014384880661964417,
0.44442975521087646,
0.3885422646999359,
-0.11387887597084045,
-0.08529938012361526,
0.05998435243964195,
0.021245082840323448,
0.14390984177589417,
-0.3385235369205475,
-0.0759207010269165,
-0.13049787282943726,
-0.38315555453300476,
0.09574119746685028,
-0.36583441495895386,
-0.27121976017951965,
0.24662187695503235,
0.10244711488485336,
-0.04378160461783409,
-0.0287933386862278,
0.08679597824811935,
-0.03751533105969429,
0.15864409506320953,
0.1548335999250412,
0.25537869334220886,
0.10197959095239639,
0.17243878543376923,
0.3268676996231079,
0.01413661614060402,
-0.11904442310333252,
0.05257255956530571,
-0.1921423226594925,
-0.09843491017818451,
-0.0220789834856987,
-0.300406813621521,
0.3137195110321045,
0.041978806257247925,
-0.16326715052127838,
-0.3625544309616089,
0.07629472762346268,
0.19092856347560883,
-0.35904088616371155,
-0.34429842233657837,
0.1590275913476944,
-0.039131537079811096,
-0.22920362651348114,
0.2680904269218445,
0.5187249779701233,
0.09582197666168213,
0.29484042525291443,
-0.23521675169467926,
-0.1957513689994812,
0.6630078554153442,
-0.3643350303173065,
0.012141697108745575,
-0.03962181508541107,
0.2570454478263855,
-0.03944506496191025,
-0.23402950167655945,
-0.9655611515045166,
-0.02924972027540207,
0.09185512363910675,
-0.2649494409561157,
-0.21915598213672638,
0.28934112191200256,
-0.032886892557144165,
-0.10807736217975616,
-0.04957195743918419,
0.5406028628349304,
0.14588096737861633,
-0.137569859623909,
0.058952491730451584,
-0.036150574684143066
] |
https://github.com/huggingface/datasets/issues/1478 | Inconsistent argument names. | Thanks for pointing this out ! 🕵🏻
Predictions and references should indeed be swapped in the docstring.
However, the call to `accuracy_score` should not be changed, it [signature](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html#sklearn.metrics.accuracy_score) being:
```
sklearn.metrics.accuracy_score(y_true, y_pred, *, normalize=True, sample_weight=None)
```
Feel free to open a PR if you want to fix this :) | Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40
Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree. | 49 | Inconsistent argument names.
Just find it a wee bit odd that in the transformers library `predictions` are those made by the model:
https://github.com/huggingface/transformers/blob/master/src/transformers/trainer_utils.py#L51-L61
While in many datasets metrics they are the ground truth labels:
https://github.com/huggingface/datasets/blob/c3f53792a744ede18d748a1133b6597fdd2d8d18/metrics/accuracy/accuracy.py#L31-L40
Do you think predictions & references should be swapped? I'd be willing to do some refactoring here if you agree.
Thanks for pointing this out ! 🕵🏻
Predictions and references should indeed be swapped in the docstring.
However, the call to `accuracy_score` should not be changed, it [signature](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html#sklearn.metrics.accuracy_score) being:
```
sklearn.metrics.accuracy_score(y_true, y_pred, *, normalize=True, sample_weight=None)
```
Feel free to open a PR if you want to fix this :) | [
0.25693145394325256,
-0.4395506978034973,
-0.010300129652023315,
0.163270503282547,
0.4465916156768799,
-0.21154096722602844,
0.1434420645236969,
-0.03349565342068672,
0.041428182274103165,
0.08147932589054108,
-0.04051317274570465,
0.18038807809352875,
-0.05485929548740387,
0.13490721583366394,
0.018777403980493546,
-0.41002991795539856,
0.16432560980319977,
-0.1507948338985443,
-0.2882177531719208,
-0.28126686811447144,
-0.0857054740190506,
0.3164675533771515,
-0.15724492073059082,
0.10055217146873474,
-0.44450485706329346,
0.057382505387067795,
0.07317917793989182,
-0.2022777497768402,
-0.1855970323085785,
-0.3112766444683075,
0.29283788800239563,
0.03488089144229889,
-0.14357870817184448,
0.568448543548584,
-0.00010435430885991082,
-0.08017266541719437,
0.5083735585212708,
-0.004820059984922409,
0.04200044274330139,
-0.11779384315013885,
0.1701016128063202,
0.00622081384062767,
0.2916088104248047,
-0.343405157327652,
-0.19394910335540771,
0.21351204812526703,
-0.18632596731185913,
0.17797385156154633,
0.4698329567909241,
0.22483885288238525,
0.30302366614341736,
0.44029709696769714,
0.06459979712963104,
-0.19337837398052216,
-0.0585104301571846,
0.2556338310241699,
-0.08980036526918411,
0.18447011709213257,
-0.15081427991390228,
0.10447070747613907,
-0.22577917575836182,
0.34453892707824707,
0.18725037574768066,
-0.19685691595077515,
0.568768322467804,
0.10295898467302322,
0.07993582636117935,
-0.12895376980304718,
-0.09125868231058121,
0.04445747658610344,
0.07092700898647308,
-0.23054656386375427,
-0.41939520835876465,
-0.14622697234153748,
-0.11544588208198547,
-0.24396775662899017,
0.04414445906877518,
-0.003800276666879654,
-0.1105913370847702,
-0.10837408900260925,
-0.30401411652565,
0.004342283122241497,
-0.23841038346290588,
-0.08717963099479675,
-0.12004838138818741,
0.4932815432548523,
-0.04480496421456337,
0.059669896960258484,
0.2030072659254074,
-0.01816418021917343,
0.0755198523402214,
-0.044023945927619934,
-0.017567608505487442,
0.1420896053314209,
-0.26741406321525574,
-0.25248730182647705,
-0.07434066385030746,
0.24944686889648438,
0.048783473670482635,
-0.12476040422916412,
0.01822689175605774,
0.11762209981679916,
-0.026474997401237488,
-0.07828708738088608,
0.277472585439682,
0.5153079628944397,
0.08071877062320709,
0.21789927780628204,
0.04395168274641037,
0.2514866888523102,
0.09210251271724701,
-0.015479598194360733,
0.29692724347114563,
-0.10888540744781494,
0.1562732607126236,
-0.04523416608572006,
-0.1819581240415573,
-0.28273022174835205,
0.006398247554898262,
0.04530106484889984,
0.07373969256877899,
-0.0733465850353241,
0.20712073147296906,
0.18933197855949402,
-0.33044353127479553,
0.2138780951499939,
0.20555253326892853,
0.11919133365154266,
-0.09071822464466095,
0.0011589415371418,
-0.31133005023002625,
0.08577048778533936,
-0.5817629098892212,
0.2180776745080948,
0.02010079100728035,
0.21395277976989746,
0.3889665901660919,
0.048291098326444626,
0.34495800733566284,
-0.17496713995933533,
-0.2742278575897217,
0.06417283415794373,
0.1296645551919937,
0.09104073792695999,
-0.37192821502685547,
0.057380229234695435,
0.09043335914611816,
-0.09641534090042114,
-0.11465536057949066,
-0.002281397581100464,
-0.23763570189476013,
-0.12692739069461823,
0.11721401661634445,
0.30662551522254944,
-0.367497980594635,
-0.0712009146809578,
-0.16445153951644897,
0.1566270887851715,
0.02405286580324173,
0.13292385637760162,
0.09715844690799713,
-0.1436063051223755,
-0.07123725861310959,
-0.12286702543497086,
0.3704478144645691,
0.1328168660402298,
0.2067982256412506,
-0.3164629638195038,
0.15259712934494019,
-0.0030897241085767746,
-0.2281823456287384,
0.2791339159011841,
-0.248056560754776,
0.07948876917362213,
-0.05731070786714554,
-0.04172895848751068,
0.08556090295314789,
-0.4337063729763031,
-0.14646577835083008,
-0.023914894089102745,
0.1614614576101303,
0.01785125397145748,
-0.12773379683494568,
-0.06676357239484787,
-0.03420976549386978,
-0.14763163030147552,
-0.007767327129840851,
-0.033803585916757584,
0.17415933310985565,
0.06777012348175049,
-0.6005349159240723,
-0.3513389229774475,
-0.12669838964939117,
-0.012330647557973862,
0.20010194182395935,
0.11211325973272324,
-0.20584538578987122,
0.3587813377380371,
0.3848198354244232,
-0.06063211336731911,
-0.2027910202741623,
0.21786577999591827,
0.3127879202365875,
-0.19908754527568817,
0.0022055492736399174,
0.056223928928375244,
-0.43015217781066895,
-0.04791135713458061,
-0.2720617651939392,
0.4051239490509033,
0.1613994538784027,
-0.25148892402648926,
-0.2848738431930542,
0.12184084206819534,
-0.019459035247564316,
-0.2196536660194397,
0.3248639702796936,
-0.07227982580661774,
0.22261649370193481,
-0.01110425591468811,
-0.09279222786426544,
-0.02374863810837269,
-0.22217847406864166,
0.18674927949905396,
-0.3372325897216797,
0.2868712246417999,
-0.2119271606206894,
-0.08098136633634567,
0.0009325370192527771,
0.27390366792678833,
0.26891952753067017,
-0.06398378312587738,
-0.07387500256299973,
0.4159816801548004,
-0.10099618136882782,
0.14588667452335358,
-0.1311025619506836,
0.38055354356765747,
0.3150109052658081,
-0.2862721085548401,
-0.010840116068720818,
0.07767008244991302,
-0.013661956414580345,
-0.1669188141822815,
-0.2959807217121124,
0.28076329827308655,
-0.21251679956912994,
0.11410316079854965,
0.18876230716705322,
-0.08841118216514587,
-0.14321616291999817,
0.04301128908991814,
-0.290367990732193,
-0.07897719740867615,
0.014088518917560577,
-0.20774972438812256,
0.10352393984794617,
0.031189363449811935,
-0.10211875289678574,
-0.1167835220694542,
0.4021648168563843,
-0.11018258333206177,
-0.17107003927230835,
0.11909496039152145,
-0.18377181887626648,
-0.06752989441156387,
-0.12946084141731262,
0.15014410018920898,
0.3384486436843872,
0.1897507905960083,
-0.13719406723976135,
0.14507827162742615,
-0.16478602588176727,
-0.12461993098258972,
0.15455365180969238,
0.36163920164108276,
-0.2243345081806183,
0.07030914723873138,
0.14475862681865692,
0.14239469170570374,
-0.31935906410217285,
0.04564068838953972,
-0.20939753949642181,
0.06497255712747574,
-0.13569435477256775,
0.18657135963439941,
0.08806247264146805,
0.22064828872680664,
-0.49306100606918335,
-0.3447501063346863,
-0.3960668742656708,
-0.46165716648101807,
0.057541318237781525,
0.05126052349805832,
-0.07705415040254593,
0.27031102776527405,
0.02608679234981537,
0.1901894211769104,
-0.09728449583053589,
0.1863815188407898,
-0.18313850462436676,
-0.22948198020458221,
-0.12946486473083496,
0.11677055060863495,
-0.02225293219089508,
-0.10219474881887436,
0.2585437297821045,
-0.04626615718007088,
-0.0047250427305698395,
0.0898604765534401,
-0.6740859746932983,
0.05807647481560707,
-0.11475209891796112,
0.3619232773780823,
0.20274807512760162,
-0.006033711135387421,
-0.07719029486179352,
-0.3147086799144745,
0.4627211391925812,
-0.38485464453697205,
0.08553139865398407,
0.015214759856462479,
0.12657789885997772,
-0.2489893138408661,
-0.15693992376327515,
-0.28268465399742126,
0.02287842519581318,
-0.17710009217262268,
0.09592358767986298,
0.0997360497713089,
-0.17775575816631317,
0.6479942202568054,
0.0956634059548378,
-0.00524615403264761,
-0.2033054083585739,
0.11827242374420166,
-0.23914679884910583,
-0.23357099294662476,
0.3564310669898987,
-0.05456145852804184,
-0.41243496537208557,
-0.20169216394424438,
-0.04237153381109238,
0.33214449882507324,
-0.24710039794445038,
-0.399871826171875,
-0.4859278202056885,
-0.13663235306739807,
-0.18868795037269592,
0.07651834934949875,
0.18895582854747772,
0.04131508991122246,
0.039040304720401764,
-0.06672676652669907,
-0.1327356994152069,
-0.4137023389339447,
0.29146623611450195,
0.020893551409244537,
0.2645956873893738,
-0.19876620173454285,
0.08952377736568451,
-0.03908941149711609,
0.7449860572814941,
0.2926260232925415,
-0.3071354031562805,
-0.07902227342128754,
0.2613871395587921,
0.1781192421913147,
-0.09929924458265305,
-0.2288462519645691,
0.09277103841304779,
0.0014605671167373657,
-0.025620698928833008,
0.3370516896247864,
0.015388600528240204,
0.1114613264799118,
-0.17593064904212952,
0.007785789668560028,
-0.0346548967063427,
-0.4441080093383789,
0.06432389467954636,
0.1354663223028183,
-0.0013581886887550354,
0.017356622964143753,
0.3422459363937378,
-0.29733753204345703,
-0.1130082756280899,
0.4060264825820923,
0.09411563724279404,
-0.051889486610889435,
0.0938115194439888,
-0.3671157658100128,
-0.31195998191833496,
-0.3852479159832001,
-0.045266374945640564,
-0.14751945436000824,
0.08640711009502411,
0.06659010052680969,
-0.1999531388282776,
0.12637881934642792,
0.0075904917903244495,
0.3109397292137146,
0.17418959736824036,
-0.07441665977239609,
-0.06063257157802582,
-0.14244034886360168,
-0.10887833684682846,
-0.1683877408504486,
-0.17832516133785248,
-0.19283168017864227,
0.09033725410699844,
0.46236908435821533,
-0.4577734172344208,
-0.20101585984230042,
0.22344627976417542,
-0.012054035440087318,
-0.21212171018123627,
-0.17519252002239227,
-0.04607747495174408,
-0.062312617897987366,
0.08996809273958206,
-0.07387290149927139,
0.10637486726045609,
-0.0004626549780368805,
-0.2603628933429718,
0.1670316755771637,
0.1651104837656021,
0.06451272964477539,
0.15824806690216064,
0.3301129937171936,
0.3451452851295471,
-0.12305241823196411,
0.08343073725700378,
0.18290570378303528,
0.2164638787508011,
-0.09815197438001633,
0.36137714982032776,
-0.18250802159309387,
-0.1572301834821701,
-0.1379505693912506,
-0.08921801298856735,
0.06558597832918167,
0.2963204085826874,
0.11030346155166626,
0.06905391812324524,
0.022502759471535683,
0.23662115633487701,
-0.11969686299562454,
0.08712813258171082,
0.3594156801700592,
0.05256526544690132,
-0.14560170471668243,
-0.09583131968975067,
0.76247239112854,
-0.0418553501367569,
-0.2812093198299408,
0.08256560564041138,
0.3479241132736206,
-0.3535615801811218,
0.4915427565574646,
0.30380624532699585,
0.980129599571228,
0.15562844276428223,
0.10157917439937592,
0.2742381691932678,
-0.2376195639371872,
0.5145312547683716,
-0.1806173473596573,
0.10698427259922028,
-0.3739767074584961,
-0.05332077294588089,
0.1637924760580063,
-0.0009502805769443512,
-0.18055319786071777,
0.013047866523265839,
-0.2989768981933594,
0.23257771134376526,
-0.09672355651855469,
0.22050754725933075,
-0.18101169168949127,
0.16186650097370148,
0.30035847425460815,
-0.14408107101917267,
-0.2639053165912628,
0.26120424270629883,
-0.02360612154006958,
0.1913762390613556,
-0.1130198985338211,
-0.23048298060894012,
-0.11827291548252106,
-0.21383634209632874,
-0.04634552821516991,
0.03725558519363403,
-0.059779759496450424,
-0.08087663352489471,
0.4814067780971527,
-0.04483846202492714,
0.18366733193397522,
0.18116363883018494,
0.5718558430671692,
0.15944376587867737,
-0.2871662974357605,
0.24363499879837036,
-0.22391948103904724,
0.11146620661020279,
-0.029806727543473244,
0.16481763124465942,
0.14024320244789124,
-0.0821545422077179,
-0.213518425822258,
0.13732177019119263,
-0.007770106196403503,
-0.05370473116636276,
-0.4129835069179535,
-0.18630756437778473,
0.032701388001441956,
-0.38779395818710327,
0.07542300224304199,
0.008155100047588348,
-0.09974782168865204,
-0.07710808515548706,
0.24537213146686554,
-0.047138020396232605,
-0.13941814005374908,
0.2702659070491791,
0.4160873293876648,
-0.08518625795841217,
-0.1407623291015625,
0.3222423493862152,
0.0007677711546421051,
-0.22112219035625458,
0.16949573159217834,
-0.05629172921180725,
-0.11750680953264236,
-0.19532382488250732,
-0.42736923694610596,
0.03885720670223236,
-0.5343939065933228,
0.0756658986210823,
-0.03111368976533413,
-0.26631975173950195,
0.12311692535877228,
0.538474977016449,
0.5222580432891846,
-0.001829586923122406,
-0.010120522230863571,
-0.03045230358839035,
-0.3189579248428345,
0.3316341042518616,
0.09097765386104584,
0.26593419909477234,
-0.22741323709487915,
0.3254041075706482,
-0.032505664974451065,
0.3130790889263153,
-0.4708200991153717,
-0.17279426753520966,
-0.13931962847709656,
0.10914205014705658,
0.12047303467988968,
-0.4166147708892822,
0.09914115071296692,
0.03217547386884689,
0.11790713667869568,
-0.02957247570157051,
-0.2310783863067627,
-0.20922568440437317,
-0.19390960037708282,
0.06378014385700226,
0.18574261665344238,
-0.032904066145420074,
-0.11093137413263321,
0.21216540038585663,
0.16224312782287598,
-0.19221994280815125,
0.11916829645633698,
0.2229342758655548,
0.20085066556930542,
0.4330797493457794,
-0.0359400250017643,
0.33522140979766846,
0.047724947333335876,
-0.1254093497991562,
0.3776911795139313,
-0.011014550924301147,
0.20122681558132172,
-0.07527591288089752,
-0.0959920808672905,
-0.1424957513809204,
0.05204639211297035,
0.2900218963623047,
-0.1264626532793045,
0.25326183438301086,
0.2303694784641266,
-0.12095113098621368,
-0.1893375813961029,
0.2340860813856125,
0.32296088337898254,
0.2558218538761139,
-0.14020495116710663,
-0.23849143087863922,
-0.11986494809389114,
0.33156341314315796,
-0.1774674654006958,
-0.0892365500330925,
0.02483326941728592,
0.15178310871124268,
0.12111294269561768,
0.26005399227142334,
0.09385310113430023,
-0.23079299926757812,
0.3086583912372589,
0.22161370515823364,
0.46701210737228394,
-0.31172311305999756,
0.33548703789711,
0.20465317368507385,
-0.005698580294847488,
0.022410206496715546,
0.4360674023628235,
-0.04588780924677849,
0.2789548933506012,
0.08919382840394974,
-0.1828468143939972,
0.19722309708595276,
-0.43499326705932617,
-0.08392533659934998,
0.23754429817199707,
0.38701382279396057,
-0.13758929073810577,
0.13566747307777405,
0.08563758432865143,
0.130125492811203,
-0.12821917235851288,
0.3575025498867035,
-0.026275236159563065,
-0.4033462107181549,
-0.46967217326164246,
-0.03267147019505501,
-0.1958780586719513,
-0.2381099909543991,
-0.17045840620994568,
-0.19902926683425903,
-0.1440722942352295,
-0.10202932357788086,
-0.0963798314332962,
-0.16232351958751678,
0.44388338923454285,
-0.08865918219089508,
-0.19728197157382965,
0.058359503746032715,
-0.28753334283828735,
0.26768407225608826,
0.4577465057373047,
-0.09420455992221832,
0.3053967356681824,
0.3139283061027527,
-0.06778261065483093,
0.07105986028909683,
0.19991424679756165,
0.1426866501569748,
0.26810422539711,
-0.058084722608327866,
0.01869943179190159,
0.13128019869327545,
-0.09542237967252731,
0.12349888682365417,
0.3089659512042999,
0.13333749771118164,
-0.1635090708732605,
0.23760484158992767,
0.2542571723461151,
-0.3229694068431854,
0.2580934166908264,
-0.33862870931625366,
0.2281223088502884,
-0.23952873051166534,
0.46249017119407654,
0.03905901685357094,
-0.13403338193893433,
-0.1528572291135788,
-0.1531214714050293,
-0.3504590690135956,
0.04333256930112839,
-0.03942084684967995,
0.03409522399306297,
0.14574873447418213,
-0.25405123829841614,
0.1440104991197586,
0.1248265951871872,
0.4362035393714905,
0.2979634702205658,
-0.012170813977718353,
-0.30627790093421936,
0.08345909416675568,
-0.3498922884464264,
0.05017877370119095,
0.3667323887348175,
0.3661016523838043,
-0.16678844392299652,
-0.10490236431360245,
0.07012145966291428,
0.049379151314496994,
0.07067945599555969,
-0.18649908900260925,
-0.05691070109605789,
-0.13650107383728027,
-0.3562353253364563,
0.028518889099359512,
-0.3498349189758301,
-0.2375127673149109,
0.3309967517852783,
0.06156403571367264,
-0.07137688994407654,
-0.011163515038788319,
0.12904861569404602,
-0.012687001377344131,
0.11841948330402374,
0.077432781457901,
0.290815532207489,
0.07868430763483047,
0.158237487077713,
0.35488876700401306,
0.007333196699619293,
-0.14212456345558167,
-0.049109239131212234,
-0.19302497804164886,
-0.1361333429813385,
0.008677814155817032,
-0.20236386358737946,
0.38262712955474854,
0.08497995138168335,
-0.20198865234851837,
-0.2672126889228821,
0.03271414712071419,
0.2549811601638794,
-0.37145256996154785,
-0.345836877822876,
0.1677330583333969,
-0.05471700802445412,
-0.12135767936706543,
0.32208627462387085,
0.4787110388278961,
0.03018932417035103,
0.253216028213501,
-0.18037793040275574,
-0.36197561025619507,
0.5924817323684692,
-0.46104151010513306,
-0.06648530066013336,
0.03460908308625221,
0.19383713603019714,
-0.02367464452981949,
-0.24901068210601807,
-1.0206308364868164,
0.06512584537267685,
0.0875697210431099,
-0.1691465973854065,
-0.16900455951690674,
0.1944056898355484,
-0.07181498408317566,
-0.0802268534898758,
-0.02443484589457512,
0.538381814956665,
0.1742253601551056,
-0.14552053809165955,
0.02788563445210457,
-0.09385289996862411
] |
https://github.com/huggingface/datasets/issues/1452 | SNLI dataset contains labels with value -1 | I believe the `-1` label is used for missing/NULL data as per HuggingFace Dataset conventions. If I recall correctly SNLI has some entries with no (gold) labels in the dataset. | ```
import datasets
nli_data = datasets.load_dataset("snli")
train_data = nli_data['train']
train_labels = train_data['label']
label_set = set(train_labels)
print(label_set)
```
**Output:**
`{0, 1, 2, -1}` | 30 | SNLI dataset contains labels with value -1
```
import datasets
nli_data = datasets.load_dataset("snli")
train_data = nli_data['train']
train_labels = train_data['label']
label_set = set(train_labels)
print(label_set)
```
**Output:**
`{0, 1, 2, -1}`
I believe the `-1` label is used for missing/NULL data as per HuggingFace Dataset conventions. If I recall correctly SNLI has some entries with no (gold) labels in the dataset. | [
0.2351294904947281,
-0.49063488841056824,
-0.1780145764350891,
0.3363342881202698,
0.23378223180770874,
0.02110050618648529,
0.3015901446342468,
0.20032863318920135,
0.08077290654182434,
0.2864294946193695,
-0.23511511087417603,
0.3536290228366852,
-0.20612050592899323,
0.2780170738697052,
0.04971258342266083,
0.008970510214567184,
0.2335759699344635,
0.37036290764808655,
0.06204355135560036,
-0.40292155742645264,
-0.31361836194992065,
0.20422916114330292,
-0.31975314021110535,
0.17205190658569336,
-0.4605436623096466,
0.22234351933002472,
-0.0642019733786583,
-0.09003771096467972,
-0.02185857854783535,
-0.49333032965660095,
0.1622602939605713,
-0.03213052824139595,
-0.036401618272066116,
0.06824128329753876,
-0.00010406601359136403,
-0.25309088826179504,
0.044511307030916214,
-0.02776118740439415,
-0.41215378046035767,
-0.21508698165416718,
-0.14466294646263123,
-0.11153799295425415,
-0.07112019509077072,
-0.2451925277709961,
-0.22671794891357422,
-0.1674475222826004,
0.170284241437912,
-0.07430966943502426,
-0.009154096245765686,
0.2677803337574005,
0.238806813955307,
0.258872389793396,
-0.27265027165412903,
0.03778298199176788,
0.364298552274704,
-0.2887418270111084,
0.15620699524879456,
-0.034750841557979584,
0.08943308144807816,
0.06724242866039276,
0.47287437319755554,
0.5562070608139038,
-0.1372866928577423,
-0.018248315900564194,
0.09320627897977829,
0.27650922536849976,
0.0019012093544006348,
-0.3113330602645874,
0.19461292028427124,
0.37093645334243774,
0.18065527081489563,
-0.29791268706321716,
-0.2675400674343109,
-0.09967067837715149,
0.0889207199215889,
-0.40021637082099915,
-0.06384807080030441,
0.2426854521036148,
0.15631455183029175,
0.23273277282714844,
0.0338691771030426,
0.19234628975391388,
-0.2313922643661499,
0.16650855541229248,
-0.08471624553203583,
0.7823175191879272,
-0.19684523344039917,
0.1007971540093422,
0.16363641619682312,
0.0839666873216629,
-0.45548462867736816,
-0.008374247699975967,
0.1143379956483841,
0.47398409247398376,
-0.3202093541622162,
-0.0803489089012146,
-0.03712362051010132,
0.08141002804040909,
0.002193443477153778,
0.10085630416870117,
-0.00914898980408907,
0.0005344990640878677,
-0.06710007041692734,
0.2667033076286316,
-0.02837757021188736,
-0.0034565050154924393,
0.3293762505054474,
0.1094888299703598,
0.15013566613197327,
-0.1802951693534851,
0.24764087796211243,
-0.05125565826892853,
-0.2885902225971222,
-0.17484265565872192,
0.4545009434223175,
-0.027899187058210373,
0.16713158786296844,
-0.12046036124229431,
-0.4925311207771301,
0.11280476301908493,
-0.22569653391838074,
0.07882251590490341,
0.0458177849650383,
0.19623437523841858,
-0.033999763429164886,
0.10108862072229385,
-0.0013508312404155731,
0.06996461004018784,
-0.028599360957741737,
-0.2663106322288513,
-0.28646886348724365,
0.1551370620727539,
-0.00463547557592392,
-0.2554326355457306,
0.02959791198372841,
-0.27409854531288147,
0.212383434176445,
0.057198457419872284,
-0.2523679733276367,
-0.1367340385913849,
0.16938021779060364,
-0.08795973658561707,
0.34242600202560425,
0.3663024306297302,
-0.22400949895381927,
0.39346781373023987,
0.06253349781036377,
-0.2190619856119156,
-0.1465872824192047,
-0.07808303087949753,
-0.09509094804525375,
-0.1828194409608841,
-0.16561900079250336,
0.2921013832092285,
-0.19980017840862274,
-0.07577597349882126,
0.10414814949035645,
0.038577113300561905,
-0.06557589024305344,
0.10445179045200348,
0.27725914120674133,
-0.16499082744121552,
-0.07274101674556732,
-0.0392620787024498,
0.2582434117794037,
0.12273964285850525,
-0.3179696202278137,
-0.22747576236724854,
0.11545325815677643,
-0.3840160369873047,
0.20186647772789001,
0.22671079635620117,
0.11906316131353378,
-0.16061270236968994,
-0.17224162817001343,
0.2534026503562927,
0.3473176956176758,
-0.44357335567474365,
-0.2762626111507416,
-0.04719017446041107,
-0.1614970862865448,
-0.3439723551273346,
0.1165284812450409,
0.44653481245040894,
-0.1905212104320526,
0.28413116931915283,
0.21101981401443481,
-0.08797495812177658,
0.18879646062850952,
-0.07298874109983444,
-0.23800066113471985,
-0.07984831929206848,
0.35215121507644653,
0.1141519695520401,
0.003062620759010315,
-0.011715225875377655,
-0.2967052757740021,
-0.03611377999186516,
0.37018102407455444,
-0.07320989668369293,
0.11658184975385666,
0.18060076236724854,
0.333718478679657,
0.12633709609508514,
-0.001026481157168746,
-0.2666114866733551,
-0.1928447186946869,
0.2538927495479584,
0.0759870633482933,
0.42108461260795593,
0.029825717210769653,
-0.17667070031166077,
-0.30015894770622253,
-0.08039390295743942,
-0.3594001233577728,
-0.12702322006225586,
0.28324565291404724,
0.24107535183429718,
0.20933519303798676,
0.04330690577626228,
-0.28807327151298523,
0.1890072524547577,
-0.18090736865997314,
0.0934365913271904,
-0.39566588401794434,
0.16540449857711792,
0.046127691864967346,
0.09333308786153793,
-0.11292607337236404,
0.4331926107406616,
0.22867685556411743,
0.1468735784292221,
0.25200244784355164,
0.2583920955657959,
-0.21967971324920654,
-0.18353436887264252,
0.21876418590545654,
0.27652987837791443,
0.011654015630483627,
-0.4192710220813751,
-0.07563500851392746,
0.31445443630218506,
0.2531537413597107,
0.05685507506132126,
-0.13404467701911926,
0.46217966079711914,
-0.02234547957777977,
0.006658628582954407,
-0.16987785696983337,
0.16769105195999146,
-0.014960551634430885,
-0.0020620524883270264,
-0.23030661046504974,
-0.43993857502937317,
0.058025166392326355,
-0.39168956875801086,
0.266994446516037,
0.190383642911911,
-0.6285803914070129,
0.06024371087551117,
0.3843146860599518,
-0.3520503044128418,
0.11748900264501572,
-0.07919076830148697,
-0.22045058012008667,
0.11796215921640396,
0.17591474950313568,
0.17235083878040314,
0.037896446883678436,
0.33218222856521606,
-0.056762974709272385,
0.06901564449071884,
-0.3230644762516022,
-0.10770998895168304,
0.09688535332679749,
0.09756660461425781,
-0.05775533616542816,
-0.05422763526439667,
0.23044271767139435,
0.04670523852109909,
-0.2609631419181824,
-0.2921118140220642,
-0.21078236401081085,
0.2805333435535431,
-0.37314051389694214,
0.14263558387756348,
-0.0735430121421814,
-0.277118057012558,
-0.3835354447364807,
-0.15429840981960297,
-0.19289688766002655,
-0.28343215584754944,
0.07284414768218994,
-0.2848048806190491,
0.03359183296561241,
-0.04164855182170868,
0.056503500789403915,
0.15062597393989563,
0.011677967384457588,
-0.02494881860911846,
-0.33007141947746277,
-0.342848539352417,
-0.21377795934677124,
0.1240367591381073,
-0.31822288036346436,
0.37747639417648315,
0.33448654413223267,
-0.38596904277801514,
-0.09774011373519897,
-0.0646955743432045,
-0.24649080634117126,
0.023835020139813423,
-0.2468114048242569,
-0.029526596888899803,
0.34738844633102417,
0.14753979444503784,
-0.1745041012763977,
0.29584020376205444,
0.16713057458400726,
-0.06952733546495438,
-0.12727370858192444,
0.005984703078866005,
-0.14635585248470306,
-0.05749400332570076,
-0.35065507888793945,
-0.25182458758354187,
-0.4022502303123474,
-0.024926383048295975,
0.11821473389863968,
-0.046904005110263824,
0.16138926148414612,
0.40603578090667725,
0.0036256639286875725,
0.3636782467365265,
0.1491139829158783,
0.2072504460811615,
-0.20784659683704376,
-0.23528701066970825,
0.23570755124092102,
0.046059779822826385,
-0.23931880295276642,
0.010662693530321121,
0.09434530884027481,
-0.0006304942071437836,
-0.2364695966243744,
-0.2919706702232361,
-0.12151399254798889,
-0.024599479511380196,
0.008364453911781311,
0.12047640234231949,
0.10740155726671219,
0.09597528725862503,
0.09744945913553238,
-0.09040423482656479,
-0.23056480288505554,
0.011900540441274643,
0.21911871433258057,
-0.28835803270339966,
0.008227221667766571,
-0.0812750831246376,
0.1632949709892273,
0.0013203099370002747,
0.03991357609629631,
0.39950788021087646,
-0.10929875075817108,
0.07661297172307968,
-0.22726386785507202,
0.28120478987693787,
0.07718321681022644,
-0.006751915439963341,
0.09898876398801804,
0.4109138548374176,
-0.07323391735553741,
0.20683644711971283,
-0.0151301808655262,
0.214257150888443,
-0.06415481120347977,
0.19857841730117798,
-0.09191589057445526,
-0.0029181726276874542,
-0.09058380126953125,
0.07776845246553421,
0.10361067205667496,
-0.1578301638364792,
-0.07726357877254486,
-0.18215309083461761,
-0.07991001754999161,
-0.1854282021522522,
0.09748245030641556,
-0.13885527849197388,
0.055735111236572266,
-0.5141429901123047,
-0.0829986184835434,
-0.34764233231544495,
0.07206770777702332,
0.16311916708946228,
0.158831387758255,
0.12564952671527863,
-0.09458215534687042,
0.3085625171661377,
0.136850044131279,
0.5765369534492493,
-0.31660857796669006,
0.19814901053905487,
0.21280375123023987,
0.2803306579589844,
-0.4869133532047272,
-0.113967165350914,
-0.6099458932876587,
-0.1725614368915558,
0.37066951394081116,
0.31409507989883423,
-0.0789949893951416,
-0.4624697268009186,
0.37717491388320923,
0.12054844945669174,
-0.12566053867340088,
-0.14219893515110016,
-0.3774518072605133,
-0.2581157982349396,
-0.06229417771100998,
0.005491964519023895,
0.15186218917369843,
0.1125730499625206,
-0.051051415503025055,
0.05860155448317528,
0.03830229490995407,
0.14890578389167786,
0.41217392683029175,
0.22285738587379456,
0.22344905138015747,
0.16376501321792603,
-0.18001312017440796,
0.2618962228298187,
0.15108323097229004,
-0.2314300835132599,
0.4501064419746399,
-0.09788824617862701,
-0.2910017967224121,
0.08481888473033905,
-0.2944493889808655,
0.38887959718704224,
0.08987526595592499,
0.008828314021229744,
0.07898940145969391,
-0.11205336451530457,
0.23619332909584045,
-0.26556870341300964,
0.16705547273159027,
0.3529890775680542,
0.2594587802886963,
-0.43870222568511963,
-0.36212635040283203,
0.6647837162017822,
0.09580470621585846,
-0.1892317682504654,
-0.07297880947589874,
0.24873816967010498,
-0.32009243965148926,
0.17950007319450378,
0.27298039197921753,
0.9641366004943848,
-0.10051316022872925,
0.21293935179710388,
0.31136298179626465,
-0.3147004246711731,
0.6079535484313965,
0.17327651381492615,
-0.014840815216302872,
-0.3615511357784271,
0.02999095991253853,
-0.05057584121823311,
0.09330476820468903,
-0.193485289812088,
0.28533637523651123,
-0.024135857820510864,
0.32019227743148804,
-0.18578127026557922,
0.10431420803070068,
0.06218793988227844,
-0.10888679325580597,
0.158568874001503,
0.006622489541769028,
-0.4599725306034088,
0.21891078352928162,
-0.08484965562820435,
0.24823981523513794,
-0.19082856178283691,
0.06703680753707886,
-0.21703344583511353,
0.01699645444750786,
0.005933992564678192,
-0.22884145379066467,
0.15176627039909363,
-0.011379994451999664,
0.2311859428882599,
-0.12296180427074432,
-0.3427264988422394,
0.42072954773902893,
0.6655429601669312,
0.08090296387672424,
0.011833748780190945,
-0.03219625726342201,
0.045299626886844635,
0.19700627028942108,
0.16717194020748138,
0.12272544205188751,
0.4367149770259857,
0.0465492308139801,
-0.34690967202186584,
0.15301832556724548,
0.12694226205348969,
0.16419470310211182,
-0.2171165645122528,
0.10084457695484161,
-0.31582772731781006,
0.06557171791791916,
-0.1465638279914856,
0.027581598609685898,
0.06876328587532043,
-0.0932060033082962,
0.19633157551288605,
0.036052264273166656,
-0.281745970249176,
-0.12515023350715637,
-0.09241698682308197,
-0.4348122179508209,
-0.14115989208221436,
0.26300981640815735,
0.03235621005296707,
0.2662038207054138,
0.2066873461008072,
0.0008500553667545319,
-0.005622798576951027,
-0.2599630057811737,
-0.0178740993142128,
0.361418753862381,
-0.4468575716018677,
0.07758305221796036,
0.1845695525407791,
-0.017315424978733063,
0.00590767664834857,
0.3781411051750183,
0.06686826050281525,
-0.006796032190322876,
0.04336174204945564,
-0.26234859228134155,
-0.37672072649002075,
-0.04600334167480469,
0.09376239776611328,
0.3868139982223511,
0.11670845001935959,
0.1600835919380188,
-0.0736193135380745,
-0.33933591842651367,
-0.4597357511520386,
-0.0735425278544426,
-0.46243593096733093,
0.25275522470474243,
0.2372574657201767,
0.09363017976284027,
0.014880144037306309,
0.027329672127962112,
0.266951322555542,
-0.08026979118585587,
-0.07913568615913391,
-0.3020401895046234,
-0.2825828194618225,
0.061769984662532806,
-0.021995913237333298,
-0.1211458370089531,
-0.011522853747010231,
0.175975039601326,
-0.05053495243191719,
-0.09883490949869156,
0.162753164768219,
0.32500380277633667,
0.09831979870796204,
0.8718970417976379,
-0.23527826368808746,
0.21001344919204712,
-0.042387619614601135,
-0.22417345643043518,
0.09174139052629471,
-0.1011333167552948,
0.11304303258657455,
0.10866454988718033,
-0.09581037610769272,
0.007240109145641327,
-0.05084666609764099,
0.1480250358581543,
-0.23785223066806793,
-0.0637739971280098,
-0.014461979269981384,
-0.36028945446014404,
0.28205960988998413,
0.1690962314605713,
0.3595203161239624,
0.11255199462175369,
-0.2995537221431732,
-0.19431130588054657,
0.19720563292503357,
0.36742913722991943,
-0.21603910624980927,
-0.02635144628584385,
0.17943114042282104,
0.12200332432985306,
0.20113015174865723,
0.33650580048561096,
0.01861383393406868,
-0.03760901093482971,
-0.014332838356494904,
-0.0522533543407917,
0.09558070451021194,
-0.2456500381231308,
0.05624689534306526,
0.26407724618911743,
-0.014666959643363953,
-0.02969091758131981,
0.2569747865200043,
0.07684420049190521,
0.10752035677433014,
0.5465223789215088,
0.058104176074266434,
0.5124667882919312,
-0.06780628114938736,
0.15340586006641388,
-0.26714828610420227,
0.07943981885910034,
-0.09520994126796722,
0.21582648158073425,
-0.3798167109489441,
0.26536187529563904,
-0.0469481498003006,
0.23897665739059448,
-0.26798689365386963,
-0.030567936599254608,
0.057286277413368225,
0.26002630591392517,
-0.20002657175064087,
-0.2792084515094757,
-0.5016418695449829,
0.03131461143493652,
-0.16209018230438232,
0.06367455422878265,
0.0177420973777771,
-0.2343110889196396,
0.14901702105998993,
0.14157411456108093,
0.057054050266742706,
-0.40103602409362793,
-0.3689582347869873,
0.36513420939445496,
0.393451452255249,
-0.24351190030574799,
-0.044913023710250854,
0.23583433032035828,
-0.007081449031829834,
0.22543549537658691,
0.01876683160662651,
0.36618614196777344,
0.06018655374646187,
0.1167532354593277,
0.09894027560949326,
-0.2857353687286377,
-0.25695323944091797,
-0.03979787975549698,
-0.05387319624423981,
0.18120452761650085,
-0.008121419697999954,
0.2478684037923813,
0.2175569087266922,
-0.2464454025030136,
0.2887548804283142,
-0.0403531976044178,
0.35905906558036804,
-0.34021031856536865,
0.10503391921520233,
-0.12363491952419281,
-0.28089603781700134,
-0.38664180040359497,
-0.07053592056035995,
-0.435871422290802,
0.10421038419008255,
0.0963251143693924,
0.24981671571731567,
0.2405852973461151,
-0.1760200560092926,
0.13893482089042664,
0.12965215742588043,
0.3520663380622864,
0.11827400326728821,
0.1525217890739441,
-0.0864354595541954,
-0.14234353601932526,
-0.5975672602653503,
-0.06682189553976059,
0.11500389873981476,
-0.14339682459831238,
0.0619998574256897,
-0.024395830929279327,
-0.29691848158836365,
-0.2536071538925171,
0.013227880001068115,
0.1678115576505661,
0.053269654512405396,
-0.011523768305778503,
-0.12811985611915588,
-0.16614992916584015,
-0.18281947076320648,
-0.10828357934951782,
0.1383167803287506,
-0.07796350866556168,
-0.1140059232711792,
-0.23939253389835358,
0.19130238890647888,
-0.13375452160835266,
0.22422665357589722,
-0.2953457534313202,
0.09065055847167969,
0.12013176083564758,
-0.030506333336234093,
0.38597872853279114,
-0.015377441421151161,
0.08346322178840637,
-0.08723847568035126,
0.05293016880750656,
-0.3612128496170044,
0.17252369225025177,
-0.09187763929367065,
0.42301422357559204,
0.00750170461833477,
-0.08777371048927307,
0.017733927816152573,
0.11358974874019623,
0.2244579941034317,
-0.09231680631637573,
-0.2933933734893799,
0.3331450819969177,
-0.16831707954406738,
0.017684267833828926,
0.10927195101976395,
0.21932169795036316,
0.2135300636291504,
-0.009556946344673634,
-0.24143341183662415,
-0.34863942861557007,
0.3660675883293152,
-0.37108904123306274,
-0.26086723804473877,
-0.041576892137527466,
0.2282085418701172,
0.38762038946151733,
-0.10552320629358292,
-0.6232703328132629,
0.10035078972578049,
0.35647520422935486,
-0.03270164132118225,
-0.5908318758010864,
0.2276555448770523,
0.16331475973129272,
0.1289622187614441,
0.004858020693063736,
-0.05633243918418884,
0.28810301423072815,
-0.10174642503261566,
0.2909037172794342,
-0.43431419134140015
] |
https://github.com/huggingface/datasets/issues/1444 | FileNotFound remotly, can't load a dataset | This dataset will be available in version-2 of the library. If you want to use this dataset now, install datasets from `master` branch rather.
Command to install datasets from `master` branch:
`!pip install git+https://github.com/huggingface/datasets.git@master` | ```py
!pip install datasets
import datasets as ds
corpus = ds.load_dataset('large_spanish_corpus')
```
gives the error
> FileNotFoundError: Couldn't find file locally at large_spanish_corpus/large_spanish_corpus.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/large_spanish_corpus/large_spanish_corpus.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/large_spanish_corpus/large_spanish_corpus.py
not just `large_spanish_corpus`, `zest` too, but `squad` is available.
this was using colab and localy | 34 | FileNotFound remotly, can't load a dataset
```py
!pip install datasets
import datasets as ds
corpus = ds.load_dataset('large_spanish_corpus')
```
gives the error
> FileNotFoundError: Couldn't find file locally at large_spanish_corpus/large_spanish_corpus.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/large_spanish_corpus/large_spanish_corpus.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/large_spanish_corpus/large_spanish_corpus.py
not just `large_spanish_corpus`, `zest` too, but `squad` is available.
this was using colab and localy
This dataset will be available in version-2 of the library. If you want to use this dataset now, install datasets from `master` branch rather.
Command to install datasets from `master` branch:
`!pip install git+https://github.com/huggingface/datasets.git@master` | [
-0.32709643244743347,
-0.3888709843158722,
-0.02118518203496933,
0.3421645164489746,
0.36112409830093384,
0.0539301261305809,
-0.09348872303962708,
0.21286126971244812,
-0.06176614761352539,
0.26089608669281006,
-0.3553178012371063,
0.17308643460273743,
0.030049167573451996,
-0.1594373732805252,
0.03168538585305214,
0.02060830220580101,
-0.011956200003623962,
0.06810633838176727,
0.041480548679828644,
-0.09846609085798264,
-0.1051175445318222,
0.33729279041290283,
-0.25123661756515503,
-0.05059334635734558,
-0.12714770436286926,
0.04903312772512436,
-0.1710328459739685,
0.11960582435131073,
-0.33938857913017273,
-0.1975400745868683,
0.37318527698516846,
-0.053998615592718124,
0.33031654357910156,
0.7346160411834717,
-0.00010530958388699219,
0.033130377531051636,
0.3021109700202942,
-0.1650727391242981,
-0.18916620314121246,
-0.573372483253479,
0.2214241325855255,
-0.5341052412986755,
-0.014015443623065948,
-0.12142860889434814,
-0.30000829696655273,
-0.18586449325084686,
0.22920890152454376,
-0.0646851509809494,
0.45819175243377686,
0.13899250328540802,
0.27606773376464844,
0.1265493631362915,
0.16629086434841156,
-0.3696483075618744,
0.20978015661239624,
0.19564539194107056,
-0.17819255590438843,
0.27112916111946106,
0.5124987363815308,
0.0008457759395241737,
0.3474408984184265,
0.22547189891338348,
-0.19759789109230042,
-0.06337341666221619,
0.02248496562242508,
-0.03912106156349182,
-0.14159023761749268,
-0.39715930819511414,
0.26291167736053467,
0.23283526301383972,
0.34221702814102173,
-0.3914031982421875,
-0.29086923599243164,
-0.12708324193954468,
0.06809879094362259,
-0.01806952804327011,
-0.030883796513080597,
0.1951572448015213,
-0.013703752309083939,
0.1463201493024826,
0.18680362403392792,
-0.12299973517656326,
-0.04710476100444794,
0.3313310146331787,
-0.08866482973098755,
0.2586907148361206,
-0.30901914834976196,
0.009939350187778473,
0.19051244854927063,
-0.17892484366893768,
-0.2507299780845642,
0.03029623255133629,
-0.018317196518182755,
0.41326582431793213,
-0.06706991791725159,
0.036356501281261444,
0.11356991529464722,
0.030876919627189636,
0.37238261103630066,
-0.14607827365398407,
-0.09534057229757309,
0.037007998675107956,
-0.10442446917295456,
0.23025131225585938,
0.26920604705810547,
0.04574037343263626,
0.135475754737854,
0.14782409369945526,
0.18382768332958221,
0.2538389563560486,
-0.09492988884449005,
-0.10234037786722183,
-0.2020094245672226,
-0.22827400267124176,
-0.3279551565647125,
-0.10991477221250534,
0.4180823564529419,
-0.36839452385902405,
-0.15203656256198883,
-0.11102432757616043,
-0.021731941029429436,
0.03585496172308922,
0.22410017251968384,
0.6009094715118408,
-0.10571417212486267,
0.02144700288772583,
-0.22641797363758087,
0.19992157816886902,
-0.13878600299358368,
-0.006525880191475153,
-0.2208007574081421,
0.14730127155780792,
-0.22579872608184814,
-0.04624156653881073,
0.2515355050563812,
-0.5578829050064087,
0.3935386836528778,
-0.04727064445614815,
0.19604097306728363,
-0.06818613409996033,
-0.1338358074426651,
-0.30174580216407776,
0.09979795664548874,
0.2297627180814743,
0.10131895542144775,
0.03381743282079697,
0.2995767295360565,
-0.24914705753326416,
-0.2520233988761902,
0.02620575949549675,
-0.22048425674438477,
-0.12650460004806519,
-0.3007335364818573,
0.1876773238182068,
-0.35058069229125977,
-0.07594023644924164,
-0.3589547276496887,
0.20763370394706726,
-0.06082046777009964,
-0.4315318465232849,
-0.00003615766763687134,
-0.021753203123807907,
-0.2501891553401947,
-0.10954093188047409,
0.4257398545742035,
0.7670361995697021,
-0.28659892082214355,
-0.12309853732585907,
0.034025970846414566,
-0.1266673505306244,
0.10110572725534439,
0.12652738392353058,
-0.1167583018541336,
-0.021885626018047333,
-0.2653757631778717,
0.10279135406017303,
0.29929646849632263,
-0.6153359413146973,
-0.3468683362007141,
0.20561234652996063,
-0.0500282347202301,
0.15862712264060974,
-0.04131617397069931,
-0.1025644987821579,
-0.043187376111745834,
0.05034717172384262,
0.0029873326420783997,
0.004937376827001572,
0.031295519322156906,
0.02953997440636158,
-0.09625014662742615,
-0.14570264518260956,
-0.19824452698230743,
0.3119061291217804,
0.13838575780391693,
0.06754232943058014,
0.320209801197052,
0.08763492107391357,
0.03169063478708267,
0.09582103043794632,
-0.09845475107431412,
0.2816777229309082,
0.3037552535533905,
0.153438001871109,
0.0837893933057785,
-0.22477450966835022,
-0.36349573731422424,
0.24987295269966125,
0.04570600390434265,
0.22841079533100128,
-0.29494529962539673,
-0.18850237131118774,
-0.1586822271347046,
-0.02013874426484108,
-0.25096404552459717,
-0.15643669664859772,
0.13025689125061035,
0.07910290360450745,
0.19000405073165894,
0.1363537609577179,
-0.20766349136829376,
0.10218106210231781,
-0.19855956733226776,
0.06088872253894806,
-0.381070077419281,
0.053601957857608795,
-0.14437218010425568,
-0.0908583477139473,
0.026682183146476746,
0.31344717741012573,
-0.006101533770561218,
-0.29617008566856384,
0.12751364707946777,
0.23399800062179565,
-0.041070420295000076,
0.08311735093593597,
0.06510255485773087,
-0.10289610922336578,
0.14928428828716278,
-0.11870180070400238,
0.13057836890220642,
0.032656677067279816,
0.19092343747615814,
-0.002171698957681656,
-0.1348506212234497,
0.1387978345155716,
0.041125133633613586,
0.09624498337507248,
0.19179491698741913,
-0.2008478343486786,
0.36720383167266846,
0.11271689832210541,
-0.2047114223241806,
-0.16980981826782227,
0.35353192687034607,
0.09699632227420807,
0.1955731213092804,
0.04300912469625473,
-0.32121413946151733,
-0.10431630164384842,
0.3177223801612854,
0.13728173077106476,
0.12131695449352264,
0.204868882894516,
-0.28001758456230164,
0.18689793348312378,
0.0034493114799261093,
0.05882948264479637,
0.47020459175109863,
0.3391546905040741,
-0.07644809782505035,
0.029320698231458664,
0.17308269441127777,
-0.09946779161691666,
0.09439077973365784,
0.10555478930473328,
0.12111612409353256,
0.27623605728149414,
0.09526341408491135,
0.11105518788099289,
-0.339253306388855,
-0.15905927121639252,
-0.24322788417339325,
0.2127058506011963,
-0.09211340546607971,
0.031230492517352104,
-0.19189530611038208,
-0.5405959486961365,
-0.28830260038375854,
-0.11574233323335648,
-0.3506487309932709,
0.12946516275405884,
-0.05844387412071228,
-0.02118321880698204,
0.24394097924232483,
0.13993099331855774,
0.04286520555615425,
0.1373579204082489,
-0.18820065259933472,
-0.4878155589103699,
-0.015301819890737534,
-0.21034716069698334,
-0.12677723169326782,
0.0949554443359375,
0.37334147095680237,
-0.09836417436599731,
0.3098779022693634,
-0.24271780252456665,
0.06620588153600693,
-0.19990786910057068,
-0.3183152675628662,
0.12075938284397125,
-0.1968376636505127,
0.2978352904319763,
0.05235924944281578,
0.20833149552345276,
-0.3186395764350891,
-0.05568882077932358,
0.3241010010242462,
-0.2407049983739853,
-0.11469277739524841,
-0.051071636378765106,
-0.2177351713180542,
-0.2655118405818939,
-0.08595072478055954,
-0.45891323685646057,
-0.5289607048034668,
-0.4479738771915436,
0.13817766308784485,
0.31760650873184204,
-0.04192750155925751,
0.49039503931999207,
0.21725015342235565,
0.4897036552429199,
-0.1627669781446457,
0.2261384278535843,
-0.1228664293885231,
-0.4091241955757141,
0.2950485050678253,
-0.27913206815719604,
-0.34447747468948364,
0.1522464156150818,
0.0878731906414032,
0.2448350042104721,
-0.30509448051452637,
-0.4055994749069214,
-0.2700471878051758,
-0.018766121938824654,
-0.009088244289159775,
-0.04777885228395462,
0.3289101719856262,
0.256850004196167,
-0.2854098379611969,
-0.06292311102151871,
-0.017924245446920395,
-0.19172684848308563,
-0.19791823625564575,
0.03734771907329559,
0.3480443060398102,
-0.2784847021102905,
0.17477616667747498,
-0.051075104624032974,
0.5100224614143372,
0.10805051028728485,
-0.05396832153201103,
0.4590834975242615,
-0.2125364989042282,
0.5354275107383728,
-0.28460973501205444,
-0.6068034172058105,
0.12304946035146713,
0.18816474080085754,
0.10078495740890503,
0.4557539224624634,
0.2662455141544342,
-0.057178616523742676,
-0.4042776823043823,
-0.2535187602043152,
-0.18811318278312683,
-0.06716082245111465,
-0.056362614035606384,
0.3478080630302429,
-0.0905102863907814,
0.025082562118768692,
-0.0433407723903656,
-0.05951206386089325,
-0.2525689899921417,
-0.13943280279636383,
0.3875391483306885,
-0.11026912182569504,
0.17857208847999573,
-0.17527058720588684,
-0.057883184403181076,
-0.1995626986026764,
0.3943421244621277,
0.08654817938804626,
-0.14243300259113312,
-0.18376396596431732,
-0.013715490698814392,
0.09786713123321533,
-0.10538069903850555,
0.5849308967590332,
0.20998753607273102,
-0.16715484857559204,
0.060641031712293625,
-0.167218878865242,
-0.37607505917549133,
-0.07782484591007233,
0.022003542631864548,
0.26617661118507385,
0.3142611086368561,
0.5334756374359131,
-0.3083975613117218,
-0.1032576858997345,
0.2534605860710144,
0.30235931277275085,
0.004812382161617279,
-0.11825916171073914,
-0.5544283986091614,
-0.4240010380744934,
-0.41058626770973206,
-0.0481041744351387,
0.009000448510050774,
0.16614283621311188,
0.20405849814414978,
-0.014605781063437462,
0.06877381354570389,
0.06841974705457687,
0.22539052367210388,
0.2991158962249756,
0.2291792929172516,
0.3138452470302582,
0.06508691608905792,
0.22945643961429596,
0.2484407275915146,
0.14320699870586395,
0.746025025844574,
-0.10614685714244843,
-0.49139106273651123,
0.005183963105082512,
0.05535789206624031,
0.17566421627998352,
0.20719356834888458,
-0.03215106949210167,
0.0447964146733284,
0.09303247183561325,
-0.10656774044036865,
-0.03498397395014763,
0.05736685171723366,
0.2532096803188324,
0.13843409717082977,
-0.3063984811306,
-0.31541261076927185,
0.34375593066215515,
0.16382376849651337,
0.20358197391033173,
0.22949272394180298,
0.13551422953605652,
0.04482283443212509,
0.2078261524438858,
-0.18760648369789124,
0.9075630307197571,
-0.23143337666988373,
0.02080155536532402,
0.08343088626861572,
0.2398637980222702,
0.6653989553451538,
-0.2646847665309906,
0.01391146332025528,
-0.22229591012001038,
-0.261344850063324,
0.08214167505502701,
-0.028932174667716026,
0.33226248621940613,
-0.01758512109518051,
-0.37687748670578003,
0.3186190724372864,
0.1252049207687378,
0.35830506682395935,
-0.16409870982170105,
0.13691039383411407,
-0.14205925166606903,
-0.20500080287456512,
-0.4637775719165802,
0.2265392243862152,
-0.17976348102092743,
0.5575464963912964,
-0.1739386022090912,
0.07818516343832016,
-0.2595527768135071,
-0.2640451192855835,
-0.22687481343746185,
0.13343673944473267,
-0.33236056566238403,
0.10069836676120758,
0.15774300694465637,
-0.30553263425827026,
0.09688755869865417,
0.5088332295417786,
0.20028191804885864,
0.09789334237575531,
-0.38118982315063477,
0.11100633442401886,
0.14570753276348114,
-0.4354258179664612,
-0.023153530433773994,
0.030278287827968597,
0.24119873344898224,
-0.1258544921875,
-0.19889259338378906,
-0.012845508754253387,
0.14732365310192108,
-0.05588795989751816,
-0.024039387702941895,
0.1696566641330719,
-0.0047229379415512085,
-0.08212751895189285,
-0.5319325923919678,
0.029422961175441742,
0.15506815910339355,
-0.0894571989774704,
0.17840206623077393,
0.17210887372493744,
-0.15910983085632324,
0.013376232236623764,
0.26078590750694275,
-0.264482319355011,
-0.06934736669063568,
0.4985607862472534,
-0.21054428815841675,
-0.2688063979148865,
0.3398999571800232,
0.4278751015663147,
-0.16968227922916412,
-0.22097566723823547,
0.13688480854034424,
-0.0918850377202034,
-0.3659355938434601,
-0.09132346510887146,
0.2998311519622803,
0.04775726795196533,
0.12497135996818542,
0.4114445745944977,
0.10348191112279892,
-0.3905796706676483,
0.02650247886776924,
-0.358015775680542,
-0.23391254246234894,
0.16357824206352234,
0.03416939452290535,
0.04465129226446152,
0.32501643896102905,
0.034786827862262726,
0.3023771643638611,
-0.0056311581283807755,
-0.36973822116851807,
0.179796501994133,
-0.38079121708869934,
0.06917690485715866,
0.15132886171340942,
0.1309874951839447,
0.28645986318588257,
-0.06494124233722687,
0.1327306181192398,
0.1592632383108139,
-0.18877674639225006,
-0.32012882828712463,
0.02523435279726982,
0.1318090409040451,
0.008800419047474861,
0.040790461003780365,
-0.09024647623300552,
-0.1275174915790558,
-0.16692514717578888,
-0.16479797661304474,
0.07295557856559753,
0.27613508701324463,
0.05288609117269516,
-0.02197919972240925,
-0.13671202957630157,
0.018174607306718826,
0.175799161195755,
0.11204424500465393,
0.08191971480846405,
0.046986762434244156,
0.2217237800359726,
-0.014250300824642181,
-0.04221602901816368,
-0.06950164586305618,
-0.0026879371143877506,
0.009281426668167114,
0.14685741066932678,
0.09158908575773239,
0.20122072100639343,
-0.1149231344461441,
0.25973665714263916,
0.2934654951095581,
0.1343342512845993,
0.19883598387241364,
-0.20455561578273773,
0.31736207008361816,
0.29104533791542053,
0.16490305960178375,
-0.49272850155830383,
0.010948577895760536,
0.3847288191318512,
-0.052379310131073,
0.11560709774494171,
0.3433595299720764,
-0.04037056863307953,
0.21205410361289978,
0.2202499508857727,
0.11487502604722977,
0.6210150718688965,
-0.03510204702615738,
0.20231495797634125,
0.26596125960350037,
0.051397617906332016,
0.04437164217233658,
0.008249679580330849,
0.19252125918865204,
0.15161728858947754,
0.20732343196868896,
-0.4689478278160095,
0.27120521664619446,
-0.25652050971984863,
0.1767783910036087,
0.1840640902519226,
-0.448261022567749,
0.2845287024974823,
0.27561450004577637,
0.16063974797725677,
-0.10303077846765518,
-0.1849689781665802,
0.666118860244751,
-0.29731830954551697,
0.09426779299974442,
-0.21094724535942078,
0.14135444164276123,
-0.0934722051024437,
-0.014548897743225098,
0.05803757905960083,
-0.2697335481643677,
0.06453153491020203,
-0.09118112921714783,
0.0593160055577755,
-0.20502503216266632,
-0.1774323582649231,
0.04462309554219246,
-0.17938660085201263,
-0.12054568529129028,
0.06978754699230194,
-0.03496796637773514,
0.05362351983785629,
-0.0868523120880127,
0.30133533477783203,
-0.006891466677188873,
0.18421179056167603,
0.08581973612308502,
0.5155835151672363,
0.5716379880905151,
0.3280608654022217,
0.23616747558116913,
0.10184453427791595,
-0.157068133354187,
-0.09884543716907501,
-0.12371706962585449,
0.22924768924713135,
-0.004943631589412689,
0.09814678132534027,
0.27152523398399353,
0.24067315459251404,
-0.19145190715789795,
0.0523061528801918,
0.040518730878829956,
-0.0540994368493557,
-0.09397213160991669,
0.14243432879447937,
-0.3754613697528839,
-0.040781229734420776,
-0.36169886589050293,
0.12250635027885437,
-0.5747625827789307,
0.24548587203025818,
0.2230425924062729,
0.023215077817440033,
0.08177632093429565,
-0.28191444277763367,
0.10617426037788391,
0.09635327756404877,
0.2875329256057739,
0.392244428396225,
0.418302983045578,
-0.17424027621746063,
-0.08147463947534561,
-0.7985011339187622,
0.18644751608371735,
-0.028885144740343094,
0.0994037538766861,
-0.1754784733057022,
0.06377183645963669,
0.12898382544517517,
0.23513995110988617,
-0.13910163938999176,
-0.2754876911640167,
0.13325072824954987,
-0.1303337663412094,
-0.24265678226947784,
-0.19690626859664917,
-0.11471253633499146,
0.08679590374231339,
0.0514456182718277,
-0.14224809408187866,
-0.11079896986484528,
-0.3931457996368408,
0.02347925305366516,
-0.19409342110157013,
-0.13839606940746307,
-0.33100953698158264,
-0.30742931365966797,
0.2228420078754425,
-0.1930968463420868,
0.3065575957298279,
-0.17523357272148132,
0.0472530722618103,
-0.23334133625030518,
-0.34755739569664,
-0.09998933225870132,
0.37621423602104187,
0.22349987924098969,
0.1463286578655243,
-0.3078839182853699,
-0.2681342363357544,
-0.2025488168001175,
0.03661153465509415,
0.0824192613363266,
0.022821588441729546,
-0.11705012619495392,
-0.14553481340408325,
-0.048501208424568176,
-0.01751301810145378,
-0.16283950209617615,
0.23850411176681519,
-0.11854326725006104,
-0.029128223657608032,
-0.2439674735069275,
-0.19289131462574005,
0.6545349359512329,
-0.2642814517021179,
0.08077475428581238,
-0.12025554478168488,
0.04659515619277954,
0.1699083298444748,
-0.4187508821487427,
-0.5220382213592529,
0.3417108952999115,
0.23616062104701996,
0.18161943554878235,
-0.25105124711990356,
0.2188769280910492,
-0.2919352948665619,
-0.010834529995918274,
-0.09163899719715118,
0.05218938738107681,
0.045144736766815186,
0.043263502418994904,
0.21054473519325256,
-0.06793180108070374
] |
https://github.com/huggingface/datasets/issues/1422 | Can't map dataset (loaded from csv) | Please could you post the whole script? I can't reproduce your issue. After updating the feature names/labels to match with the data, everything works fine for me. Try to update datasets/transformers to the newest version. | Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to classify lmdb loaded dataset. Only one difference it is the dataset loaded from .csv file.
Here is how I load it:
```python
data_path = 'data.csv'
data = pd.read_csv(data_path)
# process class name to indices
classes = ['neg', 'pos']
class_to_idx = { cl: i for i, cl in enumerate(classes) }
# now data is like {'label': int, 'text' str}
data['label'] = data['label'].apply(lambda x: class_to_idx[x])
# load dataset and map it with defined `tokenize` function
features = Features({
target: ClassLabel(num_classes=2, names=['neg', 'pos'], names_file=None, id=None),
feature: Value(dtype='string', id=None),
})
dataset = Dataset.from_pandas(data, features=features)
dataset.map(tokenize, batched=True, batch_size=len(dataset))
```
It ruins on the last line with following error:
```
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-112-32b6275ce418> in <module>()
9 })
10 dataset = Dataset.from_pandas(data, features=features)
---> 11 dataset.map(tokenizer, batched=True, batch_size=len(dataset))
2 frames
/usr/local/lib/python3.6/dist-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)
1237 test_inputs = self[:2] if batched else self[0]
1238 test_indices = [0, 1] if batched else 0
-> 1239 update_data = does_function_return_dict(test_inputs, test_indices)
1240 logger.info("Testing finished, running the mapping function on the dataset")
1241
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in does_function_return_dict(inputs, indices)
1208 fn_args = [inputs] if input_columns is None else [inputs[col] for col in input_columns]
1209 processed_inputs = (
-> 1210 function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
1211 )
1212 does_return_dict = isinstance(processed_inputs, Mapping)
/usr/local/lib/python3.6/dist-packages/transformers/tokenization_utils_base.py in __call__(self, text, text_pair, add_special_tokens, padding, truncation, max_length, stride, is_split_into_words, pad_to_multiple_of, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, return_length, verbose, **kwargs)
2281 )
2282 ), (
-> 2283 "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
2284 "or `List[List[str]]` (batch of pretokenized examples)."
2285 )
AssertionError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).
```
which I think is not expected. I also tried the same steps using `Dataset.from_csv` which resulted in the same error.
For reproducing this, I used [this dataset from kaggle](https://www.kaggle.com/team-ai/spam-text-message-classification) | 35 | Can't map dataset (loaded from csv)
Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to classify lmdb loaded dataset. Only one difference it is the dataset loaded from .csv file.
Here is how I load it:
```python
data_path = 'data.csv'
data = pd.read_csv(data_path)
# process class name to indices
classes = ['neg', 'pos']
class_to_idx = { cl: i for i, cl in enumerate(classes) }
# now data is like {'label': int, 'text' str}
data['label'] = data['label'].apply(lambda x: class_to_idx[x])
# load dataset and map it with defined `tokenize` function
features = Features({
target: ClassLabel(num_classes=2, names=['neg', 'pos'], names_file=None, id=None),
feature: Value(dtype='string', id=None),
})
dataset = Dataset.from_pandas(data, features=features)
dataset.map(tokenize, batched=True, batch_size=len(dataset))
```
It ruins on the last line with following error:
```
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-112-32b6275ce418> in <module>()
9 })
10 dataset = Dataset.from_pandas(data, features=features)
---> 11 dataset.map(tokenizer, batched=True, batch_size=len(dataset))
2 frames
/usr/local/lib/python3.6/dist-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)
1237 test_inputs = self[:2] if batched else self[0]
1238 test_indices = [0, 1] if batched else 0
-> 1239 update_data = does_function_return_dict(test_inputs, test_indices)
1240 logger.info("Testing finished, running the mapping function on the dataset")
1241
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in does_function_return_dict(inputs, indices)
1208 fn_args = [inputs] if input_columns is None else [inputs[col] for col in input_columns]
1209 processed_inputs = (
-> 1210 function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
1211 )
1212 does_return_dict = isinstance(processed_inputs, Mapping)
/usr/local/lib/python3.6/dist-packages/transformers/tokenization_utils_base.py in __call__(self, text, text_pair, add_special_tokens, padding, truncation, max_length, stride, is_split_into_words, pad_to_multiple_of, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, return_length, verbose, **kwargs)
2281 )
2282 ), (
-> 2283 "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
2284 "or `List[List[str]]` (batch of pretokenized examples)."
2285 )
AssertionError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).
```
which I think is not expected. I also tried the same steps using `Dataset.from_csv` which resulted in the same error.
For reproducing this, I used [this dataset from kaggle](https://www.kaggle.com/team-ai/spam-text-message-classification)
Please could you post the whole script? I can't reproduce your issue. After updating the feature names/labels to match with the data, everything works fine for me. Try to update datasets/transformers to the newest version. | [
-0.036319904029369354,
-0.04933064430952072,
0.05914812162518501,
0.1960298717021942,
0.31757986545562744,
0.1296345591545105,
0.6318870782852173,
0.3784266710281372,
0.270160049200058,
-0.014723733067512512,
-0.22110910713672638,
0.26376476883888245,
-0.06318516284227371,
-0.015006118454039097,
-0.03178556635975838,
-0.20463156700134277,
0.13377977907657623,
0.2118782103061676,
-0.18296757340431213,
-0.03503049165010452,
-0.29074597358703613,
0.024915602058172226,
-0.10681124031543732,
0.20368054509162903,
0.01971440203487873,
-0.20901070535182953,
-0.07462623715400696,
0.04598388448357582,
-0.2114800661802292,
-0.26328060030937195,
0.21597300469875336,
-0.0493638701736927,
0.5007880926132202,
0.43593719601631165,
-0.0001207136083394289,
-0.08598092943429947,
-0.18237890303134918,
-0.10095731168985367,
-0.08147993683815002,
-0.3854597210884094,
-0.13746032118797302,
0.03001638688147068,
0.11630953848361969,
-0.29700976610183716,
-0.07440829277038574,
0.022759340703487396,
-0.0245810579508543,
-0.1638605296611786,
0.34323179721832275,
0.3329412639141083,
0.11569514125585556,
-0.00700038205832243,
0.11651723086833954,
-0.10901221632957458,
0.3139908015727997,
-0.08301298320293427,
-0.040191181004047394,
0.1678352802991867,
0.3154560327529907,
-0.4825090169906616,
-0.06492266803979874,
0.19285547733306885,
-0.3011552095413208,
-0.04194347932934761,
0.46463772654533386,
0.21371382474899292,
0.15895619988441467,
-0.2898329198360443,
0.1365336775779724,
0.1331963986158371,
0.46574756503105164,
-0.11514807492494583,
-0.21953217685222626,
0.0547606498003006,
0.034403689205646515,
-0.2702280580997467,
0.028386510908603668,
0.045683227479457855,
-0.11398416757583618,
0.10868893563747406,
-0.10245586931705475,
-0.17709846794605255,
-0.027902837842702866,
0.20619237422943115,
-0.4087248146533966,
0.20579737424850464,
-0.05574757605791092,
0.23258236050605774,
0.04020064324140549,
-0.23166970908641815,
-0.1552065759897232,
-0.039933040738105774,
0.21450689435005188,
0.5941804051399231,
-0.1974852830171585,
-0.13338986039161682,
0.027957521378993988,
-0.38957881927490234,
-0.11000697314739227,
-0.23229815065860748,
-0.1188439279794693,
-0.15436840057373047,
-0.12768518924713135,
0.2993393838405609,
0.2697300910949707,
0.5647977590560913,
0.02723931148648262,
0.5422593355178833,
0.213997483253479,
0.10100053250789642,
-0.25069162249565125,
0.037751175463199615,
-0.15418927371501923,
-0.28277072310447693,
0.2870098352432251,
0.058163341134786606,
-0.06418546289205551,
-0.09569399803876877,
-0.3294213116168976,
0.24025265872478485,
-0.41538912057876587,
0.13282319903373718,
0.07430555671453476,
0.6524131894111633,
0.20751294493675232,
-0.09424581378698349,
0.26987481117248535,
0.2843058109283447,
0.1186545118689537,
0.005162750370800495,
-0.06699631363153458,
0.3031964898109436,
-0.3530661463737488,
-0.10069949179887772,
0.1698998063802719,
0.05140228942036629,
0.046435415744781494,
0.3085811734199524,
-0.09233748912811279,
-0.03569808602333069,
-0.03287301957607269,
-0.18986664712429047,
0.16166453063488007,
0.11823585629463196,
0.07261630892753601,
0.35397258400917053,
0.47119930386543274,
-0.34526532888412476,
-0.10835715383291245,
0.2828636169433594,
-0.4599841833114624,
-0.005472686141729355,
-0.10104040801525116,
0.09464355558156967,
0.12625201046466827,
0.20996910333633423,
-0.4163964092731476,
0.14590077102184296,
0.3574431836605072,
-0.32198697328567505,
-0.19480475783348083,
-0.3051258325576782,
-0.08369942754507065,
-0.22698116302490234,
0.2432655394077301,
0.23486605286598206,
-0.5438093543052673,
0.14035551249980927,
0.07834231108427048,
0.3336327075958252,
0.29180434346199036,
0.3815695345401764,
-0.22072844207286835,
0.22348403930664062,
-0.22789570689201355,
0.3127996325492859,
0.23831292986869812,
-0.3298649787902832,
-0.359722763299942,
0.3123696446418762,
-0.03316570818424225,
-0.0880807414650917,
0.008046448230743408,
-0.02179550938308239,
0.48823875188827515,
-0.03390815481543541,
0.11626303195953369,
0.03723255544900894,
-0.15209849178791046,
0.0862337276339531,
-0.16765813529491425,
-0.03990685194730759,
0.48979103565216064,
-0.1700117588043213,
0.2294396311044693,
0.11592522263526917,
0.134970024228096,
0.29243746399879456,
0.01030687615275383,
-0.2915749251842499,
0.1749006062746048,
-0.06615747511386871,
0.13339893519878387,
-0.07050870358943939,
0.03665351867675781,
-0.2851985692977905,
-0.4596109986305237,
0.0767470970749855,
0.07543215155601501,
0.13402517139911652,
-0.18388555943965912,
-0.11069303750991821,
-0.2779105305671692,
-0.023251071572303772,
-0.07412643730640411,
-0.19993385672569275,
0.029262080788612366,
-0.015443019568920135,
-0.25669926404953003,
-0.055601783096790314,
-0.08368293941020966,
-0.24260687828063965,
-0.036822330206632614,
0.15885859727859497,
-0.0782574862241745,
0.007665283977985382,
-0.19491101801395416,
0.08228973299264908,
-0.0772336944937706,
0.04394425451755524,
0.1950022578239441,
-0.0023532111663371325,
-0.19868257641792297,
0.055920012295246124,
0.05180392041802406,
-0.0809345543384552,
-0.08118676394224167,
-0.03754203021526337,
0.21805112063884735,
-0.12745143473148346,
-0.16905122995376587,
-0.07506534457206726,
0.29071128368377686,
-0.1380862593650818,
-0.25257715582847595,
0.31865042448043823,
0.016829688102006912,
0.3122314512729645,
0.1154070496559143,
0.1145327165722847,
0.2599705457687378,
0.041841376572847366,
0.08655990660190582,
-0.37373530864715576,
-0.192625492811203,
0.29350316524505615,
0.2589743137359619,
0.15469877421855927,
-0.07776767015457153,
-0.06099546700716019,
0.14265750348567963,
-0.13359098136425018,
0.030821356922388077,
0.009472683072090149,
-0.19997113943099976,
-0.08523566275835037,
0.2894077003002167,
-0.08575012534856796,
0.16528713703155518,
0.04062223806977272,
0.06253796070814133,
-0.21154916286468506,
-0.227614164352417,
0.08225029706954956,
0.06051967293024063,
-0.22689040005207062,
-0.060702670365571976,
0.05299565568566322,
0.06837162375450134,
0.08825244009494781,
-0.08175921440124512,
-0.019059279933571815,
0.2863251268863678,
0.5847141742706299,
-0.39099210500717163,
-0.06831659376621246,
-0.2147158980369568,
0.11705013364553452,
-0.10585940629243851,
-0.49630486965179443,
-0.13119569420814514,
-0.1060909554362297,
-0.20850302278995514,
0.26251131296157837,
0.06167719140648842,
0.216694176197052,
0.05512182042002678,
0.09394107758998871,
0.36159655451774597,
0.0393197201192379,
0.18993164598941803,
-0.17431621253490448,
-0.21179893612861633,
0.01670338585972786,
0.2753625214099884,
0.0007118149660527706,
0.17115682363510132,
-0.0011612195521593094,
-0.22338652610778809,
-0.36302146315574646,
-0.4320557713508606,
0.02033758908510208,
-0.07523434609174728,
0.307015985250473,
0.20794489979743958,
0.1353275328874588,
-0.30770790576934814,
-0.34460195899009705,
0.1428052932024002,
0.05898486077785492,
-0.10989858955144882,
0.07139074057340622,
0.0034609364811331034,
-0.3001102805137634,
0.1107848733663559,
-0.5560612082481384,
-0.16641391813755035,
-0.05220971629023552,
-0.12716001272201538,
-0.20333002507686615,
0.2183379977941513,
-0.32939475774765015,
0.02476784959435463,
0.05072580650448799,
0.1594143956899643,
0.018202589824795723,
-0.15276986360549927,
-0.11774493753910065,
0.29393061995506287,
-0.10578438639640808,
-0.2996169626712799,
0.028303395956754684,
-0.15884637832641602,
0.2352195829153061,
-0.012687280774116516,
-0.1893121898174286,
-0.18079867959022522,
-0.03777684271335602,
0.0976351797580719,
-0.021447621285915375,
0.0710073933005333,
0.05481744185090065,
0.23075053095817566,
-0.006073007360100746,
0.011175297200679779,
-0.1993461400270462,
0.07737044990062714,
-0.006861068308353424,
0.3096449077129364,
-0.11902064830064774,
0.5365262031555176,
-0.0019564665853977203,
0.993253767490387,
0.08557513356208801,
-0.15772497653961182,
0.40480902791023254,
-0.041914209723472595,
0.11545352637767792,
-0.1302986741065979,
-0.7429160475730896,
-0.013583122752606869,
-0.18905869126319885,
-0.13874955475330353,
0.3288023769855499,
-0.19258525967597961,
-0.3625994920730591,
-0.044109243899583817,
0.17703202366828918,
-0.22167816758155823,
-0.1894228160381317,
0.2895949184894562,
-0.27745315432548523,
0.0420527346432209,
0.15780401229858398,
-0.04776077717542648,
-0.3704253137111664,
-0.21337038278579712,
-0.19305334985256195,
0.2614538371562958,
0.004765905439853668,
-0.02297362871468067,
0.013573799282312393,
-0.2664873003959656,
-0.5215991139411926,
0.2433541864156723,
0.12422970682382584,
0.41880127787590027,
-0.2098047137260437,
0.14265194535255432,
0.061014916747808456,
0.1688000112771988,
0.6888319849967957,
-0.019555004313588142,
0.11250682920217514,
0.13917963206768036,
-0.15129196643829346,
-0.07912304252386093,
0.06767377257347107,
-0.19949711859226227,
0.08839330822229385,
0.3469313979148865,
0.5298930406570435,
-0.09864876419305801,
0.01642501913011074,
0.019052091985940933,
0.027123939245939255,
-0.22920075058937073,
-0.1593635231256485,
-0.12534117698669434,
0.1321069300174713,
-0.39198511838912964,
0.12792646884918213,
0.24973993003368378,
0.23744119703769684,
0.047108471393585205,
-0.2645954191684723,
-0.032490938901901245,
-0.12348607927560806,
0.4109721779823303,
0.40432021021842957,
-0.04644003510475159,
0.2494564950466156,
0.05382129177451134,
-0.14175790548324585,
0.32928895950317383,
0.4081643521785736,
0.36005768179893494,
-0.4821268618106842,
-0.638306200504303,
0.03910470008850098,
0.04010608419775963,
0.3005613684654236,
0.08232985436916351,
-0.19739726185798645,
0.19020405411720276,
-0.27475857734680176,
-0.028771214187145233,
-0.1576126664876938,
0.42139047384262085,
0.36243921518325806,
0.27548322081565857,
-0.4533800184726715,
-0.4862160384654999,
0.15690146386623383,
-0.0935746282339096,
-0.33758336305618286,
0.035652145743370056,
0.1259562075138092,
-0.4417128562927246,
0.46674853563308716,
-0.018661685287952423,
0.8538818955421448,
-0.4546048641204834,
0.09622548520565033,
0.1599949300289154,
0.2531588673591614,
0.7502368092536926,
-0.01994127407670021,
-0.09577933698892593,
-0.2133440375328064,
0.024035874754190445,
-0.108723945915699,
0.11192074418067932,
0.10890889167785645,
0.253631591796875,
-0.22230741381645203,
0.4156000316143036,
0.03041893243789673,
0.4982369840145111,
0.12665611505508423,
0.02786712348461151,
0.47666099667549133,
-0.3088310658931732,
-0.311521053314209,
0.054562121629714966,
-0.06977692246437073,
0.03564922884106636,
-0.004560183733701706,
-0.03521569445729256,
-0.16963323950767517,
-0.29897624254226685,
-0.2679094076156616,
0.07627027481794357,
-0.1809963881969452,
0.32678037881851196,
-0.35235434770584106,
-0.3634994626045227,
0.41286084055900574,
0.4410257339477539,
0.04376750439405441,
0.13014264404773712,
-0.11296485364437103,
0.0003235228359699249,
0.0872349962592125,
0.05962312966585159,
-0.34038007259368896,
-0.06295838952064514,
0.3871631920337677,
0.0844537690281868,
-0.112422876060009,
0.401339590549469,
-0.04490081965923309,
-0.14867615699768066,
0.06662653386592865,
0.17485344409942627,
0.5714655518531799,
-0.5062834620475769,
-0.33700987696647644,
-0.2767016887664795,
0.041997384279966354,
-0.39174166321754456,
0.028182540088891983,
-0.19489680230617523,
-0.1239200234413147,
0.016691185534000397,
0.021648403257131577,
-0.4055574834346771,
0.1933334320783615,
0.6294289231300354,
-0.04935172200202942,
0.07084981352090836,
0.7852796316146851,
0.0728311687707901,
-0.11496485769748688,
-0.16651850938796997,
0.08601175993680954,
0.5840913653373718,
-0.14866861701011658,
0.23382583260536194,
0.09338782727718353,
-0.06413063406944275,
0.018124010413885117,
0.4313957989215851,
0.5497340559959412,
-0.005731843411922455,
0.16523461043834686,
-0.48031318187713623,
-0.47529229521751404,
0.011661984026432037,
-0.06884241104125977,
0.13300462067127228,
0.4147024154663086,
0.158065527677536,
-0.17914435267448425,
0.5363537073135376,
-0.19945479929447174,
0.04716087132692337,
-0.17947296798229218,
0.28838902711868286,
0.2534251809120178,
0.13402944803237915,
-0.22795486450195312,
-0.051511500030756,
0.11570534110069275,
-0.12592348456382751,
0.05536029115319252,
-0.15134674310684204,
-0.1803104281425476,
0.16263432800769806,
0.02425527013838291,
-0.05380263924598694,
-0.1285192221403122,
-0.3979252576828003,
0.09345316886901855,
-0.41148489713668823,
0.20040270686149597,
0.26415765285491943,
0.03092331811785698,
0.05582891032099724,
0.09431472420692444,
-0.263149619102478,
-0.18571430444717407,
0.03853270784020424,
-0.10305768251419067,
-0.11440910398960114,
0.019299142062664032,
0.19084405899047852,
0.0535021536052227,
-0.03468631953001022,
-0.025312287732958794,
-0.030893243849277496,
-0.04054780304431915,
-0.07442290335893631,
0.34355926513671875,
-0.11239545047283173,
0.227664977312088,
0.2359960824251175,
0.1910889446735382,
0.006990555673837662,
-0.16609016060829163,
0.06992726027965546,
0.3582175076007843,
0.04347614198923111,
-0.48031747341156006,
0.08958771079778671,
0.13682731986045837,
-0.029904954135417938,
0.08837541937828064,
0.1709180772304535,
-0.052824389189481735,
0.06294116377830505,
-0.11019733548164368,
-0.23670506477355957,
0.3873441517353058,
-0.059608228504657745,
0.11753132939338684,
0.5157996416091919,
-0.199242502450943,
0.2741679847240448,
0.4069993197917938,
0.25185924768447876,
0.10128190368413925,
0.5119723081588745,
-0.19450464844703674,
0.16651810705661774,
-0.20781219005584717,
0.34265953302383423,
0.08518503606319427,
-0.3729565441608429,
0.19489289820194244,
0.204079732298851,
-0.11297307908535004,
0.13600370287895203,
0.014912120997905731,
0.6207621097564697,
-0.4058399796485901,
-0.24601654708385468,
0.026069214567542076,
0.3624695837497711,
-0.33827999234199524,
-0.249206081032753,
-0.02576371654868126,
-0.27722087502479553,
0.14688099920749664,
-0.03132878988981247,
-0.3017631769180298,
-0.08708721399307251,
0.14073535799980164,
0.09742972254753113,
-0.0951562225818634,
-0.3882955312728882,
-0.328788697719574,
0.10984931886196136,
-0.07543794065713882,
-0.15818355977535248,
0.4284527599811554,
-0.14959101378917694,
0.057128842920064926,
0.08453456312417984,
0.10547272115945816,
0.42887213826179504,
0.6453413963317871,
0.08870552480220795,
-0.18185678124427795,
0.12115700542926788,
-0.16293220221996307,
-0.06939326971769333,
0.0466386154294014,
0.09101952612400055,
0.0710618868470192,
0.23396287858486176,
0.020304905250668526,
-0.08908400684595108,
0.20697885751724243,
0.19435662031173706,
0.2529904842376709,
0.1798132061958313,
0.08527787029743195,
-0.17817707359790802,
-0.11391431093215942,
-0.1873796582221985,
0.06587447971105576,
-0.32883304357528687,
0.268766850233078,
0.09245443344116211,
-0.15917308628559113,
0.2595166862010956,
0.05889959633350372,
0.037938669323921204,
0.22639159858226776,
0.16516932845115662,
0.2591683268547058,
-0.09280634671449661,
-0.6077030897140503,
0.14262987673282623,
-0.817873477935791,
0.30198824405670166,
-0.20846155285835266,
-0.031383123248815536,
-0.22056667506694794,
0.034290678799152374,
0.24564746022224426,
-0.1272580325603485,
0.15027807652950287,
0.023985350504517555,
0.03802807629108429,
0.35480865836143494,
-0.01266758143901825,
-0.046708445996046066,
-0.24040944874286652,
0.10792427510023117,
-0.17335841059684753,
-0.34666964411735535,
0.28563907742500305,
0.12293778359889984,
-0.1231834813952446,
-0.19558998942375183,
0.1786840707063675,
0.008347176015377045,
0.09407161921262741,
0.4659879803657532,
0.12789414823055267,
0.7292593717575073,
-0.03217501938343048,
0.27214765548706055,
0.07408442348241806,
-0.18216277658939362,
-0.1105567216873169,
0.07494477182626724,
0.2023516446352005,
0.20009922981262207,
-0.19500190019607544,
-0.14455567300319672,
-0.23200586438179016,
-0.07558435201644897,
-0.014424027875065804,
-0.289977103471756,
-0.6900327205657959,
0.14934436976909637,
-0.04308108240365982,
-0.043492939323186874,
-0.018657300621271133,
0.2625668942928314,
-0.09196172654628754,
0.18792547285556793,
-0.09712863713502884,
-0.4130036234855652,
0.3670979142189026,
-0.5548741817474365,
-0.47843340039253235,
-0.02419968694448471,
-0.12440870702266693,
0.11225716769695282,
-0.06118820607662201,
-0.6009427905082703,
-0.05341314151883125,
0.2493421584367752,
-0.07133810967206955,
-0.40052732825279236,
-0.04273221269249916,
-0.053449247032403946,
0.057655829936265945,
-0.18440726399421692,
0.44240719079971313,
0.1898755133152008,
-0.17030632495880127,
-0.09353410452604294,
-0.4564054012298584
] |
https://github.com/huggingface/datasets/issues/1422 | Can't map dataset (loaded from csv) | Actually, the problem was how `tokenize` function was defined. This was completely my side mistake, so there are really no needs in this issue anymore | Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to classify lmdb loaded dataset. Only one difference it is the dataset loaded from .csv file.
Here is how I load it:
```python
data_path = 'data.csv'
data = pd.read_csv(data_path)
# process class name to indices
classes = ['neg', 'pos']
class_to_idx = { cl: i for i, cl in enumerate(classes) }
# now data is like {'label': int, 'text' str}
data['label'] = data['label'].apply(lambda x: class_to_idx[x])
# load dataset and map it with defined `tokenize` function
features = Features({
target: ClassLabel(num_classes=2, names=['neg', 'pos'], names_file=None, id=None),
feature: Value(dtype='string', id=None),
})
dataset = Dataset.from_pandas(data, features=features)
dataset.map(tokenize, batched=True, batch_size=len(dataset))
```
It ruins on the last line with following error:
```
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-112-32b6275ce418> in <module>()
9 })
10 dataset = Dataset.from_pandas(data, features=features)
---> 11 dataset.map(tokenizer, batched=True, batch_size=len(dataset))
2 frames
/usr/local/lib/python3.6/dist-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)
1237 test_inputs = self[:2] if batched else self[0]
1238 test_indices = [0, 1] if batched else 0
-> 1239 update_data = does_function_return_dict(test_inputs, test_indices)
1240 logger.info("Testing finished, running the mapping function on the dataset")
1241
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in does_function_return_dict(inputs, indices)
1208 fn_args = [inputs] if input_columns is None else [inputs[col] for col in input_columns]
1209 processed_inputs = (
-> 1210 function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
1211 )
1212 does_return_dict = isinstance(processed_inputs, Mapping)
/usr/local/lib/python3.6/dist-packages/transformers/tokenization_utils_base.py in __call__(self, text, text_pair, add_special_tokens, padding, truncation, max_length, stride, is_split_into_words, pad_to_multiple_of, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, return_length, verbose, **kwargs)
2281 )
2282 ), (
-> 2283 "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
2284 "or `List[List[str]]` (batch of pretokenized examples)."
2285 )
AssertionError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).
```
which I think is not expected. I also tried the same steps using `Dataset.from_csv` which resulted in the same error.
For reproducing this, I used [this dataset from kaggle](https://www.kaggle.com/team-ai/spam-text-message-classification) | 25 | Can't map dataset (loaded from csv)
Hello! I am trying to load single csv file with two columns: ('label': str, 'text' str), where is label is str of two possible classes.
Below steps are similar with [this notebook](https://colab.research.google.com/drive/1-JIJlao4dI-Ilww_NnTc0rxtp-ymgDgM?usp=sharing), where bert model and tokenizer are used to classify lmdb loaded dataset. Only one difference it is the dataset loaded from .csv file.
Here is how I load it:
```python
data_path = 'data.csv'
data = pd.read_csv(data_path)
# process class name to indices
classes = ['neg', 'pos']
class_to_idx = { cl: i for i, cl in enumerate(classes) }
# now data is like {'label': int, 'text' str}
data['label'] = data['label'].apply(lambda x: class_to_idx[x])
# load dataset and map it with defined `tokenize` function
features = Features({
target: ClassLabel(num_classes=2, names=['neg', 'pos'], names_file=None, id=None),
feature: Value(dtype='string', id=None),
})
dataset = Dataset.from_pandas(data, features=features)
dataset.map(tokenize, batched=True, batch_size=len(dataset))
```
It ruins on the last line with following error:
```
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-112-32b6275ce418> in <module>()
9 })
10 dataset = Dataset.from_pandas(data, features=features)
---> 11 dataset.map(tokenizer, batched=True, batch_size=len(dataset))
2 frames
/usr/local/lib/python3.6/dist-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)
1237 test_inputs = self[:2] if batched else self[0]
1238 test_indices = [0, 1] if batched else 0
-> 1239 update_data = does_function_return_dict(test_inputs, test_indices)
1240 logger.info("Testing finished, running the mapping function on the dataset")
1241
/usr/local/lib/python3.6/dist-packages/datasets/arrow_dataset.py in does_function_return_dict(inputs, indices)
1208 fn_args = [inputs] if input_columns is None else [inputs[col] for col in input_columns]
1209 processed_inputs = (
-> 1210 function(*fn_args, indices, **fn_kwargs) if with_indices else function(*fn_args, **fn_kwargs)
1211 )
1212 does_return_dict = isinstance(processed_inputs, Mapping)
/usr/local/lib/python3.6/dist-packages/transformers/tokenization_utils_base.py in __call__(self, text, text_pair, add_special_tokens, padding, truncation, max_length, stride, is_split_into_words, pad_to_multiple_of, return_tensors, return_token_type_ids, return_attention_mask, return_overflowing_tokens, return_special_tokens_mask, return_offsets_mapping, return_length, verbose, **kwargs)
2281 )
2282 ), (
-> 2283 "text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) "
2284 "or `List[List[str]]` (batch of pretokenized examples)."
2285 )
AssertionError: text input must of type `str` (single example), `List[str]` (batch or single pretokenized example) or `List[List[str]]` (batch of pretokenized examples).
```
which I think is not expected. I also tried the same steps using `Dataset.from_csv` which resulted in the same error.
For reproducing this, I used [this dataset from kaggle](https://www.kaggle.com/team-ai/spam-text-message-classification)
Actually, the problem was how `tokenize` function was defined. This was completely my side mistake, so there are really no needs in this issue anymore | [
-0.036319904029369354,
-0.04933064430952072,
0.05914812162518501,
0.1960298717021942,
0.31757986545562744,
0.1296345591545105,
0.6318870782852173,
0.3784266710281372,
0.270160049200058,
-0.014723733067512512,
-0.22110910713672638,
0.26376476883888245,
-0.06318516284227371,
-0.015006118454039097,
-0.03178556635975838,
-0.20463156700134277,
0.13377977907657623,
0.2118782103061676,
-0.18296757340431213,
-0.03503049165010452,
-0.29074597358703613,
0.024915602058172226,
-0.10681124031543732,
0.20368054509162903,
0.01971440203487873,
-0.20901070535182953,
-0.07462623715400696,
0.04598388448357582,
-0.2114800661802292,
-0.26328060030937195,
0.21597300469875336,
-0.0493638701736927,
0.5007880926132202,
0.43593719601631165,
-0.0001207136083394289,
-0.08598092943429947,
-0.18237890303134918,
-0.10095731168985367,
-0.08147993683815002,
-0.3854597210884094,
-0.13746032118797302,
0.03001638688147068,
0.11630953848361969,
-0.29700976610183716,
-0.07440829277038574,
0.022759340703487396,
-0.0245810579508543,
-0.1638605296611786,
0.34323179721832275,
0.3329412639141083,
0.11569514125585556,
-0.00700038205832243,
0.11651723086833954,
-0.10901221632957458,
0.3139908015727997,
-0.08301298320293427,
-0.040191181004047394,
0.1678352802991867,
0.3154560327529907,
-0.4825090169906616,
-0.06492266803979874,
0.19285547733306885,
-0.3011552095413208,
-0.04194347932934761,
0.46463772654533386,
0.21371382474899292,
0.15895619988441467,
-0.2898329198360443,
0.1365336775779724,
0.1331963986158371,
0.46574756503105164,
-0.11514807492494583,
-0.21953217685222626,
0.0547606498003006,
0.034403689205646515,
-0.2702280580997467,
0.028386510908603668,
0.045683227479457855,
-0.11398416757583618,
0.10868893563747406,
-0.10245586931705475,
-0.17709846794605255,
-0.027902837842702866,
0.20619237422943115,
-0.4087248146533966,
0.20579737424850464,
-0.05574757605791092,
0.23258236050605774,
0.04020064324140549,
-0.23166970908641815,
-0.1552065759897232,
-0.039933040738105774,
0.21450689435005188,
0.5941804051399231,
-0.1974852830171585,
-0.13338986039161682,
0.027957521378993988,
-0.38957881927490234,
-0.11000697314739227,
-0.23229815065860748,
-0.1188439279794693,
-0.15436840057373047,
-0.12768518924713135,
0.2993393838405609,
0.2697300910949707,
0.5647977590560913,
0.02723931148648262,
0.5422593355178833,
0.213997483253479,
0.10100053250789642,
-0.25069162249565125,
0.037751175463199615,
-0.15418927371501923,
-0.28277072310447693,
0.2870098352432251,
0.058163341134786606,
-0.06418546289205551,
-0.09569399803876877,
-0.3294213116168976,
0.24025265872478485,
-0.41538912057876587,
0.13282319903373718,
0.07430555671453476,
0.6524131894111633,
0.20751294493675232,
-0.09424581378698349,
0.26987481117248535,
0.2843058109283447,
0.1186545118689537,
0.005162750370800495,
-0.06699631363153458,
0.3031964898109436,
-0.3530661463737488,
-0.10069949179887772,
0.1698998063802719,
0.05140228942036629,
0.046435415744781494,
0.3085811734199524,
-0.09233748912811279,
-0.03569808602333069,
-0.03287301957607269,
-0.18986664712429047,
0.16166453063488007,
0.11823585629463196,
0.07261630892753601,
0.35397258400917053,
0.47119930386543274,
-0.34526532888412476,
-0.10835715383291245,
0.2828636169433594,
-0.4599841833114624,
-0.005472686141729355,
-0.10104040801525116,
0.09464355558156967,
0.12625201046466827,
0.20996910333633423,
-0.4163964092731476,
0.14590077102184296,
0.3574431836605072,
-0.32198697328567505,
-0.19480475783348083,
-0.3051258325576782,
-0.08369942754507065,
-0.22698116302490234,
0.2432655394077301,
0.23486605286598206,
-0.5438093543052673,
0.14035551249980927,
0.07834231108427048,
0.3336327075958252,
0.29180434346199036,
0.3815695345401764,
-0.22072844207286835,
0.22348403930664062,
-0.22789570689201355,
0.3127996325492859,
0.23831292986869812,
-0.3298649787902832,
-0.359722763299942,
0.3123696446418762,
-0.03316570818424225,
-0.0880807414650917,
0.008046448230743408,
-0.02179550938308239,
0.48823875188827515,
-0.03390815481543541,
0.11626303195953369,
0.03723255544900894,
-0.15209849178791046,
0.0862337276339531,
-0.16765813529491425,
-0.03990685194730759,
0.48979103565216064,
-0.1700117588043213,
0.2294396311044693,
0.11592522263526917,
0.134970024228096,
0.29243746399879456,
0.01030687615275383,
-0.2915749251842499,
0.1749006062746048,
-0.06615747511386871,
0.13339893519878387,
-0.07050870358943939,
0.03665351867675781,
-0.2851985692977905,
-0.4596109986305237,
0.0767470970749855,
0.07543215155601501,
0.13402517139911652,
-0.18388555943965912,
-0.11069303750991821,
-0.2779105305671692,
-0.023251071572303772,
-0.07412643730640411,
-0.19993385672569275,
0.029262080788612366,
-0.015443019568920135,
-0.25669926404953003,
-0.055601783096790314,
-0.08368293941020966,
-0.24260687828063965,
-0.036822330206632614,
0.15885859727859497,
-0.0782574862241745,
0.007665283977985382,
-0.19491101801395416,
0.08228973299264908,
-0.0772336944937706,
0.04394425451755524,
0.1950022578239441,
-0.0023532111663371325,
-0.19868257641792297,
0.055920012295246124,
0.05180392041802406,
-0.0809345543384552,
-0.08118676394224167,
-0.03754203021526337,
0.21805112063884735,
-0.12745143473148346,
-0.16905122995376587,
-0.07506534457206726,
0.29071128368377686,
-0.1380862593650818,
-0.25257715582847595,
0.31865042448043823,
0.016829688102006912,
0.3122314512729645,
0.1154070496559143,
0.1145327165722847,
0.2599705457687378,
0.041841376572847366,
0.08655990660190582,
-0.37373530864715576,
-0.192625492811203,
0.29350316524505615,
0.2589743137359619,
0.15469877421855927,
-0.07776767015457153,
-0.06099546700716019,
0.14265750348567963,
-0.13359098136425018,
0.030821356922388077,
0.009472683072090149,
-0.19997113943099976,
-0.08523566275835037,
0.2894077003002167,
-0.08575012534856796,
0.16528713703155518,
0.04062223806977272,
0.06253796070814133,
-0.21154916286468506,
-0.227614164352417,
0.08225029706954956,
0.06051967293024063,
-0.22689040005207062,
-0.060702670365571976,
0.05299565568566322,
0.06837162375450134,
0.08825244009494781,
-0.08175921440124512,
-0.019059279933571815,
0.2863251268863678,
0.5847141742706299,
-0.39099210500717163,
-0.06831659376621246,
-0.2147158980369568,
0.11705013364553452,
-0.10585940629243851,
-0.49630486965179443,
-0.13119569420814514,
-0.1060909554362297,
-0.20850302278995514,
0.26251131296157837,
0.06167719140648842,
0.216694176197052,
0.05512182042002678,
0.09394107758998871,
0.36159655451774597,
0.0393197201192379,
0.18993164598941803,
-0.17431621253490448,
-0.21179893612861633,
0.01670338585972786,
0.2753625214099884,
0.0007118149660527706,
0.17115682363510132,
-0.0011612195521593094,
-0.22338652610778809,
-0.36302146315574646,
-0.4320557713508606,
0.02033758908510208,
-0.07523434609174728,
0.307015985250473,
0.20794489979743958,
0.1353275328874588,
-0.30770790576934814,
-0.34460195899009705,
0.1428052932024002,
0.05898486077785492,
-0.10989858955144882,
0.07139074057340622,
0.0034609364811331034,
-0.3001102805137634,
0.1107848733663559,
-0.5560612082481384,
-0.16641391813755035,
-0.05220971629023552,
-0.12716001272201538,
-0.20333002507686615,
0.2183379977941513,
-0.32939475774765015,
0.02476784959435463,
0.05072580650448799,
0.1594143956899643,
0.018202589824795723,
-0.15276986360549927,
-0.11774493753910065,
0.29393061995506287,
-0.10578438639640808,
-0.2996169626712799,
0.028303395956754684,
-0.15884637832641602,
0.2352195829153061,
-0.012687280774116516,
-0.1893121898174286,
-0.18079867959022522,
-0.03777684271335602,
0.0976351797580719,
-0.021447621285915375,
0.0710073933005333,
0.05481744185090065,
0.23075053095817566,
-0.006073007360100746,
0.011175297200679779,
-0.1993461400270462,
0.07737044990062714,
-0.006861068308353424,
0.3096449077129364,
-0.11902064830064774,
0.5365262031555176,
-0.0019564665853977203,
0.993253767490387,
0.08557513356208801,
-0.15772497653961182,
0.40480902791023254,
-0.041914209723472595,
0.11545352637767792,
-0.1302986741065979,
-0.7429160475730896,
-0.013583122752606869,
-0.18905869126319885,
-0.13874955475330353,
0.3288023769855499,
-0.19258525967597961,
-0.3625994920730591,
-0.044109243899583817,
0.17703202366828918,
-0.22167816758155823,
-0.1894228160381317,
0.2895949184894562,
-0.27745315432548523,
0.0420527346432209,
0.15780401229858398,
-0.04776077717542648,
-0.3704253137111664,
-0.21337038278579712,
-0.19305334985256195,
0.2614538371562958,
0.004765905439853668,
-0.02297362871468067,
0.013573799282312393,
-0.2664873003959656,
-0.5215991139411926,
0.2433541864156723,
0.12422970682382584,
0.41880127787590027,
-0.2098047137260437,
0.14265194535255432,
0.061014916747808456,
0.1688000112771988,
0.6888319849967957,
-0.019555004313588142,
0.11250682920217514,
0.13917963206768036,
-0.15129196643829346,
-0.07912304252386093,
0.06767377257347107,
-0.19949711859226227,
0.08839330822229385,
0.3469313979148865,
0.5298930406570435,
-0.09864876419305801,
0.01642501913011074,
0.019052091985940933,
0.027123939245939255,
-0.22920075058937073,
-0.1593635231256485,
-0.12534117698669434,
0.1321069300174713,
-0.39198511838912964,
0.12792646884918213,
0.24973993003368378,
0.23744119703769684,
0.047108471393585205,
-0.2645954191684723,
-0.032490938901901245,
-0.12348607927560806,
0.4109721779823303,
0.40432021021842957,
-0.04644003510475159,
0.2494564950466156,
0.05382129177451134,
-0.14175790548324585,
0.32928895950317383,
0.4081643521785736,
0.36005768179893494,
-0.4821268618106842,
-0.638306200504303,
0.03910470008850098,
0.04010608419775963,
0.3005613684654236,
0.08232985436916351,
-0.19739726185798645,
0.19020405411720276,
-0.27475857734680176,
-0.028771214187145233,
-0.1576126664876938,
0.42139047384262085,
0.36243921518325806,
0.27548322081565857,
-0.4533800184726715,
-0.4862160384654999,
0.15690146386623383,
-0.0935746282339096,
-0.33758336305618286,
0.035652145743370056,
0.1259562075138092,
-0.4417128562927246,
0.46674853563308716,
-0.018661685287952423,
0.8538818955421448,
-0.4546048641204834,
0.09622548520565033,
0.1599949300289154,
0.2531588673591614,
0.7502368092536926,
-0.01994127407670021,
-0.09577933698892593,
-0.2133440375328064,
0.024035874754190445,
-0.108723945915699,
0.11192074418067932,
0.10890889167785645,
0.253631591796875,
-0.22230741381645203,
0.4156000316143036,
0.03041893243789673,
0.4982369840145111,
0.12665611505508423,
0.02786712348461151,
0.47666099667549133,
-0.3088310658931732,
-0.311521053314209,
0.054562121629714966,
-0.06977692246437073,
0.03564922884106636,
-0.004560183733701706,
-0.03521569445729256,
-0.16963323950767517,
-0.29897624254226685,
-0.2679094076156616,
0.07627027481794357,
-0.1809963881969452,
0.32678037881851196,
-0.35235434770584106,
-0.3634994626045227,
0.41286084055900574,
0.4410257339477539,
0.04376750439405441,
0.13014264404773712,
-0.11296485364437103,
0.0003235228359699249,
0.0872349962592125,
0.05962312966585159,
-0.34038007259368896,
-0.06295838952064514,
0.3871631920337677,
0.0844537690281868,
-0.112422876060009,
0.401339590549469,
-0.04490081965923309,
-0.14867615699768066,
0.06662653386592865,
0.17485344409942627,
0.5714655518531799,
-0.5062834620475769,
-0.33700987696647644,
-0.2767016887664795,
0.041997384279966354,
-0.39174166321754456,
0.028182540088891983,
-0.19489680230617523,
-0.1239200234413147,
0.016691185534000397,
0.021648403257131577,
-0.4055574834346771,
0.1933334320783615,
0.6294289231300354,
-0.04935172200202942,
0.07084981352090836,
0.7852796316146851,
0.0728311687707901,
-0.11496485769748688,
-0.16651850938796997,
0.08601175993680954,
0.5840913653373718,
-0.14866861701011658,
0.23382583260536194,
0.09338782727718353,
-0.06413063406944275,
0.018124010413885117,
0.4313957989215851,
0.5497340559959412,
-0.005731843411922455,
0.16523461043834686,
-0.48031318187713623,
-0.47529229521751404,
0.011661984026432037,
-0.06884241104125977,
0.13300462067127228,
0.4147024154663086,
0.158065527677536,
-0.17914435267448425,
0.5363537073135376,
-0.19945479929447174,
0.04716087132692337,
-0.17947296798229218,
0.28838902711868286,
0.2534251809120178,
0.13402944803237915,
-0.22795486450195312,
-0.051511500030756,
0.11570534110069275,
-0.12592348456382751,
0.05536029115319252,
-0.15134674310684204,
-0.1803104281425476,
0.16263432800769806,
0.02425527013838291,
-0.05380263924598694,
-0.1285192221403122,
-0.3979252576828003,
0.09345316886901855,
-0.41148489713668823,
0.20040270686149597,
0.26415765285491943,
0.03092331811785698,
0.05582891032099724,
0.09431472420692444,
-0.263149619102478,
-0.18571430444717407,
0.03853270784020424,
-0.10305768251419067,
-0.11440910398960114,
0.019299142062664032,
0.19084405899047852,
0.0535021536052227,
-0.03468631953001022,
-0.025312287732958794,
-0.030893243849277496,
-0.04054780304431915,
-0.07442290335893631,
0.34355926513671875,
-0.11239545047283173,
0.227664977312088,
0.2359960824251175,
0.1910889446735382,
0.006990555673837662,
-0.16609016060829163,
0.06992726027965546,
0.3582175076007843,
0.04347614198923111,
-0.48031747341156006,
0.08958771079778671,
0.13682731986045837,
-0.029904954135417938,
0.08837541937828064,
0.1709180772304535,
-0.052824389189481735,
0.06294116377830505,
-0.11019733548164368,
-0.23670506477355957,
0.3873441517353058,
-0.059608228504657745,
0.11753132939338684,
0.5157996416091919,
-0.199242502450943,
0.2741679847240448,
0.4069993197917938,
0.25185924768447876,
0.10128190368413925,
0.5119723081588745,
-0.19450464844703674,
0.16651810705661774,
-0.20781219005584717,
0.34265953302383423,
0.08518503606319427,
-0.3729565441608429,
0.19489289820194244,
0.204079732298851,
-0.11297307908535004,
0.13600370287895203,
0.014912120997905731,
0.6207621097564697,
-0.4058399796485901,
-0.24601654708385468,
0.026069214567542076,
0.3624695837497711,
-0.33827999234199524,
-0.249206081032753,
-0.02576371654868126,
-0.27722087502479553,
0.14688099920749664,
-0.03132878988981247,
-0.3017631769180298,
-0.08708721399307251,
0.14073535799980164,
0.09742972254753113,
-0.0951562225818634,
-0.3882955312728882,
-0.328788697719574,
0.10984931886196136,
-0.07543794065713882,
-0.15818355977535248,
0.4284527599811554,
-0.14959101378917694,
0.057128842920064926,
0.08453456312417984,
0.10547272115945816,
0.42887213826179504,
0.6453413963317871,
0.08870552480220795,
-0.18185678124427795,
0.12115700542926788,
-0.16293220221996307,
-0.06939326971769333,
0.0466386154294014,
0.09101952612400055,
0.0710618868470192,
0.23396287858486176,
0.020304905250668526,
-0.08908400684595108,
0.20697885751724243,
0.19435662031173706,
0.2529904842376709,
0.1798132061958313,
0.08527787029743195,
-0.17817707359790802,
-0.11391431093215942,
-0.1873796582221985,
0.06587447971105576,
-0.32883304357528687,
0.268766850233078,
0.09245443344116211,
-0.15917308628559113,
0.2595166862010956,
0.05889959633350372,
0.037938669323921204,
0.22639159858226776,
0.16516932845115662,
0.2591683268547058,
-0.09280634671449661,
-0.6077030897140503,
0.14262987673282623,
-0.817873477935791,
0.30198824405670166,
-0.20846155285835266,
-0.031383123248815536,
-0.22056667506694794,
0.034290678799152374,
0.24564746022224426,
-0.1272580325603485,
0.15027807652950287,
0.023985350504517555,
0.03802807629108429,
0.35480865836143494,
-0.01266758143901825,
-0.046708445996046066,
-0.24040944874286652,
0.10792427510023117,
-0.17335841059684753,
-0.34666964411735535,
0.28563907742500305,
0.12293778359889984,
-0.1231834813952446,
-0.19558998942375183,
0.1786840707063675,
0.008347176015377045,
0.09407161921262741,
0.4659879803657532,
0.12789414823055267,
0.7292593717575073,
-0.03217501938343048,
0.27214765548706055,
0.07408442348241806,
-0.18216277658939362,
-0.1105567216873169,
0.07494477182626724,
0.2023516446352005,
0.20009922981262207,
-0.19500190019607544,
-0.14455567300319672,
-0.23200586438179016,
-0.07558435201644897,
-0.014424027875065804,
-0.289977103471756,
-0.6900327205657959,
0.14934436976909637,
-0.04308108240365982,
-0.043492939323186874,
-0.018657300621271133,
0.2625668942928314,
-0.09196172654628754,
0.18792547285556793,
-0.09712863713502884,
-0.4130036234855652,
0.3670979142189026,
-0.5548741817474365,
-0.47843340039253235,
-0.02419968694448471,
-0.12440870702266693,
0.11225716769695282,
-0.06118820607662201,
-0.6009427905082703,
-0.05341314151883125,
0.2493421584367752,
-0.07133810967206955,
-0.40052732825279236,
-0.04273221269249916,
-0.053449247032403946,
0.057655829936265945,
-0.18440726399421692,
0.44240719079971313,
0.1898755133152008,
-0.17030632495880127,
-0.09353410452604294,
-0.4564054012298584
] |
https://github.com/huggingface/datasets/issues/1324 | ❓ Sharing ElasticSearch indexed dataset | Hello @pietrolesci , I am not sure to understand what you are trying to do here.
If you're looking for ways to save a dataset on disk, you can you the `save_to_disk` method:
```python
>>> import datasets
>>> loaded_dataset = datasets.load("dataset_name")
>>> loaded_dataset.save_to_disk("/path/on/your/disk")
```
The saved dataset can later be retrieved using:
```python
>>> loaded_dataset = datasets.Dataset.load_from_disk("/path/on/your/disk")
```
Also, I'd recommend posting your question directly in the issue section of the [elasticsearch repo](https://github.com/elastic/elasticsearch) | Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label | 73 | ❓ Sharing ElasticSearch indexed dataset
Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label
Hello @pietrolesci , I am not sure to understand what you are trying to do here.
If you're looking for ways to save a dataset on disk, you can you the `save_to_disk` method:
```python
>>> import datasets
>>> loaded_dataset = datasets.load("dataset_name")
>>> loaded_dataset.save_to_disk("/path/on/your/disk")
```
The saved dataset can later be retrieved using:
```python
>>> loaded_dataset = datasets.Dataset.load_from_disk("/path/on/your/disk")
```
Also, I'd recommend posting your question directly in the issue section of the [elasticsearch repo](https://github.com/elastic/elasticsearch) | [
-0.14293590188026428,
-0.06383019685745239,
-0.16498693823814392,
0.11578181385993958,
-0.2390126734972,
0.18162015080451965,
0.23754893243312836,
0.06453081965446472,
0.1375180035829544,
0.26328566670417786,
-0.2542997896671295,
0.11020226031541824,
-0.04034900292754173,
-0.14991407096385956,
0.11620499193668365,
0.2783808708190918,
0.14073215425014496,
-0.05227534472942352,
0.16098085045814514,
-0.11572008579969406,
-0.09602369368076324,
-0.11999903619289398,
0.07474371790885925,
-0.0017552003264427185,
-0.037802841514348984,
-0.13242144882678986,
-0.47505801916122437,
-0.12862461805343628,
0.06600436568260193,
-0.22196374833583832,
0.5905975103378296,
0.22819048166275024,
0.17443875968456268,
0.34928905963897705,
-0.00011475999053800479,
0.037178657948970795,
0.3044728934764862,
-0.10599148273468018,
-0.060012415051460266,
-0.3337872624397278,
-0.581566333770752,
-0.21533562242984772,
0.3577900826931,
-0.5136823058128357,
-0.052921656519174576,
-0.2876567542552948,
0.21588101983070374,
-0.6586780548095703,
-0.080080047249794,
-0.08806823939085007,
0.1715496927499771,
0.14093700051307678,
-0.10883358120918274,
-0.019739801064133644,
0.18920263648033142,
0.12329469621181488,
-0.021446390077471733,
-0.08532638847827911,
0.003469310700893402,
0.08626623451709747,
0.32686445116996765,
0.1831187754869461,
-0.16719302535057068,
0.060521360486745834,
0.1701911836862564,
0.17238833010196686,
-0.5219467282295227,
-0.23111629486083984,
-0.07145709544420242,
-0.0918339416384697,
0.8283690214157104,
-0.2656334936618805,
-0.26705875992774963,
0.0779280886054039,
-0.018636301159858704,
-0.13644185662269592,
0.02333056554198265,
0.14805321395397186,
0.18775597214698792,
0.1393418163061142,
-0.20920972526073456,
-0.43872809410095215,
-0.4489777088165283,
0.16565456986427307,
-0.0322408601641655,
0.5990272760391235,
-0.1216457188129425,
0.12111835181713104,
-0.15048646926879883,
0.03791118040680885,
0.35606831312179565,
-0.047812044620513916,
0.13320598006248474,
0.12486501783132553,
0.21792256832122803,
-0.16438494622707367,
-0.1523069441318512,
-0.3114427328109741,
-0.0014167949557304382,
0.14003737270832062,
-0.17198608815670013,
-0.2091897428035736,
0.24326619505882263,
0.3475383520126343,
0.35484737157821655,
0.2206200659275055,
0.11190640926361084,
0.36934855580329895,
0.22117066383361816,
-0.39959612488746643,
-0.13364198803901672,
-0.3954392075538635,
-0.0021782570984214544,
0.29963597655296326,
0.479560911655426,
-0.38417795300483704,
0.11839431524276733,
-0.15567182004451752,
-0.049929484724998474,
-0.1355164349079132,
-0.2635774314403534,
-0.23467779159545898,
0.15762555599212646,
0.22308143973350525,
-0.04268045350909233,
-0.4526022672653198,
0.07042163610458374,
0.05301056429743767,
0.0606580451130867,
0.09510545432567596,
-0.1951247602701187,
-0.18275143206119537,
0.10145089030265808,
0.3022235035896301,
0.12821613252162933,
-0.43162211775779724,
0.1091165617108345,
-0.27335795760154724,
0.25530415773391724,
-0.014067869633436203,
0.4297311007976532,
0.18542246520519257,
0.24843811988830566,
0.34682852029800415,
0.31374824047088623,
0.19410660862922668,
0.021283458918333054,
-0.15824371576309204,
-0.44444167613983154,
-0.008188441395759583,
-0.2976224720478058,
-0.4269990622997284,
-0.278904527425766,
0.07968112826347351,
-0.14677083492279053,
0.12251283973455429,
-0.2636529207229614,
0.1629921942949295,
0.02785506099462509,
0.1676827371120453,
0.0675705224275589,
0.3594227433204651,
-0.38900765776634216,
-0.3475756347179413,
0.45558851957321167,
-0.11321334540843964,
-0.14836683869361877,
-0.14012862741947174,
-0.4394766092300415,
0.3204066753387451,
-0.13183411955833435,
-0.03642081096768379,
-0.24878424406051636,
0.15610161423683167,
0.00965157337486744,
0.389940083026886,
0.3576793670654297,
-0.2793353199958801,
-0.4653579294681549,
0.03088393248617649,
-0.06327269971370697,
-0.4568527936935425,
-0.09064266830682755,
0.21963296830654144,
0.5229578018188477,
-0.16919644176959991,
-0.05431471765041351,
0.5200257301330566,
0.13030734658241272,
-0.1105511337518692,
-0.22451062500476837,
-0.10537021607160568,
-0.100601926445961,
-0.06743351370096207,
-0.22467507421970367,
-0.07842286676168442,
0.40586331486701965,
0.083795927464962,
-0.13314417004585266,
0.34657156467437744,
0.24861164391040802,
0.25924211740493774,
0.6578139066696167,
0.39610403776168823,
0.054492346942424774,
-0.00019235163927078247,
-0.1552847921848297,
-0.026430612429976463,
0.1335359513759613,
-0.3257792890071869,
-0.01975269615650177,
-0.46399372816085815,
-0.1371488869190216,
0.20065365731716156,
-0.021794471889734268,
0.08987753093242645,
0.11050073802471161,
0.029188793152570724,
0.028121575713157654,
0.37155160307884216,
-0.271348237991333,
-0.13454245030879974,
0.054430484771728516,
-0.1252729296684265,
-0.19007062911987305,
0.40880313515663147,
-0.04263163357973099,
0.055150702595710754,
-0.10999460518360138,
-0.04051218181848526,
0.27407461404800415,
-0.09979359060525894,
-0.19498929381370544,
0.4314919114112854,
-0.4871743321418762,
0.4711263179779053,
0.39687564969062805,
0.49832838773727417,
0.06940048933029175,
-0.6583538055419922,
0.5281497836112976,
-0.002194305881857872,
-0.11153334379196167,
0.11435585469007492,
-0.38642171025276184,
0.28200745582580566,
-0.3749866485595703,
0.1623956859111786,
-0.16573241353034973,
-0.07035818696022034,
-0.1311715841293335,
0.009526308625936508,
-0.33785945177078247,
0.016427159309387207,
-0.1932201236486435,
-0.2723451256752014,
-0.17852862179279327,
0.11914298683404922,
-0.1280248761177063,
0.3031456172466278,
0.04389263316988945,
-0.006656510755419731,
0.21376287937164307,
0.11842155456542969,
0.04454617202281952,
-0.24192264676094055,
-0.061456531286239624,
-0.02334350347518921,
0.38009732961654663,
0.11583440005779266,
0.3460182249546051,
-0.14295485615730286,
0.21704192459583282,
0.11673541367053986,
0.24524837732315063,
0.17276129126548767,
0.07578694075345993,
-0.31228744983673096,
0.1125934049487114,
0.0014003263786435127,
0.3942689299583435,
-0.10936504602432251,
-0.29461073875427246,
-0.0856122076511383,
0.06851021945476532,
0.4260072708129883,
0.019885586574673653,
-0.012236490845680237,
-0.06400326639413834,
-0.1772962063550949,
-0.20494109392166138,
-0.2950291633605957,
-0.08582257479429245,
0.32475394010543823,
0.10164086520671844,
-0.165690079331398,
-0.4062301814556122,
0.33777010440826416,
0.026265984401106834,
-0.12833552062511444,
-0.10219304263591766,
-0.03531546890735626,
0.003867682069540024,
-0.030806420370936394,
0.13004423677921295,
0.32773011922836304,
0.45914193987846375,
0.37881213426589966,
0.3379557728767395,
-0.08902814984321594,
0.01549512892961502,
-0.14559943974018097,
0.12454239279031754,
0.08346616476774216,
-0.08860071003437042,
0.16898790001869202,
-0.7019362449645996,
-0.20148220658302307,
-0.04962875321507454,
0.030467161908745766,
0.025338342413306236,
-0.13566091656684875,
0.14906345307826996,
0.17289231717586517,
0.3836010992527008,
-0.3591671586036682,
-0.4527556896209717,
-0.028997641056776047,
0.143489807844162,
-0.13844116032123566,
0.15971384942531586,
-0.26114577054977417,
-0.2167719602584839,
0.06612629443407059,
0.2811369299888611,
-0.20256651937961578,
0.006670768838375807,
-0.6452113389968872,
0.1128072738647461,
-0.44775626063346863,
-0.000235043466091156,
0.21463939547538757,
0.045614682137966156,
0.025577081367373466,
0.0032445029355585575,
-0.32825034856796265,
0.30772605538368225,
0.13016486167907715,
-0.0031391531229019165,
0.08918670564889908,
0.21401281654834747,
0.335414856672287,
0.06777136027812958,
0.018886828795075417,
0.002759099006652832,
-0.26752784848213196,
-0.07214442640542984,
0.4280085265636444,
0.10895013064146042,
0.22203329205513,
-0.07670167088508606,
0.020066071301698685,
0.7137883305549622,
0.15591531991958618,
-0.03851672634482384,
0.18571704626083374,
0.13383342325687408,
0.2979232668876648,
-0.02661874145269394,
-0.30989426374435425,
-0.24480532109737396,
0.28141164779663086,
-0.3961248993873596,
0.08496871590614319,
0.11354678869247437,
-0.1524418145418167,
-0.11957354098558426,
-0.5609029531478882,
-0.37396612763404846,
0.004877805709838867,
0.01104131992906332,
0.23191924393177032,
0.3605763614177704,
-0.2060416340827942,
-0.4837605357170105,
-0.0038880417123436928,
-0.37662413716316223,
-0.32940927147865295,
0.34159165620803833,
0.11576087027788162,
0.1399448662996292,
-0.18821296095848083,
-0.23186351358890533,
-0.1870822310447693,
0.1716300994157791,
-0.15049389004707336,
-0.04763231426477432,
-0.08034331351518631,
0.19513913989067078,
0.45567458868026733,
0.2745216488838196,
0.17749734222888947,
-0.19105467200279236,
-0.33072900772094727,
-0.2974391281604767,
-0.02133771777153015,
-0.2842193841934204,
0.05877595767378807,
0.04322414472699165,
0.3016091287136078,
-0.3704277276992798,
0.30837282538414,
0.09890364855527878,
-0.05714607611298561,
-0.06372286379337311,
-0.02654942125082016,
-0.49349358677864075,
-0.09280993789434433,
-0.2640775144100189,
-0.35669779777526855,
0.21926665306091309,
0.10035216063261032,
-0.03618570789694786,
0.09164317697286606,
0.09770537912845612,
0.1210552453994751,
-0.17168205976486206,
0.07801353931427002,
0.05927327275276184,
-0.09730340540409088,
0.27817168831825256,
0.1711912751197815,
0.16794531047344208,
0.7190206050872803,
0.14967313408851624,
0.2815488874912262,
0.3120744824409485,
-0.0907716453075409,
0.4290628433227539,
-0.07870755344629288,
0.08422509580850601,
0.47798091173171997,
-0.0657045841217041,
0.09933077543973923,
-0.13575831055641174,
-0.09220096468925476,
-0.10454025864601135,
-0.2849583923816681,
-0.23074309527873993,
0.09045183658599854,
0.01879798248410225,
-0.2011898308992386,
-0.45218706130981445,
0.47084274888038635,
-0.10842780768871307,
-0.12663447856903076,
0.45836421847343445,
0.3381694555282593,
-0.18879756331443787,
0.3753170967102051,
0.16986027359962463,
0.9062933325767517,
-0.11868411302566528,
0.02282770909368992,
-0.2764088809490204,
0.18083404004573822,
0.3432735502719879,
-0.4557621479034424,
0.09256365895271301,
-0.09505300968885422,
-0.45504093170166016,
-0.0503503680229187,
-0.1456654816865921,
-0.04314605891704559,
-0.13821683824062347,
-0.3969092071056366,
-0.20943370461463928,
-0.241934135556221,
-0.1358187049627304,
-0.2971746623516083,
0.254938006401062,
0.08923273533582687,
-0.2151842564344406,
0.0032021179795265198,
0.09943796694278717,
-0.056069307029247284,
0.31620046496391296,
0.15614423155784607,
-0.08206574618816376,
-0.056703440845012665,
0.1120547354221344,
-0.2932801842689514,
-0.2888518273830414,
0.3653305470943451,
0.36228203773498535,
-0.1373375952243805,
-0.10082141309976578,
0.04080386459827423,
0.17249193787574768,
0.13581782579421997,
0.09856981039047241,
-0.112176313996315,
-0.21383781731128693,
-0.2195039689540863,
-0.019775036722421646,
0.11741962283849716,
-0.17705491185188293,
0.12297865003347397,
0.13477233052253723,
-0.3482435643672943,
0.11546647548675537,
0.33690276741981506,
-0.12939591705799103,
-0.2612895965576172,
0.17498493194580078,
0.0769294798374176,
-0.24258573353290558,
0.010951446369290352,
-0.0012121349573135376,
-0.14333613216876984,
0.05804062262177467,
0.09892997145652771,
0.2997497022151947,
-0.1633690744638443,
0.33882179856300354,
0.22236034274101257,
-0.1853232979774475,
0.09455175697803497,
0.5310107469558716,
0.27066001296043396,
-0.19186437129974365,
0.21539954841136932,
-0.2635294198989868,
-0.10848380625247955,
-0.003348682075738907,
0.677851676940918,
0.392275333404541,
0.433010071516037,
-0.21789318323135376,
-0.3760693669319153,
0.617123544216156,
-0.08132961392402649,
-0.10648183524608612,
0.1463920772075653,
0.05851711332798004,
-0.5026091933250427,
-0.17492370307445526,
0.09924253821372986,
0.2952951490879059,
0.2668550908565521,
0.35511744022369385,
-0.2838895618915558,
-0.6877221465110779,
0.07525050640106201,
-0.07863833755254745,
-0.2646251320838928,
-0.015181129798293114,
-0.23810385167598724,
-0.13300086557865143,
0.3729129135608673,
0.37426748871803284,
0.2937639057636261,
-0.30623695254325867,
0.03462940454483032,
-0.12128870189189911,
0.06355202198028564,
-0.09846603870391846,
-0.04720801115036011,
0.1676335334777832,
0.001857878640294075,
-0.06422959268093109,
-0.29434746503829956,
-0.6276308298110962,
0.09248407185077667,
-0.018531762063503265,
-0.2699893116950989,
0.27254605293273926,
0.25309962034225464,
-0.033186037093400955,
0.10955746471881866,
-0.1364646852016449,
0.025469250977039337,
0.1434612274169922,
0.30078572034835815,
0.2595260739326477,
-0.1352565884590149,
0.22959411144256592,
0.19300197064876556,
-0.15947341918945312,
-0.2823137044906616,
0.02563522383570671,
0.09735679626464844,
0.11981351673603058,
0.0809885784983635,
0.14857332408428192,
0.14980529248714447,
0.23806926608085632,
0.39567387104034424,
-0.0017430633306503296,
-0.19913773238658905,
0.06913316249847412,
0.0027162046171724796,
0.15224651992321014,
0.16932685673236847,
0.026650940999388695,
0.14614073932170868,
0.23416399955749512,
-0.36370033025741577,
0.2730686068534851,
0.11672163009643555,
0.1973475217819214,
-0.3014604449272156,
0.028657153248786926,
0.5244449973106384,
0.02120175212621689,
0.06937715411186218,
-0.20142725110054016,
-0.04172266274690628,
0.0697336196899414,
0.15694665908813477,
0.5201886892318726,
0.4039345979690552,
0.29483136534690857,
0.10101848095655441,
0.48879367113113403,
0.33224353194236755,
-0.21446290612220764,
0.4194941222667694,
-0.040909070521593094,
0.11175073683261871,
-0.1217951774597168,
0.3228590488433838,
0.12133431434631348,
-0.035226255655288696,
0.35015571117401123,
-0.17197822034358978,
-0.11487603187561035,
0.039403036236763,
0.07118123769760132,
0.07352523505687714,
-0.012978898361325264,
0.12094797194004059,
-0.09504026174545288,
0.061609819531440735,
-0.26457998156547546,
0.17294369637966156,
-0.3572736382484436,
-0.2551346719264984,
0.06474827229976654,
0.10355494171380997,
0.06776310503482819,
0.25952020287513733,
0.19868609309196472,
0.05891795828938484,
-0.08071652799844742,
-0.14210812747478485,
0.040051862597465515,
0.2084176242351532,
-0.10099707543849945,
0.022855862975120544,
-0.057956185191869736,
-0.10075795650482178,
0.025302056223154068,
0.6263265013694763,
0.05624798685312271,
-0.31440484523773193,
0.049678631126880646,
-0.21149075031280518,
-0.29441291093826294,
-0.43316224217414856,
-0.14372661709785461,
0.12868869304656982,
0.13275058567523956,
0.2015918791294098,
0.23493051528930664,
0.27203086018562317,
-0.007094310596585274,
-0.30879008769989014,
-0.05088166892528534,
-0.10662323236465454,
0.04051695764064789,
-0.026162728667259216,
-0.35372790694236755,
-0.1799960732460022,
0.578016996383667,
0.13129012286663055,
-0.012127116322517395,
0.02211664244532585,
0.03244291990995407,
-0.04819437488913536,
0.16001026332378387,
0.3391345143318176,
-0.12153097242116928,
-0.03684592619538307,
-0.21331843733787537,
-0.24882394075393677,
0.12637200951576233,
-0.2509036660194397,
-0.016971353441476822,
0.20481204986572266,
0.44619452953338623,
-0.0847686156630516,
0.011257149279117584,
-0.030021220445632935,
-0.06017983332276344,
-0.09303396940231323,
0.11814199388027191,
0.21808360517024994,
-0.354124516248703,
-0.1416836380958557,
0.22307021915912628,
-0.008898008614778519,
0.14757850766181946,
0.15619806945323944,
-0.2323428839445114,
0.008354097604751587,
-0.4974645972251892,
0.05562053620815277,
0.06541232764720917,
0.2187635749578476,
0.15946051478385925,
-0.3096054792404175,
0.10003266483545303,
0.06644205003976822,
0.0703706294298172,
0.1690434068441391,
-0.024686342105269432,
-0.03735363483428955,
0.2794218361377716,
-0.04959019646048546,
-0.13285931944847107,
-0.5643982291221619,
-0.34224385023117065,
-0.30786824226379395,
-0.14393095672130585,
-0.20644433796405792,
-0.2464853674173355,
0.1733020693063736,
-0.4317348003387451,
-0.23479965329170227,
0.09731335192918777,
0.41123566031455994,
0.05033370852470398,
-0.0008297860622406006,
0.05381665378808975,
-0.11503718048334122,
-0.06750334054231644,
0.1778489053249359,
-0.38197699189186096,
0.06852257251739502,
-0.09191391617059708,
0.12499305605888367,
0.2355668842792511,
0.16454049944877625,
-0.18129511177539825,
0.07623317092657089,
0.6318389177322388,
-0.22899651527404785,
0.16255976259708405,
0.0231880284845829,
0.3164772093296051,
0.2281884402036667,
-0.14207908511161804,
0.07809668779373169,
0.001566816121339798,
0.10625612735748291,
-0.06774339079856873,
-0.09939516335725784
] |
https://github.com/huggingface/datasets/issues/1324 | ❓ Sharing ElasticSearch indexed dataset | Hi @SBrandeis,
Thanks a lot for picking up my request.
Maybe I can clarify my use-case with a bit of context. Say I have the IMDb dataset. I create an ES index on it. Now I can save and reload the dataset from disk normally. Once I reload the dataset, it is easy to retrieve the ES index on my machine. I was wondering: is there a way I can share the (now) indexed version of the IMDb dataset with my colleagues without requiring them to re-index it?
Thanks a lot in advance for your consideration.
Best,
Pietro | Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label | 98 | ❓ Sharing ElasticSearch indexed dataset
Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label
Hi @SBrandeis,
Thanks a lot for picking up my request.
Maybe I can clarify my use-case with a bit of context. Say I have the IMDb dataset. I create an ES index on it. Now I can save and reload the dataset from disk normally. Once I reload the dataset, it is easy to retrieve the ES index on my machine. I was wondering: is there a way I can share the (now) indexed version of the IMDb dataset with my colleagues without requiring them to re-index it?
Thanks a lot in advance for your consideration.
Best,
Pietro | [
-0.19886012375354767,
0.12474781274795532,
-0.11967797577381134,
0.03391900658607483,
-0.3991583585739136,
0.16318711638450623,
0.2689710259437561,
0.06411859393119812,
0.09882789850234985,
0.20210051536560059,
-0.22817328572273254,
0.15841171145439148,
0.023379486054182053,
-0.04144176095724106,
-0.014840555377304554,
0.33944129943847656,
0.08931013941764832,
0.06314056366682053,
0.11034667491912842,
-0.12429439276456833,
0.05597228556871414,
-0.23491270840168,
0.0433596670627594,
-0.06456747651100159,
-0.06527785956859589,
-0.06183180212974548,
-0.40330326557159424,
-0.1812632977962494,
0.04366559535264969,
-0.21194972097873688,
0.5912085771560669,
0.30109134316444397,
0.25383496284484863,
0.24166128039360046,
-0.00011544767767190933,
0.05957785248756409,
0.27642759680747986,
-0.09300976246595383,
-0.12434636056423187,
-0.34991544485092163,
-0.6613680124282837,
-0.1312081664800644,
0.28525757789611816,
-0.45548200607299805,
-0.09664475917816162,
-0.34210309386253357,
0.24029357731342316,
-0.7295075058937073,
-0.04504343867301941,
-0.24012798070907593,
0.14766058325767517,
0.041218604892492294,
-0.1752970665693283,
-0.015298837795853615,
0.19406653940677643,
0.1136576384305954,
0.012957161292433739,
-0.10938586294651031,
0.10312367230653763,
0.16520243883132935,
0.20541930198669434,
0.17758265137672424,
-0.09404359757900238,
0.01743115857243538,
0.17101489007472992,
0.08236785233020782,
-0.5242794752120972,
-0.10883314907550812,
-0.028177820146083832,
0.05636470392346382,
0.9450521469116211,
-0.17932280898094177,
-0.4199524521827698,
0.04075031727552414,
0.03392193838953972,
-0.03982274979352951,
-0.010904088616371155,
-0.00839230976998806,
0.26084402203559875,
0.13296110928058624,
-0.20577703416347504,
-0.45274609327316284,
-0.3319205045700073,
0.08938957750797272,
0.023944206535816193,
0.5131624937057495,
-0.05450072139501572,
0.05517766997218132,
-0.1661057025194168,
-0.04041376709938049,
0.4516308903694153,
-0.016360625624656677,
0.06972569227218628,
0.10773061215877533,
0.28607597947120667,
-0.13871057331562042,
-0.14116376638412476,
-0.2900788486003876,
-0.07772229611873627,
0.16754332184791565,
-0.1779175102710724,
-0.15838932991027832,
0.2291659116744995,
0.26373955607414246,
0.4209384322166443,
0.21782030165195465,
0.17725221812725067,
0.32296785712242126,
0.14658799767494202,
-0.3529277741909027,
-0.164038747549057,
-0.36615458130836487,
-0.013250088319182396,
0.34667444229125977,
0.4428032636642456,
-0.31392088532447815,
0.06924127042293549,
-0.19009160995483398,
-0.07489793747663498,
-0.21757924556732178,
-0.28488704562187195,
-0.19724583625793457,
0.12110787630081177,
0.09653857350349426,
-0.03094758838415146,
-0.3720717132091522,
0.021454107016324997,
-0.06065380573272705,
-0.020193958654999733,
-0.029219817370176315,
-0.19571232795715332,
-0.2964939475059509,
0.01717357710003853,
0.35704970359802246,
0.19611504673957825,
-0.46095535159111023,
0.03941091150045395,
-0.244851753115654,
0.2231207638978958,
0.016048118472099304,
0.397334486246109,
0.2916308343410492,
0.29005175828933716,
0.1884034126996994,
0.25776150822639465,
0.22549767792224884,
-0.03376682475209236,
-0.21469217538833618,
-0.4397146999835968,
0.022763404995203018,
-0.28957363963127136,
-0.4273774325847626,
-0.20265834033489227,
0.050016071647405624,
-0.11117024719715118,
0.1029619425535202,
-0.17536398768424988,
0.22108015418052673,
-0.02053140103816986,
0.04165473207831383,
0.07549846172332764,
0.3740001320838928,
-0.3952650725841522,
-0.221034437417984,
0.4148867130279541,
0.003559485077857971,
-0.24407359957695007,
-0.2064417153596878,
-0.5053339004516602,
0.3462715148925781,
-0.26348912715911865,
0.035769764333963394,
-0.2802569270133972,
0.05883792042732239,
0.038204289972782135,
0.37661606073379517,
0.30784809589385986,
-0.20984090864658356,
-0.6120328903198242,
0.0018126845825463533,
-0.09388077259063721,
-0.3875824213027954,
-0.00483027845621109,
0.29878613352775574,
0.588608980178833,
-0.17603573203086853,
-0.041148848831653595,
0.48307180404663086,
0.05904272571206093,
-0.08852189034223557,
-0.17756962776184082,
-0.1968393325805664,
-0.05638851970434189,
-0.13808158040046692,
-0.09413929283618927,
-0.018227770924568176,
0.3711378276348114,
0.1541195809841156,
-0.12865415215492249,
0.3143366575241089,
0.26485806703567505,
0.1926954686641693,
0.48610180616378784,
0.4271416664123535,
0.06167243421077728,
0.01939280703663826,
-0.25888970494270325,
0.021920979022979736,
0.0880431979894638,
-0.33322182297706604,
0.11018769443035126,
-0.5423188805580139,
-0.13217347860336304,
0.10998991876840591,
0.05729448050260544,
0.049296990036964417,
0.07104883342981339,
0.019901800900697708,
-0.012561723589897156,
0.3137131631374359,
-0.21984104812145233,
-0.18135908246040344,
0.17984344065189362,
-0.18575169146060944,
-0.32035717368125916,
0.393490195274353,
-0.020434817299246788,
0.06630238890647888,
-0.12208300083875656,
0.016479097306728363,
0.19154319167137146,
-0.11488412320613861,
-0.17545205354690552,
0.3342701494693756,
-0.519467830657959,
0.49468666315078735,
0.3578435480594635,
0.5002105832099915,
0.08582688868045807,
-0.6622856855392456,
0.5527694821357727,
-0.03617478907108307,
-0.12292882055044174,
0.08863385766744614,
-0.384731650352478,
0.29402074217796326,
-0.4438503086566925,
0.10800085961818695,
-0.1244286298751831,
-0.10229937732219696,
-0.15080620348453522,
-0.07581010460853577,
-0.3517903685569763,
-0.07262949645519257,
-0.2458980232477188,
-0.30344074964523315,
-0.20773020386695862,
0.19189603626728058,
-0.056342415511608124,
0.3178860545158386,
-0.021010074764490128,
0.13414260745048523,
0.16038891673088074,
0.09696042537689209,
-0.038572460412979126,
-0.28630053997039795,
-0.04578474164009094,
-0.10074195265769958,
0.21098612248897552,
0.1735735535621643,
0.39863070845603943,
-0.10235720127820969,
0.32242390513420105,
0.07324732095003128,
0.167035311460495,
0.03954649716615677,
0.11035187542438507,
-0.25441017746925354,
0.10795233398675919,
0.04026898369193077,
0.37344035506248474,
-0.016095539554953575,
-0.18760260939598083,
-0.12896285951137543,
0.051035281270742416,
0.39188554883003235,
-0.09401809424161911,
-0.08546324819326401,
-0.015061737038195133,
-0.12605518102645874,
-0.15793681144714355,
-0.24072590470314026,
-0.027037039399147034,
0.43994832038879395,
0.05838949605822563,
-0.08246733993291855,
-0.42871591448783875,
0.33525142073631287,
-0.0003864578902721405,
-0.14062662422657013,
-0.05410810187458992,
-0.14113706350326538,
0.03950048238039017,
-0.020162850618362427,
0.16219882667064667,
0.31133732199668884,
0.4181273877620697,
0.3823672831058502,
0.38713163137435913,
-0.18328005075454712,
-0.06857715547084808,
-0.14601781964302063,
0.18039236962795258,
0.12417806684970856,
-0.13633282482624054,
0.05455023795366287,
-0.678244948387146,
-0.24095451831817627,
-0.10031261295080185,
-0.05979129672050476,
0.009885847568511963,
-0.20544815063476562,
0.12693721055984497,
0.18476106226444244,
0.451144814491272,
-0.4822727143764496,
-0.28088462352752686,
0.00738115981221199,
0.20371538400650024,
-0.21729852259159088,
0.07442371547222137,
-0.16219161450862885,
-0.16616779565811157,
-0.0636928603053093,
0.3251664936542511,
-0.24843811988830566,
-0.08241730183362961,
-0.663247287273407,
0.03411426767706871,
-0.45121467113494873,
0.005752488970756531,
0.08730165660381317,
-0.01847049780189991,
-0.017482351511716843,
0.13854150474071503,
-0.30522826313972473,
0.4069463610649109,
0.19295939803123474,
0.01208898052573204,
0.0669233575463295,
0.08919330686330795,
0.37540140748023987,
0.07035515457391739,
-0.010669300332665443,
0.032444216310977936,
-0.26600003242492676,
-0.05229602009057999,
0.41435977816581726,
0.12279362231492996,
0.1801624596118927,
-0.0679914802312851,
0.07173876464366913,
0.762303352355957,
0.11647209525108337,
-0.1460178643465042,
0.14488756656646729,
0.13308367133140564,
0.3890991508960724,
-0.08846578747034073,
-0.23313148319721222,
-0.23294667899608612,
0.30486661195755005,
-0.39062899351119995,
0.008846506476402283,
0.07999272644519806,
-0.227976992726326,
-0.10155658423900604,
-0.5722401142120361,
-0.2830638885498047,
-0.05075700581073761,
0.03665618970990181,
0.12303408235311508,
0.35235172510147095,
0.010764878243207932,
-0.42273908853530884,
-0.0648379921913147,
-0.4604935050010681,
-0.3073160648345947,
0.2299201488494873,
0.25064799189567566,
0.14286555349826813,
-0.15290679037570953,
-0.13238926231861115,
-0.0686788484454155,
0.15397115051746368,
-0.041075222194194794,
0.06546764075756073,
-0.003450889140367508,
0.16617992520332336,
0.42281293869018555,
0.3001916706562042,
0.1424068659543991,
-0.2715088725090027,
-0.23076923191547394,
-0.2508731186389923,
0.04911787807941437,
-0.24287253618240356,
0.0660155862569809,
0.08270670473575592,
0.35850706696510315,
-0.39652422070503235,
0.29718685150146484,
0.15474015474319458,
0.006044595502316952,
-0.021303687244653702,
-0.08526737987995148,
-0.4650022089481354,
-0.07875701040029526,
-0.2405431866645813,
-0.21191686391830444,
0.22391928732395172,
0.16034913063049316,
-0.08944156020879745,
-0.03153850883245468,
0.09002307057380676,
0.12483783066272736,
-0.26117920875549316,
0.13376423716545105,
-0.00532473623752594,
-0.040308915078639984,
0.25854623317718506,
0.32380741834640503,
0.2644467353820801,
0.7711288928985596,
0.12074001133441925,
0.37487465143203735,
0.3539184331893921,
-0.09170258045196533,
0.49472343921661377,
-0.15782400965690613,
0.09382132440805435,
0.3423302173614502,
0.0029238760471343994,
0.10410398989915848,
-0.17844077944755554,
-0.01100856065750122,
-0.15016895532608032,
-0.32998576760292053,
-0.2239183783531189,
0.04097284376621246,
-0.059521693736314774,
-0.24111153185367584,
-0.4408234655857086,
0.4113927483558655,
-0.04856235161423683,
-0.15989363193511963,
0.4277384877204895,
0.38197773694992065,
-0.1581190973520279,
0.3384888768196106,
0.21514615416526794,
0.7895469665527344,
-0.15359939634799957,
0.06976588815450668,
-0.3745652139186859,
0.28194254636764526,
0.42743414640426636,
-0.3671247959136963,
0.15229924023151398,
-0.10275283455848694,
-0.5429016351699829,
-0.09078262746334076,
-0.09350618720054626,
-0.09231207519769669,
-0.065036341547966,
-0.26878440380096436,
-0.17135702073574066,
-0.1788930892944336,
-0.12594309449195862,
-0.26732349395751953,
0.3235790431499481,
0.13547465205192566,
-0.15656018257141113,
0.18383772671222687,
0.06256216019392014,
0.02607119269669056,
0.21993668377399445,
0.13655003905296326,
-0.04092457890510559,
-0.035742953419685364,
0.15241967141628265,
-0.3662891387939453,
-0.2778867185115814,
0.31879180669784546,
0.4105168581008911,
-0.15244704484939575,
-0.11431478708982468,
0.14011554419994354,
0.005530361086130142,
0.12077747285366058,
0.10606929659843445,
-0.06358366459608078,
-0.1557033210992813,
-0.1551450788974762,
-0.04898904636502266,
0.09086111187934875,
-0.19370178878307343,
0.24397028982639313,
0.24364322423934937,
-0.40064525604248047,
0.03924261033535004,
0.3353354036808014,
-0.11235827207565308,
-0.29343414306640625,
0.10532767325639725,
0.04978584498167038,
-0.23706063628196716,
0.1523442268371582,
0.040125008672475815,
-0.0984494686126709,
0.10032197833061218,
0.07161933928728104,
0.18453443050384521,
-0.02194037474691868,
0.2324465811252594,
0.3536520302295685,
-0.2250642478466034,
0.130617156624794,
0.7560178637504578,
0.3011770248413086,
-0.1902541071176529,
0.29149046540260315,
-0.28390833735466003,
-0.061821676790714264,
0.03446130454540253,
0.5927832722663879,
0.4039459824562073,
0.37854647636413574,
-0.2801947593688965,
-0.40067940950393677,
0.6040416359901428,
0.0050995866768062115,
-0.1403525024652481,
0.11000465601682663,
0.1292932778596878,
-0.48480451107025146,
-0.05527971684932709,
0.17676231265068054,
0.3700091242790222,
0.17892830073833466,
0.38611769676208496,
-0.32935643196105957,
-0.6366778612136841,
0.03670746833086014,
-0.053269386291503906,
-0.24457108974456787,
0.039336979389190674,
-0.11656567454338074,
-0.04799885302782059,
0.30749109387397766,
0.39286306500434875,
0.235121488571167,
-0.36111220717430115,
-0.012180681340396404,
-0.11585523188114166,
0.07724450528621674,
-0.08175669610500336,
-0.025522345677018166,
0.16323556005954742,
0.04786333814263344,
-0.0336267352104187,
-0.3351220190525055,
-0.6004695296287537,
0.013164039701223373,
-0.029597613960504532,
-0.22505849599838257,
0.341596782207489,
0.2611825466156006,
-0.025507133454084396,
0.07920869439840317,
-0.15207895636558533,
0.05966739356517792,
0.23931583762168884,
0.3122384548187256,
0.3275752067565918,
-0.17852668464183807,
0.2807266116142273,
0.16921217739582062,
-0.08190349489450455,
-0.2514817416667938,
-0.015317104756832123,
0.17915605008602142,
0.17101386189460754,
0.0182962603867054,
0.0997864305973053,
0.1434960514307022,
0.30756741762161255,
0.3659248948097229,
0.07416530698537827,
-0.14731265604496002,
-0.05064636468887329,
0.016037592664361,
0.1272449791431427,
0.11771178245544434,
0.09586602449417114,
0.17205242812633514,
0.21416305005550385,
-0.3437952697277069,
0.23655779659748077,
0.20275455713272095,
0.19315168261528015,
-0.2582728862762451,
-0.02458173595368862,
0.37594839930534363,
0.002467092126607895,
0.11919517815113068,
-0.2864243984222412,
-0.03438509255647659,
0.020469199866056442,
0.12883780896663666,
0.5339489579200745,
0.4390485882759094,
0.28725361824035645,
0.1947346031665802,
0.42520442605018616,
0.3265961706638336,
-0.09525416791439056,
0.2823247015476227,
-0.12951414287090302,
0.08754844963550568,
-0.025934815406799316,
0.463530033826828,
0.1435151994228363,
0.0034315362572669983,
0.2549613416194916,
0.014106742106378078,
-0.11039166897535324,
0.08700408786535263,
0.0234131570905447,
0.09906751662492752,
-0.1082647293806076,
0.19654704630374908,
-0.14388489723205566,
-0.04613207280635834,
-0.25047245621681213,
0.11387299001216888,
-0.2143409103155136,
-0.2665427327156067,
0.025265607982873917,
0.13982978463172913,
-0.05769484490156174,
0.19072794914245605,
0.18857300281524658,
0.09532058238983154,
-0.09055778384208679,
-0.14485405385494232,
0.023822523653507233,
0.1769089698791504,
0.03498976305127144,
0.10578283667564392,
-0.1384926736354828,
-0.22382009029388428,
-0.047736745327711105,
0.6414468288421631,
0.06905496120452881,
-0.22200466692447662,
0.022163238376379013,
-0.20168593525886536,
-0.22190138697624207,
-0.5017582178115845,
-0.13555380702018738,
0.07446292042732239,
0.18014344573020935,
0.24776439368724823,
0.22410477697849274,
0.2597486078739166,
-0.09834781289100647,
-0.3767017126083374,
0.04232072830200195,
-0.001283399760723114,
0.08049574494361877,
-0.07126874476671219,
-0.2423621118068695,
-0.17292945086956024,
0.5879142880439758,
0.039913080632686615,
-0.025799930095672607,
-0.013358724303543568,
0.019887395203113556,
-0.0317281074821949,
0.20026198029518127,
0.39065560698509216,
-0.11586327105760574,
0.06569547206163406,
-0.17549610137939453,
-0.3162519335746765,
0.23655283451080322,
-0.25460028648376465,
0.10890953242778778,
0.1835516095161438,
0.48199373483657837,
-0.004810065031051636,
0.025881631299853325,
-0.004452183842658997,
-0.07846972346305847,
-0.0661039873957634,
0.1084616631269455,
0.2437615841627121,
-0.4186980426311493,
-0.16913533210754395,
0.09462463855743408,
-0.012965105473995209,
0.13045614957809448,
0.054005883634090424,
-0.19323615729808807,
-0.015918858349323273,
-0.4791656732559204,
-0.02548261359333992,
0.08180180191993713,
0.21687310934066772,
0.2079460769891739,
-0.28514379262924194,
0.06840622425079346,
0.09418513625860214,
0.037405043840408325,
0.038618236780166626,
-0.08797655999660492,
-0.10312934219837189,
0.3056047856807709,
0.04416920244693756,
-0.18722662329673767,
-0.6146060228347778,
-0.2730351984500885,
-0.3219206631183624,
-0.21035511791706085,
-0.17938457429409027,
-0.18319568037986755,
-0.06464303284883499,
-0.39750680327415466,
-0.2768535614013672,
0.11959905922412872,
0.2697787284851074,
0.16557113826274872,
0.01626216247677803,
0.12404829263687134,
-0.07332718372344971,
-0.04815644025802612,
0.16375572979450226,
-0.3931719660758972,
0.16803118586540222,
-0.1358804553747177,
0.16661930084228516,
0.2945106327533722,
0.04602240398526192,
-0.08584883064031601,
0.22351562976837158,
0.63270103931427,
-0.2470051646232605,
0.2508889436721802,
-0.15376043319702148,
0.24525713920593262,
0.262622594833374,
-0.2423037588596344,
0.11686921119689941,
0.013535497710108757,
0.11600957810878754,
-0.07723154127597809,
-0.09917394071817398
] |
https://github.com/huggingface/datasets/issues/1324 | ❓ Sharing ElasticSearch indexed dataset | Thanks for the clarification.
I am not familiar with ElasticSearch, but if I understand well you're trying to migrate your data along with the ES index.
My advice would be to check out ES documentation, for instance, this might help you: https://www.elastic.co/guide/en/cloud/current/ec-migrate-data.html
Let me know if it helps | Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label | 48 | ❓ Sharing ElasticSearch indexed dataset
Hi there,
First of all, thank you very much for this amazing library. Datasets have become my preferred data structure for basically everything I am currently doing.
**Question:** I'm working with a dataset and I have an elasticsearch container running at localhost:9200. I added an elasticsearch index and I was wondering
- how can I know where it has been saved?
- how can I share the indexed dataset with others?
I tried to dig into the docs, but could not find anything about that.
Thank you very much for your help.
Best,
Pietro
Edit: apologies for the wrong label
Thanks for the clarification.
I am not familiar with ElasticSearch, but if I understand well you're trying to migrate your data along with the ES index.
My advice would be to check out ES documentation, for instance, this might help you: https://www.elastic.co/guide/en/cloud/current/ec-migrate-data.html
Let me know if it helps | [
-0.14577576518058777,
-0.04534687101840973,
-0.13107478618621826,
0.08623725175857544,
-0.30295419692993164,
0.14406341314315796,
0.16896286606788635,
0.039493951946496964,
0.09051012992858887,
0.16783681511878967,
-0.22479912638664246,
0.11823859065771103,
0.03831697255373001,
-0.04830153286457062,
0.08138708770275116,
0.2858947515487671,
0.20056967437267303,
-0.0846780389547348,
0.1571802943944931,
-0.17614877223968506,
-0.0924893319606781,
-0.18139012157917023,
0.09248284995555878,
0.03609602898359299,
-0.042827822268009186,
-0.023142168298363686,
-0.4308624267578125,
-0.13040822744369507,
0.029944218695163727,
-0.17954310774803162,
0.4697042405605316,
0.19276238977909088,
0.27583977580070496,
0.349252313375473,
-0.00011510630429256707,
0.013327427208423615,
0.2313718944787979,
-0.13134416937828064,
-0.07001689076423645,
-0.3784714341163635,
-0.7095398306846619,
-0.14390148222446442,
0.3159013092517853,
-0.4703966975212097,
-0.0717964842915535,
-0.31002509593963623,
0.18855242431163788,
-0.7246236801147461,
-0.008234046399593353,
0.029624193906784058,
0.17646870017051697,
0.0073750875890254974,
-0.061388902366161346,
-0.06776409596204758,
0.24562355875968933,
0.08096882700920105,
-0.0013593155890703201,
-0.12111872434616089,
0.057173799723386765,
0.1488160789012909,
0.23795509338378906,
0.15806777775287628,
-0.0959756150841713,
-0.001572638750076294,
0.17354577779769897,
0.10305828601121902,
-0.48108941316604614,
-0.17088179290294647,
-0.010043367743492126,
-0.05260176956653595,
0.7975550293922424,
-0.1531262993812561,
-0.2209452986717224,
0.12871494889259338,
-0.014774792827665806,
-0.0849732980132103,
0.06350863724946976,
0.05743372440338135,
0.21696075797080994,
0.12548761069774628,
-0.23658111691474915,
-0.4179343581199646,
-0.45287981629371643,
0.09529651701450348,
-0.1337144523859024,
0.6397085189819336,
-0.10879293084144592,
0.0641462579369545,
-0.12960150837898254,
0.01666548289358616,
0.5582042932510376,
0.005520060658454895,
0.12317141890525818,
0.1779039204120636,
0.20779180526733398,
-0.1689664125442505,
-0.17210498452186584,
-0.309727281332016,
-0.03566022217273712,
0.14704379439353943,
-0.18030372262001038,
-0.17333978414535522,
0.28755444288253784,
0.31896495819091797,
0.3117189109325409,
0.2659609317779541,
0.15323849022388458,
0.27940070629119873,
0.08625367283821106,
-0.45320454239845276,
-0.09327700734138489,
-0.36553001403808594,
-0.09414900094270706,
0.2714434564113617,
0.29279178380966187,
-0.3570103943347931,
0.05698651820421219,
-0.2542734444141388,
-0.0887000560760498,
-0.16783581674098969,
-0.18511006236076355,
-0.23680920898914337,
0.18377113342285156,
0.17480811476707458,
0.04551085829734802,
-0.4377540349960327,
0.041270241141319275,
-0.009010709822177887,
0.0657930076122284,
-0.03985016420483589,
-0.208046093583107,
-0.1812652051448822,
-0.0013804920017719269,
0.22584083676338196,
0.03537021204829216,
-0.36257487535476685,
0.07734636962413788,
-0.2569190263748169,
0.21548016369342804,
-0.016870254650712013,
0.40235212445259094,
0.16610784828662872,
0.3158423602581024,
0.26472535729408264,
0.220365971326828,
0.14812947809696198,
0.057666175067424774,
-0.10046422481536865,
-0.41705387830734253,
-0.08474458009004593,
-0.29488304257392883,
-0.4469674527645111,
-0.30064451694488525,
0.07537909597158432,
-0.12192746996879578,
0.023230725899338722,
-0.18928590416908264,
0.3200920522212982,
-0.04891780763864517,
0.09194228053092957,
0.06514495611190796,
0.42976927757263184,
-0.3482818603515625,
-0.2637745141983032,
0.4185818135738373,
-0.08188989758491516,
-0.21580247581005096,
-0.1309787929058075,
-0.4038163721561432,
0.36406075954437256,
-0.02141278237104416,
0.017525192350149155,
-0.23738914728164673,
0.032679300755262375,
0.03934767097234726,
0.4336850047111511,
0.2714957892894745,
-0.12928558886051178,
-0.40078726410865784,
0.0380573496222496,
-0.13455113768577576,
-0.5735337734222412,
0.013667196035385132,
0.18232525885105133,
0.5256350040435791,
-0.2968566417694092,
-0.07181292772293091,
0.5366875529289246,
0.009773923084139824,
-0.06514374911785126,
-0.21122710406780243,
-0.08035584539175034,
-0.05528181046247482,
-0.1397622972726822,
-0.226126030087471,
-0.12808775901794434,
0.3995249569416046,
0.11326310783624649,
-0.2694825828075409,
0.33384886384010315,
0.2712240517139435,
0.2351997345685959,
0.5771108269691467,
0.38854724168777466,
0.008454810827970505,
0.11168400198221207,
-0.19916877150535583,
-0.06038571894168854,
0.06796010583639145,
-0.34698277711868286,
0.06070871278643608,
-0.427747905254364,
-0.22863870859146118,
0.12162063270807266,
-0.0791684240102768,
0.04041994363069534,
0.10972489416599274,
0.04038672894239426,
-0.049352310597896576,
0.31125277280807495,
-0.2652313709259033,
-0.297145277261734,
0.020456606522202492,
-0.15744878351688385,
-0.2572396695613861,
0.4892597198486328,
0.003249332308769226,
0.08990470319986343,
-0.14957481622695923,
-0.02773965895175934,
0.24858611822128296,
-0.16278161108493805,
-0.300186425447464,
0.3699036240577698,
-0.510257363319397,
0.4789198040962219,
0.4329916536808014,
0.5023626685142517,
0.05160198733210564,
-0.736100435256958,
0.6079817414283752,
-0.07278881967067719,
-0.18879730999469757,
0.06892871111631393,
-0.47801193594932556,
0.17416512966156006,
-0.5054826140403748,
0.19371956586837769,
-0.14326918125152588,
-0.08243005722761154,
-0.13618184626102448,
-0.07463523745536804,
-0.20958447456359863,
0.06725148856639862,
-0.12159512937068939,
-0.23089270293712616,
-0.19641567766666412,
0.2698984146118164,
-0.047525499016046524,
0.32686325907707214,
0.04836387187242508,
0.10000059008598328,
0.16389653086662292,
0.09399263560771942,
-0.06610643118619919,
-0.38168126344680786,
0.060591042041778564,
-0.07778581976890564,
0.3368871212005615,
0.13605815172195435,
0.4463496208190918,
-0.10250332206487656,
0.28123781085014343,
0.06366409361362457,
0.2965092360973358,
0.08624483644962311,
0.09998627752065659,
-0.3449762165546417,
0.028929514810442924,
0.054209377616643906,
0.3567812442779541,
-0.09905973821878433,
-0.22871622443199158,
-0.006872721016407013,
0.07995182275772095,
0.48239344358444214,
0.01812770776450634,
-0.06099790334701538,
-0.08290037512779236,
-0.10635604709386826,
-0.14885321259498596,
-0.2547788918018341,
0.0012727808207273483,
0.3403765857219696,
0.02746724709868431,
-0.1734493225812912,
-0.40134671330451965,
0.30157577991485596,
0.04347214102745056,
-0.08188845217227936,
-0.1868395060300827,
-0.17300130426883698,
-0.035047002136707306,
-0.01657583750784397,
0.2086959034204483,
0.3489983379840851,
0.3991428315639496,
0.4420819878578186,
0.3904932737350464,
-0.10341191291809082,
-0.1730882227420807,
-0.11591814458370209,
0.13971862196922302,
0.015473810955882072,
-0.2044382393360138,
0.171471506357193,
-0.6772080063819885,
-0.19002245366573334,
-0.07804049551486969,
-0.03993526101112366,
-0.04495742917060852,
-0.03452139347791672,
0.08074679970741272,
0.18996970355510712,
0.5178709626197815,
-0.4853641092777252,
-0.40313491225242615,
-0.011778796091675758,
0.10452717542648315,
-0.22340567409992218,
0.1328674852848053,
-0.26871347427368164,
-0.1638314127922058,
-0.007370554842054844,
0.2812466323375702,
-0.2817284166812897,
-0.03499242290854454,
-0.6651855707168579,
0.06118783354759216,
-0.4426785111427307,
0.08277023583650589,
0.23102706670761108,
0.06717432290315628,
0.08360883593559265,
0.031221594661474228,
-0.2561567425727844,
0.383764386177063,
0.20408327877521515,
0.009631406515836716,
0.05692830681800842,
0.16333305835723877,
0.4100431203842163,
0.07060904800891876,
-0.019218187779188156,
0.0783296599984169,
-0.18907365202903748,
-0.055671416223049164,
0.4821399450302124,
0.16482315957546234,
0.1613214612007141,
-0.06894360482692719,
0.05772450938820839,
0.7453507781028748,
0.17322614789009094,
-0.11528211832046509,
0.15675675868988037,
0.20033520460128784,
0.19709430634975433,
-0.03966992348432541,
-0.29980015754699707,
-0.09602585434913635,
0.3181841969490051,
-0.37498825788497925,
0.18593090772628784,
0.055267978459596634,
-0.1796358972787857,
-0.14807145297527313,
-0.5336786508560181,
-0.25989052653312683,
0.05022912845015526,
0.09160645306110382,
0.1981266736984253,
0.3708256185054779,
-0.19325454533100128,
-0.5065414905548096,
0.007286062464118004,
-0.420777827501297,
-0.3672533333301544,
0.22854222357273102,
0.11888124793767929,
0.139894500374794,
-0.20859552919864655,
-0.16440799832344055,
-0.12189467996358871,
0.23191681504249573,
-0.14962054789066315,
-0.10802361369132996,
-0.10331510007381439,
0.1664573848247528,
0.46374213695526123,
0.35414788126945496,
0.04552572965621948,
-0.22424642741680145,
-0.3911665081977844,
-0.37957555055618286,
0.0313669890165329,
-0.19736655056476593,
0.08078165352344513,
0.07217343151569366,
0.3277914226055145,
-0.24688728153705597,
0.1882665455341339,
0.022307023406028748,
-0.04368622601032257,
0.09796640276908875,
-0.08254637569189072,
-0.3813144862651825,
-0.06785732507705688,
-0.15110339224338531,
-0.2786826491355896,
0.2273043394088745,
0.22901692986488342,
0.02257276512682438,
-0.024147512391209602,
0.02651880495250225,
0.12673138082027435,
-0.18940116465091705,
0.10691878944635391,
0.039564792066812515,
-0.08030004799365997,
0.1730445921421051,
0.22752322256565094,
0.1138884425163269,
0.8261793851852417,
0.20767901837825775,
0.3811035752296448,
0.3793134093284607,
-0.10294109582901001,
0.35821133852005005,
-0.1079949364066124,
0.11413402110338211,
0.4698263704776764,
-0.004254534840583801,
0.1704634577035904,
-0.08576320856809616,
-0.028955720365047455,
-0.14510440826416016,
-0.19740180671215057,
-0.14769400656223297,
0.0058579351752996445,
0.07944951951503754,
-0.17904941737651825,
-0.3474203944206238,
0.4356648027896881,
-0.12679265439510345,
-0.152805358171463,
0.35824617743492126,
0.25643885135650635,
-0.26052069664001465,
0.27926111221313477,
0.18587075173854828,
0.9290236830711365,
-0.051920197904109955,
-0.03978792950510979,
-0.3440649211406708,
0.2581503987312317,
0.37880250811576843,
-0.5314867496490479,
-0.019441604614257812,
-0.05806379020214081,
-0.5285543203353882,
-0.0637199804186821,
-0.09344460815191269,
-0.023543119430541992,
-0.07350201904773712,
-0.3854599595069885,
-0.18839797377586365,
-0.16380970180034637,
-0.0478341318666935,
-0.15948382019996643,
0.27972373366355896,
0.1993720382452011,
-0.16605912148952484,
0.0671457052230835,
0.08987840265035629,
-0.14677459001541138,
0.24208635091781616,
0.19033995270729065,
-0.12461577355861664,
-0.07210918515920639,
0.17753638327121735,
-0.3136198818683624,
-0.22414079308509827,
0.2794346809387207,
0.3773968815803528,
-0.21463733911514282,
-0.16049820184707642,
0.15853999555110931,
0.00625947117805481,
0.20647674798965454,
0.045742981135845184,
-0.09182103723287582,
-0.15133534371852875,
-0.11302783340215683,
-0.05099210515618324,
0.1414051204919815,
-0.239877387881279,
0.16096575558185577,
0.19482842087745667,
-0.3241443336009979,
0.22131797671318054,
0.35178250074386597,
-0.12247191369533539,
-0.3239695429801941,
0.10792718827724457,
0.09767893701791763,
-0.2376701980829239,
0.077583909034729,
0.09700309485197067,
-0.13143125176429749,
0.0492524690926075,
0.0934397280216217,
0.3093383014202118,
-0.12145967781543732,
0.2844887673854828,
0.26613864302635193,
-0.17691025137901306,
0.040478672832250595,
0.5570266842842102,
0.22467339038848877,
-0.2920643389225006,
0.20792415738105774,
-0.26994311809539795,
-0.058959200978279114,
0.036643825471401215,
0.6599253416061401,
0.5156424641609192,
0.3183205723762512,
-0.31606462597846985,
-0.3338961899280548,
0.5548593997955322,
-0.04768328741192818,
-0.12090055644512177,
0.19602389633655548,
0.07076017558574677,
-0.47555437684059143,
-0.021425992250442505,
0.10167229920625687,
0.2840728163719177,
0.2609851658344269,
0.38358259201049805,
-0.39195185899734497,
-0.6248449683189392,
0.11046792566776276,
-0.01194067858159542,
-0.2682052254676819,
-0.009565473534166813,
-0.1776362508535385,
-0.06914060562849045,
0.43995538353919983,
0.3236011564731598,
0.15866637229919434,
-0.3802182674407959,
0.024361757561564445,
-0.1664455085992813,
0.08874768763780594,
-0.08434198796749115,
0.006804719567298889,
0.15144526958465576,
0.08927702158689499,
-0.0574725940823555,
-0.4319674074649811,
-0.6510108113288879,
0.022057436406612396,
-0.025791969150304794,
-0.31721264123916626,
0.19843313097953796,
0.20945994555950165,
-0.04397799074649811,
0.08451677858829498,
-0.21574822068214417,
0.08323509246110916,
0.14313551783561707,
0.34381693601608276,
0.3215339779853821,
-0.22291287779808044,
0.23388786613941193,
0.17536799609661102,
-0.18302899599075317,
-0.2176285982131958,
0.040138129144907,
0.18433445692062378,
0.11310138553380966,
0.03194159269332886,
0.14586319029331207,
0.17647439241409302,
0.24648110568523407,
0.18972225487232208,
0.05968323349952698,
-0.14668725430965424,
-0.012531130574643612,
0.049446504563093185,
0.16845569014549255,
0.1212228387594223,
0.08867209404706955,
0.09339149296283722,
0.2917613983154297,
-0.36035916209220886,
0.16563363373279572,
0.19712595641613007,
0.21342730522155762,
-0.09549415111541748,
0.06588950008153915,
0.4099613428115845,
0.1071263775229454,
0.09012362360954285,
-0.32270339131355286,
-0.05851717293262482,
0.07609707117080688,
0.16679514944553375,
0.5549882650375366,
0.45298904180526733,
0.24501970410346985,
0.16953812539577484,
0.5373658537864685,
0.2956962287425995,
-0.11012773215770721,
0.38962647318840027,
-0.1359584927558899,
-0.02488577738404274,
-0.12490805983543396,
0.3491644859313965,
0.11914268881082535,
0.0707087442278862,
0.3210740387439728,
-0.024713575839996338,
-0.20486342906951904,
0.046639442443847656,
0.1512056589126587,
0.11341053247451782,
-0.0306054949760437,
0.008223317563533783,
-0.13602781295776367,
0.007353082299232483,
-0.27492454648017883,
0.09916197508573532,
-0.3227596879005432,
-0.24426737427711487,
0.07880021631717682,
0.17894071340560913,
-0.03373134136199951,
0.21292996406555176,
0.2452937364578247,
0.028662241995334625,
-0.027592845261096954,
0.02123681642115116,
0.043019283562898636,
0.14359185099601746,
0.016404667869210243,
0.02534424141049385,
-0.1698683798313141,
-0.1757555603981018,
0.015103885903954506,
0.6578925848007202,
0.06726706027984619,
-0.33071598410606384,
0.05590386688709259,
-0.17810460925102234,
-0.23605507612228394,
-0.4900830388069153,
-0.1800144761800766,
0.10537052899599075,
0.14927665889263153,
0.19288302958011627,
0.12964126467704773,
0.2398083657026291,
0.07687410712242126,
-0.4116148054599762,
0.07207971811294556,
-0.06676121801137924,
0.065593421459198,
-0.10788244754076004,
-0.3488999009132385,
-0.17940618097782135,
0.498919814825058,
0.08816459029912949,
-0.06558851897716522,
0.0781550481915474,
0.0292588509619236,
0.0218478012830019,
0.13111332058906555,
0.33866479992866516,
-0.023971952497959137,
-0.14004547894001007,
-0.322285532951355,
-0.20951750874519348,
0.21188965439796448,
-0.18745489418506622,
0.08870332688093185,
0.2236836552619934,
0.413369745016098,
-0.006518766283988953,
-0.028310313820838928,
0.02976645529270172,
-0.09055232256650925,
-0.05177535116672516,
0.15086239576339722,
0.18462364375591278,
-0.30657196044921875,
-0.07207156717777252,
0.20925791561603546,
-0.0009830594062805176,
0.3000793159008026,
0.20429398119449615,
-0.1220889762043953,
-0.0033513493835926056,
-0.5728545784950256,
0.07655607163906097,
0.06028414145112038,
0.1637621521949768,
0.09125020354986191,
-0.31421616673469543,
0.13079911470413208,
0.08594585210084915,
0.23882097005844116,
0.22973236441612244,
-0.05632190778851509,
-0.02858366072177887,
0.33905693888664246,
0.030354397371411324,
-0.18528762459754944,
-0.4962013363838196,
-0.4122144281864166,
-0.26559165120124817,
-0.19816218316555023,
-0.17346714437007904,
-0.21891403198242188,
0.047385916113853455,
-0.4242604970932007,
-0.26630544662475586,
0.17564800381660461,
0.33809077739715576,
0.03970322012901306,
0.045198872685432434,
0.07346828281879425,
-0.1010471060872078,
-0.0787750631570816,
0.14801278710365295,
-0.30560654401779175,
0.09763595461845398,
-0.0687248557806015,
0.10285503417253494,
0.2726203203201294,
0.1440490037202835,
-0.030310310423374176,
0.08465684205293655,
0.5821897387504578,
-0.25778770446777344,
0.1556805521249771,
-0.04463501647114754,
0.26481491327285767,
0.25332120060920715,
-0.23222757875919342,
0.08544459939002991,
0.041416577994823456,
0.1609145551919937,
-0.07469560950994492,
-0.10339582711458206
] |
https://github.com/huggingface/datasets/issues/1299 | can't load "german_legal_entity_recognition" dataset | Please if you could tell me more about the error?
1. Please check the directory you've been working on
2. Check for any typos | FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
| 24 | can't load "german_legal_entity_recognition" dataset
FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
Please if you could tell me more about the error?
1. Please check the directory you've been working on
2. Check for any typos | [
-0.2461109757423401,
-0.29548466205596924,
-0.04012216627597809,
0.462974488735199,
0.13474148511886597,
0.07511994987726212,
0.18290962278842926,
0.24155499041080475,
0.2743231952190399,
0.08433994650840759,
-0.16218885779380798,
-0.2467772513628006,
-0.041038841009140015,
0.22715871036052704,
0.1816772073507309,
-0.32395413517951965,
-0.022687755525112152,
0.043106500059366226,
0.13955073058605194,
-0.24213318526744843,
-0.18379215896129608,
0.30861130356788635,
-0.13094522058963776,
0.20355746150016785,
-0.2785853147506714,
0.15241572260856628,
-0.1371285319328308,
0.45420923829078674,
-0.3045520782470703,
-0.20619350671768188,
0.24331213533878326,
-0.20267058908939362,
0.30792945623397827,
0.49918362498283386,
-0.00011004206317011267,
0.05789242684841156,
0.283608615398407,
-0.00988964643329382,
-0.25526708364486694,
-0.40772873163223267,
-0.0006738863885402679,
-0.29906165599823,
-0.1864304393529892,
-0.11488530039787292,
-0.2259489893913269,
-0.2796551585197449,
0.16196748614311218,
0.13542495667934418,
0.26349303126335144,
0.11913483589887619,
0.2091219276189804,
0.22120574116706848,
0.21936239302158356,
-0.3371451199054718,
-0.1168968454003334,
0.22057616710662842,
-0.06457574665546417,
0.5331411361694336,
0.13450723886489868,
-0.2835022509098053,
0.2549844980239868,
0.22709135711193085,
-0.05571848526597023,
-0.020847324281930923,
0.37513741850852966,
-0.08407088369131088,
0.32385027408599854,
-0.30816009640693665,
0.2847311198711395,
0.23438817262649536,
0.5802499055862427,
-0.02979268878698349,
-0.4290716350078583,
-0.029335692524909973,
0.28804242610931396,
0.005733789876103401,
0.24071520566940308,
0.300629585981369,
-0.06693699210882187,
0.18146774172782898,
-0.13738073408603668,
-0.44432783126831055,
-0.3213983476161957,
0.28606218099594116,
-0.2091832011938095,
0.04943573847413063,
-0.22000184655189514,
-0.06537842005491257,
0.22753414511680603,
-0.23099754750728607,
-0.4672824442386627,
0.020056691020727158,
0.008082516491413116,
0.5115157961845398,
-0.1440293937921524,
0.026818640530109406,
-0.09798596054315567,
0.38449645042419434,
0.19374749064445496,
0.14075425267219543,
-0.022036466747522354,
-0.0814819186925888,
-0.1746387630701065,
0.4402426779270172,
0.05941326543688774,
0.343904972076416,
0.17065726220607758,
0.23457947373390198,
0.1332700252532959,
0.19370561838150024,
-0.11032232642173767,
0.052963986992836,
-0.49527862668037415,
-0.3095988929271698,
-0.3519350290298462,
-0.2179226577281952,
0.34974950551986694,
-0.30864816904067993,
-0.2129978984594345,
0.05199440196156502,
-0.18814915418624878,
-0.021867645904421806,
0.34618765115737915,
0.5144166946411133,
-0.06497830897569656,
-0.22560563683509827,
-0.11342666298151016,
0.17330671846866608,
-0.1949891746044159,
-0.02401636354625225,
-0.2273390144109726,
0.2044353485107422,
-0.26634272933006287,
0.10775020718574524,
0.14849023520946503,
-0.4823877811431885,
0.4201611876487732,
-0.2502063810825348,
0.05151248723268509,
0.01192721351981163,
-0.1076054722070694,
-0.07985277473926544,
-0.1945854127407074,
0.2724868357181549,
-0.2817014455795288,
-0.14954665303230286,
0.2713318169116974,
-0.24328701198101044,
-0.12728917598724365,
-0.08386147767305374,
-0.2914421558380127,
-0.3538344204425812,
-0.381632536649704,
0.14049428701400757,
-0.15982024371623993,
-0.15048174560070038,
-0.16110509634017944,
0.10113418102264404,
-0.18781745433807373,
-0.3983779847621918,
0.0030771270394325256,
0.020935051143169403,
-0.17493286728858948,
-0.14128358662128448,
0.3550226092338562,
0.6601877808570862,
-0.1571732461452484,
-0.18413220345973969,
0.023580465465784073,
-0.2447861135005951,
0.11310052871704102,
0.7056493163108826,
-0.23356691002845764,
0.06175120174884796,
-0.406158983707428,
0.29853731393814087,
0.25826331973075867,
-0.5748141407966614,
-0.24241402745246887,
0.35917341709136963,
-0.2599228024482727,
0.05507124215364456,
-0.002260535955429077,
-0.07610591500997543,
-0.2731069326400757,
-0.11704633384943008,
-0.06941722333431244,
0.1008339524269104,
0.08876486867666245,
-0.21389146149158478,
-0.17316222190856934,
-0.1359587162733078,
0.175565704703331,
0.32687482237815857,
0.1123138889670372,
0.10297990590333939,
0.21038931608200073,
-0.0414949394762516,
-0.027623310685157776,
-0.03937489911913872,
-0.19537009298801422,
0.30310410261154175,
0.24081632494926453,
0.32166051864624023,
0.020413057878613472,
-0.12571851909160614,
-0.3142143189907074,
0.30314451456069946,
-0.38991814851760864,
0.2161763310432434,
-0.20505519211292267,
-0.10658913850784302,
-0.25556933879852295,
-0.007749322801828384,
-0.36421555280685425,
-0.17377306520938873,
0.08804052323102951,
0.016256287693977356,
0.22120743989944458,
0.173101007938385,
-0.08891869336366653,
0.15117797255516052,
-0.08482643216848373,
0.13086093962192535,
-0.33679163455963135,
0.21556434035301208,
-0.2358349710702896,
0.19301003217697144,
-0.041366592049598694,
0.14210671186447144,
0.1962636411190033,
-0.21317248046398163,
-0.054422527551651,
0.3109877109527588,
-0.21808087825775146,
0.2646726071834564,
0.4681871235370636,
0.32860127091407776,
0.2611549198627472,
-0.26838070154190063,
0.3497464060783386,
-0.06679269671440125,
0.18074899911880493,
0.10389011353254318,
-0.16838562488555908,
0.08307333290576935,
0.12505801022052765,
0.041799452155828476,
0.0687505230307579,
-0.06257358193397522,
0.09697508811950684,
-0.06574231386184692,
-0.06897386163473129,
-0.013034097850322723,
0.4850594997406006,
0.07143595814704895,
0.35371723771095276,
-0.012929888442158699,
-0.3759186267852783,
-0.2800389528274536,
0.2990940809249878,
-0.17323000729084015,
0.1164979487657547,
0.26135414838790894,
-0.23691564798355103,
0.08574679493904114,
0.0461425855755806,
0.016696836799383163,
0.3218719959259033,
0.15829959511756897,
-0.12744465470314026,
0.07147923111915588,
-0.012615879066288471,
-0.11460351943969727,
0.0880257859826088,
-0.00036878883838653564,
0.06518585234880447,
0.24039390683174133,
-0.10786087810993195,
0.08023245632648468,
-0.41356396675109863,
-0.33859536051750183,
-0.08268952369689941,
0.20618553459644318,
-0.22874167561531067,
0.09822375327348709,
-0.20931488275527954,
-0.478164404630661,
-0.2285083532333374,
0.061350129544734955,
-0.5594626069068909,
0.09631774574518204,
0.06603117287158966,
-0.033256273716688156,
0.030885417014360428,
0.11230634897947311,
0.03949259594082832,
0.26078879833221436,
-0.184775248169899,
-0.2399194985628128,
-0.22812077403068542,
-0.10242442041635513,
-0.2071872055530548,
0.006728511303663254,
0.5578662157058716,
0.19660936295986176,
0.4304194152355194,
-0.26474127173423767,
0.050995245575904846,
-0.306609570980072,
-0.41863203048706055,
0.04063313454389572,
-0.10416492819786072,
0.2540675699710846,
0.043271929025650024,
0.22989517450332642,
-0.3527812957763672,
-0.17974817752838135,
0.5061761140823364,
-0.15218840539455414,
-0.2286912500858307,
0.005834836512804031,
-0.04364397004246712,
-0.2822234034538269,
0.026780154556035995,
-0.19389808177947998,
-0.44022494554519653,
-0.3264964520931244,
0.43183040618896484,
0.06393928825855255,
0.05187772959470749,
0.34920045733451843,
-0.06341913342475891,
0.3247581422328949,
-0.19614608585834503,
0.12812058627605438,
-0.15358752012252808,
-0.4176020920276642,
0.24148504436016083,
-0.3585348427295685,
-0.31836116313934326,
0.08014312386512756,
0.16868557035923004,
0.2564222812652588,
-0.09175464510917664,
-0.17300322651863098,
-0.21259915828704834,
0.005323007702827454,
-0.03631318360567093,
-0.08366341888904572,
0.16774263978004456,
0.19126850366592407,
-0.1686708629131317,
-0.039998315274715424,
0.15299364924430847,
-0.04199964553117752,
0.0001626238226890564,
0.15481416881084442,
0.19860431551933289,
-0.057186558842659,
0.21338099241256714,
-0.18736229836940765,
0.6708637475967407,
0.19927848875522614,
0.06711197644472122,
0.43734362721443176,
-0.06466296315193176,
0.21623368561267853,
-0.15518325567245483,
-0.42313122749328613,
-0.012012866325676441,
0.18906670808792114,
-0.03398299589753151,
0.32807111740112305,
0.21386021375656128,
0.07122160494327545,
-0.3305560350418091,
-0.5055468678474426,
-0.38204827904701233,
-0.07626371085643768,
-0.06569156050682068,
0.038120441138744354,
0.31007692217826843,
-0.06598078459501266,
-0.1583649218082428,
-0.08251011371612549,
-0.029363123700022697,
0.3220582902431488,
0.6643014550209045,
0.1655021607875824,
0.1561715006828308,
-0.3311126232147217,
-0.26785504817962646,
-0.22216561436653137,
0.43759477138519287,
0.0761239156126976,
0.017363421618938446,
-0.4497065842151642,
0.1185971274971962,
0.15602964162826538,
-0.11633877456188202,
0.5943127870559692,
-0.09359296411275864,
0.10531219840049744,
-0.14058087766170502,
-0.14607614278793335,
0.020505527034401894,
0.01104411855340004,
0.20643630623817444,
0.27973803877830505,
0.060689590871334076,
0.31565216183662415,
-0.07226577401161194,
-0.17917464673519135,
0.13126850128173828,
0.1703110784292221,
-0.16241781413555145,
-0.33582350611686707,
-0.352451354265213,
-0.16669994592666626,
-0.41196534037590027,
-0.1022680327296257,
0.02577018178999424,
0.14708080887794495,
0.14105843007564545,
0.185291588306427,
0.005948192439973354,
0.10033919662237167,
0.1731918454170227,
0.1170119196176529,
0.2713025212287903,
-0.01702456921339035,
-0.04099656641483307,
0.5033992528915405,
0.38736629486083984,
0.3642573654651642,
0.8100675940513611,
0.03264067694544792,
-0.6243071556091309,
-0.079253651201725,
0.1536622941493988,
0.11428014189004898,
0.304653525352478,
0.0781555026769638,
-0.1562294065952301,
0.3815317451953888,
0.12485333532094955,
-0.30960819125175476,
-0.12162162363529205,
0.23009903728961945,
0.03621803969144821,
-0.28547412157058716,
-0.19321586191654205,
0.46345314383506775,
-0.031411509960889816,
0.15845100581645966,
0.16781558096408844,
0.3962774872779846,
0.029421601444482803,
0.14933063089847565,
-0.23230960965156555,
1.117784023284912,
-0.2501133680343628,
-0.03360676392912865,
0.07832270860671997,
0.07943190634250641,
0.3679836094379425,
-0.24295221269130707,
-0.030217338353395462,
-0.28465545177459717,
-0.05060380697250366,
-0.09667415916919708,
-0.09003788977861404,
0.3480011820793152,
0.15895038843154907,
0.01908612623810768,
0.39042213559150696,
-0.005029253661632538,
0.021331079304218292,
-0.10370614379644394,
0.543554961681366,
-0.1875600963830948,
0.0483771376311779,
-0.381161630153656,
0.1587076038122177,
0.1709788739681244,
0.917526364326477,
-0.24057018756866455,
-0.22041261196136475,
-0.1932106912136078,
-0.1632930338382721,
-0.25117823481559753,
0.12327531725168228,
-0.17167514562606812,
0.19124430418014526,
0.05577533692121506,
-0.12191326916217804,
0.20837946236133575,
0.38822653889656067,
0.18261116743087769,
-0.07640156149864197,
-0.5229989886283875,
0.05378984659910202,
0.008539639413356781,
-0.4368179738521576,
-0.1741902083158493,
0.027711618691682816,
0.36465200781822205,
-0.1686217486858368,
-0.2650587260723114,
0.008052140474319458,
-0.09548987448215485,
-0.046961549669504166,
-0.15455371141433716,
-0.20656223595142365,
-0.09315367043018341,
0.11956016719341278,
-0.22040845453739166,
-0.13270249962806702,
-0.04820520430803299,
0.07582385838031769,
0.10794210433959961,
0.29249975085258484,
-0.12088295072317123,
-0.32402506470680237,
0.19400332868099213,
-0.15899215638637543,
0.003182588145136833,
0.5526261925697327,
-0.22416621446609497,
-0.23743991553783417,
0.5092982649803162,
0.05839813873171806,
-0.04594307765364647,
-0.24275743961334229,
-0.08558671176433563,
0.29436925053596497,
-0.6377710700035095,
-0.12790453433990479,
0.4180644154548645,
0.1766909509897232,
0.1304139792919159,
0.3004824221134186,
0.37934035062789917,
-0.4835887551307678,
0.03523401543498039,
-0.44075894355773926,
-0.057231880724430084,
0.20665058493614197,
-0.08690991997718811,
0.02053830213844776,
0.10907451063394547,
0.16552799940109253,
0.2694162428379059,
-0.08165394514799118,
-0.3106639087200165,
0.1539812684059143,
-0.26331302523612976,
-0.1432812213897705,
0.29726874828338623,
0.08945854753255844,
0.3182832896709442,
0.07217498123645782,
0.15894006192684174,
-0.06669096648693085,
-0.23716042935848236,
-0.19868767261505127,
0.015659399330615997,
0.17096403241157532,
0.01937117800116539,
-0.09644916653633118,
-0.013118738308548927,
-0.26036882400512695,
-0.054704878479242325,
0.1063850000500679,
-0.02379382960498333,
0.14552685618400574,
0.016238413751125336,
0.06935230642557144,
0.012574389576911926,
0.03403346985578537,
0.053311944007873535,
0.205783873796463,
0.03025738149881363,
0.02661910653114319,
0.08532296121120453,
-0.13405372202396393,
-0.04737580940127373,
0.008850164711475372,
-0.15500207245349884,
-0.014942407608032227,
-0.004498198628425598,
-0.013108085840940475,
0.24234703183174133,
-0.24924694001674652,
0.12703852355480194,
0.068705253303051,
0.1330348253250122,
0.19831004738807678,
-0.3698761761188507,
0.24822457134723663,
0.5175201892852783,
0.2364892214536667,
-0.40587708353996277,
-0.13344572484493256,
0.13207677006721497,
-0.2481372207403183,
-0.11528156697750092,
0.10547173768281937,
0.2399095594882965,
0.29007479548454285,
-0.08314284682273865,
0.04572554677724838,
0.2982501983642578,
-0.12962916493415833,
0.13741378486156464,
0.20408844947814941,
-0.14956995844841003,
0.07344706356525421,
0.005379587411880493,
0.31305187940597534,
0.20192280411720276,
0.2272089123725891,
-0.23141467571258545,
-0.11076115071773529,
-0.5035057067871094,
0.5509962439537048,
0.12655171751976013,
-0.446439266204834,
0.04324354603886604,
0.27207621932029724,
0.1229606568813324,
0.0511234886944294,
-0.250206857919693,
0.5838776230812073,
-0.28808829188346863,
0.018993020057678223,
-0.2728721797466278,
0.35381534695625305,
-0.1155235543847084,
0.03311635181307793,
-0.213266983628273,
-0.2617599368095398,
-0.07922631502151489,
-0.14608508348464966,
0.04413800314068794,
-0.18307346105575562,
-0.18229150772094727,
0.17618969082832336,
-0.12516799569129944,
-0.12997056543827057,
-0.19382542371749878,
0.33416762948036194,
0.15992899239063263,
-0.16202495992183685,
0.22169601917266846,
0.14971277117729187,
-0.061678096652030945,
0.24852851033210754,
0.3011993169784546,
0.5545663833618164,
0.16410110890865326,
-0.017419185489416122,
0.03922286629676819,
-0.08060096204280853,
-0.07864677906036377,
0.06417485326528549,
0.3036925196647644,
0.06056710332632065,
0.153108149766922,
0.3303850591182709,
0.1298682540655136,
-0.10677392780780792,
0.08417296409606934,
-0.23266150057315826,
0.11548128724098206,
-0.10305990278720856,
0.37589845061302185,
-0.4738534390926361,
0.08347513526678085,
-0.4334076941013336,
-0.012331992387771606,
-0.5144891142845154,
-0.01089301984757185,
0.10593689978122711,
0.1479996144771576,
0.03180139511823654,
-0.052920252084732056,
0.06805229187011719,
0.00728455837816,
0.4513619840145111,
0.706488311290741,
0.2970288097858429,
-0.3031170666217804,
-0.19378167390823364,
-0.6371820569038391,
0.15465666353702545,
-0.013289272785186768,
0.006349882110953331,
0.0004400750622153282,
-0.025828752666711807,
0.035572897642850876,
-0.09807921946048737,
-0.03289751708507538,
-0.14598199725151062,
0.1888636350631714,
0.14366459846496582,
-0.04073913022875786,
0.13999444246292114,
-0.12910513579845428,
0.1612914800643921,
0.043997809290885925,
-0.14374974370002747,
0.11387339234352112,
-0.17296697199344635,
-0.04091580957174301,
-0.22663722932338715,
0.3342975080013275,
-0.4176328778266907,
-0.3125062584877014,
0.2645232379436493,
0.005860220640897751,
0.46939408779144287,
0.019538838416337967,
-0.10191455483436584,
-0.0850110650062561,
-0.11849097907543182,
-0.15845301747322083,
0.37201789021492004,
0.15026959776878357,
0.24752429127693176,
-0.16196709871292114,
-0.2581010162830353,
-0.2843647599220276,
0.039201173931360245,
-0.13024455308914185,
0.14344073832035065,
-0.2634325325489044,
-0.16472524404525757,
0.02089563012123108,
-0.10512328892946243,
0.1348499059677124,
0.05682191252708435,
-0.013565942645072937,
-0.12857688963413239,
-0.29130804538726807,
0.012221192941069603,
0.8393111824989319,
-0.38316652178764343,
0.07670828700065613,
0.15386606752872467,
0.25177279114723206,
0.14795327186584473,
-0.1441238671541214,
-0.637015163898468,
0.2956525385379791,
0.30468976497650146,
0.2823694944381714,
-0.0643470287322998,
0.2194415181875229,
-0.11371956765651703,
-0.09248197078704834,
0.0013685040175914764,
-0.05491892993450165,
-0.06855760514736176,
-0.16249911487102509,
0.11611050367355347,
-0.03170043230056763
] |
https://github.com/huggingface/datasets/issues/1299 | can't load "german_legal_entity_recognition" dataset | > Please if you could tell me more about the error?
>
> 1. Please check the directory you've been working on
> 2. Check for any typos
Error happens during the execution of this line:
dataset = load_dataset("german_legal_entity_recognition")
Also, when I try to open mentioned links via Opera I have errors "404: Not Found" and "This XML file does not appear to have any style information associated with it. The document tree is shown below." respectively. | FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
| 77 | can't load "german_legal_entity_recognition" dataset
FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
> Please if you could tell me more about the error?
>
> 1. Please check the directory you've been working on
> 2. Check for any typos
Error happens during the execution of this line:
dataset = load_dataset("german_legal_entity_recognition")
Also, when I try to open mentioned links via Opera I have errors "404: Not Found" and "This XML file does not appear to have any style information associated with it. The document tree is shown below." respectively. | [
-0.1284620314836502,
-0.0970660150051117,
-0.030172014608979225,
0.5242331624031067,
0.2877427339553833,
0.13808706402778625,
0.19560983777046204,
0.22927214205265045,
0.18780963122844696,
0.18087969720363617,
-0.344955176115036,
-0.1354643553495407,
0.04540537670254707,
0.2386658936738968,
0.1107378825545311,
-0.35101714730262756,
-0.10164827853441238,
0.004154510796070099,
0.15300863981246948,
-0.16965803503990173,
-0.18909116089344025,
0.3157925009727478,
-0.1670924872159958,
0.2493717223405838,
-0.12845368683338165,
0.22803904116153717,
-0.1583690345287323,
0.5008808374404907,
-0.2672370374202728,
-0.3464730978012085,
0.17754137516021729,
-0.1727832704782486,
0.1381818652153015,
0.5028778314590454,
-0.00011608174099819735,
0.16845189034938812,
0.35848289728164673,
0.0463053435087204,
-0.3028358817100525,
-0.47218894958496094,
-0.044482551515102386,
0.011026931926608086,
-0.10893402993679047,
-0.1386527121067047,
-0.15979644656181335,
-0.22550421953201294,
0.0787685364484787,
0.028309375047683716,
0.18380019068717957,
0.3876415491104126,
0.13233713805675507,
0.2076338827610016,
0.20360802114009857,
-0.23993442952632904,
0.11243969202041626,
0.06947585195302963,
-0.08812492340803146,
0.3908727169036865,
0.14317815005779266,
0.0015834327787160873,
0.37346407771110535,
0.2545945644378662,
-0.21445627510547638,
0.011763331480324268,
0.3610551357269287,
-0.0947231724858284,
0.26212403178215027,
-0.4173003137111664,
0.3253709673881531,
0.30811864137649536,
0.8236358761787415,
-0.08291908353567123,
-0.46495985984802246,
-0.020596180111169815,
0.18816328048706055,
-0.01811680942773819,
0.3648926019668579,
0.27608683705329895,
-0.04887234792113304,
0.19342611730098724,
-0.15330767631530762,
-0.34889963269233704,
-0.2896837890148163,
0.2990824580192566,
-0.1846630722284317,
0.0604274608194828,
-0.12557487189769745,
-0.06132892519235611,
0.364998996257782,
-0.16585005819797516,
-0.3809633255004883,
-0.11531402170658112,
0.06759724766016006,
0.5025038719177246,
-0.0852106362581253,
0.11739832162857056,
-0.028275594115257263,
0.32167476415634155,
0.19486653804779053,
0.10333261638879776,
0.09058628976345062,
0.012088686227798462,
-0.20640072226524353,
0.40049511194229126,
0.07349766790866852,
0.29890942573547363,
0.030573055148124695,
0.0062639061361551285,
0.2821768522262573,
0.1956745982170105,
-0.03326339274644852,
0.12244323641061783,
-0.4561716318130493,
-0.36175546050071716,
-0.45655325055122375,
-0.1500508189201355,
0.4977908730506897,
-0.42034822702407837,
-0.3818341791629791,
0.14028634130954742,
-0.29013440012931824,
-0.17325705289840698,
0.3358164131641388,
0.6531696319580078,
-0.21227394044399261,
-0.11929392069578171,
-0.17618688941001892,
0.18619230389595032,
-0.3083970248699188,
-0.04093709588050842,
-0.12338528782129288,
0.12531720101833344,
-0.2456345558166504,
0.23904618620872498,
0.14486320316791534,
-0.39513543248176575,
0.2847656011581421,
-0.26922234892845154,
0.024219665676355362,
-0.10803541541099548,
-0.11896146088838577,
-0.22552724182605743,
-0.24938073754310608,
0.35394155979156494,
-0.13495908677577972,
-0.1933983415365219,
0.20492364466190338,
-0.3587963581085205,
-0.1289905607700348,
0.07667914032936096,
-0.3272726237773895,
-0.4347088038921356,
-0.24500857293605804,
0.10287374258041382,
-0.3333545923233032,
-0.17543411254882812,
-0.13022294640541077,
0.07025885581970215,
-0.14354601502418518,
-0.33911463618278503,
-0.08101101964712143,
0.0006704442203044891,
-0.280193567276001,
-0.1255640834569931,
0.3089601695537567,
0.6876109838485718,
-0.04404866695404053,
-0.15891778469085693,
0.17319843173027039,
-0.22802406549453735,
0.1038118451833725,
0.6274731755256653,
-0.19113102555274963,
0.140375554561615,
-0.31975260376930237,
0.1875184029340744,
0.43599238991737366,
-0.6256729960441589,
-0.2637549936771393,
0.2893293797969818,
-0.15980467200279236,
0.09912333637475967,
-0.06571591645479202,
-0.17812564969062805,
-0.15975189208984375,
0.07434523105621338,
-0.06143835186958313,
0.053381312638521194,
0.1809496134519577,
-0.09870090335607529,
-0.15420810878276825,
-0.16134501993656158,
-0.004383295774459839,
0.35325032472610474,
0.13526120781898499,
0.08349001407623291,
0.2695769965648651,
-0.2861846685409546,
0.09589646756649017,
-0.15646739304065704,
-0.13491398096084595,
0.40706437826156616,
0.13093814253807068,
0.5612075924873352,
0.1535348743200302,
-0.13721983134746552,
-0.18925583362579346,
0.2605714499950409,
-0.24839890003204346,
0.2505263686180115,
-0.18475575745105743,
-0.14272552728652954,
-0.3887181878089905,
-0.013794107362627983,
-0.4441564381122589,
-0.16867902874946594,
-0.009632796049118042,
0.059086788445711136,
0.14419813454151154,
0.26514148712158203,
-0.18817612528800964,
0.18422043323516846,
0.05209413170814514,
0.2091677188873291,
-0.41592171788215637,
0.33068031072616577,
-0.29478177428245544,
0.14629730582237244,
-0.13814671337604523,
0.25338900089263916,
0.10489055514335632,
-0.20198731124401093,
-0.1726142168045044,
0.37791958451271057,
0.02504253387451172,
0.15968230366706848,
0.32780829071998596,
0.4717627763748169,
0.278651624917984,
-0.44654637575149536,
0.24975579977035522,
0.021696072071790695,
0.21927203238010406,
0.11204823106527328,
-0.25516703724861145,
-0.007979199290275574,
0.11755038797855377,
0.1259957253932953,
0.24058909714221954,
-0.05713994801044464,
0.06396269053220749,
-0.03559611737728119,
-0.16666319966316223,
0.026321060955524445,
0.5831590890884399,
-0.002046460285782814,
0.4861437678337097,
-0.0022115558385849,
-0.4058569371700287,
-0.26689261198043823,
0.22050195932388306,
-0.15802572667598724,
0.1402621865272522,
0.2830578088760376,
-0.23008131980895996,
0.08764271438121796,
-0.09066633880138397,
0.13402274250984192,
0.21672895550727844,
0.1192997470498085,
-0.15954090654850006,
0.22661438584327698,
0.03077710047364235,
-0.1857215017080307,
0.07788699865341187,
0.12082234770059586,
0.16854095458984375,
0.1628406047821045,
-0.07357653975486755,
0.1814066767692566,
-0.38393592834472656,
-0.4361383020877838,
-0.06678275018930435,
0.09401237219572067,
-0.28024470806121826,
0.20518654584884644,
-0.1672079861164093,
-0.37446609139442444,
-0.1607932597398758,
0.07225426286458969,
-0.4851953387260437,
0.02869063802063465,
0.02456079050898552,
0.12965482473373413,
-0.0376228466629982,
0.05152195692062378,
-0.12986603379249573,
0.23870433866977692,
-0.141399547457695,
-0.2614263892173767,
-0.042008526623249054,
-0.05873160436749458,
-0.20141735672950745,
-0.07892538607120514,
0.42226526141166687,
0.14457258582115173,
0.17905519902706146,
-0.3623304069042206,
0.15879756212234497,
-0.24723729491233826,
-0.3430607318878174,
0.18650469183921814,
0.09802179783582687,
0.14057815074920654,
-0.12747666239738464,
0.10206325352191925,
-0.2902248501777649,
-0.10841445624828339,
0.5380043983459473,
0.09408127516508102,
-0.10292982310056686,
0.08033948391675949,
0.008339956402778625,
-0.2383139431476593,
0.08618736267089844,
-0.2965490221977234,
-0.5001029372215271,
-0.38311767578125,
0.2841565012931824,
-0.100547656416893,
0.24323607981204987,
0.45255160331726074,
-0.049382343888282776,
0.3326977789402008,
-0.09267342835664749,
0.24600771069526672,
-0.15836316347122192,
-0.4093945324420929,
0.3129260838031769,
-0.4540615975856781,
-0.38572263717651367,
0.06523315608501434,
0.1502109318971634,
0.2502659559249878,
-0.010378414765000343,
-0.30319368839263916,
-0.08488216996192932,
-0.06730201095342636,
-0.01918824389576912,
-0.16199199855327606,
-0.018712656572461128,
0.2730547785758972,
-0.02794708125293255,
-0.03716892749071121,
0.013755060732364655,
-0.0009876806288957596,
-0.025071032345294952,
0.1494067758321762,
0.22312046587467194,
0.014119830913841724,
0.2424309253692627,
-0.12948472797870636,
0.6173742413520813,
0.15172109007835388,
0.10590667277574539,
0.5841579437255859,
-0.1702142059803009,
0.24981558322906494,
-0.05738053470849991,
-0.3522944450378418,
-0.0659816637635231,
-0.02659362554550171,
-0.13441219925880432,
0.3559345602989197,
0.31919345259666443,
-0.04538801312446594,
-0.49743029475212097,
-0.2689446210861206,
-0.2581539452075958,
-0.07195647060871124,
-0.012180132791399956,
0.006836794316768646,
0.25163254141807556,
-0.09525403380393982,
0.09937485307455063,
0.006083380430936813,
0.02942945808172226,
0.2890430688858032,
0.6507753133773804,
0.16260775923728943,
0.05673767626285553,
-0.21062836050987244,
-0.2528004050254822,
-0.30292844772338867,
0.359216570854187,
0.044670525938272476,
-0.08794552087783813,
-0.40043169260025024,
0.09142371267080307,
0.16569100320339203,
-0.1491178721189499,
0.6489858031272888,
-0.11757112294435501,
0.0423877090215683,
0.0016191788017749786,
0.0530688613653183,
-0.18066366016864777,
-0.016664540395140648,
0.17388178408145905,
0.2548440992832184,
0.021567612886428833,
0.34709852933883667,
-0.061172500252723694,
-0.17134353518486023,
0.07874830067157745,
0.161940336227417,
-0.16929814219474792,
-0.299420028924942,
-0.31610989570617676,
-0.275982528924942,
-0.43762168288230896,
-0.11021415144205093,
-0.07710767537355423,
0.19995643198490143,
0.03200855106115341,
0.05081293359398842,
0.1499727964401245,
0.14542308449745178,
0.15531444549560547,
0.17774268984794617,
0.20414134860038757,
-0.04631500318646431,
-0.06119398772716522,
0.5820176601409912,
0.3182825446128845,
0.44995763897895813,
0.942521333694458,
0.012637810781598091,
-0.6109727025032043,
-0.06349746137857437,
0.14557641744613647,
-0.034040771424770355,
0.2525070607662201,
0.1000836193561554,
-0.3182467520236969,
0.3501461446285248,
0.022013094276189804,
-0.3123273253440857,
0.017268316820263863,
0.26694709062576294,
0.11469878256320953,
-0.20096710324287415,
-0.34761863946914673,
0.5151138305664062,
-0.049220010638237,
-0.04511093348264694,
0.21927596628665924,
0.4564249515533447,
0.05912182480096817,
0.18470986187458038,
-0.1947251558303833,
1.1007051467895508,
-0.27175766229629517,
-0.052626702934503555,
0.2020339071750641,
-0.016612309962511063,
0.07605314254760742,
-0.2747388482093811,
0.06937793642282486,
-0.1266995221376419,
-0.0832684114575386,
-0.1203598827123642,
-0.2141696661710739,
0.28754064440727234,
0.1524731069803238,
-0.029215989634394646,
0.37710946798324585,
-0.002062477171421051,
-0.10136531293392181,
0.03342360258102417,
0.2994050085544586,
-0.1524929404258728,
-0.025219131261110306,
-0.23751622438430786,
0.10093386471271515,
0.0430854931473732,
1.0740026235580444,
-0.1547461450099945,
-0.18915718793869019,
-0.27701982855796814,
-0.1850479692220688,
-0.2150515615940094,
0.3156629204750061,
-0.23519060015678406,
0.15165500342845917,
-0.20114010572433472,
-0.13915210962295532,
0.03461206331849098,
0.5869802236557007,
0.09203134477138519,
-0.18265610933303833,
-0.44525423645973206,
0.12634481489658356,
0.042145468294620514,
-0.3262610137462616,
-0.0945373922586441,
-0.07423731684684753,
0.41366928815841675,
-0.17708411812782288,
-0.3557676374912262,
0.08595041930675507,
-0.07143697142601013,
-0.15253818035125732,
0.0953512042760849,
-0.31387197971343994,
-0.20052219927310944,
0.1050695925951004,
-0.15408951044082642,
-0.11758057773113251,
-0.09277673065662384,
0.042204033583402634,
0.02585948258638382,
0.18761730194091797,
-0.11871577799320221,
-0.18548378348350525,
0.1494339555501938,
-0.2381451427936554,
0.051290109753608704,
0.58880215883255,
-0.24914982914924622,
-0.23210091888904572,
0.4923294186592102,
0.13667486608028412,
-0.100572369992733,
-0.13192218542099,
-0.11625762283802032,
0.17649327218532562,
-0.38268107175827026,
-0.09135479480028152,
0.022586911916732788,
0.17352254688739777,
-0.10918307304382324,
0.08529370278120041,
0.2728912830352783,
-0.37699612975120544,
-0.023334091529250145,
-0.5408443212509155,
-0.19720125198364258,
0.3759465217590332,
0.2348794788122177,
0.03644154965877533,
-0.013062963262200356,
0.08629469573497772,
0.34456026554107666,
-0.3093903362751007,
-0.2339533418416977,
0.13782541453838348,
-0.26756125688552856,
-0.1870753914117813,
0.4149499833583832,
0.02349766716361046,
0.27463290095329285,
-0.120406374335289,
0.04256701469421387,
-0.2816511392593384,
-0.2967321574687958,
-0.09357792139053345,
-0.020988816395401955,
0.17994123697280884,
-0.020143501460552216,
-0.18557150661945343,
-0.02602710947394371,
-0.2796747088432312,
0.03806618973612785,
0.026307864114642143,
0.09866802394390106,
0.25418874621391296,
-0.08065474033355713,
-0.1497018188238144,
-0.03899918124079704,
0.16062003374099731,
-0.02850431017577648,
0.16588616371154785,
-0.025078564882278442,
0.2170056700706482,
0.13622726500034332,
-0.11533623933792114,
-0.05265947803854942,
-0.056299999356269836,
-0.23516438901424408,
-0.1351749300956726,
0.11968745291233063,
-0.10645239800214767,
0.30195069313049316,
-0.320026159286499,
0.24941280484199524,
0.23631896078586578,
0.15139050781726837,
0.21516406536102295,
-0.3591765761375427,
0.2953818440437317,
0.35240089893341064,
0.18455418944358826,
-0.22724610567092896,
-0.16790223121643066,
0.030803393572568893,
-0.17851239442825317,
-0.0863494724035263,
0.0024558156728744507,
0.27299365401268005,
0.3457306921482086,
-0.19943220913410187,
0.07746004313230515,
0.4343315064907074,
0.14569905400276184,
0.19854000210762024,
0.2813810706138611,
-0.2331501543521881,
0.17151781916618347,
-0.00264894962310791,
0.19798095524311066,
0.2629510164260864,
0.40256255865097046,
-0.3038865327835083,
0.13977991044521332,
-0.07908544689416885,
0.6005098819732666,
0.1578235775232315,
-0.4051307439804077,
-0.051511649042367935,
0.07370702177286148,
0.24215976893901825,
0.015326432883739471,
-0.14261853694915771,
0.2035050094127655,
-0.2709721028804779,
-0.061692025512456894,
-0.3238827586174011,
0.35555049777030945,
0.02634393982589245,
-0.0678500309586525,
-0.19906409084796906,
-0.35841041803359985,
-0.06126946955919266,
-0.0829780250787735,
-0.034582700580358505,
-0.19055311381816864,
-0.15268799662590027,
0.012921996414661407,
-0.10091172158718109,
-0.19978854060173035,
-0.2719905376434326,
0.263330340385437,
0.2288673222064972,
-0.11355656385421753,
0.31108513474464417,
0.2184484899044037,
-0.10594350099563599,
0.15147438645362854,
0.3076581656932831,
0.5152633190155029,
0.2543153166770935,
-0.11527882516384125,
0.015546096488833427,
-0.20912344753742218,
-0.09488728642463684,
0.17047755420207977,
0.1511591225862503,
0.10682765394449234,
0.04609952121973038,
0.28024500608444214,
0.015105178579688072,
-0.07513388246297836,
0.192544624209404,
-0.2286161631345749,
0.2965640127658844,
-0.11044217646121979,
0.22124087810516357,
-0.35498079657554626,
0.07515644282102585,
-0.3543500602245331,
-0.06531710177659988,
-0.5037230849266052,
0.17044131457805634,
0.2489498108625412,
0.07239130884408951,
0.04882187396287918,
0.004160377196967602,
0.0330384187400341,
0.1352711170911789,
0.37642258405685425,
0.6063411235809326,
0.5643182396888733,
-0.21070027351379395,
-0.09408778697252274,
-0.6297904253005981,
0.21380625665187836,
-0.10533283650875092,
0.010109396651387215,
0.10111811012029648,
-0.0779324397444725,
-0.14571568369865417,
0.035036783665418625,
0.09204986691474915,
-0.1372896134853363,
0.3103253245353699,
0.12867960333824158,
-0.13512520492076874,
0.0758843868970871,
-0.11065785586833954,
0.25538915395736694,
-0.04636574536561966,
-0.23060205578804016,
0.14761240780353546,
-0.0851736068725586,
-0.1164187490940094,
-0.14162781834602356,
0.23537474870681763,
-0.4128286838531494,
-0.5597072839736938,
0.4009503722190857,
-0.09963525831699371,
0.5752428770065308,
-0.031170710921287537,
-0.09895989298820496,
-0.07613742351531982,
-0.252761572599411,
0.029408104717731476,
0.39142823219299316,
0.15763036906719208,
0.1113567054271698,
-0.19329962134361267,
-0.2572246789932251,
-0.20318013429641724,
0.22070501744747162,
-0.10142353177070618,
0.07364891469478607,
-0.26394233107566833,
-0.29424017667770386,
0.05186519771814346,
-0.04106982424855232,
0.059741925448179245,
0.0186675526201725,
-0.054769277572631836,
-0.08348896354436874,
-0.16385263204574585,
-0.05291924625635147,
0.9457665681838989,
-0.29038184881210327,
0.19509240984916687,
-0.09559553861618042,
0.2677006125450134,
0.2320234775543213,
0.02353224717080593,
-0.5080150961875916,
0.22244304418563843,
0.24202674627304077,
0.17840644717216492,
-0.28930139541625977,
0.09935778379440308,
-0.05206375941634178,
-0.15982452034950256,
-0.046833910048007965,
0.01721382513642311,
-0.1551777422428131,
-0.09385447204113007,
0.0368305929005146,
-0.10788031667470932
] |
https://github.com/huggingface/datasets/issues/1299 | can't load "german_legal_entity_recognition" dataset | Hello @nataly-obr, the `german_legal_entity_recognition` dataset has not yet been released (it is part of the coming soon v2 release).
You can still access it now if you want, but you will need to install `datasets` via the master branch:
`pip install git+https://github.com/huggingface/datasets.git@master`
Please let me know if it solves the issue :) | FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
| 52 | can't load "german_legal_entity_recognition" dataset
FileNotFoundError: Couldn't find file locally at german_legal_entity_recognition/german_legal_entity_recognition.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.1.3/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py or https://s3.amazonaws.com/datasets.huggingface.co/datasets/datasets/german_legal_entity_recognition/german_legal_entity_recognition.py
Hello @nataly-obr, the `german_legal_entity_recognition` dataset has not yet been released (it is part of the coming soon v2 release).
You can still access it now if you want, but you will need to install `datasets` via the master branch:
`pip install git+https://github.com/huggingface/datasets.git@master`
Please let me know if it solves the issue :) | [
-0.28713515400886536,
-0.2293042540550232,
-0.05587418004870415,
0.3209625482559204,
0.19268739223480225,
0.10350369662046432,
0.12274952232837677,
0.23955829441547394,
0.2547089755535126,
-0.0033334344625473022,
-0.12832581996917725,
-0.12318488955497742,
-0.06206884980201721,
0.3180634379386902,
0.18778453767299652,
-0.3089749217033386,
0.000501289963722229,
0.01517513394355774,
0.0721767395734787,
-0.12928715348243713,
-0.10976983606815338,
0.3460334241390228,
-0.08716730028390884,
0.17948424816131592,
-0.26065200567245483,
0.11781741678714752,
-0.01889612525701523,
0.2385767102241516,
-0.42088940739631653,
-0.33725473284721375,
0.2726184129714966,
-0.011095263063907623,
0.29255950450897217,
0.37142565846443176,
-0.00010437218588776886,
0.0022045597434043884,
0.32410937547683716,
-0.011156304739415646,
-0.28396013379096985,
-0.3169112205505371,
-0.019781645387411118,
-0.3420848250389099,
-0.12622524797916412,
-0.051850832998752594,
-0.3168027997016907,
-0.23896005749702454,
0.15675954520702362,
0.10908147692680359,
0.27107876539230347,
0.1588667631149292,
0.28334692120552063,
0.19918639957904816,
0.2706200182437897,
-0.36000171303749084,
-0.07019931823015213,
0.09360592812299728,
-0.11588852107524872,
0.42670196294784546,
0.19289904832839966,
-0.20074211061000824,
0.25867804884910583,
0.23703056573867798,
0.11693798005580902,
0.0021749939769506454,
0.3039172291755676,
-0.024705439805984497,
0.32942742109298706,
-0.2710101306438446,
0.27447080612182617,
0.25966379046440125,
0.4311147630214691,
-0.12314624339342117,
-0.4543118476867676,
-0.101801298558712,
0.2980353832244873,
-0.09444819390773773,
0.20759090781211853,
0.24309778213500977,
-0.08500805497169495,
0.22377218306064606,
-0.1252356767654419,
-0.31215035915374756,
-0.20835568010807037,
0.2568840980529785,
-0.21211998164653778,
0.10334237664937973,
-0.22792312502861023,
-0.06381530314683914,
0.3051750361919403,
-0.21786262094974518,
-0.4415859282016754,
0.17739973962306976,
-0.03841470554471016,
0.5027360320091248,
-0.09673658013343811,
0.12538094818592072,
0.04403480142354965,
0.3489571511745453,
0.28171759843826294,
0.1656111776828766,
-0.03409867733716965,
0.02283797413110733,
-0.0802760049700737,
0.43686962127685547,
0.05776800960302353,
0.35274824500083923,
0.08379227668046951,
0.20326362550258636,
0.1320178210735321,
0.28044092655181885,
0.015992265194654465,
0.07694952189922333,
-0.4701930582523346,
-0.1706162840127945,
-0.31895187497138977,
-0.15594565868377686,
0.21276196837425232,
-0.2779732942581177,
-0.2171691358089447,
0.009723400697112083,
-0.09277718514204025,
0.008432945236563683,
0.3076980710029602,
0.48839476704597473,
-0.0327313207089901,
-0.23424017429351807,
-0.09348397701978683,
0.17170460522174835,
-0.16158436238765717,
0.0802362933754921,
-0.2343035638332367,
0.03467859700322151,
-0.28374773263931274,
-0.02866085059940815,
0.2533979117870331,
-0.45007601380348206,
0.4466089904308319,
-0.16972842812538147,
0.06003905460238457,
0.10763385891914368,
-0.06528891623020172,
0.06296272575855255,
-0.14496853947639465,
0.25175711512565613,
-0.16629232466220856,
-0.17332662642002106,
0.19005471467971802,
-0.30556055903434753,
-0.12526364624500275,
-0.1787099540233612,
-0.21664434671401978,
-0.36059296131134033,
-0.3752926290035248,
0.22596465051174164,
-0.2043680101633072,
-0.18701691925525665,
-0.1884666085243225,
0.14234989881515503,
-0.10457304865121841,
-0.4150545299053192,
-0.09110601991415024,
-0.01562158390879631,
-0.09962573647499084,
-0.09275887906551361,
0.38199737668037415,
0.43070411682128906,
-0.1753319352865219,
-0.2079688012599945,
-0.04564398527145386,
-0.28443530201911926,
0.1065342128276825,
0.47519341111183167,
-0.22807084023952484,
-0.03869438171386719,
-0.3968614339828491,
0.21153397858142853,
0.14322888851165771,
-0.4533611238002777,
-0.3421439230442047,
0.21019314229488373,
-0.18734855949878693,
0.07494018971920013,
0.0014119893312454224,
-0.108576200902462,
-0.24180755019187927,
-0.022430934011936188,
-0.17782187461853027,
0.18326087296009064,
0.1322074830532074,
-0.13875873386859894,
-0.09468387812376022,
-0.14946457743644714,
0.08305229246616364,
0.1617782562971115,
0.06791912019252777,
0.11834055185317993,
0.1734056919813156,
0.012775265611708164,
0.02633756399154663,
0.0217665396630764,
-0.11086626350879669,
0.20968079566955566,
0.2248196005821228,
0.34676170349121094,
0.05710158124566078,
-0.18950104713439941,
-0.22033491730690002,
0.3077062964439392,
-0.4281441867351532,
0.2901536226272583,
-0.3179883360862732,
-0.20254093408584595,
-0.32264143228530884,
0.01547703705728054,
-0.3389263153076172,
-0.26490166783332825,
0.1795157790184021,
0.13427844643592834,
0.23891228437423706,
0.18723440170288086,
-0.03605733811855316,
0.0982857272028923,
0.10553368926048279,
0.10507255047559738,
-0.4029989540576935,
0.13036313652992249,
-0.2962356209754944,
0.14271730184555054,
0.013517465442419052,
0.15734416246414185,
0.08375471085309982,
-0.19335807859897614,
-0.041359905153512955,
0.29113712906837463,
-0.2500874400138855,
0.3001386523246765,
0.28840771317481995,
0.39589211344718933,
0.2157096117734909,
-0.21012689173221588,
0.23619793355464935,
-0.11077961325645447,
0.12158319354057312,
0.09628709405660629,
-0.2546936869621277,
0.13218183815479279,
0.07947012782096863,
0.001169547438621521,
0.05128549784421921,
0.043703556060791016,
0.19920140504837036,
0.010494846850633621,
-0.09145356714725494,
-0.14043273031711578,
0.27139174938201904,
-0.04910228028893471,
0.3081584870815277,
-0.10442577302455902,
-0.25448328256607056,
-0.1351485550403595,
0.38783523440361023,
-0.020589612424373627,
0.14266356825828552,
0.2112211287021637,
-0.27367866039276123,
0.025028645992279053,
0.12152267247438431,
0.09186244010925293,
0.28861677646636963,
0.2752535343170166,
-0.031105775386095047,
0.04277990385890007,
-0.011076767928898335,
-0.08891721069812775,
0.08870924264192581,
-0.05087640881538391,
-0.048256151378154755,
0.17430996894836426,
-0.01223745197057724,
0.020701397210359573,
-0.4914884567260742,
-0.17765450477600098,
-0.07597090303897858,
0.24412794411182404,
-0.19456559419631958,
0.09353204071521759,
-0.26532965898513794,
-0.4106268286705017,
-0.14241185784339905,
-0.04389229044318199,
-0.5049237608909607,
0.04430820047855377,
0.13133791089057922,
0.07125142216682434,
0.049095187336206436,
0.12905073165893555,
0.07002799212932587,
0.19164399802684784,
-0.1662600040435791,
-0.1349232941865921,
-0.3105833828449249,
-0.0739898830652237,
-0.2353854477405548,
0.11174072325229645,
0.3545113801956177,
0.20795169472694397,
0.4717743992805481,
-0.18946069478988647,
0.13248959183692932,
-0.32720422744750977,
-0.6006325483322144,
0.06234428286552429,
-0.23526866734027863,
0.3087223768234253,
0.15464898943901062,
0.145197331905365,
-0.35621196031570435,
-0.10468026250600815,
0.4863611161708832,
-0.18985901772975922,
-0.24756093323230743,
-0.029701657593250275,
-0.1127692386507988,
-0.3060133159160614,
-0.04108525812625885,
-0.19214344024658203,
-0.4251384139060974,
-0.38438308238983154,
0.5482384562492371,
0.17136310040950775,
-0.0013479478657245636,
0.3274293839931488,
-0.08831816166639328,
0.2806095480918884,
-0.1597573608160019,
0.1602453738451004,
-0.26942238211631775,
-0.33908650279045105,
0.21675531566143036,
-0.4446287751197815,
-0.3358723223209381,
0.01807491108775139,
0.11435246467590332,
0.3700512945652008,
-0.0964457243680954,
-0.11325587332248688,
-0.2231542319059372,
-0.07999640703201294,
-0.006222408264875412,
-0.062316469848155975,
0.1297803521156311,
0.29794996976852417,
-0.06725583225488663,
-0.0971205085515976,
0.01301049068570137,
-0.07814759016036987,
-0.03732500225305557,
0.06813150644302368,
0.2425166368484497,
-0.05933067947626114,
0.1630980670452118,
0.02475081756711006,
0.6636181473731995,
0.21987177431583405,
0.05495549365878105,
0.3495466709136963,
-0.17561616003513336,
0.2357821762561798,
-0.1428215205669403,
-0.4567851722240448,
-0.01931685395538807,
0.10677926242351532,
0.1134357750415802,
0.3309995234012604,
0.2169080674648285,
0.10993732511997223,
-0.22867834568023682,
-0.20323942601680756,
-0.26123377680778503,
-0.052768610417842865,
-0.1159263402223587,
0.021624961867928505,
0.30596840381622314,
0.027698185294866562,
-0.051488928496837616,
-0.17109523713588715,
-0.16101613640785217,
0.2887648642063141,
0.42946791648864746,
0.054880764335393906,
0.2797006666660309,
-0.323916494846344,
-0.20926769077777863,
-0.2900281846523285,
0.4059991240501404,
0.02600017748773098,
-0.014381793327629566,
-0.3674529194831848,
0.06390269100666046,
0.2022509127855301,
-0.06718197464942932,
0.5411591529846191,
-0.0151448305696249,
0.13185325264930725,
-0.1551022082567215,
-0.11660518497228622,
-0.05680263787508011,
0.03213132545351982,
0.06814838945865631,
0.14730793237686157,
0.07094068825244904,
0.29184800386428833,
-0.19730280339717865,
-0.2109268605709076,
0.13568788766860962,
0.05369925498962402,
-0.13848313689231873,
-0.20085904002189636,
-0.36386528611183167,
-0.1265241801738739,
-0.4643528461456299,
-0.03639485687017441,
0.07958408445119858,
0.15815532207489014,
-0.01184871606528759,
0.08887311816215515,
-0.005511295050382614,
0.05822298675775528,
0.11810439079999924,
0.25812309980392456,
0.2853505313396454,
0.061050333082675934,
-0.03290710225701332,
0.49623727798461914,
0.24120129644870758,
0.2928655445575714,
0.9030954241752625,
0.0374448262155056,
-0.5974397659301758,
-0.06721485406160355,
0.13304218649864197,
0.015762321650981903,
0.22435474395751953,
-0.030263029038906097,
-0.15232881903648376,
0.3946186602115631,
0.1091538518667221,
-0.35978108644485474,
0.03969093784689903,
0.310577929019928,
0.044569097459316254,
-0.1691172868013382,
-0.19383679330348969,
0.4223770797252655,
-0.006367345340549946,
0.05902695655822754,
0.10125477612018585,
0.4643966555595398,
-0.10059110075235367,
0.22224734723567963,
-0.24406924843788147,
0.9018840789794922,
-0.1857052594423294,
-0.01633260026574135,
0.09053298830986023,
0.01894652098417282,
0.2955663204193115,
-0.20959818363189697,
0.017967302352190018,
-0.17226387560367584,
-0.013642680831253529,
-0.06711504608392715,
-0.04579169303178787,
0.25707554817199707,
0.18217723071575165,
-0.06851734966039658,
0.26825031638145447,
0.04850374162197113,
0.02060537226498127,
-0.09398917108774185,
0.5839897990226746,
-0.21266035735607147,
-0.03144225850701332,
-0.27908074855804443,
0.26276421546936035,
0.06639843434095383,
0.8657298684120178,
-0.13490857183933258,
-0.21786774694919586,
-0.16729098558425903,
-0.1910545974969864,
-0.2989360988140106,
0.08378542214632034,
-0.1352345049381256,
0.25629299879074097,
-0.009776491671800613,
-0.11830757558345795,
0.15149258077144623,
0.3210026025772095,
0.13149845600128174,
0.057406987994909286,
-0.5936900973320007,
0.1421045958995819,
0.10988564789295197,
-0.4285562038421631,
-0.15017949044704437,
0.06053239107131958,
0.3860788345336914,
-0.1960681974887848,
-0.26559460163116455,
-0.01989084482192993,
0.04485635831952095,
-0.020423445850610733,
-0.24806028604507446,
-0.18498779833316803,
-0.051631152629852295,
0.03768298029899597,
-0.06383223086595535,
-0.09951642155647278,
-0.03272218257188797,
-0.0414389967918396,
0.17713713645935059,
0.2839224338531494,
-0.20549637079238892,
-0.2806948721408844,
0.26187989115715027,
-0.12277177721261978,
-0.008315589278936386,
0.5535977482795715,
-0.23292401432991028,
-0.23567350208759308,
0.48790639638900757,
0.12412123382091522,
-0.08397937566041946,
-0.24520784616470337,
-0.1700536012649536,
0.2742604911327362,
-0.7010436058044434,
-0.14276424050331116,
0.4160333275794983,
0.004622325301170349,
0.21939995884895325,
0.2663270831108093,
0.2969092130661011,
-0.5169307589530945,
0.005819100886583328,
-0.41918623447418213,
-0.12972979247570038,
0.12924227118492126,
-0.14625762403011322,
0.08671632409095764,
0.13739323616027832,
0.20324310660362244,
0.15363572537899017,
0.008100656792521477,
-0.3894360065460205,
0.16596117615699768,
-0.2964889705181122,
-0.10106329619884491,
0.24277445673942566,
0.008007567375898361,
0.24642224609851837,
0.002082228660583496,
0.24103495478630066,
0.04909517243504524,
-0.3328874409198761,
-0.24985980987548828,
-0.037002045661211014,
0.13273151218891144,
0.0028105080127716064,
-0.11493834853172302,
-0.028747934848070145,
-0.1482410430908203,
-0.16780702769756317,
0.07183673232793808,
0.13624504208564758,
0.1104840561747551,
0.06711920350790024,
0.1133614331483841,
0.0027971304953098297,
-0.025171324610710144,
0.2837284803390503,
0.039506010711193085,
0.012747339904308319,
-0.05555655062198639,
0.08687406033277512,
-0.020744964480400085,
-0.09048758447170258,
0.012700781226158142,
-0.0977361649274826,
0.042698800563812256,
0.10110680013895035,
0.020586371421813965,
0.3517749011516571,
-0.26557159423828125,
0.11653412878513336,
0.07400006800889969,
0.18539364635944366,
0.12704578042030334,
-0.2866702973842621,
0.2289479523897171,
0.44265708327293396,
0.29854390025138855,
-0.47711098194122314,
-0.12988607585430145,
-0.0006362795829772949,
-0.19664038717746735,
-0.028235135599970818,
-0.013260908424854279,
0.3188250958919525,
0.28375276923179626,
-0.07673601806163788,
0.10660090297460556,
0.33331990242004395,
-0.26856541633605957,
0.11061917245388031,
0.19323286414146423,
-0.2465142011642456,
-0.008545633405447006,
0.01132030040025711,
0.29051637649536133,
0.13186435401439667,
0.30884742736816406,
-0.22652435302734375,
-0.031566210091114044,
-0.47823265194892883,
0.5385354161262512,
0.26662951707839966,
-0.35815757513046265,
-0.09097154438495636,
0.09685839712619781,
0.07127144187688828,
0.13641710579395294,
-0.15442517399787903,
0.723010241985321,
-0.33745521306991577,
0.021115276962518692,
-0.3394334614276886,
0.23556892573833466,
-0.08212161064147949,
-0.06989806890487671,
-0.13137248158454895,
-0.22174176573753357,
-0.06701119244098663,
-0.18699462711811066,
0.01764906942844391,
-0.21537725627422333,
-0.1389423906803131,
0.08305878192186356,
-0.06921964883804321,
-0.35435667634010315,
-0.2979281544685364,
0.22698751091957092,
0.2037164866924286,
-0.13124749064445496,
0.2813131809234619,
0.11061446368694305,
-0.08747373521327972,
0.2627352774143219,
0.3017261326313019,
0.5873755812644958,
0.03518553450703621,
0.07400181889533997,
0.06178908795118332,
-0.208802729845047,
-0.09212946891784668,
-0.10956443846225739,
0.3769294023513794,
0.23041418194770813,
0.15540862083435059,
0.2603459358215332,
0.18578271567821503,
-0.1731238067150116,
-0.07114209234714508,
-0.27929410338401794,
0.09583564102649689,
-0.05641566589474678,
0.4539794325828552,
-0.45216500759124756,
0.06275764852762222,
-0.38758763670921326,
0.02866753190755844,
-0.5222898721694946,
-0.005503042601048946,
0.1947350800037384,
0.13129214942455292,
0.06248860061168671,
-0.2410089671611786,
0.11049585044384003,
0.042629826813936234,
0.46257513761520386,
0.5706766843795776,
0.2936343550682068,
-0.1461772918701172,
-0.09492134302854538,
-0.6033202409744263,
0.15425896644592285,
0.0418442003428936,
0.034435950219631195,
-0.013286817818880081,
-0.02344692498445511,
0.05518480762839317,
-0.03651183098554611,
-0.02000419795513153,
-0.2295779138803482,
0.1678573191165924,
0.04403076693415642,
-0.014884013682603836,
0.14993278682231903,
-0.14260447025299072,
0.13200069963932037,
0.08959362655878067,
-0.07282321900129318,
0.08511888980865479,
-0.15273508429527283,
0.032688237726688385,
-0.2568892240524292,
0.33536362648010254,
-0.3484842777252197,
-0.25179046392440796,
0.29784509539604187,
0.1351180225610733,
0.3951488733291626,
-0.044461801648139954,
-0.0349259227514267,
-0.20839253067970276,
-0.15736162662506104,
-0.21703863143920898,
0.3865817189216614,
0.07890180498361588,
0.26692551374435425,
-0.1007361188530922,
-0.4330461919307709,
-0.2646438181400299,
0.0012700187508016825,
-0.09810149669647217,
-0.011545451357960701,
-0.3078567087650299,
-0.07898087799549103,
-0.05464930832386017,
0.001490509370341897,
0.11940202116966248,
0.1274338662624359,
0.03480501472949982,
-0.15142320096492767,
-0.19794553518295288,
-0.18509599566459656,
0.8110970854759216,
-0.36212578415870667,
0.06020442023873329,
0.16605383157730103,
0.16783440113067627,
0.14871354401111603,
-0.31762513518333435,
-0.6711134314537048,
0.29569342732429504,
0.23264214396476746,
0.1906609833240509,
-0.06893281638622284,
0.2591882050037384,
-0.16694100201129913,
-0.03532976657152176,
-0.026339039206504822,
0.1093062311410904,
0.034002453088760376,
-0.15037596225738525,
0.16870242357254028,
-0.03476335108280182
] |
https://github.com/huggingface/datasets/issues/1290 | imdb dataset cannot be downloaded | Hi @rabeehk , I am unable to reproduce your problem locally.
Can you try emptying the cache (removing the content of `/idiap/temp/rkarimi/cache_home_1/datasets`) and retry ? | hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=7486451, num_examples=5628, dataset_name='imdb')}]
``` | 25 | imdb dataset cannot be downloaded
hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=7486451, num_examples=5628, dataset_name='imdb')}]
```
Hi @rabeehk , I am unable to reproduce your problem locally.
Can you try emptying the cache (removing the content of `/idiap/temp/rkarimi/cache_home_1/datasets`) and retry ? | [
-0.48601019382476807,
0.029912933707237244,
-0.18373173475265503,
0.26361745595932007,
0.3486502766609192,
0.30775606632232666,
0.3157055079936981,
0.4439665377140045,
0.21628092229366302,
0.021267779171466827,
-0.09907665103673935,
-0.07242134213447571,
-0.031542353332042694,
0.15809984505176544,
-0.029221776872873306,
-0.12090376019477844,
-0.1767849624156952,
0.012769520282745361,
-0.15878216922283173,
0.01796836405992508,
-0.12832008302211761,
0.2383505254983902,
-0.16184085607528687,
-0.03351995348930359,
-0.43013980984687805,
-0.3121136724948883,
0.13920122385025024,
0.08279797434806824,
-0.3193937838077545,
-0.4591379165649414,
0.39213353395462036,
-0.00823695957660675,
0.24230554699897766,
0.28269457817077637,
-0.00010350621596444398,
-0.03656784072518349,
0.5334969758987427,
-0.10740840435028076,
-0.3835625946521759,
-0.28779441118240356,
-0.3273850977420807,
0.0555790513753891,
-0.0027637649327516556,
-0.27517929673194885,
0.004764474928379059,
-0.02538549154996872,
0.0113665871322155,
-0.39597028493881226,
0.03741355985403061,
0.4941401183605194,
0.29714444279670715,
-0.12976467609405518,
0.2451954334974289,
-0.21809230744838715,
0.24239090085029602,
0.01370394229888916,
0.05297163873910904,
0.24884529411792755,
0.14088115096092224,
0.2723529040813446,
0.24864068627357483,
0.18010972440242767,
-0.3034387230873108,
-0.022096779197454453,
0.2865755259990692,
-0.09728237241506577,
0.16532787680625916,
-0.47060731053352356,
0.17227375507354736,
0.2280542552471161,
0.7382760047912598,
-0.23886194825172424,
-0.3810376524925232,
0.1447506844997406,
0.377194344997406,
-0.1702624410390854,
0.10000105202198029,
0.218276709318161,
-0.18277524411678314,
0.10173887014389038,
-0.21994875371456146,
-0.06628229469060898,
-0.1369592547416687,
0.1590719074010849,
0.08861291408538818,
-0.16050729155540466,
0.049588825553655624,
-0.04003062844276428,
0.09874998033046722,
-0.13440272212028503,
0.25177180767059326,
0.0384320393204689,
-0.002112407237291336,
0.2361702024936676,
-0.26023977994918823,
-0.10021218657493591,
-0.22375884652137756,
0.01929619535803795,
0.06494937092065811,
0.24880093336105347,
-0.1534932404756546,
-0.1331486701965332,
0.016815338283777237,
0.13928698003292084,
0.18214546144008636,
0.1841430515050888,
-0.058251239359378815,
0.31446850299835205,
0.19509103894233704,
0.4538916349411011,
-0.1490831971168518,
-0.10170438140630722,
-0.254164457321167,
-0.13466006517410278,
-0.0824788510799408,
0.14360859990119934,
0.031176332384347916,
-0.1240338385105133,
-0.47825974225997925,
0.044835709035396576,
-0.20128941535949707,
0.12913191318511963,
0.23051869869232178,
0.3140890598297119,
-0.13477875292301178,
0.10469961911439896,
0.22716577351093292,
0.2528126537799835,
0.11597270518541336,
-0.1042448878288269,
-0.24614757299423218,
0.30439603328704834,
-0.09364590793848038,
-0.05657772719860077,
0.3721652626991272,
-0.19967971742153168,
0.3377610743045807,
0.06962572038173676,
0.0036388561129570007,
-0.21059918403625488,
0.20954324305057526,
-0.30078577995300293,
0.02878691256046295,
0.3584665358066559,
0.2556401491165161,
0.2001563459634781,
-0.0840686708688736,
0.12353959679603577,
-0.05888801068067551,
0.04614892601966858,
-0.27438393235206604,
-0.3199225962162018,
-0.0881597250699997,
0.3507595956325531,
0.12622766196727753,
-0.16568511724472046,
-0.32356879115104675,
-0.1998392939567566,
0.09139657020568848,
-0.21301071345806122,
0.004763096570968628,
-0.1729653775691986,
-0.02587030455470085,
-0.13376100361347198,
0.3516489267349243,
0.49137115478515625,
-0.26940470933914185,
0.04580313712358475,
-0.4400699734687805,
-0.14435429871082306,
0.044097136706113815,
0.3456627428531647,
-0.169927716255188,
0.31165799498558044,
-0.3299519121646881,
0.13601304590702057,
0.2640046775341034,
-0.6436083912849426,
-0.5091257691383362,
0.3254254460334778,
-0.03870092332363129,
-0.11843273788690567,
0.23312470316886902,
0.2476874589920044,
0.34422510862350464,
0.043196067214012146,
0.15545804798603058,
0.3124527931213379,
-0.15306653082370758,
-0.09564510732889175,
-0.157430961728096,
-0.28069737553596497,
-0.052122145891189575,
0.1857505887746811,
0.36273252964019775,
0.1378486603498459,
0.11436893045902252,
0.2967052757740021,
0.288788378238678,
0.17750294506549835,
0.10418325662612915,
0.3223491311073303,
0.21642906963825226,
0.1731072962284088,
-0.1532246470451355,
-0.13035519421100616,
-0.29718390107154846,
0.08073550462722778,
0.2190830111503601,
-0.031211890280246735,
-0.27186131477355957,
-0.25093111395835876,
-0.3407042920589447,
-0.2066207081079483,
-0.14832118153572083,
0.01803503930568695,
0.23826390504837036,
-0.04850700497627258,
-0.049365438520908356,
-0.06333138048648834,
-0.2919754385948181,
0.4999568462371826,
-0.2259841412305832,
0.09019693732261658,
-0.29230114817619324,
0.1588742882013321,
-0.2442295402288437,
-0.10255292057991028,
0.12464915215969086,
-0.02847958356142044,
0.12515713274478912,
-0.08232208341360092,
-0.06370288878679276,
0.3320348858833313,
0.037541814148426056,
0.050680648535490036,
0.0673423707485199,
-0.09513168036937714,
0.12415382266044617,
-0.3400791585445404,
0.18442974984645844,
-0.2295352965593338,
0.07100928574800491,
-0.0017824284732341766,
-0.004487268626689911,
-0.05723145604133606,
-0.28017064929008484,
0.06284201890230179,
0.28608185052871704,
0.0964290052652359,
0.2981426417827606,
-0.16036133468151093,
0.04158143699169159,
-0.4865525960922241,
0.07849648594856262,
0.09816566109657288,
0.2395062893629074,
-0.06757333129644394,
-0.2537470757961273,
0.05272597819566727,
0.36755892634391785,
0.1426953226327896,
0.03614538908004761,
0.12185827642679214,
-0.09394989162683487,
0.04511173069477081,
-0.1279810220003128,
0.2976512610912323,
0.18542128801345825,
0.1711168736219406,
0.0062498971819877625,
-0.13303185999393463,
0.22805537283420563,
-0.21654359996318817,
0.23888897895812988,
-0.05326908826828003,
0.07783276587724686,
0.3355536162853241,
-0.09254168719053268,
0.09238770604133606,
-0.15775063633918762,
-0.3601543605327606,
0.08538788557052612,
0.24553431570529938,
-0.22844664752483368,
-0.21908046305179596,
-0.33019566535949707,
-0.26102742552757263,
-0.0584801584482193,
-0.16180069744586945,
0.06486542522907257,
-0.17395524680614471,
-0.11366638541221619,
0.3175642490386963,
0.2524276375770569,
0.07817236334085464,
-0.28758716583251953,
-0.08843494951725006,
0.06085179001092911,
-0.21291542053222656,
-0.12432245165109634,
-0.12317974865436554,
-0.04584578424692154,
0.22666752338409424,
0.3349542021751404,
-0.021135156974196434,
0.25781556963920593,
-0.44027179479599,
-0.008083288557827473,
-0.27700430154800415,
0.08261891454458237,
0.03981991484761238,
0.010816624388098717,
0.0953361988067627,
0.1249908059835434,
0.47732794284820557,
0.12029434740543365,
-0.3079591691493988,
0.0788394957780838,
-0.08086282014846802,
-0.17508435249328613,
-0.000700606033205986,
-0.09257783740758896,
-0.07145003229379654,
0.0025720596313476562,
-0.4792705476284027,
-0.4157935380935669,
-0.3165059983730316,
-0.07136963307857513,
0.057188209146261215,
0.04366275668144226,
0.09773091971874237,
0.23339155316352844,
0.2032419890165329,
0.3070596754550934,
0.18226951360702515,
-0.03703302890062332,
-0.38683515787124634,
0.30215707421302795,
-0.2015399932861328,
-0.20689959824085236,
0.27252301573753357,
-0.011012978851795197,
0.3213927149772644,
0.07168971747159958,
-0.6101097464561462,
0.10166988521814346,
-0.02409668080508709,
0.3465483784675598,
-0.09872333705425262,
-0.10961923003196716,
0.06035962700843811,
-0.06556817144155502,
-0.13395823538303375,
-0.06195441633462906,
-0.03752085939049721,
-0.00040581077337265015,
-0.09017156809568405,
0.19749212265014648,
-0.2317509949207306,
0.5183963179588318,
-0.03805512934923172,
0.3936091661453247,
0.32723140716552734,
-0.12184099853038788,
0.48825427889823914,
-0.05891601741313934,
0.22920483350753784,
-0.20343232154846191,
-0.45544224977493286,
0.03376112878322601,
-0.011605143547058105,
-0.1714821457862854,
-0.1340017020702362,
-0.13923528790473938,
-0.20061692595481873,
-0.08805888891220093,
0.04875932261347771,
-0.3500264883041382,
-0.08182606101036072,
-0.06322240084409714,
-0.18933813273906708,
0.17613109946250916,
-0.03816000372171402,
0.11826052516698837,
-0.02363446354866028,
-0.26392123103141785,
0.11447636783123016,
0.38324087858200073,
0.031314097344875336,
0.15726493299007416,
0.004166752099990845,
-0.2751960754394531,
-0.12348266690969467,
0.19565926492214203,
0.09527554363012314,
0.25814706087112427,
-0.22384323179721832,
0.20998746156692505,
0.13831540942192078,
0.13708537817001343,
0.6306632161140442,
-0.37381690740585327,
0.16064468026161194,
0.10124160349369049,
0.124732106924057,
-0.08509612083435059,
-0.03538152575492859,
-0.18797500431537628,
0.09695915877819061,
0.46243587136268616,
0.3138141334056854,
-0.2233283817768097,
-0.01779264025390148,
0.44668325781822205,
0.1704704910516739,
0.001241881400346756,
-0.10440880805253983,
-0.02976073883473873,
-0.29902133345603943,
-0.31735241413116455,
-0.05548197776079178,
0.06166805326938629,
0.16700024902820587,
-0.04584156721830368,
-0.13914133608341217,
-0.07637280970811844,
0.05895519256591797,
-0.03527919948101044,
0.006258191540837288,
0.4235680103302002,
0.19517414271831512,
0.274903267621994,
0.16040699183940887,
-0.12312541902065277,
0.7554829716682434,
0.5446820259094238,
-0.3073400557041168,
0.023726128041744232,
0.03815458342432976,
-0.10890941321849823,
-0.005878187716007233,
0.16397418081760406,
-0.15719887614250183,
-0.30967631936073303,
0.1150086522102356,
-0.050280600786209106,
0.17616410553455353,
0.06708759814500809,
0.40627723932266235,
-0.08498957008123398,
-0.27347105741500854,
-0.6353530287742615,
0.2006474733352661,
0.22059115767478943,
0.07587312161922455,
0.113835409283638,
0.001441851258277893,
-0.2162541300058365,
0.16004103422164917,
0.14310511946678162,
0.6717501878738403,
-0.03069145232439041,
-0.12836229801177979,
-0.07372874021530151,
0.23142753541469574,
0.16002680361270905,
-0.390194296836853,
0.21387340128421783,
-0.24837860465049744,
-0.213027223944664,
-0.05153338611125946,
-0.11167668551206589,
-0.11482550948858261,
0.31041163206100464,
-0.3014478385448456,
0.22667726874351501,
-0.31661736965179443,
-0.11730480194091797,
-0.1931752860546112,
0.5951212644577026,
-0.40621310472488403,
0.04434378445148468,
0.09333983808755875,
0.2500637471675873,
-0.08033905923366547,
0.2330947071313858,
0.01762763224542141,
-0.005986843258142471,
-0.13923126459121704,
-0.08716773986816406,
-0.5714972019195557,
0.09559040516614914,
-0.3902881145477295,
0.4118311405181885,
-0.25468870997428894,
-0.1696924865245819,
0.05452372506260872,
0.09631388634443283,
0.19405457377433777,
0.14009951055049896,
-0.08962881565093994,
0.15859436988830566,
0.30805009603500366,
-0.31988686323165894,
0.13175441324710846,
0.1286298930644989,
0.5172039270401001,
-0.14290739595890045,
-0.19039279222488403,
0.12812456488609314,
0.08220423012971878,
-0.0944058746099472,
0.21961569786071777,
-0.11303554475307465,
0.12309451401233673,
-0.21645677089691162,
-0.30516543984413147,
-0.17102187871932983,
-0.03093772940337658,
-0.12399859726428986,
0.19086074829101562,
-0.10525572299957275,
0.07501833885908127,
0.11358179897069931,
0.20699891448020935,
-0.2609423100948334,
-0.06997628509998322,
0.5473292469978333,
0.03538787364959717,
-0.03994645178318024,
0.4528161287307739,
0.1376163810491562,
-0.23525956273078918,
-0.297240674495697,
0.0628514364361763,
-0.017145004123449326,
-0.22416627407073975,
0.1007651537656784,
-0.0658697634935379,
0.20464934408664703,
-0.03300769627094269,
-0.03936128690838814,
0.20214349031448364,
0.07974713295698166,
-0.15492573380470276,
-0.5466322302818298,
-0.33081600069999695,
0.25728291273117065,
-0.004012662917375565,
0.10210146009922028,
-0.2261452078819275,
-0.004490714520215988,
0.16071327030658722,
-0.2122693508863449,
-0.35388973355293274,
0.08090509474277496,
-0.29726865887641907,
0.06040986627340317,
0.3226790428161621,
-0.08394452184438705,
0.1275472640991211,
-0.050734635442495346,
0.2604580819606781,
-0.02838877961039543,
-0.03896379470825195,
-0.28421512246131897,
0.009750179946422577,
0.059869468212127686,
-0.04206039011478424,
-0.09281503409147263,
-0.13240034878253937,
-0.3429490327835083,
-0.33935031294822693,
0.014877894893288612,
-0.02714541368186474,
0.1792009472846985,
0.11838909983634949,
0.1375853568315506,
-0.12622466683387756,
-0.05200747400522232,
-0.10790836066007614,
0.15088355541229248,
-0.0076593682169914246,
0.08364972472190857,
0.02692614495754242,
0.17333465814590454,
0.16698142886161804,
-0.05624540522694588,
-0.16089990735054016,
-0.027090586721897125,
-0.14400994777679443,
0.07317337393760681,
0.314510315656662,
-0.22802211344242096,
0.1771395206451416,
0.2457537204027176,
0.058939576148986816,
0.42005276679992676,
-0.16526786983013153,
-0.10351108759641647,
-0.09138698130846024,
0.35935652256011963,
-0.2875734269618988,
0.05941537022590637,
0.13635653257369995,
0.010349378921091557,
-0.03213781118392944,
0.025797590613365173,
0.09279866516590118,
-0.03307367488741875,
0.15185318887233734,
0.12894120812416077,
0.5847815275192261,
-0.09398660808801651,
0.22831058502197266,
0.12135885655879974,
0.0341574065387249,
-0.053756941109895706,
0.06605975329875946,
0.24797366559505463,
0.13331739604473114,
0.6074613332748413,
-0.3323970139026642,
0.021696506068110466,
-0.013787232339382172,
0.03804108127951622,
0.04307103902101517,
-0.3360207676887512,
0.04792511835694313,
0.04497280716896057,
-0.024136900901794434,
-0.11634426563978195,
-0.07609370350837708,
0.1558949053287506,
-0.09840170294046402,
-0.05095142498612404,
-0.2309981882572174,
0.0863991379737854,
-0.2810724675655365,
0.1381598711013794,
-0.24671030044555664,
-0.16399630904197693,
-0.2269250750541687,
0.0585491918027401,
-0.07845474779605865,
0.013489905744791031,
0.0897025614976883,
0.3838813304901123,
-0.26777416467666626,
-0.33880943059921265,
0.11313432455062866,
0.10152927041053772,
0.20995593070983887,
-0.3549322187900543,
0.22948291897773743,
0.19476044178009033,
0.07895276695489883,
0.17149287462234497,
0.2270050048828125,
0.47464272379875183,
0.40074920654296875,
-0.052225273102521896,
0.05083002895116806,
0.0979081243276596,
-0.2286950945854187,
-0.09488649666309357,
0.1375475972890854,
0.3165978491306305,
0.1991826295852661,
0.1111144870519638,
0.2761748731136322,
-0.20565931499004364,
0.044257763773202896,
0.027160294353961945,
0.34609588980674744,
-0.02980957366526127,
0.18886752426624298,
-0.19294223189353943,
-0.16201570630073547,
-0.3676902949810028,
0.05093207582831383,
-0.31319811940193176,
-0.12328921258449554,
0.3973477780818939,
-0.21982283890247345,
-0.03076956421136856,
-0.12202469259500504,
0.11490815877914429,
-0.17041608691215515,
0.38958635926246643,
0.40771833062171936,
0.022323772311210632,
-0.4315789043903351,
-0.03745042160153389,
-0.528324544429779,
-0.023499183356761932,
-0.10555648803710938,
0.02134486474096775,
0.01836054027080536,
0.34737420082092285,
-0.30963051319122314,
0.01908285729587078,
0.33751875162124634,
0.14370542764663696,
0.01245714258402586,
0.3879183828830719,
-0.1668468564748764,
-0.06507211923599243,
-0.1635160893201828,
-0.004500506445765495,
-0.016406428068876266,
-0.26563626527786255,
0.06612399220466614,
-0.5669976472854614,
0.1465958058834076,
-0.03914007171988487,
-0.37430712580680847,
0.20849698781967163,
0.3640381395816803,
0.40818795561790466,
-0.13179928064346313,
0.6865522861480713,
-0.13911259174346924,
-0.19314606487751007,
-0.2702290713787079,
-0.26625943183898926,
-0.2637103796005249,
0.2612066864967346,
0.27995240688323975,
0.2722635865211487,
-0.09400118887424469,
-0.1878320425748825,
-0.24835707247257233,
0.3727855086326599,
0.006256423890590668,
-0.23969021439552307,
-0.3305549621582031,
-0.20875339210033417,
-0.16939353942871094,
0.08421314507722855,
0.11148421466350555,
0.03539319336414337,
0.0012896955013275146,
0.06186731159687042,
-0.33887070417404175,
-0.4206545352935791,
0.45920589566230774,
-0.09536715596914291,
0.01938672736287117,
-0.19154644012451172,
0.24580051004886627,
0.2035217583179474,
-0.026786034926772118,
-0.4084336757659912,
0.21363556385040283,
0.3001483976840973,
-0.1244565024971962,
-0.18703319132328033,
0.12227553129196167,
0.04081292450428009,
0.2679309546947479,
-0.038240402936935425,
-0.02111239731311798,
0.006806528195738792,
-0.18963280320167542,
-0.2512020170688629,
-0.10152788460254669
] |
https://github.com/huggingface/datasets/issues/1290 | imdb dataset cannot be downloaded | Hi,
thanks, I did remove the cache and still the same error here
```
>>> a = datasets.load_dataset("imdb", split="train")
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=4902716, num_examples=3680, dataset_name='imdb')}]
```
datasets version
```
datasets 1.1.2 <pip>
tensorflow-datasets 4.1.0 <pip>
``` | hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=7486451, num_examples=5628, dataset_name='imdb')}]
``` | 115 | imdb dataset cannot be downloaded
hi
please find error below getting imdb train spli:
thanks
`
datasets.load_dataset>>> datasets.load_dataset("imdb", split="train")`
errors
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=7486451, num_examples=5628, dataset_name='imdb')}]
```
Hi,
thanks, I did remove the cache and still the same error here
```
>>> a = datasets.load_dataset("imdb", split="train")
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset imdb/plain_text (download: 80.23 MiB, generated: 127.06 MiB, post-processed: Unknown size, total: 207.28 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 558, in _download_and_prepare
verify_splits(self.info.splits, split_dict)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/info_utils.py", line 73, in verify_splits
raise NonMatchingSplitsSizesError(str(bad_splits))
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=4902716, num_examples=3680, dataset_name='imdb')}]
```
datasets version
```
datasets 1.1.2 <pip>
tensorflow-datasets 4.1.0 <pip>
``` | [
-0.48601019382476807,
0.029912933707237244,
-0.18373173475265503,
0.26361745595932007,
0.3486502766609192,
0.30775606632232666,
0.3157055079936981,
0.4439665377140045,
0.21628092229366302,
0.021267779171466827,
-0.09907665103673935,
-0.07242134213447571,
-0.031542353332042694,
0.15809984505176544,
-0.029221776872873306,
-0.12090376019477844,
-0.1767849624156952,
0.012769520282745361,
-0.15878216922283173,
0.01796836405992508,
-0.12832008302211761,
0.2383505254983902,
-0.16184085607528687,
-0.03351995348930359,
-0.43013980984687805,
-0.3121136724948883,
0.13920122385025024,
0.08279797434806824,
-0.3193937838077545,
-0.4591379165649414,
0.39213353395462036,
-0.00823695957660675,
0.24230554699897766,
0.28269457817077637,
-0.00010350621596444398,
-0.03656784072518349,
0.5334969758987427,
-0.10740840435028076,
-0.3835625946521759,
-0.28779441118240356,
-0.3273850977420807,
0.0555790513753891,
-0.0027637649327516556,
-0.27517929673194885,
0.004764474928379059,
-0.02538549154996872,
0.0113665871322155,
-0.39597028493881226,
0.03741355985403061,
0.4941401183605194,
0.29714444279670715,
-0.12976467609405518,
0.2451954334974289,
-0.21809230744838715,
0.24239090085029602,
0.01370394229888916,
0.05297163873910904,
0.24884529411792755,
0.14088115096092224,
0.2723529040813446,
0.24864068627357483,
0.18010972440242767,
-0.3034387230873108,
-0.022096779197454453,
0.2865755259990692,
-0.09728237241506577,
0.16532787680625916,
-0.47060731053352356,
0.17227375507354736,
0.2280542552471161,
0.7382760047912598,
-0.23886194825172424,
-0.3810376524925232,
0.1447506844997406,
0.377194344997406,
-0.1702624410390854,
0.10000105202198029,
0.218276709318161,
-0.18277524411678314,
0.10173887014389038,
-0.21994875371456146,
-0.06628229469060898,
-0.1369592547416687,
0.1590719074010849,
0.08861291408538818,
-0.16050729155540466,
0.049588825553655624,
-0.04003062844276428,
0.09874998033046722,
-0.13440272212028503,
0.25177180767059326,
0.0384320393204689,
-0.002112407237291336,
0.2361702024936676,
-0.26023977994918823,
-0.10021218657493591,
-0.22375884652137756,
0.01929619535803795,
0.06494937092065811,
0.24880093336105347,
-0.1534932404756546,
-0.1331486701965332,
0.016815338283777237,
0.13928698003292084,
0.18214546144008636,
0.1841430515050888,
-0.058251239359378815,
0.31446850299835205,
0.19509103894233704,
0.4538916349411011,
-0.1490831971168518,
-0.10170438140630722,
-0.254164457321167,
-0.13466006517410278,
-0.0824788510799408,
0.14360859990119934,
0.031176332384347916,
-0.1240338385105133,
-0.47825974225997925,
0.044835709035396576,
-0.20128941535949707,
0.12913191318511963,
0.23051869869232178,
0.3140890598297119,
-0.13477875292301178,
0.10469961911439896,
0.22716577351093292,
0.2528126537799835,
0.11597270518541336,
-0.1042448878288269,
-0.24614757299423218,
0.30439603328704834,
-0.09364590793848038,
-0.05657772719860077,
0.3721652626991272,
-0.19967971742153168,
0.3377610743045807,
0.06962572038173676,
0.0036388561129570007,
-0.21059918403625488,
0.20954324305057526,
-0.30078577995300293,
0.02878691256046295,
0.3584665358066559,
0.2556401491165161,
0.2001563459634781,
-0.0840686708688736,
0.12353959679603577,
-0.05888801068067551,
0.04614892601966858,
-0.27438393235206604,
-0.3199225962162018,
-0.0881597250699997,
0.3507595956325531,
0.12622766196727753,
-0.16568511724472046,
-0.32356879115104675,
-0.1998392939567566,
0.09139657020568848,
-0.21301071345806122,
0.004763096570968628,
-0.1729653775691986,
-0.02587030455470085,
-0.13376100361347198,
0.3516489267349243,
0.49137115478515625,
-0.26940470933914185,
0.04580313712358475,
-0.4400699734687805,
-0.14435429871082306,
0.044097136706113815,
0.3456627428531647,
-0.169927716255188,
0.31165799498558044,
-0.3299519121646881,
0.13601304590702057,
0.2640046775341034,
-0.6436083912849426,
-0.5091257691383362,
0.3254254460334778,
-0.03870092332363129,
-0.11843273788690567,
0.23312470316886902,
0.2476874589920044,
0.34422510862350464,
0.043196067214012146,
0.15545804798603058,
0.3124527931213379,
-0.15306653082370758,
-0.09564510732889175,
-0.157430961728096,
-0.28069737553596497,
-0.052122145891189575,
0.1857505887746811,
0.36273252964019775,
0.1378486603498459,
0.11436893045902252,
0.2967052757740021,
0.288788378238678,
0.17750294506549835,
0.10418325662612915,
0.3223491311073303,
0.21642906963825226,
0.1731072962284088,
-0.1532246470451355,
-0.13035519421100616,
-0.29718390107154846,
0.08073550462722778,
0.2190830111503601,
-0.031211890280246735,
-0.27186131477355957,
-0.25093111395835876,
-0.3407042920589447,
-0.2066207081079483,
-0.14832118153572083,
0.01803503930568695,
0.23826390504837036,
-0.04850700497627258,
-0.049365438520908356,
-0.06333138048648834,
-0.2919754385948181,
0.4999568462371826,
-0.2259841412305832,
0.09019693732261658,
-0.29230114817619324,
0.1588742882013321,
-0.2442295402288437,
-0.10255292057991028,
0.12464915215969086,
-0.02847958356142044,
0.12515713274478912,
-0.08232208341360092,
-0.06370288878679276,
0.3320348858833313,
0.037541814148426056,
0.050680648535490036,
0.0673423707485199,
-0.09513168036937714,
0.12415382266044617,
-0.3400791585445404,
0.18442974984645844,
-0.2295352965593338,
0.07100928574800491,
-0.0017824284732341766,
-0.004487268626689911,
-0.05723145604133606,
-0.28017064929008484,
0.06284201890230179,
0.28608185052871704,
0.0964290052652359,
0.2981426417827606,
-0.16036133468151093,
0.04158143699169159,
-0.4865525960922241,
0.07849648594856262,
0.09816566109657288,
0.2395062893629074,
-0.06757333129644394,
-0.2537470757961273,
0.05272597819566727,
0.36755892634391785,
0.1426953226327896,
0.03614538908004761,
0.12185827642679214,
-0.09394989162683487,
0.04511173069477081,
-0.1279810220003128,
0.2976512610912323,
0.18542128801345825,
0.1711168736219406,
0.0062498971819877625,
-0.13303185999393463,
0.22805537283420563,
-0.21654359996318817,
0.23888897895812988,
-0.05326908826828003,
0.07783276587724686,
0.3355536162853241,
-0.09254168719053268,
0.09238770604133606,
-0.15775063633918762,
-0.3601543605327606,
0.08538788557052612,
0.24553431570529938,
-0.22844664752483368,
-0.21908046305179596,
-0.33019566535949707,
-0.26102742552757263,
-0.0584801584482193,
-0.16180069744586945,
0.06486542522907257,
-0.17395524680614471,
-0.11366638541221619,
0.3175642490386963,
0.2524276375770569,
0.07817236334085464,
-0.28758716583251953,
-0.08843494951725006,
0.06085179001092911,
-0.21291542053222656,
-0.12432245165109634,
-0.12317974865436554,
-0.04584578424692154,
0.22666752338409424,
0.3349542021751404,
-0.021135156974196434,
0.25781556963920593,
-0.44027179479599,
-0.008083288557827473,
-0.27700430154800415,
0.08261891454458237,
0.03981991484761238,
0.010816624388098717,
0.0953361988067627,
0.1249908059835434,
0.47732794284820557,
0.12029434740543365,
-0.3079591691493988,
0.0788394957780838,
-0.08086282014846802,
-0.17508435249328613,
-0.000700606033205986,
-0.09257783740758896,
-0.07145003229379654,
0.0025720596313476562,
-0.4792705476284027,
-0.4157935380935669,
-0.3165059983730316,
-0.07136963307857513,
0.057188209146261215,
0.04366275668144226,
0.09773091971874237,
0.23339155316352844,
0.2032419890165329,
0.3070596754550934,
0.18226951360702515,
-0.03703302890062332,
-0.38683515787124634,
0.30215707421302795,
-0.2015399932861328,
-0.20689959824085236,
0.27252301573753357,
-0.011012978851795197,
0.3213927149772644,
0.07168971747159958,
-0.6101097464561462,
0.10166988521814346,
-0.02409668080508709,
0.3465483784675598,
-0.09872333705425262,
-0.10961923003196716,
0.06035962700843811,
-0.06556817144155502,
-0.13395823538303375,
-0.06195441633462906,
-0.03752085939049721,
-0.00040581077337265015,
-0.09017156809568405,
0.19749212265014648,
-0.2317509949207306,
0.5183963179588318,
-0.03805512934923172,
0.3936091661453247,
0.32723140716552734,
-0.12184099853038788,
0.48825427889823914,
-0.05891601741313934,
0.22920483350753784,
-0.20343232154846191,
-0.45544224977493286,
0.03376112878322601,
-0.011605143547058105,
-0.1714821457862854,
-0.1340017020702362,
-0.13923528790473938,
-0.20061692595481873,
-0.08805888891220093,
0.04875932261347771,
-0.3500264883041382,
-0.08182606101036072,
-0.06322240084409714,
-0.18933813273906708,
0.17613109946250916,
-0.03816000372171402,
0.11826052516698837,
-0.02363446354866028,
-0.26392123103141785,
0.11447636783123016,
0.38324087858200073,
0.031314097344875336,
0.15726493299007416,
0.004166752099990845,
-0.2751960754394531,
-0.12348266690969467,
0.19565926492214203,
0.09527554363012314,
0.25814706087112427,
-0.22384323179721832,
0.20998746156692505,
0.13831540942192078,
0.13708537817001343,
0.6306632161140442,
-0.37381690740585327,
0.16064468026161194,
0.10124160349369049,
0.124732106924057,
-0.08509612083435059,
-0.03538152575492859,
-0.18797500431537628,
0.09695915877819061,
0.46243587136268616,
0.3138141334056854,
-0.2233283817768097,
-0.01779264025390148,
0.44668325781822205,
0.1704704910516739,
0.001241881400346756,
-0.10440880805253983,
-0.02976073883473873,
-0.29902133345603943,
-0.31735241413116455,
-0.05548197776079178,
0.06166805326938629,
0.16700024902820587,
-0.04584156721830368,
-0.13914133608341217,
-0.07637280970811844,
0.05895519256591797,
-0.03527919948101044,
0.006258191540837288,
0.4235680103302002,
0.19517414271831512,
0.274903267621994,
0.16040699183940887,
-0.12312541902065277,
0.7554829716682434,
0.5446820259094238,
-0.3073400557041168,
0.023726128041744232,
0.03815458342432976,
-0.10890941321849823,
-0.005878187716007233,
0.16397418081760406,
-0.15719887614250183,
-0.30967631936073303,
0.1150086522102356,
-0.050280600786209106,
0.17616410553455353,
0.06708759814500809,
0.40627723932266235,
-0.08498957008123398,
-0.27347105741500854,
-0.6353530287742615,
0.2006474733352661,
0.22059115767478943,
0.07587312161922455,
0.113835409283638,
0.001441851258277893,
-0.2162541300058365,
0.16004103422164917,
0.14310511946678162,
0.6717501878738403,
-0.03069145232439041,
-0.12836229801177979,
-0.07372874021530151,
0.23142753541469574,
0.16002680361270905,
-0.390194296836853,
0.21387340128421783,
-0.24837860465049744,
-0.213027223944664,
-0.05153338611125946,
-0.11167668551206589,
-0.11482550948858261,
0.31041163206100464,
-0.3014478385448456,
0.22667726874351501,
-0.31661736965179443,
-0.11730480194091797,
-0.1931752860546112,
0.5951212644577026,
-0.40621310472488403,
0.04434378445148468,
0.09333983808755875,
0.2500637471675873,
-0.08033905923366547,
0.2330947071313858,
0.01762763224542141,
-0.005986843258142471,
-0.13923126459121704,
-0.08716773986816406,
-0.5714972019195557,
0.09559040516614914,
-0.3902881145477295,
0.4118311405181885,
-0.25468870997428894,
-0.1696924865245819,
0.05452372506260872,
0.09631388634443283,
0.19405457377433777,
0.14009951055049896,
-0.08962881565093994,
0.15859436988830566,
0.30805009603500366,
-0.31988686323165894,
0.13175441324710846,
0.1286298930644989,
0.5172039270401001,
-0.14290739595890045,
-0.19039279222488403,
0.12812456488609314,
0.08220423012971878,
-0.0944058746099472,
0.21961569786071777,
-0.11303554475307465,
0.12309451401233673,
-0.21645677089691162,
-0.30516543984413147,
-0.17102187871932983,
-0.03093772940337658,
-0.12399859726428986,
0.19086074829101562,
-0.10525572299957275,
0.07501833885908127,
0.11358179897069931,
0.20699891448020935,
-0.2609423100948334,
-0.06997628509998322,
0.5473292469978333,
0.03538787364959717,
-0.03994645178318024,
0.4528161287307739,
0.1376163810491562,
-0.23525956273078918,
-0.297240674495697,
0.0628514364361763,
-0.017145004123449326,
-0.22416627407073975,
0.1007651537656784,
-0.0658697634935379,
0.20464934408664703,
-0.03300769627094269,
-0.03936128690838814,
0.20214349031448364,
0.07974713295698166,
-0.15492573380470276,
-0.5466322302818298,
-0.33081600069999695,
0.25728291273117065,
-0.004012662917375565,
0.10210146009922028,
-0.2261452078819275,
-0.004490714520215988,
0.16071327030658722,
-0.2122693508863449,
-0.35388973355293274,
0.08090509474277496,
-0.29726865887641907,
0.06040986627340317,
0.3226790428161621,
-0.08394452184438705,
0.1275472640991211,
-0.050734635442495346,
0.2604580819606781,
-0.02838877961039543,
-0.03896379470825195,
-0.28421512246131897,
0.009750179946422577,
0.059869468212127686,
-0.04206039011478424,
-0.09281503409147263,
-0.13240034878253937,
-0.3429490327835083,
-0.33935031294822693,
0.014877894893288612,
-0.02714541368186474,
0.1792009472846985,
0.11838909983634949,
0.1375853568315506,
-0.12622466683387756,
-0.05200747400522232,
-0.10790836066007614,
0.15088355541229248,
-0.0076593682169914246,
0.08364972472190857,
0.02692614495754242,
0.17333465814590454,
0.16698142886161804,
-0.05624540522694588,
-0.16089990735054016,
-0.027090586721897125,
-0.14400994777679443,
0.07317337393760681,
0.314510315656662,
-0.22802211344242096,
0.1771395206451416,
0.2457537204027176,
0.058939576148986816,
0.42005276679992676,
-0.16526786983013153,
-0.10351108759641647,
-0.09138698130846024,
0.35935652256011963,
-0.2875734269618988,
0.05941537022590637,
0.13635653257369995,
0.010349378921091557,
-0.03213781118392944,
0.025797590613365173,
0.09279866516590118,
-0.03307367488741875,
0.15185318887233734,
0.12894120812416077,
0.5847815275192261,
-0.09398660808801651,
0.22831058502197266,
0.12135885655879974,
0.0341574065387249,
-0.053756941109895706,
0.06605975329875946,
0.24797366559505463,
0.13331739604473114,
0.6074613332748413,
-0.3323970139026642,
0.021696506068110466,
-0.013787232339382172,
0.03804108127951622,
0.04307103902101517,
-0.3360207676887512,
0.04792511835694313,
0.04497280716896057,
-0.024136900901794434,
-0.11634426563978195,
-0.07609370350837708,
0.1558949053287506,
-0.09840170294046402,
-0.05095142498612404,
-0.2309981882572174,
0.0863991379737854,
-0.2810724675655365,
0.1381598711013794,
-0.24671030044555664,
-0.16399630904197693,
-0.2269250750541687,
0.0585491918027401,
-0.07845474779605865,
0.013489905744791031,
0.0897025614976883,
0.3838813304901123,
-0.26777416467666626,
-0.33880943059921265,
0.11313432455062866,
0.10152927041053772,
0.20995593070983887,
-0.3549322187900543,
0.22948291897773743,
0.19476044178009033,
0.07895276695489883,
0.17149287462234497,
0.2270050048828125,
0.47464272379875183,
0.40074920654296875,
-0.052225273102521896,
0.05083002895116806,
0.0979081243276596,
-0.2286950945854187,
-0.09488649666309357,
0.1375475972890854,
0.3165978491306305,
0.1991826295852661,
0.1111144870519638,
0.2761748731136322,
-0.20565931499004364,
0.044257763773202896,
0.027160294353961945,
0.34609588980674744,
-0.02980957366526127,
0.18886752426624298,
-0.19294223189353943,
-0.16201570630073547,
-0.3676902949810028,
0.05093207582831383,
-0.31319811940193176,
-0.12328921258449554,
0.3973477780818939,
-0.21982283890247345,
-0.03076956421136856,
-0.12202469259500504,
0.11490815877914429,
-0.17041608691215515,
0.38958635926246643,
0.40771833062171936,
0.022323772311210632,
-0.4315789043903351,
-0.03745042160153389,
-0.528324544429779,
-0.023499183356761932,
-0.10555648803710938,
0.02134486474096775,
0.01836054027080536,
0.34737420082092285,
-0.30963051319122314,
0.01908285729587078,
0.33751875162124634,
0.14370542764663696,
0.01245714258402586,
0.3879183828830719,
-0.1668468564748764,
-0.06507211923599243,
-0.1635160893201828,
-0.004500506445765495,
-0.016406428068876266,
-0.26563626527786255,
0.06612399220466614,
-0.5669976472854614,
0.1465958058834076,
-0.03914007171988487,
-0.37430712580680847,
0.20849698781967163,
0.3640381395816803,
0.40818795561790466,
-0.13179928064346313,
0.6865522861480713,
-0.13911259174346924,
-0.19314606487751007,
-0.2702290713787079,
-0.26625943183898926,
-0.2637103796005249,
0.2612066864967346,
0.27995240688323975,
0.2722635865211487,
-0.09400118887424469,
-0.1878320425748825,
-0.24835707247257233,
0.3727855086326599,
0.006256423890590668,
-0.23969021439552307,
-0.3305549621582031,
-0.20875339210033417,
-0.16939353942871094,
0.08421314507722855,
0.11148421466350555,
0.03539319336414337,
0.0012896955013275146,
0.06186731159687042,
-0.33887070417404175,
-0.4206545352935791,
0.45920589566230774,
-0.09536715596914291,
0.01938672736287117,
-0.19154644012451172,
0.24580051004886627,
0.2035217583179474,
-0.026786034926772118,
-0.4084336757659912,
0.21363556385040283,
0.3001483976840973,
-0.1244565024971962,
-0.18703319132328033,
0.12227553129196167,
0.04081292450428009,
0.2679309546947479,
-0.038240402936935425,
-0.02111239731311798,
0.006806528195738792,
-0.18963280320167542,
-0.2512020170688629,
-0.10152788460254669
] |
https://github.com/huggingface/datasets/issues/1287 | 'iwslt2017-ro-nl', cannot be downloaded | Looks like the data has been moved from its original location to google drive
New url: https://drive.google.com/u/0/uc?id=12ycYSzLIG253AFN35Y6qoyf9wtkOjakp&export=download | Hi
I am trying
`>>> datasets.load_dataset("iwslt2017", 'iwslt2017-ro-nl', split="train")`
getting this error thank you for your help
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset iwsl_t217/iwslt2017-ro-nl (download: 314.07 MiB, generated: 39.92 MiB, post-processed: Unknown size, total: 354.00 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/iwsl_t217/iwslt2017-ro-nl/1.0.0/cca6935a0851a8ceac1202a62c958738bdfa23c57a51bc52ac1c5ebd2aa172cd...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/iwslt2017/cca6935a0851a8ceac1202a62c958738bdfa23c57a51bc52ac1c5ebd2aa172cd/iwslt2017.py", line 118, in _split_generators
dl_dir = dl_manager.download_and_extract(MULTI_URL)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/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 "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 179, in download
num_proc=download_config.num_proc,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/py_utils.py", line 216, in map_nested
return function(data_struct)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 477, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
``` | 17 | 'iwslt2017-ro-nl', cannot be downloaded
Hi
I am trying
`>>> datasets.load_dataset("iwslt2017", 'iwslt2017-ro-nl', split="train")`
getting this error thank you for your help
```
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Downloading and preparing dataset iwsl_t217/iwslt2017-ro-nl (download: 314.07 MiB, generated: 39.92 MiB, post-processed: Unknown size, total: 354.00 MiB) to /idiap/temp/rkarimi/cache_home_1/datasets/iwsl_t217/iwslt2017-ro-nl/1.0.0/cca6935a0851a8ceac1202a62c958738bdfa23c57a51bc52ac1c5ebd2aa172cd...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/iwslt2017/cca6935a0851a8ceac1202a62c958738bdfa23c57a51bc52ac1c5ebd2aa172cd/iwslt2017.py", line 118, in _split_generators
dl_dir = dl_manager.download_and_extract(MULTI_URL)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/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 "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 179, in download
num_proc=download_config.num_proc,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/py_utils.py", line 216, in map_nested
return function(data_struct)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 308, in cached_path
use_etag=download_config.use_etag,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/file_utils.py", line 477, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnItNlRo/DeEnItNlRo-DeEnItNlRo.tgz
```
Looks like the data has been moved from its original location to google drive
New url: https://drive.google.com/u/0/uc?id=12ycYSzLIG253AFN35Y6qoyf9wtkOjakp&export=download | [
-0.3419765532016754,
-0.3006090521812439,
-0.15237261354923248,
0.27061331272125244,
0.21390947699546814,
0.2157965898513794,
0.2569397985935211,
0.36505478620529175,
0.1976393163204193,
-0.02013009786605835,
-0.06545204669237137,
-0.11762106418609619,
0.1440996378660202,
-0.029171990230679512,
-0.15182121098041534,
-0.26997241377830505,
-0.06632988899946213,
0.11310502141714096,
-0.12932342290878296,
0.042232856154441833,
-0.3337648808956146,
0.2209874987602234,
-0.17991402745246887,
0.028591547161340714,
-0.31485578417778015,
-0.21582475304603577,
-0.15578898787498474,
0.06681996583938599,
-0.3765223026275635,
-0.3967738151550293,
0.4967115521430969,
0.04401795193552971,
0.35630494356155396,
0.344746857881546,
-0.0001073461098712869,
0.042879827320575714,
0.3648748993873596,
-0.11173994094133377,
-0.2904244661331177,
-0.1810610443353653,
-0.5819844007492065,
-0.36669856309890747,
-0.17559398710727692,
-0.340334415435791,
0.01639719307422638,
-0.40220513939857483,
-0.13949576020240784,
-0.15859270095825195,
0.3906443119049072,
0.3888228237628937,
0.29958462715148926,
0.12328365445137024,
0.2581683397293091,
-0.2987953722476959,
-0.03613508492708206,
-0.2832288146018982,
-0.02014043740928173,
0.21711763739585876,
-0.09709256887435913,
-0.020589644089341164,
0.2999318242073059,
0.20792187750339508,
-0.13224755227565765,
0.08458353579044342,
0.09451737254858017,
-0.13718543946743011,
0.28493642807006836,
-0.4758990705013275,
0.3063419759273529,
0.14199306070804596,
0.6968969106674194,
-0.12300818413496017,
-0.24513818323612213,
0.13307571411132812,
0.0477135069668293,
-0.1949063539505005,
0.12565487623214722,
0.3085876703262329,
-0.14311254024505615,
0.19532759487628937,
-0.15249580144882202,
-0.07156796008348465,
-0.1325485110282898,
0.2132595032453537,
-0.18207550048828125,
0.3298106789588928,
-0.06427408009767532,
0.15440955758094788,
0.3366715610027313,
-0.07298136502504349,
0.21905814111232758,
-0.033260319381952286,
-0.12438374757766724,
0.38618215918540955,
-0.3388734757900238,
0.0024501346051692963,
-0.29905185103416443,
0.018588606268167496,
-0.12565773725509644,
0.04706200212240219,
-0.22194147109985352,
-0.2800479233264923,
0.1643059104681015,
0.12978316843509674,
0.043954964727163315,
0.26672935485839844,
-0.024949893355369568,
0.25575682520866394,
-0.029544971883296967,
0.3510741889476776,
0.09031595289707184,
-0.12884199619293213,
-0.18353086709976196,
-0.3094521760940552,
-0.19679541885852814,
0.09986983239650726,
0.06315045058727264,
-0.12313704192638397,
-0.4885299801826477,
-0.1932276487350464,
-0.05446300655603409,
-0.06705014407634735,
0.0719539225101471,
0.40975072979927063,
-0.0886898934841156,
0.3924993574619293,
0.16389919817447662,
0.23550476133823395,
0.03682287782430649,
-0.25447723269462585,
-0.2585568428039551,
0.31587791442871094,
-0.1857733279466629,
-0.020441150292754173,
0.2933999300003052,
0.08005338907241821,
0.10125663876533508,
0.01598803699016571,
-0.2408086210489273,
-0.1507219523191452,
0.15725097060203552,
-0.22791588306427002,
0.04831603169441223,
0.3992282748222351,
0.14821942150592804,
0.3353997468948364,
0.07065559923648834,
0.04146493971347809,
-0.11989036202430725,
0.13662385940551758,
-0.2916609048843384,
-0.23561371862888336,
-0.08330625295639038,
0.29894936084747314,
-0.08385923504829407,
-0.11657333374023438,
0.008651591837406158,
-0.08905808627605438,
0.21764817833900452,
-0.0663129985332489,
-0.10081057995557785,
-0.08564140647649765,
-0.2119234949350357,
-0.3296174705028534,
0.28405505418777466,
0.35119593143463135,
-0.39996930956840515,
-0.13493740558624268,
-0.2301706224679947,
-0.2683897316455841,
0.31918832659721375,
0.2966535985469818,
-0.19742679595947266,
0.3559426963329315,
-0.27101078629493713,
0.14055421948432922,
0.4296116828918457,
-0.3251672387123108,
-0.594985842704773,
0.3352685272693634,
0.0314200296998024,
-0.19410580396652222,
0.2613491415977478,
0.14190584421157837,
0.0988268330693245,
-0.07796109467744827,
-0.021925903856754303,
0.33221906423568726,
-0.016583101823925972,
-0.0974436104297638,
-0.14842772483825684,
-0.46701350808143616,
0.2685249447822571,
0.2582080364227295,
0.23764201998710632,
0.1317266970872879,
0.08298661559820175,
0.2184663563966751,
0.33160600066185,
0.002422347664833069,
0.21450436115264893,
0.1683981567621231,
0.21442170441150665,
-0.012079216539859772,
-0.08964622020721436,
-0.016022756695747375,
-0.2915899455547333,
0.23233643174171448,
0.03525426238775253,
-0.11781167984008789,
-0.12908333539962769,
0.0036251917481422424,
-0.4926206171512604,
-0.13942858576774597,
-0.42156267166137695,
-0.05691613629460335,
0.19091035425662994,
0.18530318140983582,
0.0793977826833725,
-0.15785843133926392,
-0.0775967538356781,
0.5676695108413696,
-0.31021472811698914,
-0.07210740447044373,
-0.2714795768260956,
0.250762403011322,
-0.14480598270893097,
-0.008544228039681911,
0.07571158558130264,
0.03227066621184349,
0.3183388411998749,
-0.03506764769554138,
-0.17457398772239685,
0.20322754979133606,
-0.1742769479751587,
0.12490775436162949,
0.011304166167974472,
-0.0183868408203125,
0.016113905236124992,
-0.412534236907959,
0.18737076222896576,
-0.023024536669254303,
0.12277545034885406,
-0.01645040512084961,
0.04314474016427994,
0.05711914598941803,
0.04578925296664238,
0.1377023458480835,
0.07108761370182037,
0.0011138934642076492,
0.3079362213611603,
-0.31631192564964294,
0.09145437926054001,
-0.19244638085365295,
0.12633435428142548,
-0.05429725721478462,
0.009226236492395401,
-0.053624436259269714,
0.1528143733739853,
-0.09570743888616562,
0.42494237422943115,
0.09550364315509796,
0.0690915510058403,
0.003623060882091522,
0.0028497129678726196,
0.1753263771533966,
-0.276048868894577,
0.51854008436203,
0.36555278301239014,
0.07511283457279205,
0.07840470224618912,
-0.11503801494836807,
0.12880396842956543,
-0.10842282325029373,
0.22477009892463684,
0.0476507693529129,
-0.0041816444136202335,
0.2197386920452118,
-0.06760416179895401,
-0.09825719892978668,
-0.09231722354888916,
-0.0493154302239418,
0.26563528180122375,
0.35202014446258545,
-0.10401882231235504,
0.006047507748007774,
-0.24638618528842926,
-0.295322060585022,
-0.27870282530784607,
-0.1008472815155983,
-0.04771965369582176,
-0.15356320142745972,
-0.23783724009990692,
0.17716853320598602,
0.2375487983226776,
0.11926870048046112,
-0.2360265702009201,
0.1147165447473526,
0.02581348828971386,
-0.029452810063958168,
-0.16041108965873718,
0.02188216894865036,
-0.19700634479522705,
0.2072576880455017,
0.31020429730415344,
0.052794359624385834,
0.5148773193359375,
-0.2965628206729889,
-0.0328364297747612,
-0.26076215505599976,
0.09099847823381424,
-0.058874666690826416,
-0.010622646659612656,
0.01266835443675518,
0.1085725724697113,
0.5615019798278809,
0.1883689910173416,
-0.22395853698253632,
0.3116091787815094,
-0.06662140041589737,
-0.04889444261789322,
-0.15120118856430054,
-0.14956200122833252,
-0.04866340011358261,
-0.08597812056541443,
-0.4663753807544708,
-0.6394460797309875,
-0.4285479784011841,
-0.10549084842205048,
-0.12990477681159973,
0.01856277510523796,
0.1035204529762268,
0.1360279619693756,
-0.08062352985143661,
0.1401032954454422,
-0.14223264157772064,
-0.15307220816612244,
-0.1259029656648636,
0.48834067583084106,
-0.13841383159160614,
-0.2780933976173401,
0.24635234475135803,
0.05174312740564346,
0.3558723032474518,
0.12225937843322754,
-0.4612588882446289,
0.2047155201435089,
-0.17894551157951355,
0.23390129208564758,
-0.12333448231220245,
0.1875351220369339,
0.12917719781398773,
-0.12157944589853287,
-0.07016923278570175,
-0.0898955762386322,
-0.007721485570073128,
-0.07678044587373734,
0.014769705012440681,
0.5862774848937988,
0.011255791410803795,
0.32505470514297485,
-0.06363387405872345,
0.5220998525619507,
0.3522050082683563,
-0.11578261852264404,
0.5259755849838257,
0.03134898841381073,
0.013513945043087006,
-0.08200428634881973,
-0.6337781548500061,
0.023040270432829857,
-0.106198251247406,
0.08686462044715881,
0.22441691160202026,
-0.14416316151618958,
-0.2223573625087738,
-0.16772955656051636,
-0.004381189122796059,
-0.14882083237171173,
-0.04744800925254822,
0.034309402108192444,
0.38307610154151917,
0.4424399733543396,
0.03389962762594223,
-0.04803982004523277,
-0.20914757251739502,
-0.13178367912769318,
0.0974782407283783,
0.29612135887145996,
-0.13472947478294373,
0.24793267250061035,
-0.016555648297071457,
-0.19647975265979767,
-0.2588476836681366,
0.1430327445268631,
0.23605388402938843,
0.32981982827186584,
-0.20338407158851624,
0.16999894380569458,
0.1397540122270584,
0.028266338631510735,
0.5790624022483826,
-0.1956944316625595,
0.11820562928915024,
0.23138639330863953,
0.2583262324333191,
-0.04881185293197632,
-0.1092301607131958,
-0.14931555092334747,
0.23385195434093475,
0.32528507709503174,
0.2348414957523346,
-0.2585185170173645,
-0.11946223676204681,
0.24512529373168945,
0.3395390510559082,
-0.29773184657096863,
-0.3928259313106537,
-0.3186821937561035,
-0.4542883038520813,
-0.46966585516929626,
-0.1589418351650238,
0.0924782082438469,
0.31048792600631714,
-0.20889893174171448,
0.06575769186019897,
-0.04960078001022339,
-0.1515217423439026,
0.09414689242839813,
0.15504510700702667,
0.39057958126068115,
0.2684718668460846,
0.16716265678405762,
0.22034968435764313,
0.12064872682094574,
0.09372717887163162,
0.5806072354316711,
-0.08201467990875244,
-0.18156233429908752,
0.1683236062526703,
-0.06758545339107513,
-0.008602187037467957,
0.1252850741147995,
-0.15802936255931854,
0.0009667873382568359,
0.09022224694490433,
0.044686365872621536,
0.1281658560037613,
0.1415165364742279,
0.39601996541023254,
-0.14220263063907623,
-0.5698533058166504,
-0.5394012928009033,
0.4596921503543854,
0.06267859041690826,
0.0551532506942749,
0.23578791320323944,
-0.04087898135185242,
-0.11551688611507416,
-0.16616742312908173,
-0.13889393210411072,
0.8912355303764343,
-0.02215845137834549,
-0.15484227240085602,
0.19376876950263977,
0.1800163984298706,
0.34203118085861206,
-0.20028041303157806,
0.16217482089996338,
-0.2236507683992386,
0.007699260488152504,
-0.05335264280438423,
-0.1299174427986145,
0.08730770647525787,
0.28662022948265076,
-0.24300627410411835,
0.3370767831802368,
-0.15298065543174744,
0.028246711939573288,
0.1536393165588379,
0.46862465143203735,
-0.23698118329048157,
-0.12348619103431702,
-0.21348713338375092,
0.2599334120750427,
-0.06979058682918549,
0.2494768351316452,
-0.22051864862442017,
-0.18043088912963867,
0.007784869521856308,
-0.10790108889341354,
-0.22876989841461182,
0.18130341172218323,
-0.2994193434715271,
0.592789888381958,
-0.19982574880123138,
0.004269130527973175,
0.28114789724349976,
0.16102278232574463,
0.3320011496543884,
0.017054008319973946,
-0.2426314651966095,
0.24263037741184235,
-0.07031726092100143,
-0.29510557651519775,
-0.2690461575984955,
0.14145946502685547,
0.10523054003715515,
-0.19327950477600098,
-0.3641044497489929,
0.15243038535118103,
-0.09825996309518814,
-0.15374484658241272,
0.10272985696792603,
-0.06493911147117615,
0.42510074377059937,
-0.22203782200813293,
-0.13766242563724518,
-0.10384586453437805,
0.06518860161304474,
-0.1359352022409439,
0.18793019652366638,
-0.0017167404294013977,
-0.14787669479846954,
0.06155330315232277,
-0.11090719699859619,
-0.21536725759506226,
-0.05259772017598152,
0.4336761236190796,
0.06250711530447006,
0.02774803340435028,
0.6179629564285278,
0.09153987467288971,
-0.12212346494197845,
-0.32338038086891174,
-0.09192875027656555,
-0.08564642071723938,
-0.47712332010269165,
0.07897468656301498,
0.11389993876218796,
0.07123062014579773,
-0.18595558404922485,
0.4050690829753876,
0.25361698865890503,
0.012754611670970917,
0.0016876161098480225,
-0.6548894643783569,
-0.301687628030777,
-0.03930771350860596,
-0.02121518924832344,
0.15945756435394287,
-0.1859036684036255,
0.027367908507585526,
0.17942115664482117,
-0.14606036245822906,
-0.35067254304885864,
0.011671341024339199,
-0.2205643206834793,
0.07515270262956619,
0.45764416456222534,
-0.13159525394439697,
0.1161370575428009,
0.11739489436149597,
0.21251629292964935,
0.07656511664390564,
-0.1298949420452118,
-0.3067094683647156,
-0.12196138501167297,
0.11140206456184387,
-0.08354469388723373,
-0.19049124419689178,
-0.09032109379768372,
-0.34953123331069946,
-0.12418194115161896,
0.1055314838886261,
-0.1069643497467041,
0.020526036620140076,
0.0696953535079956,
0.09642092138528824,
0.17024292051792145,
-0.022158831357955933,
-0.2776297628879547,
0.2832111120223999,
0.08624731004238129,
0.19386042654514313,
0.052724048495292664,
0.29067134857177734,
0.19940347969532013,
0.016856104135513306,
-0.11402278393507004,
-0.17118462920188904,
0.2523236572742462,
-0.17427077889442444,
0.015836209058761597,
-0.31206780672073364,
0.22894322872161865,
0.18223613500595093,
0.038892149925231934,
0.5452498197555542,
-0.19492068886756897,
0.17022474110126495,
0.1145869567990303,
0.2919922471046448,
-0.35641223192214966,
0.013185756281018257,
0.13639019429683685,
-0.012140939943492413,
-0.1282098889350891,
0.06473508477210999,
0.19133394956588745,
-0.16453824937343597,
0.1727178990840912,
0.03616579994559288,
0.4443301260471344,
-0.11376118659973145,
0.03339652344584465,
0.32059386372566223,
0.1102304756641388,
0.007384125143289566,
0.15035204589366913,
0.08691447228193283,
0.10490353405475616,
0.3699612617492676,
-0.351908415555954,
0.33418378233909607,
-0.02924603968858719,
0.19606395065784454,
-0.0807114914059639,
-0.46358856558799744,
-0.013280365616083145,
-0.02710627019405365,
-0.028007641434669495,
-0.06412974745035172,
-0.08368590474128723,
0.23076245188713074,
-0.057837095111608505,
-0.20757870376110077,
-0.39425867795944214,
0.2716931104660034,
-0.13837116956710815,
-0.016873709857463837,
-0.20874498784542084,
-0.15757012367248535,
-0.31388455629348755,
0.020066332072019577,
0.09447615593671799,
-0.21636779606342316,
0.27688759565353394,
0.1739005595445633,
-0.06741811335086823,
-0.2864433825016022,
-0.03544630855321884,
0.36205971240997314,
0.007548965513706207,
-0.3814489543437958,
0.25368812680244446,
0.24129946529865265,
-0.16375082731246948,
0.10194307565689087,
0.21052934229373932,
0.39050522446632385,
0.34194982051849365,
0.051830753684043884,
0.10034870356321335,
0.041061967611312866,
-0.17556695640087128,
-0.05254750698804855,
0.2474576085805893,
0.12287970632314682,
0.21337200701236725,
0.3228827714920044,
0.2559884190559387,
-0.20552147924900055,
-0.25374144315719604,
-0.1055227518081665,
0.15732841193675995,
-0.05362242832779884,
0.3031085431575775,
-0.33276787400245667,
-0.0193307064473629,
-0.37223881483078003,
0.14895674586296082,
-0.5131067633628845,
0.026510298252105713,
0.3228519558906555,
-0.10770615190267563,
0.16390609741210938,
0.05333290621638298,
0.08158248662948608,
-0.32273542881011963,
0.5315330624580383,
0.33205074071884155,
0.19475427269935608,
-0.43371906876564026,
-0.3740611672401428,
-0.7417868971824646,
-0.0608782097697258,
-0.20600876212120056,
0.024565817788243294,
-0.19292311370372772,
0.18624252080917358,
-0.1321679651737213,
0.03754016384482384,
0.18254631757736206,
0.21909362077713013,
0.2363608479499817,
0.2899664640426636,
-0.2522946000099182,
-0.2005007117986679,
0.03718502074480057,
0.2285679131746292,
0.039038754999637604,
-0.4399992823600769,
0.11953969299793243,
-0.3286365568637848,
0.133594810962677,
-0.08458549529314041,
-0.2835860252380371,
0.1401756852865219,
0.04474566504359245,
0.3270392417907715,
0.16655337810516357,
0.6542962789535522,
-0.08364637941122055,
-0.13445769250392914,
-0.34802815318107605,
-0.16845102608203888,
-0.11310317367315292,
0.15009060502052307,
0.21062923967838287,
0.3543979823589325,
-0.11149722337722778,
0.37593191862106323,
-0.3795745372772217,
0.09545203298330307,
-0.06908728927373886,
-0.12112930417060852,
-0.27004384994506836,
-0.13153378665447235,
-0.15514935553073883,
0.1941409707069397,
0.28513699769973755,
0.10619106888771057,
-0.09253771603107452,
-0.01119983196258545,
-0.1500883400440216,
-0.2279430776834488,
0.504525899887085,
-0.3369377553462982,
-0.3883260488510132,
-0.04373006522655487,
0.11521436274051666,
0.06463165581226349,
0.21628130972385406,
-0.29582417011260986,
0.2166944444179535,
0.33618855476379395,
-0.09630585461854935,
-0.10009565949440002,
0.2369077056646347,
0.04552320018410683,
0.14246799051761627,
0.06295964121818542,
-0.01663193106651306,
0.09738381206989288,
-0.22651904821395874,
-0.05449013411998749,
-0.20479877293109894
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | I remember also getting the same issue for several other translation datasets like all the iwslt2017 group, this is blokcing me and I really need to fix it and I was wondering if you have an idea on this. @lhoestq thanks,. | Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 41 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
I remember also getting the same issue for several other translation datasets like all the iwslt2017 group, this is blokcing me and I really need to fix it and I was wondering if you have an idea on this. @lhoestq thanks,. | [
-0.019735246896743774,
-0.7191826105117798,
0.003932256251573563,
0.34936773777008057,
0.4842424988746643,
0.007673710584640503,
0.24244429171085358,
0.1216878592967987,
-0.2513468563556671,
0.32793980836868286,
-0.0821482390165329,
-0.12255509197711945,
-0.1213337704539299,
0.39860180020332336,
0.02426224760711193,
-0.25567901134490967,
-0.09959480911493301,
0.07821543514728546,
-0.3232806622982025,
0.18504191935062408,
-0.09759572893381119,
0.2666341960430145,
-0.379064679145813,
0.2954922020435333,
-0.07734625041484833,
0.08844742178916931,
0.10734860599040985,
0.08454465866088867,
-0.016582438722252846,
-0.3517344892024994,
0.05904131382703781,
-0.09192994236946106,
-0.30891552567481995,
0.3623271882534027,
-0.00012317136861383915,
-0.1029600128531456,
0.2742364704608917,
0.044334776699543,
-0.029856067150831223,
-0.10642759501934052,
0.2643364369869232,
0.5919192433357239,
-0.12856312096118927,
0.15562906861305237,
-0.11999586969614029,
0.03900650143623352,
0.13196071982383728,
-0.026219552382826805,
0.25473278760910034,
0.2040432244539261,
0.11398900300264359,
0.357277512550354,
0.4076770544052124,
0.007705449126660824,
-0.06443732231855392,
-0.04712122678756714,
-0.20666517317295074,
0.1545078307390213,
0.06572145968675613,
-0.19963599741458893,
0.10901527106761932,
-0.00044987350702285767,
0.19067852199077606,
-0.03349566087126732,
-0.21986529231071472,
-0.31239718198776245,
-0.037012480199337006,
-0.4571155607700348,
0.015099210664629936,
0.4477548897266388,
-0.09957826882600784,
-0.2989670932292938,
-0.13213258981704712,
0.24118635058403015,
0.03615407273173332,
-0.787157416343689,
0.013645745813846588,
0.16793705523014069,
-0.05022440850734711,
0.2885328233242035,
-0.13750894367694855,
0.12632673978805542,
-0.29183530807495117,
0.016448885202407837,
-0.09075594693422318,
0.29646629095077515,
-0.19855627417564392,
0.26844990253448486,
0.32298097014427185,
0.19400523602962494,
-0.38491857051849365,
0.18922528624534607,
0.008145298808813095,
0.10690874606370926,
-0.30580294132232666,
-0.2175879031419754,
0.1347348690032959,
0.053211718797683716,
0.2911435067653656,
0.12506148219108582,
-0.04921327531337738,
0.026652157306671143,
-0.03143114596605301,
0.1974620521068573,
0.2514950633049011,
-0.03222403675317764,
0.0891961082816124,
0.12615728378295898,
0.15753662586212158,
0.503788948059082,
0.0537349097430706,
0.20317679643630981,
0.09662721306085587,
-0.20185533165931702,
0.08166307210922241,
-0.07021021097898483,
0.5441358089447021,
-0.16961394250392914,
-0.5968496799468994,
0.49578288197517395,
-0.49427443742752075,
-0.008591554127633572,
0.23240919411182404,
0.46704065799713135,
-0.16043397784233093,
0.07539548724889755,
0.2514839172363281,
-0.10504351556301117,
0.03363741934299469,
0.034513603895902634,
-0.08037053048610687,
0.22070558369159698,
0.12289266288280487,
0.22211548686027527,
-0.14876611530780792,
-0.4933040738105774,
0.15991449356079102,
-0.18978852033615112,
0.29031747579574585,
-0.695383608341217,
-0.22884999215602875,
-0.3666117787361145,
-0.06040891259908676,
0.11378541588783264,
-0.10192917287349701,
-0.15944600105285645,
0.2681771218776703,
0.08489881455898285,
-0.013057507574558258,
0.023295585066080093,
0.23347505927085876,
-0.3981197774410248,
0.1256915181875229,
0.17274920642375946,
-0.10562744736671448,
0.16109265387058258,
0.09974551945924759,
-0.05471405014395714,
-0.037544600665569305,
0.211003839969635,
0.08178503811359406,
-0.023355204612016678,
-0.5620618462562561,
0.06348825991153717,
0.2465737760066986,
0.3047661781311035,
0.08224157989025116,
-0.07702983915805817,
0.15127865970134735,
-0.05023897811770439,
0.054323531687259674,
0.42099130153656006,
-0.05389947444200516,
0.46649158000946045,
-0.27110010385513306,
0.17708291113376617,
0.2772975265979767,
-0.36528486013412476,
-0.00031365733593702316,
0.1826029121875763,
-0.2375146895647049,
0.11174271255731583,
-0.2652016282081604,
-0.4663343131542206,
-0.16545918583869934,
-0.11834065616130829,
0.13497820496559143,
-0.07894162088632584,
-0.2356962263584137,
-0.0736636146903038,
-0.3157055079936981,
-0.05009961873292923,
0.24591468274593353,
0.11082707345485687,
0.05050596594810486,
-0.21297240257263184,
0.10192554444074631,
-0.08968337625265121,
0.22759604454040527,
0.005847997963428497,
-0.231659933924675,
0.11156708002090454,
0.4407879114151001,
-0.03695195913314819,
-0.05229753255844116,
-0.11415271461009979,
-0.11671977490186691,
0.11469592899084091,
-0.09511158615350723,
0.20585617423057556,
0.26406192779541016,
-0.014000661671161652,
-0.22278857231140137,
0.32151052355766296,
-0.278810054063797,
-0.2408592700958252,
0.12970495223999023,
-0.012640498578548431,
-0.11740575730800629,
0.04666714742779732,
0.06695374846458435,
-0.005232818424701691,
-0.5102658271789551,
0.1701667159795761,
0.12928910553455353,
0.04795452207326889,
-0.4098980724811554,
-0.03450792655348778,
-0.021976662799715996,
0.16783782839775085,
0.09300500899553299,
-0.23054108023643494,
-0.06147811561822891,
0.47442626953125,
-0.060940515249967575,
0.1962464451789856,
-0.017882108688354492,
-0.2281215637922287,
-0.019167793914675713,
-0.6979160308837891,
-0.3184911608695984,
-0.009240208193659782,
0.18234483897686005,
-0.13309532403945923,
0.4334770441055298,
0.29503026604652405,
0.18942178785800934,
-0.031317971646785736,
0.13065314292907715,
-0.14529582858085632,
-0.10541317611932755,
-0.02417728863656521,
-0.19707077741622925,
-0.04128071665763855,
0.4775484502315521,
0.07916384190320969,
-0.08331479132175446,
-0.09075010567903519,
-0.5611175894737244,
-0.18413203954696655,
0.31833240389823914,
-0.20063592493534088,
0.08324563503265381,
0.21854007244110107,
0.2986202538013458,
-0.10663821548223495,
-0.1744052767753601,
-0.23894807696342468,
0.40702497959136963,
-0.06667841225862503,
-0.0943470448255539,
0.3965406119823456,
-0.18294395506381989,
0.17729422450065613,
0.3061527907848358,
0.14699362218379974,
0.2547304034233093,
0.33553579449653625,
0.075904980301857,
0.054832302033901215,
-0.34063398838043213,
0.14825673401355743,
-0.11495529115200043,
0.20893418788909912,
-0.20452718436717987,
0.22363637387752533,
-0.22225698828697205,
0.17000293731689453,
-0.2625816762447357,
-0.2926507890224457,
-0.1523296982049942,
-0.07432054728269577,
0.020759260281920433,
0.3121844232082367,
0.11470717191696167,
0.23489375412464142,
0.3013083338737488,
0.27100276947021484,
0.17967458069324493,
0.24606838822364807,
0.05816400796175003,
0.11481112241744995,
-0.2809869647026062,
-0.07139524817466736,
0.4093821942806244,
-0.39833539724349976,
0.4378204643726349,
0.0031498707830905914,
-0.3976994752883911,
-0.18454831838607788,
-0.38690853118896484,
0.26672983169555664,
-0.3574422597885132,
0.4122443199157715,
0.23498941957950592,
0.09890250861644745,
0.28837960958480835,
-0.08207827806472778,
0.25496652722358704,
-0.1147717833518982,
-0.27364635467529297,
0.1317073255777359,
0.048921167850494385,
-0.0504889152944088,
-0.14709274470806122,
-0.1372152864933014,
-0.07600778341293335,
-0.15872864425182343,
0.43611323833465576,
0.01669428125023842,
0.2049041986465454,
0.3152824938297272,
0.096909299492836,
0.22707518935203552,
-0.025358015671372414,
0.12944132089614868,
-0.3533499538898468,
-0.2036486268043518,
-0.06270076334476471,
0.03519962728023529,
-0.22376562654972076,
-0.03329057618975639,
0.09554175287485123,
0.313840389251709,
-0.11569763720035553,
-0.39862340688705444,
-0.25390708446502686,
0.2589057683944702,
-0.4011824429035187,
0.028634630143642426,
-0.0587613508105278,
0.22507405281066895,
-0.022760098800063133,
0.002358516678214073,
0.1034691110253334,
-0.16576866805553436,
0.29174286127090454,
0.0014568120241165161,
0.42083507776260376,
-0.058270953595638275,
0.40735191106796265,
0.19073793292045593,
0.2507786750793457,
0.2218792885541916,
-0.10741846263408661,
0.2332933247089386,
-0.07608848810195923,
0.23002198338508606,
0.06269373744726181,
-0.21861541271209717,
0.1225987896323204,
-0.18151545524597168,
-0.06786792725324631,
0.21538355946540833,
-0.28483545780181885,
0.1016199141740799,
-0.24256238341331482,
0.37863820791244507,
-0.3925977945327759,
-0.23058050870895386,
-0.07280045002698898,
0.0848512053489685,
0.29804447293281555,
-0.21830344200134277,
-0.16122613847255707,
0.334633469581604,
0.1729963719844818,
0.16496093571186066,
0.1857610046863556,
-0.00971967726945877,
-0.2947642505168915,
0.17682941257953644,
-0.43411266803741455,
-0.19745218753814697,
0.20376786589622498,
0.17791947722434998,
0.38425156474113464,
-0.15913093090057373,
-0.19127196073532104,
0.0965438261628151,
-0.3532339930534363,
0.2157043218612671,
-0.10900046676397324,
0.1710740327835083,
-0.019114555791020393,
-0.24548467993736267,
0.01433352567255497,
-0.1819859743118286,
-0.2506859302520752,
-0.13940340280532837,
-0.050833720713853836,
0.270518958568573,
-0.44358640909194946,
-0.05803462862968445,
0.9266166687011719,
-0.030704164877533913,
-0.2027936428785324,
-0.05450901389122009,
-0.38225188851356506,
-0.3325400948524475,
-0.21780629456043243,
0.3268848657608032,
0.08035973459482193,
0.15957947075366974,
-0.25949764251708984,
0.054746661335229874,
0.16132058203220367,
-0.07964581251144409,
0.18562869727611542,
0.018070179969072342,
-0.14777198433876038,
-0.22347180545330048,
-0.004638979211449623,
-0.08090680092573166,
-0.22146359086036682,
0.3577398657798767,
0.06634563207626343,
0.12238803505897522,
0.04037894681096077,
-0.14503228664398193,
0.27325546741485596,
0.2892638146877289,
0.4261303246021271,
-0.2185797542333603,
0.2583729326725006,
-0.1215016096830368,
0.23011519014835358,
-0.29380783438682556,
0.1149604544043541,
0.5577460527420044,
0.18978267908096313,
-0.3376103639602661,
0.3320046663284302,
0.18067456781864166,
-0.33609673380851746,
0.12177488207817078,
0.47377312183380127,
0.2906242907047272,
-0.03468186408281326,
0.003371274098753929,
0.05442932993173599,
1.0767908096313477,
-0.10631729662418365,
-0.14102044701576233,
0.3265562057495117,
-0.28864389657974243,
-0.06298955529928207,
0.17114660143852234,
0.07446952164173126,
-0.37388238310813904,
-0.20141960680484772,
-0.11419158428907394,
-0.09973163902759552,
0.18291549384593964,
-0.5049661993980408,
-0.4686191976070404,
0.2706860601902008,
0.2902293801307678,
0.04739414528012276,
0.13620467483997345,
0.035153307020664215,
0.051324084401130676,
0.02967527136206627,
-0.14739282429218292,
0.07575822621583939,
-0.17710153758525848,
0.49552255868911743,
-0.35210394859313965,
0.006089668720960617,
0.14251403510570526,
-0.23393766582012177,
-0.5489823222160339,
0.19741663336753845,
-0.7597703337669373,
-0.21724186837673187,
0.1435348391532898,
-0.09565668553113937,
0.21646444499492645,
-0.04253065958619118,
0.12113037705421448,
0.23698770999908447,
-0.09849423170089722,
-0.07104937732219696,
-0.06604404002428055,
-0.2263091802597046,
-0.2782440483570099,
0.0803147405385971,
0.14884215593338013,
-0.10123033821582794,
-0.3922500014305115,
0.23637646436691284,
-0.03789244964718819,
-0.12452436238527298,
0.25630173087120056,
-0.1621960997581482,
0.021644368767738342,
-0.149598628282547,
-0.2880111038684845,
0.11660754680633545,
-0.405070036649704,
-0.3859919011592865,
0.044125400483608246,
-0.0842706561088562,
-0.6793950200080872,
-0.01048339158296585,
0.2277967631816864,
-0.2703295350074768,
0.07093808054924011,
0.30313730239868164,
-0.4074924886226654,
0.4476475715637207,
0.2836988568305969,
0.307038813829422,
-0.04565349966287613,
-0.250875860452652,
-0.24758070707321167,
-0.0962148979306221,
-0.2398616075515747,
0.1254103034734726,
-0.11796517670154572,
0.011782243847846985,
-0.01796618290245533,
0.3521895706653595,
0.20090286433696747,
0.1305582970380783,
-0.042113713920116425,
-0.13269180059432983,
-0.43223097920417786,
0.11334839463233948,
0.08952708542346954,
0.3084595501422882,
0.007049068808555603,
0.8161123394966125,
0.00500136986374855,
0.1381087601184845,
-0.21684986352920532,
0.1537138968706131,
-0.547508955001831,
0.1356404423713684,
0.5144497156143188,
-0.39671167731285095,
0.2740754783153534,
0.12115262448787689,
0.13073290884494781,
0.317793071269989,
-0.25036123394966125,
-0.1576969027519226,
-0.028146449476480484,
0.14645564556121826,
0.13945552706718445,
-0.21265265345573425,
0.022794414311647415,
0.1708485186100006,
0.08569399267435074,
0.16919954121112823,
0.014253620058298111,
-0.1359177976846695,
0.07205808907747269,
0.022714171558618546,
0.5171648263931274,
0.06628890335559845,
-0.133510559797287,
-0.3067290782928467,
-0.059498414397239685,
0.28508293628692627,
0.15475012362003326,
-0.04662487655878067,
-0.004914268851280212,
-0.32299721240997314,
-0.01576792635023594,
0.0993025153875351,
0.2712792754173279,
-0.094981350004673,
0.19537681341171265,
-0.26455092430114746,
-0.3805362582206726,
-0.2151186317205429,
0.5645759105682373,
0.3280046880245209,
-0.32669660449028015,
0.08652766793966293,
-0.030416421592235565,
0.018389780074357986,
-0.266876757144928,
0.1713368445634842,
-0.18925437331199646,
-0.15144264698028564,
-0.03069489635527134,
0.5003805160522461,
-0.10475509613752365,
0.20286515355110168,
0.03715953975915909,
0.2137015461921692,
-0.0002257172018289566,
-0.1407930999994278,
-0.08964632451534271,
0.03101312182843685,
-0.20036086440086365,
0.16957442462444305,
0.1094609722495079,
-0.15665052831172943,
0.37081655859947205,
-0.3239777684211731,
-0.025868184864521027,
0.3565201759338379,
-0.5007634162902832,
0.3787524402141571,
0.1755797266960144,
-0.2727210819721222,
0.0502874031662941,
0.25546586513519287,
0.051725927740335464,
0.1064758226275444,
0.057463567703962326,
0.5036067366600037,
0.045385003089904785,
-0.3039708137512207,
-0.06315948069095612,
0.4623817503452301,
-0.1607014536857605,
-0.2788868546485901,
0.10730208456516266,
-0.06372712552547455,
-0.31151390075683594,
0.13466069102287292,
0.14209780097007751,
-0.02707427740097046,
0.06339430809020996,
0.09797834604978561,
-0.30878472328186035,
-0.16464011371135712,
-0.4011577069759369,
0.22077688574790955,
0.23651790618896484,
-0.23796984553337097,
0.5151308178901672,
0.2662871181964874,
-0.037103310227394104,
-0.2489866316318512,
0.7079613208770752,
0.37040048837661743,
-0.04467419534921646,
-0.171179860830307,
0.13767293095588684,
-0.2246430665254593,
0.11204002797603607,
0.25991204380989075,
-0.07637380063533783,
0.04785957187414169,
-0.013904064893722534,
0.17071747779846191,
0.009295511990785599,
-0.08988572657108307,
0.11085176467895508,
0.13396912813186646,
-0.31267061829566956,
-0.2695254981517792,
0.16545771062374115,
0.014774642884731293,
-0.00659535825252533,
-0.48887941241264343,
0.38135766983032227,
-0.26002269983291626,
0.6083683371543884,
0.36336466670036316,
-0.01677231676876545,
0.14146572351455688,
0.2023962140083313,
0.0427674874663353,
0.24537429213523865,
0.37040019035339355,
0.2853342294692993,
-0.1474469006061554,
-0.3849027752876282,
-0.3310813903808594,
-0.3185829520225525,
0.24926114082336426,
-0.011536069214344025,
0.46200162172317505,
0.22918441891670227,
0.13495245575904846,
-0.22894534468650818,
0.03396767005324364,
0.4562619924545288,
0.24487507343292236,
0.06480100005865097,
0.12697440385818481,
-0.21027156710624695,
0.08806735277175903,
-0.16163752973079681,
-0.2616661489009857,
0.060345590114593506,
-0.19204744696617126,
0.1918267160654068,
-0.2449941635131836,
-0.03858940675854683,
-0.01824047788977623,
0.05765683203935623,
-0.41939496994018555,
-0.07116588205099106,
0.1217799037694931,
-0.07177776098251343,
-0.035325273871421814,
-0.14743736386299133,
-0.31512969732284546,
0.029259219765663147,
-0.018770731985569,
-0.037876613438129425,
0.2944748103618622,
0.07754558324813843,
-0.005425367504358292,
0.14762850105762482,
-0.4997338354587555,
-0.274305522441864,
0.025823621079325676,
0.4406975507736206,
-0.2658596932888031,
-0.24880722165107727,
0.1811848133802414,
0.030760273337364197,
-0.24000412225723267,
0.13206534087657928,
0.3002212345600128,
0.06488694995641708,
0.09182757884263992,
-0.5590923428535461,
-0.16210727393627167,
0.6869645118713379,
0.3171427547931671,
0.005396995693445206,
-0.1448841392993927,
0.10809707641601562,
0.21409499645233154,
-0.2759183347225189,
-0.8308284282684326,
0.07735242694616318,
0.11107919365167618,
0.034342002123594284,
-0.3358501195907593,
0.4130391776561737,
-0.39655083417892456,
0.03054192289710045,
0.14695633947849274,
0.2626531720161438,
0.20950785279273987,
0.0917728915810585,
0.31629765033721924,
-0.14238479733467102
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | maybe there is an empty line or something inside these datasets? could you tell me why this is happening? thanks | Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 20 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
maybe there is an empty line or something inside these datasets? could you tell me why this is happening? thanks | [
-0.019735246896743774,
-0.7191826105117798,
0.003932256251573563,
0.34936773777008057,
0.4842424988746643,
0.007673710584640503,
0.24244429171085358,
0.1216878592967987,
-0.2513468563556671,
0.32793980836868286,
-0.0821482390165329,
-0.12255509197711945,
-0.1213337704539299,
0.39860180020332336,
0.02426224760711193,
-0.25567901134490967,
-0.09959480911493301,
0.07821543514728546,
-0.3232806622982025,
0.18504191935062408,
-0.09759572893381119,
0.2666341960430145,
-0.379064679145813,
0.2954922020435333,
-0.07734625041484833,
0.08844742178916931,
0.10734860599040985,
0.08454465866088867,
-0.016582438722252846,
-0.3517344892024994,
0.05904131382703781,
-0.09192994236946106,
-0.30891552567481995,
0.3623271882534027,
-0.00012317136861383915,
-0.1029600128531456,
0.2742364704608917,
0.044334776699543,
-0.029856067150831223,
-0.10642759501934052,
0.2643364369869232,
0.5919192433357239,
-0.12856312096118927,
0.15562906861305237,
-0.11999586969614029,
0.03900650143623352,
0.13196071982383728,
-0.026219552382826805,
0.25473278760910034,
0.2040432244539261,
0.11398900300264359,
0.357277512550354,
0.4076770544052124,
0.007705449126660824,
-0.06443732231855392,
-0.04712122678756714,
-0.20666517317295074,
0.1545078307390213,
0.06572145968675613,
-0.19963599741458893,
0.10901527106761932,
-0.00044987350702285767,
0.19067852199077606,
-0.03349566087126732,
-0.21986529231071472,
-0.31239718198776245,
-0.037012480199337006,
-0.4571155607700348,
0.015099210664629936,
0.4477548897266388,
-0.09957826882600784,
-0.2989670932292938,
-0.13213258981704712,
0.24118635058403015,
0.03615407273173332,
-0.787157416343689,
0.013645745813846588,
0.16793705523014069,
-0.05022440850734711,
0.2885328233242035,
-0.13750894367694855,
0.12632673978805542,
-0.29183530807495117,
0.016448885202407837,
-0.09075594693422318,
0.29646629095077515,
-0.19855627417564392,
0.26844990253448486,
0.32298097014427185,
0.19400523602962494,
-0.38491857051849365,
0.18922528624534607,
0.008145298808813095,
0.10690874606370926,
-0.30580294132232666,
-0.2175879031419754,
0.1347348690032959,
0.053211718797683716,
0.2911435067653656,
0.12506148219108582,
-0.04921327531337738,
0.026652157306671143,
-0.03143114596605301,
0.1974620521068573,
0.2514950633049011,
-0.03222403675317764,
0.0891961082816124,
0.12615728378295898,
0.15753662586212158,
0.503788948059082,
0.0537349097430706,
0.20317679643630981,
0.09662721306085587,
-0.20185533165931702,
0.08166307210922241,
-0.07021021097898483,
0.5441358089447021,
-0.16961394250392914,
-0.5968496799468994,
0.49578288197517395,
-0.49427443742752075,
-0.008591554127633572,
0.23240919411182404,
0.46704065799713135,
-0.16043397784233093,
0.07539548724889755,
0.2514839172363281,
-0.10504351556301117,
0.03363741934299469,
0.034513603895902634,
-0.08037053048610687,
0.22070558369159698,
0.12289266288280487,
0.22211548686027527,
-0.14876611530780792,
-0.4933040738105774,
0.15991449356079102,
-0.18978852033615112,
0.29031747579574585,
-0.695383608341217,
-0.22884999215602875,
-0.3666117787361145,
-0.06040891259908676,
0.11378541588783264,
-0.10192917287349701,
-0.15944600105285645,
0.2681771218776703,
0.08489881455898285,
-0.013057507574558258,
0.023295585066080093,
0.23347505927085876,
-0.3981197774410248,
0.1256915181875229,
0.17274920642375946,
-0.10562744736671448,
0.16109265387058258,
0.09974551945924759,
-0.05471405014395714,
-0.037544600665569305,
0.211003839969635,
0.08178503811359406,
-0.023355204612016678,
-0.5620618462562561,
0.06348825991153717,
0.2465737760066986,
0.3047661781311035,
0.08224157989025116,
-0.07702983915805817,
0.15127865970134735,
-0.05023897811770439,
0.054323531687259674,
0.42099130153656006,
-0.05389947444200516,
0.46649158000946045,
-0.27110010385513306,
0.17708291113376617,
0.2772975265979767,
-0.36528486013412476,
-0.00031365733593702316,
0.1826029121875763,
-0.2375146895647049,
0.11174271255731583,
-0.2652016282081604,
-0.4663343131542206,
-0.16545918583869934,
-0.11834065616130829,
0.13497820496559143,
-0.07894162088632584,
-0.2356962263584137,
-0.0736636146903038,
-0.3157055079936981,
-0.05009961873292923,
0.24591468274593353,
0.11082707345485687,
0.05050596594810486,
-0.21297240257263184,
0.10192554444074631,
-0.08968337625265121,
0.22759604454040527,
0.005847997963428497,
-0.231659933924675,
0.11156708002090454,
0.4407879114151001,
-0.03695195913314819,
-0.05229753255844116,
-0.11415271461009979,
-0.11671977490186691,
0.11469592899084091,
-0.09511158615350723,
0.20585617423057556,
0.26406192779541016,
-0.014000661671161652,
-0.22278857231140137,
0.32151052355766296,
-0.278810054063797,
-0.2408592700958252,
0.12970495223999023,
-0.012640498578548431,
-0.11740575730800629,
0.04666714742779732,
0.06695374846458435,
-0.005232818424701691,
-0.5102658271789551,
0.1701667159795761,
0.12928910553455353,
0.04795452207326889,
-0.4098980724811554,
-0.03450792655348778,
-0.021976662799715996,
0.16783782839775085,
0.09300500899553299,
-0.23054108023643494,
-0.06147811561822891,
0.47442626953125,
-0.060940515249967575,
0.1962464451789856,
-0.017882108688354492,
-0.2281215637922287,
-0.019167793914675713,
-0.6979160308837891,
-0.3184911608695984,
-0.009240208193659782,
0.18234483897686005,
-0.13309532403945923,
0.4334770441055298,
0.29503026604652405,
0.18942178785800934,
-0.031317971646785736,
0.13065314292907715,
-0.14529582858085632,
-0.10541317611932755,
-0.02417728863656521,
-0.19707077741622925,
-0.04128071665763855,
0.4775484502315521,
0.07916384190320969,
-0.08331479132175446,
-0.09075010567903519,
-0.5611175894737244,
-0.18413203954696655,
0.31833240389823914,
-0.20063592493534088,
0.08324563503265381,
0.21854007244110107,
0.2986202538013458,
-0.10663821548223495,
-0.1744052767753601,
-0.23894807696342468,
0.40702497959136963,
-0.06667841225862503,
-0.0943470448255539,
0.3965406119823456,
-0.18294395506381989,
0.17729422450065613,
0.3061527907848358,
0.14699362218379974,
0.2547304034233093,
0.33553579449653625,
0.075904980301857,
0.054832302033901215,
-0.34063398838043213,
0.14825673401355743,
-0.11495529115200043,
0.20893418788909912,
-0.20452718436717987,
0.22363637387752533,
-0.22225698828697205,
0.17000293731689453,
-0.2625816762447357,
-0.2926507890224457,
-0.1523296982049942,
-0.07432054728269577,
0.020759260281920433,
0.3121844232082367,
0.11470717191696167,
0.23489375412464142,
0.3013083338737488,
0.27100276947021484,
0.17967458069324493,
0.24606838822364807,
0.05816400796175003,
0.11481112241744995,
-0.2809869647026062,
-0.07139524817466736,
0.4093821942806244,
-0.39833539724349976,
0.4378204643726349,
0.0031498707830905914,
-0.3976994752883911,
-0.18454831838607788,
-0.38690853118896484,
0.26672983169555664,
-0.3574422597885132,
0.4122443199157715,
0.23498941957950592,
0.09890250861644745,
0.28837960958480835,
-0.08207827806472778,
0.25496652722358704,
-0.1147717833518982,
-0.27364635467529297,
0.1317073255777359,
0.048921167850494385,
-0.0504889152944088,
-0.14709274470806122,
-0.1372152864933014,
-0.07600778341293335,
-0.15872864425182343,
0.43611323833465576,
0.01669428125023842,
0.2049041986465454,
0.3152824938297272,
0.096909299492836,
0.22707518935203552,
-0.025358015671372414,
0.12944132089614868,
-0.3533499538898468,
-0.2036486268043518,
-0.06270076334476471,
0.03519962728023529,
-0.22376562654972076,
-0.03329057618975639,
0.09554175287485123,
0.313840389251709,
-0.11569763720035553,
-0.39862340688705444,
-0.25390708446502686,
0.2589057683944702,
-0.4011824429035187,
0.028634630143642426,
-0.0587613508105278,
0.22507405281066895,
-0.022760098800063133,
0.002358516678214073,
0.1034691110253334,
-0.16576866805553436,
0.29174286127090454,
0.0014568120241165161,
0.42083507776260376,
-0.058270953595638275,
0.40735191106796265,
0.19073793292045593,
0.2507786750793457,
0.2218792885541916,
-0.10741846263408661,
0.2332933247089386,
-0.07608848810195923,
0.23002198338508606,
0.06269373744726181,
-0.21861541271209717,
0.1225987896323204,
-0.18151545524597168,
-0.06786792725324631,
0.21538355946540833,
-0.28483545780181885,
0.1016199141740799,
-0.24256238341331482,
0.37863820791244507,
-0.3925977945327759,
-0.23058050870895386,
-0.07280045002698898,
0.0848512053489685,
0.29804447293281555,
-0.21830344200134277,
-0.16122613847255707,
0.334633469581604,
0.1729963719844818,
0.16496093571186066,
0.1857610046863556,
-0.00971967726945877,
-0.2947642505168915,
0.17682941257953644,
-0.43411266803741455,
-0.19745218753814697,
0.20376786589622498,
0.17791947722434998,
0.38425156474113464,
-0.15913093090057373,
-0.19127196073532104,
0.0965438261628151,
-0.3532339930534363,
0.2157043218612671,
-0.10900046676397324,
0.1710740327835083,
-0.019114555791020393,
-0.24548467993736267,
0.01433352567255497,
-0.1819859743118286,
-0.2506859302520752,
-0.13940340280532837,
-0.050833720713853836,
0.270518958568573,
-0.44358640909194946,
-0.05803462862968445,
0.9266166687011719,
-0.030704164877533913,
-0.2027936428785324,
-0.05450901389122009,
-0.38225188851356506,
-0.3325400948524475,
-0.21780629456043243,
0.3268848657608032,
0.08035973459482193,
0.15957947075366974,
-0.25949764251708984,
0.054746661335229874,
0.16132058203220367,
-0.07964581251144409,
0.18562869727611542,
0.018070179969072342,
-0.14777198433876038,
-0.22347180545330048,
-0.004638979211449623,
-0.08090680092573166,
-0.22146359086036682,
0.3577398657798767,
0.06634563207626343,
0.12238803505897522,
0.04037894681096077,
-0.14503228664398193,
0.27325546741485596,
0.2892638146877289,
0.4261303246021271,
-0.2185797542333603,
0.2583729326725006,
-0.1215016096830368,
0.23011519014835358,
-0.29380783438682556,
0.1149604544043541,
0.5577460527420044,
0.18978267908096313,
-0.3376103639602661,
0.3320046663284302,
0.18067456781864166,
-0.33609673380851746,
0.12177488207817078,
0.47377312183380127,
0.2906242907047272,
-0.03468186408281326,
0.003371274098753929,
0.05442932993173599,
1.0767908096313477,
-0.10631729662418365,
-0.14102044701576233,
0.3265562057495117,
-0.28864389657974243,
-0.06298955529928207,
0.17114660143852234,
0.07446952164173126,
-0.37388238310813904,
-0.20141960680484772,
-0.11419158428907394,
-0.09973163902759552,
0.18291549384593964,
-0.5049661993980408,
-0.4686191976070404,
0.2706860601902008,
0.2902293801307678,
0.04739414528012276,
0.13620467483997345,
0.035153307020664215,
0.051324084401130676,
0.02967527136206627,
-0.14739282429218292,
0.07575822621583939,
-0.17710153758525848,
0.49552255868911743,
-0.35210394859313965,
0.006089668720960617,
0.14251403510570526,
-0.23393766582012177,
-0.5489823222160339,
0.19741663336753845,
-0.7597703337669373,
-0.21724186837673187,
0.1435348391532898,
-0.09565668553113937,
0.21646444499492645,
-0.04253065958619118,
0.12113037705421448,
0.23698770999908447,
-0.09849423170089722,
-0.07104937732219696,
-0.06604404002428055,
-0.2263091802597046,
-0.2782440483570099,
0.0803147405385971,
0.14884215593338013,
-0.10123033821582794,
-0.3922500014305115,
0.23637646436691284,
-0.03789244964718819,
-0.12452436238527298,
0.25630173087120056,
-0.1621960997581482,
0.021644368767738342,
-0.149598628282547,
-0.2880111038684845,
0.11660754680633545,
-0.405070036649704,
-0.3859919011592865,
0.044125400483608246,
-0.0842706561088562,
-0.6793950200080872,
-0.01048339158296585,
0.2277967631816864,
-0.2703295350074768,
0.07093808054924011,
0.30313730239868164,
-0.4074924886226654,
0.4476475715637207,
0.2836988568305969,
0.307038813829422,
-0.04565349966287613,
-0.250875860452652,
-0.24758070707321167,
-0.0962148979306221,
-0.2398616075515747,
0.1254103034734726,
-0.11796517670154572,
0.011782243847846985,
-0.01796618290245533,
0.3521895706653595,
0.20090286433696747,
0.1305582970380783,
-0.042113713920116425,
-0.13269180059432983,
-0.43223097920417786,
0.11334839463233948,
0.08952708542346954,
0.3084595501422882,
0.007049068808555603,
0.8161123394966125,
0.00500136986374855,
0.1381087601184845,
-0.21684986352920532,
0.1537138968706131,
-0.547508955001831,
0.1356404423713684,
0.5144497156143188,
-0.39671167731285095,
0.2740754783153534,
0.12115262448787689,
0.13073290884494781,
0.317793071269989,
-0.25036123394966125,
-0.1576969027519226,
-0.028146449476480484,
0.14645564556121826,
0.13945552706718445,
-0.21265265345573425,
0.022794414311647415,
0.1708485186100006,
0.08569399267435074,
0.16919954121112823,
0.014253620058298111,
-0.1359177976846695,
0.07205808907747269,
0.022714171558618546,
0.5171648263931274,
0.06628890335559845,
-0.133510559797287,
-0.3067290782928467,
-0.059498414397239685,
0.28508293628692627,
0.15475012362003326,
-0.04662487655878067,
-0.004914268851280212,
-0.32299721240997314,
-0.01576792635023594,
0.0993025153875351,
0.2712792754173279,
-0.094981350004673,
0.19537681341171265,
-0.26455092430114746,
-0.3805362582206726,
-0.2151186317205429,
0.5645759105682373,
0.3280046880245209,
-0.32669660449028015,
0.08652766793966293,
-0.030416421592235565,
0.018389780074357986,
-0.266876757144928,
0.1713368445634842,
-0.18925437331199646,
-0.15144264698028564,
-0.03069489635527134,
0.5003805160522461,
-0.10475509613752365,
0.20286515355110168,
0.03715953975915909,
0.2137015461921692,
-0.0002257172018289566,
-0.1407930999994278,
-0.08964632451534271,
0.03101312182843685,
-0.20036086440086365,
0.16957442462444305,
0.1094609722495079,
-0.15665052831172943,
0.37081655859947205,
-0.3239777684211731,
-0.025868184864521027,
0.3565201759338379,
-0.5007634162902832,
0.3787524402141571,
0.1755797266960144,
-0.2727210819721222,
0.0502874031662941,
0.25546586513519287,
0.051725927740335464,
0.1064758226275444,
0.057463567703962326,
0.5036067366600037,
0.045385003089904785,
-0.3039708137512207,
-0.06315948069095612,
0.4623817503452301,
-0.1607014536857605,
-0.2788868546485901,
0.10730208456516266,
-0.06372712552547455,
-0.31151390075683594,
0.13466069102287292,
0.14209780097007751,
-0.02707427740097046,
0.06339430809020996,
0.09797834604978561,
-0.30878472328186035,
-0.16464011371135712,
-0.4011577069759369,
0.22077688574790955,
0.23651790618896484,
-0.23796984553337097,
0.5151308178901672,
0.2662871181964874,
-0.037103310227394104,
-0.2489866316318512,
0.7079613208770752,
0.37040048837661743,
-0.04467419534921646,
-0.171179860830307,
0.13767293095588684,
-0.2246430665254593,
0.11204002797603607,
0.25991204380989075,
-0.07637380063533783,
0.04785957187414169,
-0.013904064893722534,
0.17071747779846191,
0.009295511990785599,
-0.08988572657108307,
0.11085176467895508,
0.13396912813186646,
-0.31267061829566956,
-0.2695254981517792,
0.16545771062374115,
0.014774642884731293,
-0.00659535825252533,
-0.48887941241264343,
0.38135766983032227,
-0.26002269983291626,
0.6083683371543884,
0.36336466670036316,
-0.01677231676876545,
0.14146572351455688,
0.2023962140083313,
0.0427674874663353,
0.24537429213523865,
0.37040019035339355,
0.2853342294692993,
-0.1474469006061554,
-0.3849027752876282,
-0.3310813903808594,
-0.3185829520225525,
0.24926114082336426,
-0.011536069214344025,
0.46200162172317505,
0.22918441891670227,
0.13495245575904846,
-0.22894534468650818,
0.03396767005324364,
0.4562619924545288,
0.24487507343292236,
0.06480100005865097,
0.12697440385818481,
-0.21027156710624695,
0.08806735277175903,
-0.16163752973079681,
-0.2616661489009857,
0.060345590114593506,
-0.19204744696617126,
0.1918267160654068,
-0.2449941635131836,
-0.03858940675854683,
-0.01824047788977623,
0.05765683203935623,
-0.41939496994018555,
-0.07116588205099106,
0.1217799037694931,
-0.07177776098251343,
-0.035325273871421814,
-0.14743736386299133,
-0.31512969732284546,
0.029259219765663147,
-0.018770731985569,
-0.037876613438129425,
0.2944748103618622,
0.07754558324813843,
-0.005425367504358292,
0.14762850105762482,
-0.4997338354587555,
-0.274305522441864,
0.025823621079325676,
0.4406975507736206,
-0.2658596932888031,
-0.24880722165107727,
0.1811848133802414,
0.030760273337364197,
-0.24000412225723267,
0.13206534087657928,
0.3002212345600128,
0.06488694995641708,
0.09182757884263992,
-0.5590923428535461,
-0.16210727393627167,
0.6869645118713379,
0.3171427547931671,
0.005396995693445206,
-0.1448841392993927,
0.10809707641601562,
0.21409499645233154,
-0.2759183347225189,
-0.8308284282684326,
0.07735242694616318,
0.11107919365167618,
0.034342002123594284,
-0.3358501195907593,
0.4130391776561737,
-0.39655083417892456,
0.03054192289710045,
0.14695633947849274,
0.2626531720161438,
0.20950785279273987,
0.0917728915810585,
0.31629765033721924,
-0.14238479733467102
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | I just checked and the wmt16 en-ro doesn't have empty lines
```python
from datasets import load_dataset
d = load_dataset("wmt16", "ro-en", split="train")
len(d) # 610320
len(d.filter(lambda x: len(x["translation"]["en"].strip()) > 0)) # 610320
len(d.filter(lambda x: len(x["translation"]["ro"].strip()) > 0)) # 610320
# also tested for split="validation" and "test"
```
Can you open an issue on the `transformers` repo ? also cc @sgugger | Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 59 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
I just checked and the wmt16 en-ro doesn't have empty lines
```python
from datasets import load_dataset
d = load_dataset("wmt16", "ro-en", split="train")
len(d) # 610320
len(d.filter(lambda x: len(x["translation"]["en"].strip()) > 0)) # 610320
len(d.filter(lambda x: len(x["translation"]["ro"].strip()) > 0)) # 610320
# also tested for split="validation" and "test"
```
Can you open an issue on the `transformers` repo ? also cc @sgugger | [
-0.019735246896743774,
-0.7191826105117798,
0.003932256251573563,
0.34936773777008057,
0.4842424988746643,
0.007673710584640503,
0.24244429171085358,
0.1216878592967987,
-0.2513468563556671,
0.32793980836868286,
-0.0821482390165329,
-0.12255509197711945,
-0.1213337704539299,
0.39860180020332336,
0.02426224760711193,
-0.25567901134490967,
-0.09959480911493301,
0.07821543514728546,
-0.3232806622982025,
0.18504191935062408,
-0.09759572893381119,
0.2666341960430145,
-0.379064679145813,
0.2954922020435333,
-0.07734625041484833,
0.08844742178916931,
0.10734860599040985,
0.08454465866088867,
-0.016582438722252846,
-0.3517344892024994,
0.05904131382703781,
-0.09192994236946106,
-0.30891552567481995,
0.3623271882534027,
-0.00012317136861383915,
-0.1029600128531456,
0.2742364704608917,
0.044334776699543,
-0.029856067150831223,
-0.10642759501934052,
0.2643364369869232,
0.5919192433357239,
-0.12856312096118927,
0.15562906861305237,
-0.11999586969614029,
0.03900650143623352,
0.13196071982383728,
-0.026219552382826805,
0.25473278760910034,
0.2040432244539261,
0.11398900300264359,
0.357277512550354,
0.4076770544052124,
0.007705449126660824,
-0.06443732231855392,
-0.04712122678756714,
-0.20666517317295074,
0.1545078307390213,
0.06572145968675613,
-0.19963599741458893,
0.10901527106761932,
-0.00044987350702285767,
0.19067852199077606,
-0.03349566087126732,
-0.21986529231071472,
-0.31239718198776245,
-0.037012480199337006,
-0.4571155607700348,
0.015099210664629936,
0.4477548897266388,
-0.09957826882600784,
-0.2989670932292938,
-0.13213258981704712,
0.24118635058403015,
0.03615407273173332,
-0.787157416343689,
0.013645745813846588,
0.16793705523014069,
-0.05022440850734711,
0.2885328233242035,
-0.13750894367694855,
0.12632673978805542,
-0.29183530807495117,
0.016448885202407837,
-0.09075594693422318,
0.29646629095077515,
-0.19855627417564392,
0.26844990253448486,
0.32298097014427185,
0.19400523602962494,
-0.38491857051849365,
0.18922528624534607,
0.008145298808813095,
0.10690874606370926,
-0.30580294132232666,
-0.2175879031419754,
0.1347348690032959,
0.053211718797683716,
0.2911435067653656,
0.12506148219108582,
-0.04921327531337738,
0.026652157306671143,
-0.03143114596605301,
0.1974620521068573,
0.2514950633049011,
-0.03222403675317764,
0.0891961082816124,
0.12615728378295898,
0.15753662586212158,
0.503788948059082,
0.0537349097430706,
0.20317679643630981,
0.09662721306085587,
-0.20185533165931702,
0.08166307210922241,
-0.07021021097898483,
0.5441358089447021,
-0.16961394250392914,
-0.5968496799468994,
0.49578288197517395,
-0.49427443742752075,
-0.008591554127633572,
0.23240919411182404,
0.46704065799713135,
-0.16043397784233093,
0.07539548724889755,
0.2514839172363281,
-0.10504351556301117,
0.03363741934299469,
0.034513603895902634,
-0.08037053048610687,
0.22070558369159698,
0.12289266288280487,
0.22211548686027527,
-0.14876611530780792,
-0.4933040738105774,
0.15991449356079102,
-0.18978852033615112,
0.29031747579574585,
-0.695383608341217,
-0.22884999215602875,
-0.3666117787361145,
-0.06040891259908676,
0.11378541588783264,
-0.10192917287349701,
-0.15944600105285645,
0.2681771218776703,
0.08489881455898285,
-0.013057507574558258,
0.023295585066080093,
0.23347505927085876,
-0.3981197774410248,
0.1256915181875229,
0.17274920642375946,
-0.10562744736671448,
0.16109265387058258,
0.09974551945924759,
-0.05471405014395714,
-0.037544600665569305,
0.211003839969635,
0.08178503811359406,
-0.023355204612016678,
-0.5620618462562561,
0.06348825991153717,
0.2465737760066986,
0.3047661781311035,
0.08224157989025116,
-0.07702983915805817,
0.15127865970134735,
-0.05023897811770439,
0.054323531687259674,
0.42099130153656006,
-0.05389947444200516,
0.46649158000946045,
-0.27110010385513306,
0.17708291113376617,
0.2772975265979767,
-0.36528486013412476,
-0.00031365733593702316,
0.1826029121875763,
-0.2375146895647049,
0.11174271255731583,
-0.2652016282081604,
-0.4663343131542206,
-0.16545918583869934,
-0.11834065616130829,
0.13497820496559143,
-0.07894162088632584,
-0.2356962263584137,
-0.0736636146903038,
-0.3157055079936981,
-0.05009961873292923,
0.24591468274593353,
0.11082707345485687,
0.05050596594810486,
-0.21297240257263184,
0.10192554444074631,
-0.08968337625265121,
0.22759604454040527,
0.005847997963428497,
-0.231659933924675,
0.11156708002090454,
0.4407879114151001,
-0.03695195913314819,
-0.05229753255844116,
-0.11415271461009979,
-0.11671977490186691,
0.11469592899084091,
-0.09511158615350723,
0.20585617423057556,
0.26406192779541016,
-0.014000661671161652,
-0.22278857231140137,
0.32151052355766296,
-0.278810054063797,
-0.2408592700958252,
0.12970495223999023,
-0.012640498578548431,
-0.11740575730800629,
0.04666714742779732,
0.06695374846458435,
-0.005232818424701691,
-0.5102658271789551,
0.1701667159795761,
0.12928910553455353,
0.04795452207326889,
-0.4098980724811554,
-0.03450792655348778,
-0.021976662799715996,
0.16783782839775085,
0.09300500899553299,
-0.23054108023643494,
-0.06147811561822891,
0.47442626953125,
-0.060940515249967575,
0.1962464451789856,
-0.017882108688354492,
-0.2281215637922287,
-0.019167793914675713,
-0.6979160308837891,
-0.3184911608695984,
-0.009240208193659782,
0.18234483897686005,
-0.13309532403945923,
0.4334770441055298,
0.29503026604652405,
0.18942178785800934,
-0.031317971646785736,
0.13065314292907715,
-0.14529582858085632,
-0.10541317611932755,
-0.02417728863656521,
-0.19707077741622925,
-0.04128071665763855,
0.4775484502315521,
0.07916384190320969,
-0.08331479132175446,
-0.09075010567903519,
-0.5611175894737244,
-0.18413203954696655,
0.31833240389823914,
-0.20063592493534088,
0.08324563503265381,
0.21854007244110107,
0.2986202538013458,
-0.10663821548223495,
-0.1744052767753601,
-0.23894807696342468,
0.40702497959136963,
-0.06667841225862503,
-0.0943470448255539,
0.3965406119823456,
-0.18294395506381989,
0.17729422450065613,
0.3061527907848358,
0.14699362218379974,
0.2547304034233093,
0.33553579449653625,
0.075904980301857,
0.054832302033901215,
-0.34063398838043213,
0.14825673401355743,
-0.11495529115200043,
0.20893418788909912,
-0.20452718436717987,
0.22363637387752533,
-0.22225698828697205,
0.17000293731689453,
-0.2625816762447357,
-0.2926507890224457,
-0.1523296982049942,
-0.07432054728269577,
0.020759260281920433,
0.3121844232082367,
0.11470717191696167,
0.23489375412464142,
0.3013083338737488,
0.27100276947021484,
0.17967458069324493,
0.24606838822364807,
0.05816400796175003,
0.11481112241744995,
-0.2809869647026062,
-0.07139524817466736,
0.4093821942806244,
-0.39833539724349976,
0.4378204643726349,
0.0031498707830905914,
-0.3976994752883911,
-0.18454831838607788,
-0.38690853118896484,
0.26672983169555664,
-0.3574422597885132,
0.4122443199157715,
0.23498941957950592,
0.09890250861644745,
0.28837960958480835,
-0.08207827806472778,
0.25496652722358704,
-0.1147717833518982,
-0.27364635467529297,
0.1317073255777359,
0.048921167850494385,
-0.0504889152944088,
-0.14709274470806122,
-0.1372152864933014,
-0.07600778341293335,
-0.15872864425182343,
0.43611323833465576,
0.01669428125023842,
0.2049041986465454,
0.3152824938297272,
0.096909299492836,
0.22707518935203552,
-0.025358015671372414,
0.12944132089614868,
-0.3533499538898468,
-0.2036486268043518,
-0.06270076334476471,
0.03519962728023529,
-0.22376562654972076,
-0.03329057618975639,
0.09554175287485123,
0.313840389251709,
-0.11569763720035553,
-0.39862340688705444,
-0.25390708446502686,
0.2589057683944702,
-0.4011824429035187,
0.028634630143642426,
-0.0587613508105278,
0.22507405281066895,
-0.022760098800063133,
0.002358516678214073,
0.1034691110253334,
-0.16576866805553436,
0.29174286127090454,
0.0014568120241165161,
0.42083507776260376,
-0.058270953595638275,
0.40735191106796265,
0.19073793292045593,
0.2507786750793457,
0.2218792885541916,
-0.10741846263408661,
0.2332933247089386,
-0.07608848810195923,
0.23002198338508606,
0.06269373744726181,
-0.21861541271209717,
0.1225987896323204,
-0.18151545524597168,
-0.06786792725324631,
0.21538355946540833,
-0.28483545780181885,
0.1016199141740799,
-0.24256238341331482,
0.37863820791244507,
-0.3925977945327759,
-0.23058050870895386,
-0.07280045002698898,
0.0848512053489685,
0.29804447293281555,
-0.21830344200134277,
-0.16122613847255707,
0.334633469581604,
0.1729963719844818,
0.16496093571186066,
0.1857610046863556,
-0.00971967726945877,
-0.2947642505168915,
0.17682941257953644,
-0.43411266803741455,
-0.19745218753814697,
0.20376786589622498,
0.17791947722434998,
0.38425156474113464,
-0.15913093090057373,
-0.19127196073532104,
0.0965438261628151,
-0.3532339930534363,
0.2157043218612671,
-0.10900046676397324,
0.1710740327835083,
-0.019114555791020393,
-0.24548467993736267,
0.01433352567255497,
-0.1819859743118286,
-0.2506859302520752,
-0.13940340280532837,
-0.050833720713853836,
0.270518958568573,
-0.44358640909194946,
-0.05803462862968445,
0.9266166687011719,
-0.030704164877533913,
-0.2027936428785324,
-0.05450901389122009,
-0.38225188851356506,
-0.3325400948524475,
-0.21780629456043243,
0.3268848657608032,
0.08035973459482193,
0.15957947075366974,
-0.25949764251708984,
0.054746661335229874,
0.16132058203220367,
-0.07964581251144409,
0.18562869727611542,
0.018070179969072342,
-0.14777198433876038,
-0.22347180545330048,
-0.004638979211449623,
-0.08090680092573166,
-0.22146359086036682,
0.3577398657798767,
0.06634563207626343,
0.12238803505897522,
0.04037894681096077,
-0.14503228664398193,
0.27325546741485596,
0.2892638146877289,
0.4261303246021271,
-0.2185797542333603,
0.2583729326725006,
-0.1215016096830368,
0.23011519014835358,
-0.29380783438682556,
0.1149604544043541,
0.5577460527420044,
0.18978267908096313,
-0.3376103639602661,
0.3320046663284302,
0.18067456781864166,
-0.33609673380851746,
0.12177488207817078,
0.47377312183380127,
0.2906242907047272,
-0.03468186408281326,
0.003371274098753929,
0.05442932993173599,
1.0767908096313477,
-0.10631729662418365,
-0.14102044701576233,
0.3265562057495117,
-0.28864389657974243,
-0.06298955529928207,
0.17114660143852234,
0.07446952164173126,
-0.37388238310813904,
-0.20141960680484772,
-0.11419158428907394,
-0.09973163902759552,
0.18291549384593964,
-0.5049661993980408,
-0.4686191976070404,
0.2706860601902008,
0.2902293801307678,
0.04739414528012276,
0.13620467483997345,
0.035153307020664215,
0.051324084401130676,
0.02967527136206627,
-0.14739282429218292,
0.07575822621583939,
-0.17710153758525848,
0.49552255868911743,
-0.35210394859313965,
0.006089668720960617,
0.14251403510570526,
-0.23393766582012177,
-0.5489823222160339,
0.19741663336753845,
-0.7597703337669373,
-0.21724186837673187,
0.1435348391532898,
-0.09565668553113937,
0.21646444499492645,
-0.04253065958619118,
0.12113037705421448,
0.23698770999908447,
-0.09849423170089722,
-0.07104937732219696,
-0.06604404002428055,
-0.2263091802597046,
-0.2782440483570099,
0.0803147405385971,
0.14884215593338013,
-0.10123033821582794,
-0.3922500014305115,
0.23637646436691284,
-0.03789244964718819,
-0.12452436238527298,
0.25630173087120056,
-0.1621960997581482,
0.021644368767738342,
-0.149598628282547,
-0.2880111038684845,
0.11660754680633545,
-0.405070036649704,
-0.3859919011592865,
0.044125400483608246,
-0.0842706561088562,
-0.6793950200080872,
-0.01048339158296585,
0.2277967631816864,
-0.2703295350074768,
0.07093808054924011,
0.30313730239868164,
-0.4074924886226654,
0.4476475715637207,
0.2836988568305969,
0.307038813829422,
-0.04565349966287613,
-0.250875860452652,
-0.24758070707321167,
-0.0962148979306221,
-0.2398616075515747,
0.1254103034734726,
-0.11796517670154572,
0.011782243847846985,
-0.01796618290245533,
0.3521895706653595,
0.20090286433696747,
0.1305582970380783,
-0.042113713920116425,
-0.13269180059432983,
-0.43223097920417786,
0.11334839463233948,
0.08952708542346954,
0.3084595501422882,
0.007049068808555603,
0.8161123394966125,
0.00500136986374855,
0.1381087601184845,
-0.21684986352920532,
0.1537138968706131,
-0.547508955001831,
0.1356404423713684,
0.5144497156143188,
-0.39671167731285095,
0.2740754783153534,
0.12115262448787689,
0.13073290884494781,
0.317793071269989,
-0.25036123394966125,
-0.1576969027519226,
-0.028146449476480484,
0.14645564556121826,
0.13945552706718445,
-0.21265265345573425,
0.022794414311647415,
0.1708485186100006,
0.08569399267435074,
0.16919954121112823,
0.014253620058298111,
-0.1359177976846695,
0.07205808907747269,
0.022714171558618546,
0.5171648263931274,
0.06628890335559845,
-0.133510559797287,
-0.3067290782928467,
-0.059498414397239685,
0.28508293628692627,
0.15475012362003326,
-0.04662487655878067,
-0.004914268851280212,
-0.32299721240997314,
-0.01576792635023594,
0.0993025153875351,
0.2712792754173279,
-0.094981350004673,
0.19537681341171265,
-0.26455092430114746,
-0.3805362582206726,
-0.2151186317205429,
0.5645759105682373,
0.3280046880245209,
-0.32669660449028015,
0.08652766793966293,
-0.030416421592235565,
0.018389780074357986,
-0.266876757144928,
0.1713368445634842,
-0.18925437331199646,
-0.15144264698028564,
-0.03069489635527134,
0.5003805160522461,
-0.10475509613752365,
0.20286515355110168,
0.03715953975915909,
0.2137015461921692,
-0.0002257172018289566,
-0.1407930999994278,
-0.08964632451534271,
0.03101312182843685,
-0.20036086440086365,
0.16957442462444305,
0.1094609722495079,
-0.15665052831172943,
0.37081655859947205,
-0.3239777684211731,
-0.025868184864521027,
0.3565201759338379,
-0.5007634162902832,
0.3787524402141571,
0.1755797266960144,
-0.2727210819721222,
0.0502874031662941,
0.25546586513519287,
0.051725927740335464,
0.1064758226275444,
0.057463567703962326,
0.5036067366600037,
0.045385003089904785,
-0.3039708137512207,
-0.06315948069095612,
0.4623817503452301,
-0.1607014536857605,
-0.2788868546485901,
0.10730208456516266,
-0.06372712552547455,
-0.31151390075683594,
0.13466069102287292,
0.14209780097007751,
-0.02707427740097046,
0.06339430809020996,
0.09797834604978561,
-0.30878472328186035,
-0.16464011371135712,
-0.4011577069759369,
0.22077688574790955,
0.23651790618896484,
-0.23796984553337097,
0.5151308178901672,
0.2662871181964874,
-0.037103310227394104,
-0.2489866316318512,
0.7079613208770752,
0.37040048837661743,
-0.04467419534921646,
-0.171179860830307,
0.13767293095588684,
-0.2246430665254593,
0.11204002797603607,
0.25991204380989075,
-0.07637380063533783,
0.04785957187414169,
-0.013904064893722534,
0.17071747779846191,
0.009295511990785599,
-0.08988572657108307,
0.11085176467895508,
0.13396912813186646,
-0.31267061829566956,
-0.2695254981517792,
0.16545771062374115,
0.014774642884731293,
-0.00659535825252533,
-0.48887941241264343,
0.38135766983032227,
-0.26002269983291626,
0.6083683371543884,
0.36336466670036316,
-0.01677231676876545,
0.14146572351455688,
0.2023962140083313,
0.0427674874663353,
0.24537429213523865,
0.37040019035339355,
0.2853342294692993,
-0.1474469006061554,
-0.3849027752876282,
-0.3310813903808594,
-0.3185829520225525,
0.24926114082336426,
-0.011536069214344025,
0.46200162172317505,
0.22918441891670227,
0.13495245575904846,
-0.22894534468650818,
0.03396767005324364,
0.4562619924545288,
0.24487507343292236,
0.06480100005865097,
0.12697440385818481,
-0.21027156710624695,
0.08806735277175903,
-0.16163752973079681,
-0.2616661489009857,
0.060345590114593506,
-0.19204744696617126,
0.1918267160654068,
-0.2449941635131836,
-0.03858940675854683,
-0.01824047788977623,
0.05765683203935623,
-0.41939496994018555,
-0.07116588205099106,
0.1217799037694931,
-0.07177776098251343,
-0.035325273871421814,
-0.14743736386299133,
-0.31512969732284546,
0.029259219765663147,
-0.018770731985569,
-0.037876613438129425,
0.2944748103618622,
0.07754558324813843,
-0.005425367504358292,
0.14762850105762482,
-0.4997338354587555,
-0.274305522441864,
0.025823621079325676,
0.4406975507736206,
-0.2658596932888031,
-0.24880722165107727,
0.1811848133802414,
0.030760273337364197,
-0.24000412225723267,
0.13206534087657928,
0.3002212345600128,
0.06488694995641708,
0.09182757884263992,
-0.5590923428535461,
-0.16210727393627167,
0.6869645118713379,
0.3171427547931671,
0.005396995693445206,
-0.1448841392993927,
0.10809707641601562,
0.21409499645233154,
-0.2759183347225189,
-0.8308284282684326,
0.07735242694616318,
0.11107919365167618,
0.034342002123594284,
-0.3358501195907593,
0.4130391776561737,
-0.39655083417892456,
0.03054192289710045,
0.14695633947849274,
0.2626531720161438,
0.20950785279273987,
0.0917728915810585,
0.31629765033721924,
-0.14238479733467102
] |
https://github.com/huggingface/datasets/issues/1286 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted | Hi @lhoestq
I am not really sure which part is causing this, to me this is more related to dataset library as this is happening for some of the datassets below please find the information to reprodcue the bug, this is really blocking me and I appreciate your help
## Environment info
- `transformers` version: 3.5.1
- Platform: GPU
- Python version: 3.7
- PyTorch version (GPU?): 1.0.4
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: @sgugger
TextGeneration: @TevenLeScao
nlp datasets: [different repo](https://github.com/huggingface/nlp)
rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)
examples/seq2seq: @patil-suraj
## Information
Hi
I am testing seq2seq model with T5 on different datasets and this is always getting the following bug, this is really blocking me as this fails for many datasets. could you have a look please? thanks
```
[libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
To reproduce the error please run on 1 GPU:
```
git clone git@github.com:rabeehk/debug-seq2seq.git
python setup.py develop
cd seq2seq
python finetune_t5_trainer.py temp.json
```
Full output of the program:
```
(internship) rkarimi@vgnh008:/idiap/user/rkarimi/dev/debug-seq2seq/seq2seq$ python finetune_t5_trainer.py temp.json
2020-12-12 15:38:16.234542: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-12 15:38:16.234598: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
12/12/2020 15:38:32 - WARNING - __main__ - Process rank: -1, device: cuda:0, n_gpu: 1, distributed training: False, 16-bits training: False
12/12/2020 15:38:32 - INFO - __main__ - Training/evaluation parameters Seq2SeqTrainingArguments(output_dir='outputs/test', overwrite_output_dir=True, do_train=True, do_eval=True, do_predict=False, evaluate_during_training=False, evaluation_strategy=<EvaluationStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=64, per_device_eval_batch_size=64, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, learning_rate=0.01, weight_decay=0.0, adam_beta1=0.9, adam_beta2=0.999, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=2, max_steps=-1, warmup_steps=500, logging_dir='runs/Dec12_15-38-32_vgnh008', logging_first_step=True, logging_steps=200, save_steps=200, save_total_limit=1, no_cuda=False, seed=42, fp16=False, fp16_opt_level='O1', local_rank=-1, tpu_num_cores=None, tpu_metrics_debug=False, debug=False, dataloader_drop_last=False, eval_steps=200, dataloader_num_workers=0, past_index=-1, run_name='outputs/test', disable_tqdm=False, remove_unused_columns=True, label_names=None, load_best_model_at_end=False, metric_for_best_model=None, greater_is_better=None, label_smoothing=0.1, sortish_sampler=False, predict_with_generate=True, adafactor=False, encoder_layerdrop=None, decoder_layerdrop=None, dropout=None, attention_dropout=None, lr_scheduler='linear', fixed_length_emb=None, encoder_projection=None, encoder_pooling=None, projection_length=None, only_projection_bottleneck=False, concat_projection_token=False, gcs_bucket='ruse-xcloud-bucket', temperature=10, train_adapters=True, do_finetune=True, parametric_task_embedding=False, eval_output_dir='outputs/finetune-adapter/test-n-1-lr-1e-02-e-20')
Some weights of T5ForConditionalGeneration were not initialized from the model checkpoint at t5-small and are newly initialized: ['encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-6810ece2a440c3be.arrow
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-9a2822394a3a4e34.arrow
12/12/2020 15:38:45 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b464cc20> for task boolq
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num examples = 10
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
{'loss': 529.79443359375, 'learning_rate': 2e-05, 'epoch': 1.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.37it/s]12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.43it/s]
12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/test
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-164dd1d57e9fa69a.arrow
12/12/2020 15:38:59 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b40c67a0> for task boolq
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num examples = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from checkpoint, will skip to saved global_step
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from epoch 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from global step 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Will skip the first 0 steps in the first epoch
0%| | 0/2 [00:00<?, ?it/s]12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
0%| | 0/2 [00:00<?, ?it/s]
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/finetune-adapter/test-n-1-lr-1e-02-e-20/boolq
12/12/2020 15:39:07 - INFO - seq2seq.utils.utils - using task specific params for boolq: {'max_length': 3}
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Num examples = 3269
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 52/52 [00:12<00:00, 4.86it/s][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
| Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
| 1,524 | [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0): Aborted
Hi
I am getting this error when evaluating on wmt16-ro-en using finetune_trainer.py of huggingface repo. thank for your help
{'epoch': 20.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:16<00:00, 1.22it/s]
12/08/2020 10:41:19 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/experiment/joint/finetune/lr-2e-5
12/08/2020 10:41:24 - INFO - __main__ - {'wmt16-en-ro': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1998), 'qnli': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 5462), 'scitail': Dataset(features: {'src_texts': Value(dtype='string', id=None), 'task': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 1303)}
12/08/2020 10:41:24 - INFO - __main__ - *** Evaluate ***
12/08/2020 10:41:24 - INFO - seq2seq.utils.utils - using task specific params for wmt16-en-ro: {'max_length': 300, 'num_beams': 4}
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Num examples = 1998
12/08/2020 10:41:24 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 32/32 [00:37<00:00, 1.19s/it][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
Hi @lhoestq
I am not really sure which part is causing this, to me this is more related to dataset library as this is happening for some of the datassets below please find the information to reprodcue the bug, this is really blocking me and I appreciate your help
## Environment info
- `transformers` version: 3.5.1
- Platform: GPU
- Python version: 3.7
- PyTorch version (GPU?): 1.0.4
- Tensorflow version (GPU?): -
- Using GPU in script?: -
- Using distributed or parallel set-up in script?: -
### Who can help
tokenizers: @mfuntowicz
Trainer: @sgugger
TextGeneration: @TevenLeScao
nlp datasets: [different repo](https://github.com/huggingface/nlp)
rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)
examples/seq2seq: @patil-suraj
## Information
Hi
I am testing seq2seq model with T5 on different datasets and this is always getting the following bug, this is really blocking me as this fails for many datasets. could you have a look please? thanks
```
[libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
To reproduce the error please run on 1 GPU:
```
git clone git@github.com:rabeehk/debug-seq2seq.git
python setup.py develop
cd seq2seq
python finetune_t5_trainer.py temp.json
```
Full output of the program:
```
(internship) rkarimi@vgnh008:/idiap/user/rkarimi/dev/debug-seq2seq/seq2seq$ python finetune_t5_trainer.py temp.json
2020-12-12 15:38:16.234542: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-12-12 15:38:16.234598: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
12/12/2020 15:38:32 - WARNING - __main__ - Process rank: -1, device: cuda:0, n_gpu: 1, distributed training: False, 16-bits training: False
12/12/2020 15:38:32 - INFO - __main__ - Training/evaluation parameters Seq2SeqTrainingArguments(output_dir='outputs/test', overwrite_output_dir=True, do_train=True, do_eval=True, do_predict=False, evaluate_during_training=False, evaluation_strategy=<EvaluationStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=64, per_device_eval_batch_size=64, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, learning_rate=0.01, weight_decay=0.0, adam_beta1=0.9, adam_beta2=0.999, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=2, max_steps=-1, warmup_steps=500, logging_dir='runs/Dec12_15-38-32_vgnh008', logging_first_step=True, logging_steps=200, save_steps=200, save_total_limit=1, no_cuda=False, seed=42, fp16=False, fp16_opt_level='O1', local_rank=-1, tpu_num_cores=None, tpu_metrics_debug=False, debug=False, dataloader_drop_last=False, eval_steps=200, dataloader_num_workers=0, past_index=-1, run_name='outputs/test', disable_tqdm=False, remove_unused_columns=True, label_names=None, load_best_model_at_end=False, metric_for_best_model=None, greater_is_better=None, label_smoothing=0.1, sortish_sampler=False, predict_with_generate=True, adafactor=False, encoder_layerdrop=None, decoder_layerdrop=None, dropout=None, attention_dropout=None, lr_scheduler='linear', fixed_length_emb=None, encoder_projection=None, encoder_pooling=None, projection_length=None, only_projection_bottleneck=False, concat_projection_token=False, gcs_bucket='ruse-xcloud-bucket', temperature=10, train_adapters=True, do_finetune=True, parametric_task_embedding=False, eval_output_dir='outputs/finetune-adapter/test-n-1-lr-1e-02-e-20')
Some weights of T5ForConditionalGeneration were not initialized from the model checkpoint at t5-small and are newly initialized: ['encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.0.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.0.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.1.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.1.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.2.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.2.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.3.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.3.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.4.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.4.layer.1.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'encoder.block.5.layer.1.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.weight', 'encoder.block.5.layer.1.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.0.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.0.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.1.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.1.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.2.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.2.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.3.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.3.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.4.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.4.layer.2.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.0.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.0.adapter_controller.post_layer_norm.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_up_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.weight_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.0.bias', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.weight', 'decoder.block.5.layer.2.adapter_controller.meta_down_sampler.bias_generator.1.bias', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.weight', 'decoder.block.5.layer.2.adapter_controller.post_layer_norm.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140079090376272 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549312272 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:44 - INFO - filelock - Lock 140082549365648 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-6810ece2a440c3be.arrow
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549560848 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:45 - INFO - filelock - Lock 140082549365200 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-9a2822394a3a4e34.arrow
12/12/2020 15:38:45 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b464cc20> for task boolq
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num examples = 10
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:45 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
{'loss': 529.79443359375, 'learning_rate': 2e-05, 'epoch': 1.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.37it/s]12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.43it/s]
12/12/2020 15:38:46 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/test
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 acquired on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929680 released on /idiap/home/rkarimi/.cache/huggingface/datasets/4c7b1146606607c193d1ef601d8d0c134521b2ac59f61ee98c09119be925ee16.7ad892de9d7f1b4f9dfc598ef31e4a398a7224176bc9a3110e0e2075ff943e8f.py.lock
Using custom data configuration default
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079084929360 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 acquired on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Reusing dataset boolq (/idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534)
12/12/2020 15:38:59 - INFO - filelock - Lock 140079085355216 released on /idiap/temp/rkarimi/cache_home_1/datasets/_idiap_temp_rkarimi_cache_home_1_datasets_boolq_default_0.1.0_1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534.lock
Loading cached processed dataset at /idiap/temp/rkarimi/cache_home_1/datasets/boolq/default/0.1.0/1fcfdc6f36dc89a2245ffbbd5248ab33890594b50396731ebc78411bdd2ca534/cache-164dd1d57e9fa69a.arrow
12/12/2020 15:38:59 - INFO - seq2seq.metrics.metrics - selected metric <function build_compute_metrics_fn.<locals>.classification_metrics at 0x7f66b40c67a0> for task boolq
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - ***** Running training *****
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num examples = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Num Epochs = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Instantaneous batch size per device = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total train batch size (w. parallel, distributed & accumulation) = 64
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Gradient Accumulation steps = 1
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Total optimization steps = 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from checkpoint, will skip to saved global_step
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from epoch 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Continuing training from global step 2
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Will skip the first 0 steps in the first epoch
0%| | 0/2 [00:00<?, ?it/s]12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer -
Training completed. Do not forget to share your model on huggingface.co/models =)
{'epoch': 2.0}
0%| | 0/2 [00:00<?, ?it/s]
12/12/2020 15:38:59 - INFO - seq2seq.trainers.trainer - Saving model checkpoint to outputs/finetune-adapter/test-n-1-lr-1e-02-e-20/boolq
12/12/2020 15:39:07 - INFO - seq2seq.utils.utils - using task specific params for boolq: {'max_length': 3}
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - ***** Running Evaluation *****
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Num examples = 3269
12/12/2020 15:39:07 - INFO - seq2seq.trainers.trainer - Batch size = 64
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 52/52 [00:12<00:00, 4.86it/s][libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) >= (0):
Aborted
```
| [
-0.019735246896743774,
-0.7191826105117798,
0.003932256251573563,
0.34936773777008057,
0.4842424988746643,
0.007673710584640503,
0.24244429171085358,
0.1216878592967987,
-0.2513468563556671,
0.32793980836868286,
-0.0821482390165329,
-0.12255509197711945,
-0.1213337704539299,
0.39860180020332336,
0.02426224760711193,
-0.25567901134490967,
-0.09959480911493301,
0.07821543514728546,
-0.3232806622982025,
0.18504191935062408,
-0.09759572893381119,
0.2666341960430145,
-0.379064679145813,
0.2954922020435333,
-0.07734625041484833,
0.08844742178916931,
0.10734860599040985,
0.08454465866088867,
-0.016582438722252846,
-0.3517344892024994,
0.05904131382703781,
-0.09192994236946106,
-0.30891552567481995,
0.3623271882534027,
-0.00012317136861383915,
-0.1029600128531456,
0.2742364704608917,
0.044334776699543,
-0.029856067150831223,
-0.10642759501934052,
0.2643364369869232,
0.5919192433357239,
-0.12856312096118927,
0.15562906861305237,
-0.11999586969614029,
0.03900650143623352,
0.13196071982383728,
-0.026219552382826805,
0.25473278760910034,
0.2040432244539261,
0.11398900300264359,
0.357277512550354,
0.4076770544052124,
0.007705449126660824,
-0.06443732231855392,
-0.04712122678756714,
-0.20666517317295074,
0.1545078307390213,
0.06572145968675613,
-0.19963599741458893,
0.10901527106761932,
-0.00044987350702285767,
0.19067852199077606,
-0.03349566087126732,
-0.21986529231071472,
-0.31239718198776245,
-0.037012480199337006,
-0.4571155607700348,
0.015099210664629936,
0.4477548897266388,
-0.09957826882600784,
-0.2989670932292938,
-0.13213258981704712,
0.24118635058403015,
0.03615407273173332,
-0.787157416343689,
0.013645745813846588,
0.16793705523014069,
-0.05022440850734711,
0.2885328233242035,
-0.13750894367694855,
0.12632673978805542,
-0.29183530807495117,
0.016448885202407837,
-0.09075594693422318,
0.29646629095077515,
-0.19855627417564392,
0.26844990253448486,
0.32298097014427185,
0.19400523602962494,
-0.38491857051849365,
0.18922528624534607,
0.008145298808813095,
0.10690874606370926,
-0.30580294132232666,
-0.2175879031419754,
0.1347348690032959,
0.053211718797683716,
0.2911435067653656,
0.12506148219108582,
-0.04921327531337738,
0.026652157306671143,
-0.03143114596605301,
0.1974620521068573,
0.2514950633049011,
-0.03222403675317764,
0.0891961082816124,
0.12615728378295898,
0.15753662586212158,
0.503788948059082,
0.0537349097430706,
0.20317679643630981,
0.09662721306085587,
-0.20185533165931702,
0.08166307210922241,
-0.07021021097898483,
0.5441358089447021,
-0.16961394250392914,
-0.5968496799468994,
0.49578288197517395,
-0.49427443742752075,
-0.008591554127633572,
0.23240919411182404,
0.46704065799713135,
-0.16043397784233093,
0.07539548724889755,
0.2514839172363281,
-0.10504351556301117,
0.03363741934299469,
0.034513603895902634,
-0.08037053048610687,
0.22070558369159698,
0.12289266288280487,
0.22211548686027527,
-0.14876611530780792,
-0.4933040738105774,
0.15991449356079102,
-0.18978852033615112,
0.29031747579574585,
-0.695383608341217,
-0.22884999215602875,
-0.3666117787361145,
-0.06040891259908676,
0.11378541588783264,
-0.10192917287349701,
-0.15944600105285645,
0.2681771218776703,
0.08489881455898285,
-0.013057507574558258,
0.023295585066080093,
0.23347505927085876,
-0.3981197774410248,
0.1256915181875229,
0.17274920642375946,
-0.10562744736671448,
0.16109265387058258,
0.09974551945924759,
-0.05471405014395714,
-0.037544600665569305,
0.211003839969635,
0.08178503811359406,
-0.023355204612016678,
-0.5620618462562561,
0.06348825991153717,
0.2465737760066986,
0.3047661781311035,
0.08224157989025116,
-0.07702983915805817,
0.15127865970134735,
-0.05023897811770439,
0.054323531687259674,
0.42099130153656006,
-0.05389947444200516,
0.46649158000946045,
-0.27110010385513306,
0.17708291113376617,
0.2772975265979767,
-0.36528486013412476,
-0.00031365733593702316,
0.1826029121875763,
-0.2375146895647049,
0.11174271255731583,
-0.2652016282081604,
-0.4663343131542206,
-0.16545918583869934,
-0.11834065616130829,
0.13497820496559143,
-0.07894162088632584,
-0.2356962263584137,
-0.0736636146903038,
-0.3157055079936981,
-0.05009961873292923,
0.24591468274593353,
0.11082707345485687,
0.05050596594810486,
-0.21297240257263184,
0.10192554444074631,
-0.08968337625265121,
0.22759604454040527,
0.005847997963428497,
-0.231659933924675,
0.11156708002090454,
0.4407879114151001,
-0.03695195913314819,
-0.05229753255844116,
-0.11415271461009979,
-0.11671977490186691,
0.11469592899084091,
-0.09511158615350723,
0.20585617423057556,
0.26406192779541016,
-0.014000661671161652,
-0.22278857231140137,
0.32151052355766296,
-0.278810054063797,
-0.2408592700958252,
0.12970495223999023,
-0.012640498578548431,
-0.11740575730800629,
0.04666714742779732,
0.06695374846458435,
-0.005232818424701691,
-0.5102658271789551,
0.1701667159795761,
0.12928910553455353,
0.04795452207326889,
-0.4098980724811554,
-0.03450792655348778,
-0.021976662799715996,
0.16783782839775085,
0.09300500899553299,
-0.23054108023643494,
-0.06147811561822891,
0.47442626953125,
-0.060940515249967575,
0.1962464451789856,
-0.017882108688354492,
-0.2281215637922287,
-0.019167793914675713,
-0.6979160308837891,
-0.3184911608695984,
-0.009240208193659782,
0.18234483897686005,
-0.13309532403945923,
0.4334770441055298,
0.29503026604652405,
0.18942178785800934,
-0.031317971646785736,
0.13065314292907715,
-0.14529582858085632,
-0.10541317611932755,
-0.02417728863656521,
-0.19707077741622925,
-0.04128071665763855,
0.4775484502315521,
0.07916384190320969,
-0.08331479132175446,
-0.09075010567903519,
-0.5611175894737244,
-0.18413203954696655,
0.31833240389823914,
-0.20063592493534088,
0.08324563503265381,
0.21854007244110107,
0.2986202538013458,
-0.10663821548223495,
-0.1744052767753601,
-0.23894807696342468,
0.40702497959136963,
-0.06667841225862503,
-0.0943470448255539,
0.3965406119823456,
-0.18294395506381989,
0.17729422450065613,
0.3061527907848358,
0.14699362218379974,
0.2547304034233093,
0.33553579449653625,
0.075904980301857,
0.054832302033901215,
-0.34063398838043213,
0.14825673401355743,
-0.11495529115200043,
0.20893418788909912,
-0.20452718436717987,
0.22363637387752533,
-0.22225698828697205,
0.17000293731689453,
-0.2625816762447357,
-0.2926507890224457,
-0.1523296982049942,
-0.07432054728269577,
0.020759260281920433,
0.3121844232082367,
0.11470717191696167,
0.23489375412464142,
0.3013083338737488,
0.27100276947021484,
0.17967458069324493,
0.24606838822364807,
0.05816400796175003,
0.11481112241744995,
-0.2809869647026062,
-0.07139524817466736,
0.4093821942806244,
-0.39833539724349976,
0.4378204643726349,
0.0031498707830905914,
-0.3976994752883911,
-0.18454831838607788,
-0.38690853118896484,
0.26672983169555664,
-0.3574422597885132,
0.4122443199157715,
0.23498941957950592,
0.09890250861644745,
0.28837960958480835,
-0.08207827806472778,
0.25496652722358704,
-0.1147717833518982,
-0.27364635467529297,
0.1317073255777359,
0.048921167850494385,
-0.0504889152944088,
-0.14709274470806122,
-0.1372152864933014,
-0.07600778341293335,
-0.15872864425182343,
0.43611323833465576,
0.01669428125023842,
0.2049041986465454,
0.3152824938297272,
0.096909299492836,
0.22707518935203552,
-0.025358015671372414,
0.12944132089614868,
-0.3533499538898468,
-0.2036486268043518,
-0.06270076334476471,
0.03519962728023529,
-0.22376562654972076,
-0.03329057618975639,
0.09554175287485123,
0.313840389251709,
-0.11569763720035553,
-0.39862340688705444,
-0.25390708446502686,
0.2589057683944702,
-0.4011824429035187,
0.028634630143642426,
-0.0587613508105278,
0.22507405281066895,
-0.022760098800063133,
0.002358516678214073,
0.1034691110253334,
-0.16576866805553436,
0.29174286127090454,
0.0014568120241165161,
0.42083507776260376,
-0.058270953595638275,
0.40735191106796265,
0.19073793292045593,
0.2507786750793457,
0.2218792885541916,
-0.10741846263408661,
0.2332933247089386,
-0.07608848810195923,
0.23002198338508606,
0.06269373744726181,
-0.21861541271209717,
0.1225987896323204,
-0.18151545524597168,
-0.06786792725324631,
0.21538355946540833,
-0.28483545780181885,
0.1016199141740799,
-0.24256238341331482,
0.37863820791244507,
-0.3925977945327759,
-0.23058050870895386,
-0.07280045002698898,
0.0848512053489685,
0.29804447293281555,
-0.21830344200134277,
-0.16122613847255707,
0.334633469581604,
0.1729963719844818,
0.16496093571186066,
0.1857610046863556,
-0.00971967726945877,
-0.2947642505168915,
0.17682941257953644,
-0.43411266803741455,
-0.19745218753814697,
0.20376786589622498,
0.17791947722434998,
0.38425156474113464,
-0.15913093090057373,
-0.19127196073532104,
0.0965438261628151,
-0.3532339930534363,
0.2157043218612671,
-0.10900046676397324,
0.1710740327835083,
-0.019114555791020393,
-0.24548467993736267,
0.01433352567255497,
-0.1819859743118286,
-0.2506859302520752,
-0.13940340280532837,
-0.050833720713853836,
0.270518958568573,
-0.44358640909194946,
-0.05803462862968445,
0.9266166687011719,
-0.030704164877533913,
-0.2027936428785324,
-0.05450901389122009,
-0.38225188851356506,
-0.3325400948524475,
-0.21780629456043243,
0.3268848657608032,
0.08035973459482193,
0.15957947075366974,
-0.25949764251708984,
0.054746661335229874,
0.16132058203220367,
-0.07964581251144409,
0.18562869727611542,
0.018070179969072342,
-0.14777198433876038,
-0.22347180545330048,
-0.004638979211449623,
-0.08090680092573166,
-0.22146359086036682,
0.3577398657798767,
0.06634563207626343,
0.12238803505897522,
0.04037894681096077,
-0.14503228664398193,
0.27325546741485596,
0.2892638146877289,
0.4261303246021271,
-0.2185797542333603,
0.2583729326725006,
-0.1215016096830368,
0.23011519014835358,
-0.29380783438682556,
0.1149604544043541,
0.5577460527420044,
0.18978267908096313,
-0.3376103639602661,
0.3320046663284302,
0.18067456781864166,
-0.33609673380851746,
0.12177488207817078,
0.47377312183380127,
0.2906242907047272,
-0.03468186408281326,
0.003371274098753929,
0.05442932993173599,
1.0767908096313477,
-0.10631729662418365,
-0.14102044701576233,
0.3265562057495117,
-0.28864389657974243,
-0.06298955529928207,
0.17114660143852234,
0.07446952164173126,
-0.37388238310813904,
-0.20141960680484772,
-0.11419158428907394,
-0.09973163902759552,
0.18291549384593964,
-0.5049661993980408,
-0.4686191976070404,
0.2706860601902008,
0.2902293801307678,
0.04739414528012276,
0.13620467483997345,
0.035153307020664215,
0.051324084401130676,
0.02967527136206627,
-0.14739282429218292,
0.07575822621583939,
-0.17710153758525848,
0.49552255868911743,
-0.35210394859313965,
0.006089668720960617,
0.14251403510570526,
-0.23393766582012177,
-0.5489823222160339,
0.19741663336753845,
-0.7597703337669373,
-0.21724186837673187,
0.1435348391532898,
-0.09565668553113937,
0.21646444499492645,
-0.04253065958619118,
0.12113037705421448,
0.23698770999908447,
-0.09849423170089722,
-0.07104937732219696,
-0.06604404002428055,
-0.2263091802597046,
-0.2782440483570099,
0.0803147405385971,
0.14884215593338013,
-0.10123033821582794,
-0.3922500014305115,
0.23637646436691284,
-0.03789244964718819,
-0.12452436238527298,
0.25630173087120056,
-0.1621960997581482,
0.021644368767738342,
-0.149598628282547,
-0.2880111038684845,
0.11660754680633545,
-0.405070036649704,
-0.3859919011592865,
0.044125400483608246,
-0.0842706561088562,
-0.6793950200080872,
-0.01048339158296585,
0.2277967631816864,
-0.2703295350074768,
0.07093808054924011,
0.30313730239868164,
-0.4074924886226654,
0.4476475715637207,
0.2836988568305969,
0.307038813829422,
-0.04565349966287613,
-0.250875860452652,
-0.24758070707321167,
-0.0962148979306221,
-0.2398616075515747,
0.1254103034734726,
-0.11796517670154572,
0.011782243847846985,
-0.01796618290245533,
0.3521895706653595,
0.20090286433696747,
0.1305582970380783,
-0.042113713920116425,
-0.13269180059432983,
-0.43223097920417786,
0.11334839463233948,
0.08952708542346954,
0.3084595501422882,
0.007049068808555603,
0.8161123394966125,
0.00500136986374855,
0.1381087601184845,
-0.21684986352920532,
0.1537138968706131,
-0.547508955001831,
0.1356404423713684,
0.5144497156143188,
-0.39671167731285095,
0.2740754783153534,
0.12115262448787689,
0.13073290884494781,
0.317793071269989,
-0.25036123394966125,
-0.1576969027519226,
-0.028146449476480484,
0.14645564556121826,
0.13945552706718445,
-0.21265265345573425,
0.022794414311647415,
0.1708485186100006,
0.08569399267435074,
0.16919954121112823,
0.014253620058298111,
-0.1359177976846695,
0.07205808907747269,
0.022714171558618546,
0.5171648263931274,
0.06628890335559845,
-0.133510559797287,
-0.3067290782928467,
-0.059498414397239685,
0.28508293628692627,
0.15475012362003326,
-0.04662487655878067,
-0.004914268851280212,
-0.32299721240997314,
-0.01576792635023594,
0.0993025153875351,
0.2712792754173279,
-0.094981350004673,
0.19537681341171265,
-0.26455092430114746,
-0.3805362582206726,
-0.2151186317205429,
0.5645759105682373,
0.3280046880245209,
-0.32669660449028015,
0.08652766793966293,
-0.030416421592235565,
0.018389780074357986,
-0.266876757144928,
0.1713368445634842,
-0.18925437331199646,
-0.15144264698028564,
-0.03069489635527134,
0.5003805160522461,
-0.10475509613752365,
0.20286515355110168,
0.03715953975915909,
0.2137015461921692,
-0.0002257172018289566,
-0.1407930999994278,
-0.08964632451534271,
0.03101312182843685,
-0.20036086440086365,
0.16957442462444305,
0.1094609722495079,
-0.15665052831172943,
0.37081655859947205,
-0.3239777684211731,
-0.025868184864521027,
0.3565201759338379,
-0.5007634162902832,
0.3787524402141571,
0.1755797266960144,
-0.2727210819721222,
0.0502874031662941,
0.25546586513519287,
0.051725927740335464,
0.1064758226275444,
0.057463567703962326,
0.5036067366600037,
0.045385003089904785,
-0.3039708137512207,
-0.06315948069095612,
0.4623817503452301,
-0.1607014536857605,
-0.2788868546485901,
0.10730208456516266,
-0.06372712552547455,
-0.31151390075683594,
0.13466069102287292,
0.14209780097007751,
-0.02707427740097046,
0.06339430809020996,
0.09797834604978561,
-0.30878472328186035,
-0.16464011371135712,
-0.4011577069759369,
0.22077688574790955,
0.23651790618896484,
-0.23796984553337097,
0.5151308178901672,
0.2662871181964874,
-0.037103310227394104,
-0.2489866316318512,
0.7079613208770752,
0.37040048837661743,
-0.04467419534921646,
-0.171179860830307,
0.13767293095588684,
-0.2246430665254593,
0.11204002797603607,
0.25991204380989075,
-0.07637380063533783,
0.04785957187414169,
-0.013904064893722534,
0.17071747779846191,
0.009295511990785599,
-0.08988572657108307,
0.11085176467895508,
0.13396912813186646,
-0.31267061829566956,
-0.2695254981517792,
0.16545771062374115,
0.014774642884731293,
-0.00659535825252533,
-0.48887941241264343,
0.38135766983032227,
-0.26002269983291626,
0.6083683371543884,
0.36336466670036316,
-0.01677231676876545,
0.14146572351455688,
0.2023962140083313,
0.0427674874663353,
0.24537429213523865,
0.37040019035339355,
0.2853342294692993,
-0.1474469006061554,
-0.3849027752876282,
-0.3310813903808594,
-0.3185829520225525,
0.24926114082336426,
-0.011536069214344025,
0.46200162172317505,
0.22918441891670227,
0.13495245575904846,
-0.22894534468650818,
0.03396767005324364,
0.4562619924545288,
0.24487507343292236,
0.06480100005865097,
0.12697440385818481,
-0.21027156710624695,
0.08806735277175903,
-0.16163752973079681,
-0.2616661489009857,
0.060345590114593506,
-0.19204744696617126,
0.1918267160654068,
-0.2449941635131836,
-0.03858940675854683,
-0.01824047788977623,
0.05765683203935623,
-0.41939496994018555,
-0.07116588205099106,
0.1217799037694931,
-0.07177776098251343,
-0.035325273871421814,
-0.14743736386299133,
-0.31512969732284546,
0.029259219765663147,
-0.018770731985569,
-0.037876613438129425,
0.2944748103618622,
0.07754558324813843,
-0.005425367504358292,
0.14762850105762482,
-0.4997338354587555,
-0.274305522441864,
0.025823621079325676,
0.4406975507736206,
-0.2658596932888031,
-0.24880722165107727,
0.1811848133802414,
0.030760273337364197,
-0.24000412225723267,
0.13206534087657928,
0.3002212345600128,
0.06488694995641708,
0.09182757884263992,
-0.5590923428535461,
-0.16210727393627167,
0.6869645118713379,
0.3171427547931671,
0.005396995693445206,
-0.1448841392993927,
0.10809707641601562,
0.21409499645233154,
-0.2759183347225189,
-0.8308284282684326,
0.07735242694616318,
0.11107919365167618,
0.034342002123594284,
-0.3358501195907593,
0.4130391776561737,
-0.39655083417892456,
0.03054192289710045,
0.14695633947849274,
0.2626531720161438,
0.20950785279273987,
0.0917728915810585,
0.31629765033721924,
-0.14238479733467102
] |
https://github.com/huggingface/datasets/issues/1285 | boolq does not work | here is the minimal code to reproduce
`datasets>>> datasets.load_dataset("boolq", "train")
the errors
```
`cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Using custom data configuration train
Downloading and preparing dataset boolq/train (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /idiap/temp/rkarimi/cache_home_1/datasets/boolq/train/0.1.0/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
``` | Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, in main
for task in data_args.tasks]
File "finetune_t5_trainer.py", line 147, in <listcomp>
for task in data_args.tasks]
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 58, in get_dataset
dataset = self.load_dataset(split=split)
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 54, in load_dataset
return datasets.load_dataset(self.task.name, split=split)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
tensorflow.python.framework.errors_impl.AlreadyExistsError: file already exists
| 115 | boolq does not work
Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, in main
for task in data_args.tasks]
File "finetune_t5_trainer.py", line 147, in <listcomp>
for task in data_args.tasks]
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 58, in get_dataset
dataset = self.load_dataset(split=split)
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 54, in load_dataset
return datasets.load_dataset(self.task.name, split=split)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
tensorflow.python.framework.errors_impl.AlreadyExistsError: file already exists
here is the minimal code to reproduce
`datasets>>> datasets.load_dataset("boolq", "train")
the errors
```
`cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
Using custom data configuration train
Downloading and preparing dataset boolq/train (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /idiap/temp/rkarimi/cache_home_1/datasets/boolq/train/0.1.0/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11...
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets
cahce dir /idiap/temp/rkarimi/cache_home_1/datasets/downloads
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
``` | [
-0.21914353966712952,
-0.2052229791879654,
-0.10218283534049988,
0.05680454522371292,
0.04338574782013893,
0.07777070254087448,
0.35754674673080444,
0.25291943550109863,
0.25454843044281006,
-0.02909374237060547,
-0.1371183544397354,
0.31804677844047546,
-0.2989821135997772,
0.43595969676971436,
-0.03752712905406952,
-0.010444074869155884,
-0.20010551810264587,
0.06170684099197388,
0.019457343965768814,
0.12531757354736328,
-0.37671908736228943,
0.45271849632263184,
-0.39502865076065063,
0.1717272400856018,
0.039792004972696304,
-0.1584233194589615,
0.0690804123878479,
0.2183282971382141,
-0.30450570583343506,
-0.367679625749588,
0.18755532801151276,
-0.01609782502055168,
0.16025397181510925,
0.19536811113357544,
-0.00010028699034592137,
0.012421742081642151,
0.34342437982559204,
0.02936525084078312,
-0.17099228501319885,
-0.31912726163864136,
-0.1750641167163849,
-0.3502524495124817,
0.28965526819229126,
-0.08379743993282318,
-0.009210847318172455,
0.08446206152439117,
-0.04036080092191696,
0.1825932413339615,
0.3829547166824341,
0.3910406231880188,
0.3393365740776062,
0.0961858481168747,
0.1874352991580963,
-0.21472354233264923,
0.27719846367836,
-0.5643303990364075,
0.03467415273189545,
0.10412032902240753,
0.2713560461997986,
-0.13683804869651794,
0.06662741303443909,
0.14797727763652802,
-0.2208089530467987,
-0.2162981778383255,
-0.10513702780008316,
-0.20812378823757172,
-0.07795468717813492,
-0.3245043158531189,
0.1794872283935547,
0.0790969654917717,
0.6055174469947815,
-0.0848836675286293,
-0.05212941765785217,
0.19291657209396362,
0.23856069147586823,
-0.10727386921644211,
0.16383329033851624,
0.013731407932937145,
0.059949908405542374,
0.054482512176036835,
0.23408463597297668,
-0.38522517681121826,
-0.02476688101887703,
0.04136084392666817,
-0.0779065415263176,
0.20633083581924438,
-0.06652452796697617,
0.03909849375486374,
0.21142461895942688,
-0.20908133685588837,
0.16634364426136017,
0.5085058808326721,
-0.10965798795223236,
-0.003865364007651806,
-0.6627798080444336,
0.024767599999904633,
0.2779555320739746,
0.107672780752182,
-0.05272076278924942,
0.003231193870306015,
-0.26587918400764465,
0.06741930544376373,
0.16941799223423004,
0.15855146944522858,
-0.1650962084531784,
0.39168697595596313,
0.22894668579101562,
0.27971628308296204,
0.07274691760540009,
0.2224867194890976,
-0.22736501693725586,
0.20742425322532654,
-0.29100704193115234,
-0.49213844537734985,
-0.016081929206848145,
0.134841650724411,
0.36294102668762207,
-0.0850621908903122,
-0.23915418982505798,
-0.10363007336854935,
-0.19592279195785522,
-0.02489064820110798,
0.3913448452949524,
0.789189875125885,
0.1488984078168869,
-0.3131633996963501,
0.16999205946922302,
0.0756845772266388,
-0.2671211063861847,
-0.18683476746082306,
-0.3410370647907257,
0.28029486536979675,
0.07509785890579224,
-0.1892601102590561,
0.1544688194990158,
-0.34932181239128113,
0.16059060394763947,
0.16381260752677917,
-0.07576292753219604,
-0.10152900964021683,
0.2639562785625458,
-0.18079300224781036,
-0.27961957454681396,
0.20341438055038452,
-0.16604305803775787,
0.04123057425022125,
0.22217215597629547,
0.08216366171836853,
-0.06373416632413864,
0.2537778615951538,
-0.34426575899124146,
-0.4547121822834015,
-0.16177812218666077,
0.3301040828227997,
0.18942031264305115,
-0.27367883920669556,
0.18260034918785095,
0.22611692547798157,
0.1871691346168518,
-0.11256499588489532,
-0.195693701505661,
-0.3212907910346985,
-0.2962060570716858,
-0.18228332698345184,
0.2448647916316986,
0.3433954119682312,
-0.4542226195335388,
-0.09338930249214172,
-0.2166297435760498,
-0.24611300230026245,
-0.054044224321842194,
0.14669150114059448,
-0.21974338591098785,
0.39864301681518555,
-0.1403479427099228,
0.018856167793273926,
0.10121477395296097,
-0.29503151774406433,
-0.4969397485256195,
0.26335573196411133,
-0.2121247500181198,
-0.1468687504529953,
-0.26928120851516724,
0.0484413243830204,
0.194154754281044,
0.15392738580703735,
0.00513787567615509,
0.056557416915893555,
0.20506085455417633,
-0.2150685340166092,
-0.1294437199831009,
-0.09460261464118958,
0.22989407181739807,
0.36117327213287354,
0.19076284766197205,
-0.09962356835603714,
-0.003834068775177002,
0.06609869748353958,
0.054560307413339615,
0.21241793036460876,
-0.2959647476673126,
0.26068782806396484,
0.2629837393760681,
-0.16796493530273438,
0.049737680703401566,
0.04900536686182022,
-0.3281366229057312,
0.1711828112602234,
-0.17738725244998932,
0.12841661274433136,
0.008867479860782623,
0.22013957798480988,
-0.38570261001586914,
0.12479109317064285,
-0.24563120305538177,
0.05683388561010361,
0.23087358474731445,
-0.2148270308971405,
-0.09749189019203186,
0.0471499003469944,
-0.15396222472190857,
0.2841617465019226,
-0.1739644706249237,
0.05563202500343323,
-0.07114461064338684,
-0.056467823684215546,
-0.31747522950172424,
-0.16090336441993713,
0.22785168886184692,
0.15879623591899872,
0.17428039014339447,
0.021685916930437088,
0.0050524757243692875,
0.35548296570777893,
0.08031163364648819,
-0.031742021441459656,
-0.21114930510520935,
-0.4885711669921875,
-0.03459298610687256,
-0.11390635371208191,
0.038438599556684494,
0.10273154079914093,
0.1070287674665451,
0.12054095417261124,
0.43042880296707153,
0.23636235296726227,
-0.16775383055210114,
-0.051525138318538666,
-0.06336396932601929,
0.19176793098449707,
0.1616194099187851,
0.027959387749433517,
-0.08298417180776596,
-0.05700276792049408,
0.40933528542518616,
0.04353662580251694,
-0.06505756080150604,
-0.05906521528959274,
-0.01952579990029335,
0.014713630080223083,
0.4898831844329834,
0.13447359204292297,
0.06251689791679382,
-0.10881806164979935,
0.2517288625240326,
0.1401914656162262,
0.030250567942857742,
0.13283737003803253,
0.27774882316589355,
0.10642337054014206,
-0.4235241711139679,
-0.03668598830699921,
-0.026451990008354187,
-0.26712509989738464,
0.09891469776630402,
-0.31506943702697754,
-0.11280649155378342,
0.19158542156219482,
-0.024615714326500893,
-0.16284678876399994,
-0.15111087262630463,
-0.25339674949645996,
0.11310610920190811,
0.3443554639816284,
-0.13738428056240082,
-0.05773754417896271,
-0.1854241043329239,
-0.27374687790870667,
0.34025463461875916,
-0.06820051372051239,
0.03710596635937691,
-0.31640198826789856,
0.22170287370681763,
-0.07707473635673523,
0.13876347243785858,
0.3388940095901489,
-0.028524506837129593,
0.10940754413604736,
0.3005983233451843,
-0.2708335518836975,
-0.01808289811015129,
-0.21603359282016754,
-0.1804673969745636,
0.15160000324249268,
0.11197245121002197,
-0.213708758354187,
0.03053026832640171,
-0.10871095955371857,
-0.016913877800107002,
-0.004822099581360817,
-0.3049965798854828,
-0.11383938789367676,
-0.3007989525794983,
0.30577510595321655,
0.25158071517944336,
0.05968334153294563,
-0.3211914896965027,
-0.0032183160074055195,
0.17922037839889526,
-0.21304503083229065,
-0.08018890768289566,
0.15806804597377777,
0.14491404592990875,
-0.020549029111862183,
-0.20479930937290192,
-0.4926881492137909,
-0.5303477644920349,
-0.4888478219509125,
-0.029207296669483185,
-0.04712953418493271,
0.17076647281646729,
0.3728390038013458,
-0.00822022557258606,
0.33358773589134216,
0.10692454874515533,
0.14270509779453278,
-0.05870910733938217,
-0.2668077051639557,
0.2721173167228699,
0.024967463687062263,
-0.30965089797973633,
0.15762947499752045,
0.12985773384571075,
0.35171401500701904,
-0.23759181797504425,
-0.18859155476093292,
0.1306704580783844,
0.009621341712772846,
0.06432390213012695,
-0.22090080380439758,
-0.18361586332321167,
0.052998047322034836,
-0.03960900008678436,
-0.041102588176727295,
0.09119977802038193,
-0.20692305266857147,
0.20173175632953644,
0.06431891769170761,
0.14484478533267975,
0.07729300856590271,
0.2657339870929718,
-0.07613763958215714,
0.5265437960624695,
0.03928055241703987,
0.1855732798576355,
0.26407402753829956,
0.1304626315832138,
0.1349707841873169,
-0.05066434293985367,
-0.53980952501297,
-0.06718618422746658,
0.4233143627643585,
-0.17216861248016357,
-0.036137133836746216,
-0.31682899594306946,
0.17607447504997253,
-0.2813009023666382,
-0.08633609116077423,
-0.1637950986623764,
-0.1836041957139969,
-0.14367713034152985,
-0.21761903166770935,
0.00367862731218338,
-0.022784488275647163,
0.3067977726459503,
0.16630098223686218,
-0.07026568055152893,
0.06772808730602264,
0.3873059153556824,
-0.1091512069106102,
-0.01574110798537731,
-0.2296457439661026,
-0.2658677399158478,
-0.25865769386291504,
0.3157220482826233,
-0.27923712134361267,
0.3146837055683136,
-0.15326499938964844,
-0.04285091161727905,
0.16657426953315735,
-0.08074638992547989,
0.4986979365348816,
0.050114572048187256,
-0.019134521484375,
0.12527009844779968,
-0.23785701394081116,
-0.0747511014342308,
-0.13078482449054718,
-0.19868899881839752,
0.17245633900165558,
-0.10191178321838379,
0.2336883842945099,
-0.22869384288787842,
0.13959719240665436,
-0.15113720297813416,
-0.14008234441280365,
-0.22613956034183502,
-0.44477176666259766,
-0.4023565351963043,
-0.27759668231010437,
-0.3293207883834839,
0.07147381454706192,
-0.06256844848394394,
0.38561466336250305,
-0.05542885512113571,
0.061547745019197464,
-0.031003711745142937,
-0.31000974774360657,
0.09279031306505203,
0.07534144818782806,
0.3129445016384125,
-0.12782283127307892,
0.07313448190689087,
-0.10845549404621124,
0.02090485766530037,
0.08223911374807358,
0.25752007961273193,
-0.16183583438396454,
-0.16287380456924438,
0.049507465213537216,
0.07911909371614456,
0.1855979561805725,
0.026385292410850525,
-0.4029694199562073,
0.2586004137992859,
0.01879630610346794,
0.03384275361895561,
0.3420662581920624,
-0.10903721302747726,
0.11407860368490219,
0.0074263522401452065,
0.1009616106748581,
-0.2298305332660675,
-0.06161261349916458,
-0.058305393904447556,
0.052900031208992004,
0.10049328207969666,
-0.08079324662685394,
-0.029965220019221306,
0.22405464947223663,
-0.1453298032283783,
0.5065828561782837,
-0.4068636894226074,
-0.027050543576478958,
0.3145804703235626,
0.10907897353172302,
0.44959673285484314,
-0.011294562369585037,
0.352752685546875,
-0.5087308287620544,
-0.3376002609729767,
0.18968504667282104,
-0.08025183528661728,
-0.02031075209379196,
-0.4732179045677185,
-0.5903366208076477,
0.2061621993780136,
-0.34761911630630493,
0.29622918367385864,
-0.018241653218865395,
0.16566453874111176,
-0.11268842965364456,
0.1834343820810318,
-0.22062985599040985,
0.22865590453147888,
-0.1790464073419571,
0.24798597395420074,
-0.28231680393218994,
-0.0033895978704094887,
0.16139836609363556,
-0.15828266739845276,
-0.12492857873439789,
0.28582581877708435,
-0.16202393174171448,
0.2359030693769455,
0.20301379263401031,
-0.13503476977348328,
0.1564134806394577,
0.45390480756759644,
-0.19383348524570465,
0.2831208109855652,
-0.07736650109291077,
0.08884693682193756,
0.0780036672949791,
-0.11405123025178909,
-0.14611250162124634,
0.2270626723766327,
0.40833568572998047,
-0.032615236937999725,
-0.18814069032669067,
0.6344343423843384,
0.0801858901977539,
0.06859888136386871,
-0.2457522451877594,
0.18955573439598083,
-0.06154313683509827,
-0.2341834306716919,
-0.23737388849258423,
-0.30776089429855347,
-0.001070663332939148,
-0.16092662513256073,
0.19548077881336212,
-0.024968020617961884,
-0.12624721229076385,
0.0540265217423439,
-0.0867680162191391,
-0.46196529269218445,
-0.0013349782675504684,
0.3493005037307739,
0.06245838850736618,
0.23410972952842712,
0.7029870748519897,
0.3712260127067566,
-0.03979668766260147,
-0.3196720778942108,
-0.018800538033246994,
-0.07119070738554001,
0.009313777089118958,
0.2136896550655365,
0.11833242326974869,
0.04403004050254822,
0.31655818223953247,
0.2889673411846161,
-0.013255279511213303,
0.03726310282945633,
0.07553671300411224,
-0.3809621036052704,
-0.395748496055603,
0.2548049986362457,
-0.21247141063213348,
0.010013222694396973,
-0.10322776436805725,
0.14522257447242737,
0.07248024642467499,
0.11296495050191879,
-0.4067445993423462,
0.019754372537136078,
-0.5416103005409241,
-0.1763853281736374,
-0.0903906524181366,
-0.1376824676990509,
0.0024854957591742277,
0.26501065492630005,
0.27800723910331726,
0.1707056611776352,
-0.216060608625412,
-0.32265910506248474,
-0.061407435685396194,
0.05232565104961395,
0.1314619779586792,
0.14786985516548157,
-0.2413240671157837,
-0.32038265466690063,
-0.07400615513324738,
0.31706342101097107,
-0.1286107301712036,
-0.03822916001081467,
0.0708729550242424,
0.34965136647224426,
0.003503512591123581,
0.02528940886259079,
-0.09366031736135483,
0.2850469946861267,
-0.13725882768630981,
-0.034302279353141785,
0.07653694599866867,
0.12171647697687149,
0.16661687195301056,
-0.045256391167640686,
-0.3469077944755554,
0.05636604130268097,
0.12957319617271423,
0.002626173198223114,
-0.030915483832359314,
-0.15314973890781403,
0.07347443699836731,
-0.1278025507926941,
0.13209585845470428,
0.5306501388549805,
-0.22507444024085999,
-0.21795696020126343,
0.09094973653554916,
0.31238093972206116,
-0.23106493055820465,
0.24804656207561493,
-0.2824622392654419,
0.013238083571195602,
-0.05378095805644989,
0.19573688507080078,
-0.21509575843811035,
-0.12932580709457397,
-0.030008845031261444,
0.13271835446357727,
0.13680754601955414,
0.12387710064649582,
0.010743528604507446,
0.31665170192718506,
-0.2526707053184509,
-0.1326475888490677,
0.2524022161960602,
0.18378488719463348,
-0.057935453951358795,
0.40166789293289185,
-0.3799150586128235,
0.04276922345161438,
-0.15859529376029968,
0.3562552034854889,
0.1159767359495163,
-0.3820236921310425,
-0.06183401867747307,
0.3805200457572937,
0.07349741458892822,
-0.4506341516971588,
-0.3727973997592926,
0.4307151734828949,
0.13826783001422882,
-0.03129417821764946,
0.09188774228096008,
0.21258746087551117,
-0.43611496686935425,
-0.2103603035211563,
-0.18920819461345673,
-0.04580071568489075,
-0.1491173505783081,
-0.009861590340733528,
0.02621346153318882,
0.0587632991373539,
0.12395897507667542,
0.21940577030181885,
-0.006783284246921539,
-0.32879576086997986,
0.22412055730819702,
0.2449515461921692,
-0.3615395426750183,
-0.21531617641448975,
0.2987225353717804,
0.06372743844985962,
0.28536611795425415,
0.30193665623664856,
-0.1928015947341919,
0.2815845012664795,
0.4341528117656708,
-0.3539811670780182,
0.06861139833927155,
-0.024979572743177414,
-0.05228094756603241,
0.030484355986118317,
0.36183175444602966,
0.33116674423217773,
0.45364078879356384,
0.3099970817565918,
0.17056593298912048,
-0.16110341250896454,
0.14053873717784882,
0.19247768819332123,
0.05762958154082298,
-0.06612230837345123,
0.5304338932037354,
0.041904181241989136,
0.09304287284612656,
-0.10551978647708893,
0.22251242399215698,
-0.4005812704563141,
-0.13013963401317596,
0.19828630983829498,
0.26251354813575745,
0.1857815682888031,
-0.23424729704856873,
0.14943557977676392,
-0.20712733268737793,
0.31052953004837036,
0.3286699056625366,
0.5006897449493408,
-0.43035009503364563,
0.1608484536409378,
-0.4329148232936859,
0.27686309814453125,
0.12562152743339539,
-0.13079194724559784,
-0.10682263970375061,
0.11942467093467712,
-0.11110367625951767,
-0.01432926207780838,
0.19698305428028107,
-0.006037223152816296,
0.10798310488462448,
-0.15499050915241241,
-0.28927677869796753,
0.12594819068908691,
0.08026864379644394,
0.04603324458003044,
0.001890227198600769,
-0.047212451696395874,
0.08446929603815079,
-0.48705655336380005,
0.1282547116279602,
-0.34436172246932983,
-0.3882576823234558,
0.2019643485546112,
-0.043356649577617645,
0.24461932480335236,
-0.04673907905817032,
0.15583744645118713,
-0.05140542984008789,
0.04055463522672653,
-0.0031453482806682587,
-0.1967606246471405,
-0.14371955394744873,
-0.007174178957939148,
0.2906821668148041,
-0.04170243442058563,
-0.13554415106773376,
0.24345967173576355,
-0.2620754837989807,
0.25426313281059265,
-0.12073790282011032,
-0.09129790216684341,
-0.29479897022247314,
-0.05204562097787857,
0.16745024919509888,
-0.09519597887992859,
0.11167645454406738,
0.22947958111763,
0.04912419989705086,
0.2940320372581482,
-0.5586978197097778,
-0.10861565917730331,
0.5152432918548584,
0.09381606429815292,
-0.06253056228160858,
0.0418023020029068,
0.16004541516304016,
0.08209683746099472,
0.014741456136107445,
-0.26468539237976074,
0.15516552329063416,
0.2506594955921173,
-0.0373104065656662,
0.008277907967567444,
0.3977276682853699,
0.17397712171077728,
0.19247397780418396,
-0.15798518061637878,
-0.1946324110031128,
0.257095605134964,
0.1329272836446762,
-0.012446016073226929,
0.06329426169395447
] |
https://github.com/huggingface/datasets/issues/1285 | boolq does not work | This has been fixed by #881
this fix will be available in the next release soon.
If you don't want to wait for the release you can actually load the latest version of boolq by specifying `script_version="master"` in `load_dataset` | Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, in main
for task in data_args.tasks]
File "finetune_t5_trainer.py", line 147, in <listcomp>
for task in data_args.tasks]
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 58, in get_dataset
dataset = self.load_dataset(split=split)
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 54, in load_dataset
return datasets.load_dataset(self.task.name, split=split)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
tensorflow.python.framework.errors_impl.AlreadyExistsError: file already exists
| 39 | boolq does not work
Hi
I am getting this error when trying to load boolq, thanks for your help
ts_boolq_default_0.1.0_2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11.lock
Traceback (most recent call last):
File "finetune_t5_trainer.py", line 274, in <module>
main()
File "finetune_t5_trainer.py", line 147, in main
for task in data_args.tasks]
File "finetune_t5_trainer.py", line 147, in <listcomp>
for task in data_args.tasks]
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 58, in get_dataset
dataset = self.load_dataset(split=split)
File "/remote/idiap.svm/user.active/rkarimi/dev/ruse/seq2seq/tasks/tasks.py", line 54, in load_dataset
return datasets.load_dataset(self.task.name, split=split)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/load.py", line 611, in load_dataset
ignore_verifications=ignore_verifications,
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 476, in download_and_prepare
dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/builder.py", line 531, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File " /idiap/home/rkarimi/.cache/huggingface/modules/datasets_modules/datasets/boolq/2987db1f15deaa19500ae24de560eabeaf1f8ef51df88c0470beeec72943bf11/boolq.py", line 74, in _split_generators
downloaded_files = dl_manager.download_custom(urls_to_download, tf.io.gfile.copy)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/datasets/utils/download_manager.py", line 149, in download_custom
custom_download(url, path)
File "/idiap/user/rkarimi/libs/anaconda3/envs/internship/lib/python3.7/site-packages/tensorflow/python/lib/io/file_io.py", line 516, in copy_v2
compat.path_to_bytes(src), compat.path_to_bytes(dst), overwrite)
tensorflow.python.framework.errors_impl.AlreadyExistsError: file already exists
This has been fixed by #881
this fix will be available in the next release soon.
If you don't want to wait for the release you can actually load the latest version of boolq by specifying `script_version="master"` in `load_dataset` | [
-0.21914353966712952,
-0.2052229791879654,
-0.10218283534049988,
0.05680454522371292,
0.04338574782013893,
0.07777070254087448,
0.35754674673080444,
0.25291943550109863,
0.25454843044281006,
-0.02909374237060547,
-0.1371183544397354,
0.31804677844047546,
-0.2989821135997772,
0.43595969676971436,
-0.03752712905406952,
-0.010444074869155884,
-0.20010551810264587,
0.06170684099197388,
0.019457343965768814,
0.12531757354736328,
-0.37671908736228943,
0.45271849632263184,
-0.39502865076065063,
0.1717272400856018,
0.039792004972696304,
-0.1584233194589615,
0.0690804123878479,
0.2183282971382141,
-0.30450570583343506,
-0.367679625749588,
0.18755532801151276,
-0.01609782502055168,
0.16025397181510925,
0.19536811113357544,
-0.00010028699034592137,
0.012421742081642151,
0.34342437982559204,
0.02936525084078312,
-0.17099228501319885,
-0.31912726163864136,
-0.1750641167163849,
-0.3502524495124817,
0.28965526819229126,
-0.08379743993282318,
-0.009210847318172455,
0.08446206152439117,
-0.04036080092191696,
0.1825932413339615,
0.3829547166824341,
0.3910406231880188,
0.3393365740776062,
0.0961858481168747,
0.1874352991580963,
-0.21472354233264923,
0.27719846367836,
-0.5643303990364075,
0.03467415273189545,
0.10412032902240753,
0.2713560461997986,
-0.13683804869651794,
0.06662741303443909,
0.14797727763652802,
-0.2208089530467987,
-0.2162981778383255,
-0.10513702780008316,
-0.20812378823757172,
-0.07795468717813492,
-0.3245043158531189,
0.1794872283935547,
0.0790969654917717,
0.6055174469947815,
-0.0848836675286293,
-0.05212941765785217,
0.19291657209396362,
0.23856069147586823,
-0.10727386921644211,
0.16383329033851624,
0.013731407932937145,
0.059949908405542374,
0.054482512176036835,
0.23408463597297668,
-0.38522517681121826,
-0.02476688101887703,
0.04136084392666817,
-0.0779065415263176,
0.20633083581924438,
-0.06652452796697617,
0.03909849375486374,
0.21142461895942688,
-0.20908133685588837,
0.16634364426136017,
0.5085058808326721,
-0.10965798795223236,
-0.003865364007651806,
-0.6627798080444336,
0.024767599999904633,
0.2779555320739746,
0.107672780752182,
-0.05272076278924942,
0.003231193870306015,
-0.26587918400764465,
0.06741930544376373,
0.16941799223423004,
0.15855146944522858,
-0.1650962084531784,
0.39168697595596313,
0.22894668579101562,
0.27971628308296204,
0.07274691760540009,
0.2224867194890976,
-0.22736501693725586,
0.20742425322532654,
-0.29100704193115234,
-0.49213844537734985,
-0.016081929206848145,
0.134841650724411,
0.36294102668762207,
-0.0850621908903122,
-0.23915418982505798,
-0.10363007336854935,
-0.19592279195785522,
-0.02489064820110798,
0.3913448452949524,
0.789189875125885,
0.1488984078168869,
-0.3131633996963501,
0.16999205946922302,
0.0756845772266388,
-0.2671211063861847,
-0.18683476746082306,
-0.3410370647907257,
0.28029486536979675,
0.07509785890579224,
-0.1892601102590561,
0.1544688194990158,
-0.34932181239128113,
0.16059060394763947,
0.16381260752677917,
-0.07576292753219604,
-0.10152900964021683,
0.2639562785625458,
-0.18079300224781036,
-0.27961957454681396,
0.20341438055038452,
-0.16604305803775787,
0.04123057425022125,
0.22217215597629547,
0.08216366171836853,
-0.06373416632413864,
0.2537778615951538,
-0.34426575899124146,
-0.4547121822834015,
-0.16177812218666077,
0.3301040828227997,
0.18942031264305115,
-0.27367883920669556,
0.18260034918785095,
0.22611692547798157,
0.1871691346168518,
-0.11256499588489532,
-0.195693701505661,
-0.3212907910346985,
-0.2962060570716858,
-0.18228332698345184,
0.2448647916316986,
0.3433954119682312,
-0.4542226195335388,
-0.09338930249214172,
-0.2166297435760498,
-0.24611300230026245,
-0.054044224321842194,
0.14669150114059448,
-0.21974338591098785,
0.39864301681518555,
-0.1403479427099228,
0.018856167793273926,
0.10121477395296097,
-0.29503151774406433,
-0.4969397485256195,
0.26335573196411133,
-0.2121247500181198,
-0.1468687504529953,
-0.26928120851516724,
0.0484413243830204,
0.194154754281044,
0.15392738580703735,
0.00513787567615509,
0.056557416915893555,
0.20506085455417633,
-0.2150685340166092,
-0.1294437199831009,
-0.09460261464118958,
0.22989407181739807,
0.36117327213287354,
0.19076284766197205,
-0.09962356835603714,
-0.003834068775177002,
0.06609869748353958,
0.054560307413339615,
0.21241793036460876,
-0.2959647476673126,
0.26068782806396484,
0.2629837393760681,
-0.16796493530273438,
0.049737680703401566,
0.04900536686182022,
-0.3281366229057312,
0.1711828112602234,
-0.17738725244998932,
0.12841661274433136,
0.008867479860782623,
0.22013957798480988,
-0.38570261001586914,
0.12479109317064285,
-0.24563120305538177,
0.05683388561010361,
0.23087358474731445,
-0.2148270308971405,
-0.09749189019203186,
0.0471499003469944,
-0.15396222472190857,
0.2841617465019226,
-0.1739644706249237,
0.05563202500343323,
-0.07114461064338684,
-0.056467823684215546,
-0.31747522950172424,
-0.16090336441993713,
0.22785168886184692,
0.15879623591899872,
0.17428039014339447,
0.021685916930437088,
0.0050524757243692875,
0.35548296570777893,
0.08031163364648819,
-0.031742021441459656,
-0.21114930510520935,
-0.4885711669921875,
-0.03459298610687256,
-0.11390635371208191,
0.038438599556684494,
0.10273154079914093,
0.1070287674665451,
0.12054095417261124,
0.43042880296707153,
0.23636235296726227,
-0.16775383055210114,
-0.051525138318538666,
-0.06336396932601929,
0.19176793098449707,
0.1616194099187851,
0.027959387749433517,
-0.08298417180776596,
-0.05700276792049408,
0.40933528542518616,
0.04353662580251694,
-0.06505756080150604,
-0.05906521528959274,
-0.01952579990029335,
0.014713630080223083,
0.4898831844329834,
0.13447359204292297,
0.06251689791679382,
-0.10881806164979935,
0.2517288625240326,
0.1401914656162262,
0.030250567942857742,
0.13283737003803253,
0.27774882316589355,
0.10642337054014206,
-0.4235241711139679,
-0.03668598830699921,
-0.026451990008354187,
-0.26712509989738464,
0.09891469776630402,
-0.31506943702697754,
-0.11280649155378342,
0.19158542156219482,
-0.024615714326500893,
-0.16284678876399994,
-0.15111087262630463,
-0.25339674949645996,
0.11310610920190811,
0.3443554639816284,
-0.13738428056240082,
-0.05773754417896271,
-0.1854241043329239,
-0.27374687790870667,
0.34025463461875916,
-0.06820051372051239,
0.03710596635937691,
-0.31640198826789856,
0.22170287370681763,
-0.07707473635673523,
0.13876347243785858,
0.3388940095901489,
-0.028524506837129593,
0.10940754413604736,
0.3005983233451843,
-0.2708335518836975,
-0.01808289811015129,
-0.21603359282016754,
-0.1804673969745636,
0.15160000324249268,
0.11197245121002197,
-0.213708758354187,
0.03053026832640171,
-0.10871095955371857,
-0.016913877800107002,
-0.004822099581360817,
-0.3049965798854828,
-0.11383938789367676,
-0.3007989525794983,
0.30577510595321655,
0.25158071517944336,
0.05968334153294563,
-0.3211914896965027,
-0.0032183160074055195,
0.17922037839889526,
-0.21304503083229065,
-0.08018890768289566,
0.15806804597377777,
0.14491404592990875,
-0.020549029111862183,
-0.20479930937290192,
-0.4926881492137909,
-0.5303477644920349,
-0.4888478219509125,
-0.029207296669483185,
-0.04712953418493271,
0.17076647281646729,
0.3728390038013458,
-0.00822022557258606,
0.33358773589134216,
0.10692454874515533,
0.14270509779453278,
-0.05870910733938217,
-0.2668077051639557,
0.2721173167228699,
0.024967463687062263,
-0.30965089797973633,
0.15762947499752045,
0.12985773384571075,
0.35171401500701904,
-0.23759181797504425,
-0.18859155476093292,
0.1306704580783844,
0.009621341712772846,
0.06432390213012695,
-0.22090080380439758,
-0.18361586332321167,
0.052998047322034836,
-0.03960900008678436,
-0.041102588176727295,
0.09119977802038193,
-0.20692305266857147,
0.20173175632953644,
0.06431891769170761,
0.14484478533267975,
0.07729300856590271,
0.2657339870929718,
-0.07613763958215714,
0.5265437960624695,
0.03928055241703987,
0.1855732798576355,
0.26407402753829956,
0.1304626315832138,
0.1349707841873169,
-0.05066434293985367,
-0.53980952501297,
-0.06718618422746658,
0.4233143627643585,
-0.17216861248016357,
-0.036137133836746216,
-0.31682899594306946,
0.17607447504997253,
-0.2813009023666382,
-0.08633609116077423,
-0.1637950986623764,
-0.1836041957139969,
-0.14367713034152985,
-0.21761903166770935,
0.00367862731218338,
-0.022784488275647163,
0.3067977726459503,
0.16630098223686218,
-0.07026568055152893,
0.06772808730602264,
0.3873059153556824,
-0.1091512069106102,
-0.01574110798537731,
-0.2296457439661026,
-0.2658677399158478,
-0.25865769386291504,
0.3157220482826233,
-0.27923712134361267,
0.3146837055683136,
-0.15326499938964844,
-0.04285091161727905,
0.16657426953315735,
-0.08074638992547989,
0.4986979365348816,
0.050114572048187256,
-0.019134521484375,
0.12527009844779968,
-0.23785701394081116,
-0.0747511014342308,
-0.13078482449054718,
-0.19868899881839752,
0.17245633900165558,
-0.10191178321838379,
0.2336883842945099,
-0.22869384288787842,
0.13959719240665436,
-0.15113720297813416,
-0.14008234441280365,
-0.22613956034183502,
-0.44477176666259766,
-0.4023565351963043,
-0.27759668231010437,
-0.3293207883834839,
0.07147381454706192,
-0.06256844848394394,
0.38561466336250305,
-0.05542885512113571,
0.061547745019197464,
-0.031003711745142937,
-0.31000974774360657,
0.09279031306505203,
0.07534144818782806,
0.3129445016384125,
-0.12782283127307892,
0.07313448190689087,
-0.10845549404621124,
0.02090485766530037,
0.08223911374807358,
0.25752007961273193,
-0.16183583438396454,
-0.16287380456924438,
0.049507465213537216,
0.07911909371614456,
0.1855979561805725,
0.026385292410850525,
-0.4029694199562073,
0.2586004137992859,
0.01879630610346794,
0.03384275361895561,
0.3420662581920624,
-0.10903721302747726,
0.11407860368490219,
0.0074263522401452065,
0.1009616106748581,
-0.2298305332660675,
-0.06161261349916458,
-0.058305393904447556,
0.052900031208992004,
0.10049328207969666,
-0.08079324662685394,
-0.029965220019221306,
0.22405464947223663,
-0.1453298032283783,
0.5065828561782837,
-0.4068636894226074,
-0.027050543576478958,
0.3145804703235626,
0.10907897353172302,
0.44959673285484314,
-0.011294562369585037,
0.352752685546875,
-0.5087308287620544,
-0.3376002609729767,
0.18968504667282104,
-0.08025183528661728,
-0.02031075209379196,
-0.4732179045677185,
-0.5903366208076477,
0.2061621993780136,
-0.34761911630630493,
0.29622918367385864,
-0.018241653218865395,
0.16566453874111176,
-0.11268842965364456,
0.1834343820810318,
-0.22062985599040985,
0.22865590453147888,
-0.1790464073419571,
0.24798597395420074,
-0.28231680393218994,
-0.0033895978704094887,
0.16139836609363556,
-0.15828266739845276,
-0.12492857873439789,
0.28582581877708435,
-0.16202393174171448,
0.2359030693769455,
0.20301379263401031,
-0.13503476977348328,
0.1564134806394577,
0.45390480756759644,
-0.19383348524570465,
0.2831208109855652,
-0.07736650109291077,
0.08884693682193756,
0.0780036672949791,
-0.11405123025178909,
-0.14611250162124634,
0.2270626723766327,
0.40833568572998047,
-0.032615236937999725,
-0.18814069032669067,
0.6344343423843384,
0.0801858901977539,
0.06859888136386871,
-0.2457522451877594,
0.18955573439598083,
-0.06154313683509827,
-0.2341834306716919,
-0.23737388849258423,
-0.30776089429855347,
-0.001070663332939148,
-0.16092662513256073,
0.19548077881336212,
-0.024968020617961884,
-0.12624721229076385,
0.0540265217423439,
-0.0867680162191391,
-0.46196529269218445,
-0.0013349782675504684,
0.3493005037307739,
0.06245838850736618,
0.23410972952842712,
0.7029870748519897,
0.3712260127067566,
-0.03979668766260147,
-0.3196720778942108,
-0.018800538033246994,
-0.07119070738554001,
0.009313777089118958,
0.2136896550655365,
0.11833242326974869,
0.04403004050254822,
0.31655818223953247,
0.2889673411846161,
-0.013255279511213303,
0.03726310282945633,
0.07553671300411224,
-0.3809621036052704,
-0.395748496055603,
0.2548049986362457,
-0.21247141063213348,
0.010013222694396973,
-0.10322776436805725,
0.14522257447242737,
0.07248024642467499,
0.11296495050191879,
-0.4067445993423462,
0.019754372537136078,
-0.5416103005409241,
-0.1763853281736374,
-0.0903906524181366,
-0.1376824676990509,
0.0024854957591742277,
0.26501065492630005,
0.27800723910331726,
0.1707056611776352,
-0.216060608625412,
-0.32265910506248474,
-0.061407435685396194,
0.05232565104961395,
0.1314619779586792,
0.14786985516548157,
-0.2413240671157837,
-0.32038265466690063,
-0.07400615513324738,
0.31706342101097107,
-0.1286107301712036,
-0.03822916001081467,
0.0708729550242424,
0.34965136647224426,
0.003503512591123581,
0.02528940886259079,
-0.09366031736135483,
0.2850469946861267,
-0.13725882768630981,
-0.034302279353141785,
0.07653694599866867,
0.12171647697687149,
0.16661687195301056,
-0.045256391167640686,
-0.3469077944755554,
0.05636604130268097,
0.12957319617271423,
0.002626173198223114,
-0.030915483832359314,
-0.15314973890781403,
0.07347443699836731,
-0.1278025507926941,
0.13209585845470428,
0.5306501388549805,
-0.22507444024085999,
-0.21795696020126343,
0.09094973653554916,
0.31238093972206116,
-0.23106493055820465,
0.24804656207561493,
-0.2824622392654419,
0.013238083571195602,
-0.05378095805644989,
0.19573688507080078,
-0.21509575843811035,
-0.12932580709457397,
-0.030008845031261444,
0.13271835446357727,
0.13680754601955414,
0.12387710064649582,
0.010743528604507446,
0.31665170192718506,
-0.2526707053184509,
-0.1326475888490677,
0.2524022161960602,
0.18378488719463348,
-0.057935453951358795,
0.40166789293289185,
-0.3799150586128235,
0.04276922345161438,
-0.15859529376029968,
0.3562552034854889,
0.1159767359495163,
-0.3820236921310425,
-0.06183401867747307,
0.3805200457572937,
0.07349741458892822,
-0.4506341516971588,
-0.3727973997592926,
0.4307151734828949,
0.13826783001422882,
-0.03129417821764946,
0.09188774228096008,
0.21258746087551117,
-0.43611496686935425,
-0.2103603035211563,
-0.18920819461345673,
-0.04580071568489075,
-0.1491173505783081,
-0.009861590340733528,
0.02621346153318882,
0.0587632991373539,
0.12395897507667542,
0.21940577030181885,
-0.006783284246921539,
-0.32879576086997986,
0.22412055730819702,
0.2449515461921692,
-0.3615395426750183,
-0.21531617641448975,
0.2987225353717804,
0.06372743844985962,
0.28536611795425415,
0.30193665623664856,
-0.1928015947341919,
0.2815845012664795,
0.4341528117656708,
-0.3539811670780182,
0.06861139833927155,
-0.024979572743177414,
-0.05228094756603241,
0.030484355986118317,
0.36183175444602966,
0.33116674423217773,
0.45364078879356384,
0.3099970817565918,
0.17056593298912048,
-0.16110341250896454,
0.14053873717784882,
0.19247768819332123,
0.05762958154082298,
-0.06612230837345123,
0.5304338932037354,
0.041904181241989136,
0.09304287284612656,
-0.10551978647708893,
0.22251242399215698,
-0.4005812704563141,
-0.13013963401317596,
0.19828630983829498,
0.26251354813575745,
0.1857815682888031,
-0.23424729704856873,
0.14943557977676392,
-0.20712733268737793,
0.31052953004837036,
0.3286699056625366,
0.5006897449493408,
-0.43035009503364563,
0.1608484536409378,
-0.4329148232936859,
0.27686309814453125,
0.12562152743339539,
-0.13079194724559784,
-0.10682263970375061,
0.11942467093467712,
-0.11110367625951767,
-0.01432926207780838,
0.19698305428028107,
-0.006037223152816296,
0.10798310488462448,
-0.15499050915241241,
-0.28927677869796753,
0.12594819068908691,
0.08026864379644394,
0.04603324458003044,
0.001890227198600769,
-0.047212451696395874,
0.08446929603815079,
-0.48705655336380005,
0.1282547116279602,
-0.34436172246932983,
-0.3882576823234558,
0.2019643485546112,
-0.043356649577617645,
0.24461932480335236,
-0.04673907905817032,
0.15583744645118713,
-0.05140542984008789,
0.04055463522672653,
-0.0031453482806682587,
-0.1967606246471405,
-0.14371955394744873,
-0.007174178957939148,
0.2906821668148041,
-0.04170243442058563,
-0.13554415106773376,
0.24345967173576355,
-0.2620754837989807,
0.25426313281059265,
-0.12073790282011032,
-0.09129790216684341,
-0.29479897022247314,
-0.05204562097787857,
0.16745024919509888,
-0.09519597887992859,
0.11167645454406738,
0.22947958111763,
0.04912419989705086,
0.2940320372581482,
-0.5586978197097778,
-0.10861565917730331,
0.5152432918548584,
0.09381606429815292,
-0.06253056228160858,
0.0418023020029068,
0.16004541516304016,
0.08209683746099472,
0.014741456136107445,
-0.26468539237976074,
0.15516552329063416,
0.2506594955921173,
-0.0373104065656662,
0.008277907967567444,
0.3977276682853699,
0.17397712171077728,
0.19247397780418396,
-0.15798518061637878,
-0.1946324110031128,
0.257095605134964,
0.1329272836446762,
-0.012446016073226929,
0.06329426169395447
] |
https://github.com/huggingface/datasets/issues/1167 | ❓ On-the-fly tokenization with datasets, tokenizers, and torch Datasets and Dataloaders | We're working on adding on-the-fly transforms in datasets.
Currently the only on-the-fly functions that can be applied are in `set_format` in which we transform the data in either numpy/torch/tf tensors or pandas.
For example
```python
dataset.set_format("torch")
```
applies `torch.Tensor` to the dataset entries on-the-fly.
We plan to extend this to user-defined formatting transforms.
For example
```python
dataset.set_format(transform=tokenize)
```
What do you think ? | Hi there,
I have a question regarding "on-the-fly" tokenization. This question was elicited by reading the "How to train a new language model from scratch using Transformers and Tokenizers" [here](https://huggingface.co/blog/how-to-train). Towards the end there is this sentence: "If your dataset is very large, you can opt to load and tokenize examples on the fly, rather than as a preprocessing step". I've tried coming up with a solution that would combine both `datasets` and `tokenizers`, but did not manage to find a good pattern.
I guess the solution would entail wrapping a dataset into a Pytorch dataset.
As a concrete example from the [docs](https://huggingface.co/transformers/custom_datasets.html)
```python
import torch
class SquadDataset(torch.utils.data.Dataset):
def __init__(self, encodings):
# instead of doing this beforehand, I'd like to do tokenization on the fly
self.encodings = encodings
def __getitem__(self, idx):
return {key: torch.tensor(val[idx]) for key, val in self.encodings.items()}
def __len__(self):
return len(self.encodings.input_ids)
train_dataset = SquadDataset(train_encodings)
```
How would one implement this with "on-the-fly" tokenization exploiting the vectorized capabilities of tokenizers?
----
Edit: I have come up with this solution. It does what I want, but I feel it's not very elegant
```python
class CustomPytorchDataset(Dataset):
def __init__(self):
self.dataset = some_hf_dataset(...)
self.tokenizer = BertTokenizerFast.from_pretrained("bert-base-uncased")
def __getitem__(self, batch_idx):
instance = self.dataset[text_col][batch_idx]
tokenized_text = self.tokenizer(instance, truncation=True, padding=True)
return tokenized_text
def __len__(self):
return len(self.dataset)
@staticmethod
def collate_fn(batch):
# batch is a list, however it will always contain 1 item because we should not use the
# batch_size argument as batch_size is controlled by the sampler
return {k: torch.tensor(v) for k, v in batch[0].items()}
torch_ds = CustomPytorchDataset()
# NOTE: batch_sampler returns list of integers and since here we have SequentialSampler
# it returns: [1, 2, 3], [4, 5, 6], etc. - check calling `list(batch_sampler)`
batch_sampler = BatchSampler(SequentialSampler(torch_ds), batch_size=3, drop_last=True)
# NOTE: no `batch_size` as now the it is controlled by the sampler!
dl = DataLoader(dataset=torch_ds, sampler=batch_sampler, collate_fn=torch_ds.collate_fn)
``` | 63 | ❓ On-the-fly tokenization with datasets, tokenizers, and torch Datasets and Dataloaders
Hi there,
I have a question regarding "on-the-fly" tokenization. This question was elicited by reading the "How to train a new language model from scratch using Transformers and Tokenizers" [here](https://huggingface.co/blog/how-to-train). Towards the end there is this sentence: "If your dataset is very large, you can opt to load and tokenize examples on the fly, rather than as a preprocessing step". I've tried coming up with a solution that would combine both `datasets` and `tokenizers`, but did not manage to find a good pattern.
I guess the solution would entail wrapping a dataset into a Pytorch dataset.
As a concrete example from the [docs](https://huggingface.co/transformers/custom_datasets.html)
```python
import torch
class SquadDataset(torch.utils.data.Dataset):
def __init__(self, encodings):
# instead of doing this beforehand, I'd like to do tokenization on the fly
self.encodings = encodings
def __getitem__(self, idx):
return {key: torch.tensor(val[idx]) for key, val in self.encodings.items()}
def __len__(self):
return len(self.encodings.input_ids)
train_dataset = SquadDataset(train_encodings)
```
How would one implement this with "on-the-fly" tokenization exploiting the vectorized capabilities of tokenizers?
----
Edit: I have come up with this solution. It does what I want, but I feel it's not very elegant
```python
class CustomPytorchDataset(Dataset):
def __init__(self):
self.dataset = some_hf_dataset(...)
self.tokenizer = BertTokenizerFast.from_pretrained("bert-base-uncased")
def __getitem__(self, batch_idx):
instance = self.dataset[text_col][batch_idx]
tokenized_text = self.tokenizer(instance, truncation=True, padding=True)
return tokenized_text
def __len__(self):
return len(self.dataset)
@staticmethod
def collate_fn(batch):
# batch is a list, however it will always contain 1 item because we should not use the
# batch_size argument as batch_size is controlled by the sampler
return {k: torch.tensor(v) for k, v in batch[0].items()}
torch_ds = CustomPytorchDataset()
# NOTE: batch_sampler returns list of integers and since here we have SequentialSampler
# it returns: [1, 2, 3], [4, 5, 6], etc. - check calling `list(batch_sampler)`
batch_sampler = BatchSampler(SequentialSampler(torch_ds), batch_size=3, drop_last=True)
# NOTE: no `batch_size` as now the it is controlled by the sampler!
dl = DataLoader(dataset=torch_ds, sampler=batch_sampler, collate_fn=torch_ds.collate_fn)
```
We're working on adding on-the-fly transforms in datasets.
Currently the only on-the-fly functions that can be applied are in `set_format` in which we transform the data in either numpy/torch/tf tensors or pandas.
For example
```python
dataset.set_format("torch")
```
applies `torch.Tensor` to the dataset entries on-the-fly.
We plan to extend this to user-defined formatting transforms.
For example
```python
dataset.set_format(transform=tokenize)
```
What do you think ? | [
-0.05715334042906761,
-0.03786177188158035,
0.05116450414061546,
-0.09090286493301392,
0.17802171409130096,
-0.022166669368743896,
0.5987793207168579,
0.08288940042257309,
-0.31517845392227173,
-0.07321520149707794,
0.1041465550661087,
0.2624968886375427,
-0.28402209281921387,
0.0880034863948822,
0.18340162932872772,
-0.0820700079202652,
0.2904807925224304,
0.029753059148788452,
0.11733432114124298,
0.1771770566701889,
0.1671276092529297,
-0.35002997517585754,
-0.21165406703948975,
0.07447998970746994,
-0.4641672372817993,
-0.311095654964447,
-0.20857523381710052,
-0.3593769967556,
-0.13595709204673767,
-0.4139525592327118,
0.1105545163154602,
0.3210943937301636,
0.5333423614501953,
0.5197013020515442,
-0.00012201325444038957,
0.006074666976928711,
-0.0021990016102790833,
-0.0038485191762447357,
-0.22551897168159485,
-0.08147923648357391,
0.5955743193626404,
-0.20864853262901306,
0.04167415201663971,
-0.19670382142066956,
0.12415038794279099,
-0.3029722273349762,
-0.04991437494754791,
-0.3180963099002838,
0.44916558265686035,
-0.1373937427997589,
0.050225187093019485,
0.3842605650424957,
-0.14093255996704102,
0.1993175595998764,
-0.029662005603313446,
0.23494647443294525,
-0.08495732396841049,
-0.2966649830341339,
0.3195875883102417,
-0.183372363448143,
-0.23528224229812622,
0.06106927618384361,
-0.11439527571201324,
-0.3018173277378082,
0.35822993516921997,
-0.08900488913059235,
-0.4720631241798401,
-0.2796247899532318,
-0.1780114471912384,
0.08476093411445618,
0.13840033113956451,
-0.42792168259620667,
-0.5727866888046265,
-0.49430400133132935,
-0.047120194882154465,
0.03200663626194,
-0.3290810286998749,
0.061061546206474304,
-0.04651742801070213,
-0.0024527274072170258,
-0.4008657932281494,
-0.19093917310237885,
-0.03806744143366814,
0.18028117716312408,
-0.1636812388896942,
0.37746286392211914,
-0.02972286194562912,
0.2500402629375458,
-0.1865844875574112,
-0.24113081395626068,
0.3104637861251831,
-0.32868272066116333,
0.1768818199634552,
0.4461230933666229,
-0.24754460155963898,
-0.17675460875034332,
-0.05670229345560074,
-0.38852110505104065,
0.2258034646511078,
-0.06040922552347183,
-0.1110222190618515,
0.119257353246212,
-0.16597037017345428,
-0.01583293080329895,
0.07526963949203491,
0.26925331354141235,
0.17796221375465393,
0.21520233154296875,
0.11015573889017105,
-0.4173893928527832,
0.008766241371631622,
0.04521961882710457,
-0.3886715769767761,
0.22948819398880005,
0.08662039041519165,
0.03661730885505676,
-0.3295237421989441,
0.12103359401226044,
0.1942296326160431,
-0.032731398940086365,
-0.3979843556880951,
0.06425655633211136,
0.09895698726177216,
-0.007773876190185547,
-0.11880023777484894,
0.01481517031788826,
-0.002152964472770691,
0.1808406561613083,
0.05367574840784073,
-0.07835008949041367,
0.04991193115711212,
0.004377778619527817,
-0.13587717711925507,
0.08135975152254105,
-0.015288598835468292,
0.10481230914592743,
-0.036641061305999756,
0.16550375521183014,
0.190909743309021,
0.009989544749259949,
0.2136269062757492,
-0.05657303333282471,
0.11374975740909576,
-0.10609263181686401,
-0.04529702290892601,
0.1164470985531807,
0.1570577770471573,
0.0914214700460434,
-0.29163748025894165,
0.28534820675849915,
-0.09327050298452377,
-0.2645080089569092,
0.2515757083892822,
0.033204156905412674,
-0.3945995569229126,
-0.239676833152771,
-0.32170599699020386,
0.3632385730743408,
0.19680583477020264,
0.048604998737573624,
0.09220816940069199,
-0.06120080500841141,
0.16841629147529602,
0.01731533370912075,
0.31846317648887634,
0.21234281361103058,
-0.2312636524438858,
-0.3678816556930542,
0.6276067495346069,
0.15109091997146606,
0.3359796404838562,
0.025994818657636642,
-0.4712958335876465,
0.48071953654289246,
0.009487688541412354,
0.20429499447345734,
0.317051500082016,
-0.3109448552131653,
-0.0012995824217796326,
0.23922888934612274,
-0.18398873507976532,
-0.025046445429325104,
-0.04236338287591934,
0.02141868881881237,
0.454083651304245,
0.09615013748407364,
0.08905258774757385,
0.5082177519798279,
-0.05582532286643982,
0.07459040731191635,
-0.08855392038822174,
-0.27102357149124146,
0.31344538927078247,
0.08993485569953918,
0.15905936062335968,
0.010973826050758362,
-0.08714579790830612,
0.21939213573932648,
-0.07129734009504318,
-0.18727391958236694,
0.17857274413108826,
-0.14517180621623993,
-0.1254773586988449,
0.13831844925880432,
0.01993958093225956,
-0.0620584711432457,
-0.18419775366783142,
0.20158588886260986,
-0.08980461210012436,
0.1972801834344864,
-0.17646463215351105,
-0.2715858817100525,
-0.001904497854411602,
0.16341657936573029,
-0.017741475254297256,
-0.060443151742219925,
-0.03422658145427704,
-0.21719664335250854,
-0.06141050159931183,
0.06881155073642731,
-0.4198598563671112,
-0.04463883489370346,
-0.3517664968967438,
0.18241681158542633,
-0.07266131043434143,
0.1820560097694397,
0.17862574756145477,
-0.024658851325511932,
-0.2389155775308609,
0.12988048791885376,
0.03657329082489014,
-0.2153053879737854,
0.07378681749105453,
0.25481194257736206,
0.025701336562633514,
0.053078241646289825,
-0.1508050262928009,
0.40751147270202637,
0.20541298389434814,
0.21796855330467224,
0.06485193222761154,
0.014456482604146004,
0.022805213928222656,
-0.011162493377923965,
-0.05006353557109833,
0.6243643760681152,
0.17381474375724792,
0.41883450746536255,
0.058721065521240234,
-0.08475901186466217,
0.13612636923789978,
0.1478973627090454,
-0.21766647696495056,
0.10601574182510376,
-0.1907915472984314,
0.14046896994113922,
0.6474385857582092,
-0.09467361867427826,
-0.021215200424194336,
-0.041848815977573395,
-0.11643201112747192,
-0.1920311450958252,
0.032626137137413025,
0.08576194941997528,
-0.4482507109642029,
-0.1540810763835907,
0.012411394156515598,
-0.24600662291049957,
-0.039687201380729675,
0.03824412822723389,
0.1952546238899231,
-0.03841482102870941,
0.031105488538742065,
0.023777015507221222,
0.11964038759469986,
0.29074281454086304,
-0.09527863562107086,
-0.02645452320575714,
0.09454161673784256,
0.3982785940170288,
-0.1978987455368042,
-0.27645573019981384,
0.15611031651496887,
0.0813877284526825,
-0.08810652792453766,
0.2645246684551239,
-0.14621223509311676,
0.031248584389686584,
-0.09867093712091446,
-0.5169737935066223,
-0.45925241708755493,
-0.03765310347080231,
0.06119679659605026,
-0.13952535390853882,
0.13321778178215027,
0.3374568819999695,
-0.11673198640346527,
0.6314312219619751,
0.06038863956928253,
-0.24201016128063202,
0.21377187967300415,
-0.2343088537454605,
-0.09640655666589737,
-0.0841434895992279,
0.20459812879562378,
-0.33387476205825806,
0.28495511412620544,
0.2845369577407837,
0.13691206276416779,
-0.18333685398101807,
-0.4072166681289673,
0.309074729681015,
0.0721438005566597,
0.18432801961898804,
-0.04691228270530701,
-0.3485415577888489,
-0.08489033579826355,
-0.2920380234718323,
-0.05872926115989685,
-0.20096652209758759,
-0.09474778175354004,
-0.02533249370753765,
-0.07703890651464462,
0.05653337016701698,
0.029535409063100815,
0.08902890980243683,
-0.3233362138271332,
0.01833505555987358,
0.08090771734714508,
-0.028399987146258354,
0.07599976658821106,
-0.022899582982063293,
-0.2220892459154129,
0.19770674407482147,
-0.22012287378311157,
-0.06189310550689697,
0.05600370839238167,
-0.42517927289009094,
0.32803812623023987,
0.03233054652810097,
-0.150590717792511,
-0.26555135846138,
-0.27502644062042236,
0.14640869200229645,
0.4522673487663269,
-0.2196105271577835,
-0.04946428909897804,
-0.1388586014509201,
0.11966513097286224,
-0.25956934690475464,
0.11293116211891174,
0.3263930678367615,
0.05253219231963158,
0.11583344638347626,
0.005820959806442261,
0.24950703978538513,
-0.01381557434797287,
-0.2552535831928253,
0.05298754200339317,
0.21937716007232666,
0.3225405812263489,
0.28269508481025696,
1.0907580852508545,
-0.2653217017650604,
-0.4417154788970947,
0.11725817620754242,
-0.0038028154522180557,
0.08310626447200775,
-0.035871557891368866,
-0.2238188236951828,
-0.11197713762521744,
-0.38279035687446594,
-0.04299098253250122,
0.2087298035621643,
0.10941585153341293,
-0.08014629036188126,
-0.0020278319716453552,
-0.0019528605043888092,
-0.0970236212015152,
-0.2663554549217224,
0.2293047457933426,
-0.4422945976257324,
0.4132719337940216,
-0.0941939502954483,
0.25496360659599304,
-0.4347333312034607,
-0.02474668063223362,
0.08484920859336853,
0.20529823005199432,
0.40993523597717285,
0.09387527406215668,
-0.5661994814872742,
0.23538461327552795,
-0.23324325680732727,
0.1201210618019104,
0.020623762160539627,
0.7507364153862,
0.33639582991600037,
-0.2519696354866028,
0.12900686264038086,
-0.12887418270111084,
0.30853670835494995,
0.3416006565093994,
-0.16348797082901,
0.11568379402160645,
-0.2812090516090393,
-0.23127563297748566,
-0.017970843240618706,
-0.1686772257089615,
0.24810586869716644,
0.14643964171409607,
0.4553401470184326,
-0.225369393825531,
-0.24254006147384644,
-0.35243189334869385,
0.24376296997070312,
0.0014686696231365204,
-0.21869242191314697,
0.05712265893816948,
0.22554069757461548,
-0.5106260776519775,
0.3068697154521942,
0.21264000236988068,
0.09549985826015472,
-0.06199456751346588,
0.0917515754699707,
-0.45357561111450195,
-0.08502072840929031,
0.07702852040529251,
0.07257595658302307,
-0.15610367059707642,
0.06797169148921967,
0.27164480090141296,
0.09605196118354797,
-0.12592121958732605,
-0.013309409841895103,
-0.06311023980379105,
0.1258792132139206,
-0.617074191570282,
0.0007481575012207031,
0.25414204597473145,
0.41185033321380615,
0.18196125328540802,
0.024055760353803635,
0.48595771193504333,
-0.30319446325302124,
-0.009407274425029755,
-0.39627984166145325,
0.54641193151474,
0.02422267384827137,
-0.025299377739429474,
-0.5309439301490784,
-0.40346595644950867,
0.36451706290245056,
0.17735730111598969,
-0.1896817684173584,
0.3228044807910919,
0.08612804859876633,
-0.30933821201324463,
0.46073275804519653,
0.35497531294822693,
0.8964491486549377,
-0.023643821477890015,
0.3979177176952362,
-0.22235944867134094,
0.2455902248620987,
0.3934744596481323,
-0.47779619693756104,
0.03003091737627983,
-0.3676270842552185,
0.10461719334125519,
-0.08317581564188004,
-0.07684152573347092,
0.013157572597265244,
0.3261488080024719,
0.05448197200894356,
0.005042373202741146,
-0.0008296817541122437,
0.40589413046836853,
0.06350894272327423,
0.1367974877357483,
-0.0398484542965889,
-0.49663910269737244,
0.037490278482437134,
0.033441998064517975,
-0.06474852561950684,
0.2863086760044098,
-0.14284217357635498,
0.2848937511444092,
0.13188381493091583,
-0.13049915432929993,
-0.05635508522391319,
-0.11789429187774658,
-0.26383933424949646,
0.17712290585041046,
-0.06357881426811218,
-0.36271780729293823,
0.22569246590137482,
0.1014469712972641,
0.35916614532470703,
0.3173237442970276,
0.17447780072689056,
0.040953293442726135,
-0.17618834972381592,
0.004344509914517403,
-0.14035961031913757,
-0.22089679539203644,
0.3551126718521118,
0.17501720786094666,
0.17215698957443237,
0.020168282091617584,
-0.0730724185705185,
-0.09314581751823425,
-0.359779417514801,
0.0895615816116333,
0.7337260246276855,
-0.2959563732147217,
0.17703820765018463,
0.15536636114120483,
0.2993144094944,
-0.03369783237576485,
-0.008200239390134811,
0.13813459873199463,
-0.21390634775161743,
0.10799496620893478,
-0.09512346982955933,
-0.06390206515789032,
0.02675435319542885,
0.2608215808868408,
-0.1543874442577362,
-0.49011725187301636,
0.2969226837158203,
0.013302315026521683,
-0.17297524213790894,
0.05674203485250473,
0.5062626004219055,
0.4875364899635315,
-0.21126678586006165,
-0.14710532128810883,
-0.04535370692610741,
0.0765918493270874,
-0.0697290301322937,
0.3390698730945587,
0.2382783740758896,
-0.265887588262558,
-0.10528188198804855,
-0.19750678539276123,
-0.5801360011100769,
0.0118161141872406,
0.1268416792154312,
0.2358640730381012,
0.3718900978565216,
0.3227173388004303,
-0.21534711122512817,
0.29215946793556213,
-0.16736972332000732,
0.09815345704555511,
0.14676998555660248,
0.30982521176338196,
-0.09613491594791412,
-0.19941076636314392,
-0.27986982464790344,
0.00725611113011837,
-0.07616154104471207,
0.11894753575325012,
0.10272154211997986,
-0.13770826160907745,
-0.36785823106765747,
0.22484523057937622,
0.4112251400947571,
-0.16529406607151031,
0.029341217130422592,
0.10790462791919708,
-0.0838230550289154,
-0.31250303983688354,
0.2672370374202728,
0.25818437337875366,
-0.05534973740577698,
0.094816654920578,
0.4142945110797882,
0.4423995614051819,
-0.4079294204711914,
-0.10194244980812073,
0.2915416657924652,
0.24712049961090088,
0.3478567600250244,
0.13275980949401855,
0.12895260751247406,
0.009222269058227539,
-0.06227686256170273,
0.31196850538253784,
0.6525679230690002,
0.14792072772979736,
0.07868845760822296,
-0.04822005331516266,
0.3042077124118805,
-0.09312974661588669,
0.0728725865483284,
0.36771953105926514,
-0.09398823976516724,
-0.20068365335464478,
0.8060767650604248,
0.08405879884958267,
-0.000993708148598671,
-0.2954786717891693,
0.006853936240077019,
-0.34027236700057983,
-0.017260078340768814,
0.27949392795562744,
0.2354651689529419,
0.4467676281929016,
-0.23620568215847015,
-0.1310013383626938,
0.5702823400497437,
-0.07040809094905853,
0.10652889311313629,
0.26914867758750916,
-0.13520848751068115,
0.044397108256816864,
0.22588275372982025,
0.2633189558982849,
0.18286779522895813,
-0.0025697313249111176,
-0.10958860069513321,
0.7173179984092712,
0.15545782446861267,
-0.008736502379179,
0.10390761494636536,
-0.34170717000961304,
-0.19074533879756927,
-0.19127494096755981,
0.48710039258003235,
0.2507333755493164,
-0.2644144296646118,
0.41503047943115234,
-0.021516885608434677,
-0.05671342462301254,
0.16003365814685822,
0.38811972737312317,
-0.08952769637107849,
-0.1384504735469818,
-0.11399969458580017,
-0.08308199793100357,
-0.21524760127067566,
-0.07317215949296951,
-0.056696582585573196,
-0.3669999837875366,
-0.3092120587825775,
-0.01782916486263275,
0.06735652685165405,
-0.16429553925991058,
0.07824533432722092,
0.2478359341621399,
0.22228458523750305,
-0.24090582132339478,
0.024760346859693527,
-0.0885453075170517,
0.24685339629650116,
-0.10932248830795288,
-0.06423218548297882,
0.0747651532292366,
0.18187536299228668,
-0.3244400918483734,
0.08289167284965515,
-0.3606892228126526,
0.2744423747062683,
0.08586657792329788,
0.16584013402462006,
-0.2622164487838745,
-0.15433867275714874,
0.13127301633358002,
-0.061248570680618286,
-0.09221885353326797,
-0.18388518691062927,
0.0922466516494751,
-0.3349148631095886,
-0.15847402811050415,
0.5190868377685547,
0.10129644721746445,
-0.09518848359584808,
-0.02818473055958748,
0.15167289972305298,
-0.20144200325012207,
0.11955227702856064,
0.39718249440193176,
-0.10259892046451569,
-0.016632992774248123,
-0.05521542206406593,
0.015392642468214035,
0.018222659826278687,
0.33470916748046875,
0.29257646203041077,
0.08678586781024933,
-0.19913820922374725,
0.026331447064876556,
-0.33346930146217346,
0.0017620474100112915,
0.24790944159030914,
-0.09281691163778305,
-0.2671649754047394,
-0.14378513395786285,
0.15981340408325195,
0.21963505446910858,
-0.39987075328826904,
0.017935382202267647,
-0.26322275400161743,
0.140572190284729,
-0.11452893912792206,
0.19853635132312775,
-0.28040194511413574,
0.29881778359413147,
0.037864916026592255,
-0.03219602257013321,
-0.10268411040306091,
0.26184120774269104,
-0.1494312882423401,
0.1269633173942566,
-0.2775561511516571,
0.06727714836597443,
-0.44497767090797424,
0.46234947443008423,
0.061738863587379456,
0.5032161474227905,
0.06401587277650833,
0.17546707391738892,
-0.024873975664377213,
-0.0034246626310050488,
-0.3323582410812378,
0.18697261810302734,
-0.20274566113948822,
0.032472144812345505,
-0.18313725292682648,
-0.41767922043800354,
-0.20729734003543854,
-0.3010691702365875,
0.0893365740776062,
-0.4719407856464386,
-0.4294627010822296,
0.11541708558797836,
-0.3035820722579956,
0.021023688837885857,
-0.034586310386657715,
0.5569843649864197,
0.018522098660469055,
0.31111153960227966,
-0.2615816295146942,
-0.15164990723133087,
0.34476566314697266,
-0.46380138397216797,
-0.20192953944206238,
-0.2953723967075348,
-0.25605419278144836,
0.3270573019981384,
0.11506640911102295,
-0.4861239194869995,
-0.02986590564250946,
0.4179372787475586,
-0.1744672954082489,
0.1982424259185791,
0.0635627880692482,
0.10410873591899872,
-0.23499062657356262,
-0.3590206205844879,
0.5853840112686157,
-0.15043964982032776,
0.12994317710399628,
-0.026125362142920494,
-0.3002539873123169
] |
https://github.com/huggingface/datasets/issues/1110 | Using a feature named "_type" fails with certain operations | Thanks for reporting !
Indeed this is a keyword in the library that is used to encode/decode features to a python dictionary that we can save/load to json.
We can probably change `_type` to something that is less likely to collide with user feature names.
In this case we would want something backward compatible though.
Feel free to try a fix and open a PR, and to ping me if I can help :) | A column named `_type` leads to a `TypeError: unhashable type: 'dict'` for certain operations:
```python
from datasets import Dataset, concatenate_datasets
ds = Dataset.from_dict({"_type": ["whatever"]}).map()
concatenate_datasets([ds])
# or simply
Dataset(ds._data)
```
Context: We are using datasets to persist data coming from elasticsearch to feed to our pipeline, and elasticsearch has a `_type` field, hence the strange name of the column.
Not sure if you wish to support this specific column name, but if you do i would be happy to try a fix and provide a PR. I already had a look into it and i think the culprit is the `datasets.features.generate_from_dict` function. It uses the hard coded `_type` string to figure out if it reached the end of the nested feature object from a serialized dict.
Best wishes and keep up the awesome work! | 74 | Using a feature named "_type" fails with certain operations
A column named `_type` leads to a `TypeError: unhashable type: 'dict'` for certain operations:
```python
from datasets import Dataset, concatenate_datasets
ds = Dataset.from_dict({"_type": ["whatever"]}).map()
concatenate_datasets([ds])
# or simply
Dataset(ds._data)
```
Context: We are using datasets to persist data coming from elasticsearch to feed to our pipeline, and elasticsearch has a `_type` field, hence the strange name of the column.
Not sure if you wish to support this specific column name, but if you do i would be happy to try a fix and provide a PR. I already had a look into it and i think the culprit is the `datasets.features.generate_from_dict` function. It uses the hard coded `_type` string to figure out if it reached the end of the nested feature object from a serialized dict.
Best wishes and keep up the awesome work!
Thanks for reporting !
Indeed this is a keyword in the library that is used to encode/decode features to a python dictionary that we can save/load to json.
We can probably change `_type` to something that is less likely to collide with user feature names.
In this case we would want something backward compatible though.
Feel free to try a fix and open a PR, and to ping me if I can help :) | [
0.007837899029254913,
-0.20193293690681458,
0.03357439488172531,
-0.04592030495405197,
0.31902015209198,
0.136878103017807,
0.45518404245376587,
0.40907037258148193,
0.15967391431331635,
0.030558981001377106,
0.414009690284729,
0.46690601110458374,
0.036116208881139755,
0.5192952752113342,
-0.3772074580192566,
-0.08600431680679321,
0.15423953533172607,
-0.05600084364414215,
-0.011723436415195465,
0.2065543681383133,
-0.4115031957626343,
0.10053001344203949,
-0.15782597661018372,
0.3828088641166687,
-0.16126549243927002,
0.12735092639923096,
0.29418453574180603,
-0.12264765053987503,
-0.1234726831316948,
-0.17268449068069458,
0.28202417492866516,
-0.1374557614326477,
-0.11860638856887817,
0.4063165783882141,
-0.00010961954831145704,
-0.05991527810692787,
0.4927603006362915,
0.051848575472831726,
-0.242779940366745,
-0.6010844111442566,
-0.27579808235168457,
-0.37081435322761536,
0.375162273645401,
-0.4024414122104645,
0.14448761940002441,
-0.04660719633102417,
-0.0005314648151397705,
-0.4921487867832184,
0.1850101351737976,
0.2458362579345703,
0.28823399543762207,
0.029118768870830536,
0.26791825890541077,
-0.2092793881893158,
0.3826478123664856,
0.5050958395004272,
-0.38397401571273804,
-0.2925163805484772,
-0.04656326770782471,
-0.17647401988506317,
0.5520862936973572,
0.1724967658519745,
-0.13767342269420624,
-0.1723729521036148,
0.30575406551361084,
0.15544810891151428,
-0.20083996653556824,
-0.24846509099006653,
0.1735776960849762,
0.2742727994918823,
0.4289381802082062,
-0.11452802270650864,
-0.25970354676246643,
0.009151279926300049,
-0.11260800808668137,
-0.29415154457092285,
0.23352691531181335,
-0.20324283838272095,
0.08322028815746307,
-0.08318410813808441,
0.09063448756933212,
-0.07530734688043594,
-0.06655743718147278,
0.2105640470981598,
-0.37940505146980286,
-0.1487884223461151,
-0.17802409827709198,
0.2584203779697418,
-0.14971667528152466,
-0.4512357711791992,
0.015308968722820282,
0.06817428767681122,
0.09993350505828857,
-0.07049664109945297,
-0.38384342193603516,
-0.025802364572882652,
-0.14065775275230408,
-0.48262062668800354,
0.13134700059890747,
-0.1265290081501007,
-0.15642237663269043,
0.07425074279308319,
0.09074901044368744,
0.38325798511505127,
0.09595121443271637,
0.12005586922168732,
0.2974463403224945,
0.2780846953392029,
0.2569695711135864,
-0.08205292373895645,
-0.20626544952392578,
-0.2184765636920929,
0.06111423671245575,
0.05158475041389465,
-0.017560824751853943,
-0.37052205204963684,
0.5927596092224121,
-0.21135014295578003,
-0.37602558732032776,
0.157234787940979,
-0.16410940885543823,
0.005222866777330637,
-0.013390622101724148,
0.2600545883178711,
0.056404609233140945,
0.10379510372877121,
0.1861783117055893,
0.32594287395477295,
0.23744554817676544,
0.11418639868497849,
-0.14114782214164734,
-0.08458226919174194,
-0.15199163556098938,
-0.13301517069339752,
-0.13201843202114105,
0.17435453832149506,
-0.04615672677755356,
-0.061438485980033875,
-0.020113550126552582,
-0.09350751340389252,
0.05631139874458313,
0.08191855251789093,
-0.22062194347381592,
0.12920361757278442,
-0.2331819385290146,
0.10436921566724777,
0.2374669313430786,
-0.28262805938720703,
-0.17362192273139954,
-0.11817281693220139,
-0.3802194893360138,
-0.1871345341205597,
-0.5376912355422974,
0.2363944947719574,
0.009681932628154755,
-0.06841953843832016,
-0.10120845586061478,
0.013835147023200989,
0.39744094014167786,
-0.1062716543674469,
0.00436023622751236,
-0.005132291465997696,
0.0021372511982917786,
-0.26617199182510376,
-0.15953375399112701,
-0.0022616982460021973,
-0.20393574237823486,
-0.04016898572444916,
-0.27031469345092773,
0.30829790234565735,
0.23456168174743652,
0.25243210792541504,
-0.05774456262588501,
-0.13164600729942322,
0.01790591888129711,
0.2042623907327652,
0.5040900707244873,
0.027567218989133835,
0.1945369392633438,
0.2862778604030609,
0.02323049306869507,
0.17911936342716217,
0.06009721755981445,
-0.1893271803855896,
0.17347852885723114,
-0.21563522517681122,
0.1905256062746048,
0.1097169741988182,
-0.020564110949635506,
-0.23308011889457703,
-0.06555288285017014,
-0.18360033631324768,
0.40981435775756836,
-0.08641725778579712,
-0.10348634421825409,
0.2569860517978668,
0.12071388959884644,
-0.12242745608091354,
-0.149152010679245,
-0.18337242305278778,
-0.01629786193370819,
-0.11804340779781342,
0.4970186948776245,
0.3460543155670166,
0.03928221017122269,
-0.2998206615447998,
-0.41264739632606506,
0.1512793004512787,
0.061679258942604065,
0.14552035927772522,
-0.32515621185302734,
-0.34132641553878784,
-0.20213258266448975,
0.11060553044080734,
0.05967656895518303,
0.35943540930747986,
0.1491469144821167,
-0.07844671607017517,
-0.2967393696308136,
0.16458569467067719,
-0.3081689774990082,
0.04456210881471634,
-0.09112479537725449,
-0.002905741799622774,
-0.48970502614974976,
0.06124956160783768,
-0.05077560991048813,
-0.023220937699079514,
-0.34920987486839294,
0.1185406744480133,
0.29804182052612305,
0.15088699758052826,
-0.17488813400268555,
0.23370742797851562,
-0.09890802949666977,
0.08900022506713867,
-0.14737817645072937,
0.2635781466960907,
-0.04283745586872101,
-0.03357107564806938,
-0.010772312059998512,
0.04668187350034714,
0.1778208315372467,
-0.1940225064754486,
-0.011000484228134155,
0.3024352788925171,
0.4619303345680237,
0.341446191072464,
-0.12919169664382935,
0.34118348360061646,
0.10773217678070068,
-0.13612398505210876,
-0.22117413580417633,
-0.3081471920013428,
0.10699416697025299,
-0.1612015813589096,
-0.6002209782600403,
-0.17096570134162903,
-0.3033188581466675,
0.00333230197429657,
0.44633904099464417,
0.04181119427084923,
0.38683637976646423,
0.26474836468696594,
0.038737501949071884,
0.1389840841293335,
-0.3110751807689667,
-0.03702138364315033,
0.41985905170440674,
0.01985762268304825,
-0.1243731677532196,
0.09130588918924332,
-0.16625986993312836,
-0.0383370965719223,
0.28771665692329407,
0.108302541077137,
0.007992912083864212,
-0.03871995955705643,
0.22902251780033112,
0.016844358295202255,
-0.08234231173992157,
-0.18363559246063232,
0.10965676605701447,
0.041876502335071564,
-0.26992717385292053,
0.3570946455001831,
-0.35492679476737976,
0.20295974612236023,
0.03001636266708374,
-0.09222578257322311,
-0.10362023115158081,
-0.4741547703742981,
-0.08954983204603195,
0.4128102958202362,
-0.16084755957126617,
0.13767096400260925,
-0.08226927369832993,
0.08751654624938965,
0.1381702423095703,
-0.31131771206855774,
-0.13398611545562744,
-0.24233852326869965,
-0.09536304324865341,
0.07266901433467865,
0.16836151480674744,
-0.06400097161531448,
0.2009732574224472,
0.2082194983959198,
-0.1990566998720169,
-0.4550856649875641,
-0.4419567883014679,
-0.009770669043064117,
-0.3552287220954895,
0.2507654130458832,
0.40341949462890625,
-0.041558027267456055,
-0.22433044016361237,
-0.2054414302110672,
0.26905855536460876,
-0.0943882167339325,
-0.1374158263206482,
0.4114757180213928,
0.08616246283054352,
-0.03282028064131737,
-0.14608226716518402,
-0.3563114404678345,
-0.13733065128326416,
-0.35980063676834106,
0.3746553063392639,
-0.13490071892738342,
0.11301997303962708,
0.006515273824334145,
-0.1802770048379898,
-0.08816109597682953,
0.22413857281208038,
-0.01941579394042492,
-0.49941152334213257,
0.08715218305587769,
0.2874124348163605,
-0.18879735469818115,
-0.1905929446220398,
0.07007245719432831,
-0.017053354531526566,
-0.21081861853599548,
0.29526281356811523,
-0.14215746521949768,
0.007479620166122913,
-0.17851991951465607,
0.16001258790493011,
0.035853609442710876,
0.012894390150904655,
0.07463468611240387,
0.2611308991909027,
-0.111613430082798,
-0.05017789453268051,
-0.06886515021324158,
0.16608038544654846,
0.4550362825393677,
0.26717570424079895,
0.3056826889514923,
0.4348924160003662,
-0.16750593483448029,
0.04591483995318413,
-0.05891115963459015,
-0.19453169405460358,
0.43696343898773193,
-0.0955311730504036,
-0.059444550424814224,
-0.14653253555297852,
-0.27180755138397217,
-0.22130577266216278,
-0.3195914030075073,
-0.029786447063088417,
-0.09412385523319244,
-0.257605642080307,
-0.1811707764863968,
-0.13367831707000732,
0.08068792521953583,
0.015454001724720001,
-0.2368081957101822,
0.18431615829467773,
-0.1802852898836136,
0.19418883323669434,
-0.033631861209869385,
-0.016520794481039047,
-0.062114834785461426,
-0.09994188696146011,
0.00319073349237442,
0.09620042145252228,
-0.18803071975708008,
-0.2310653030872345,
-0.467382550239563,
-0.3416421711444855,
-0.28043991327285767,
0.6000744104385376,
-0.16616886854171753,
0.3577222228050232,
-0.07917201519012451,
-0.2142569124698639,
-0.034475743770599365,
0.2675848603248596,
0.5227481126785278,
-0.34785890579223633,
-0.322844922542572,
0.19560539722442627,
-0.12175043672323227,
-0.1594734787940979,
-0.08426859974861145,
-0.1011984795331955,
0.26288819313049316,
-0.23342426121234894,
0.43020376563072205,
-0.2847674787044525,
-0.019817061722278595,
0.12378799170255661,
0.1419469118118286,
-0.1319362372159958,
0.014382599852979183,
-0.11872996389865875,
-0.3412693738937378,
-0.16501900553703308,
-0.23686358332633972,
0.1955195516347885,
0.1813245415687561,
-0.15218985080718994,
-0.13672958314418793,
-0.5841817259788513,
0.01944732293486595,
0.3518450856208801,
0.17245440185070038,
0.17861276865005493,
-0.4430754482746124,
0.15575888752937317,
-0.017937779426574707,
0.32973039150238037,
0.1664588451385498,
0.3813903033733368,
0.21735568344593048,
-0.2755933701992035,
0.02087179571390152,
-0.17970553040504456,
0.24826109409332275,
0.14828111231327057,
-0.10596203804016113,
0.48748666048049927,
-0.1478767693042755,
0.12789836525917053,
-0.12369713932275772,
-0.24490606784820557,
0.5630020499229431,
0.12812772393226624,
-0.25543084740638733,
-0.31261464953422546,
0.5425533056259155,
0.23079563677310944,
0.006152398884296417,
0.19214200973510742,
0.25557270646095276,
-0.3521592319011688,
0.6077800393104553,
-0.03891528397798538,
0.9458516836166382,
0.116147980093956,
-0.03052448108792305,
0.03170265629887581,
0.1691473424434662,
0.5663947463035583,
-0.14434203505516052,
-0.05649873614311218,
-0.2901568114757538,
-0.22724813222885132,
-0.1399277150630951,
-0.0785675048828125,
0.45868295431137085,
-0.16536104679107666,
-0.4343216121196747,
0.32943442463874817,
-0.5950180292129517,
0.4806116819381714,
-0.06997699290513992,
0.014430440962314606,
-0.03472406417131424,
-0.18196356296539307,
-0.014315694570541382,
0.1080075055360794,
0.06281866133213043,
0.1485927551984787,
0.14388218522071838,
-0.08213121443986893,
-0.0015157274901866913,
-0.18467184901237488,
-0.42108291387557983,
-0.03687679022550583,
0.31100156903266907,
0.4263421297073364,
0.10290034115314484,
0.056073710322380066,
0.34450098872184753,
0.04591159150004387,
0.31939417123794556,
0.07470688223838806,
-0.13262881338596344,
0.11093932390213013,
0.2535712420940399,
0.014170708134770393,
0.04459436237812042,
0.010479346849024296,
0.16698789596557617,
-0.04196208342909813,
-0.24806219339370728,
0.24861079454421997,
0.21976079046726227,
0.11835625767707825,
-0.1384514719247818,
0.0728876143693924,
-0.04611370712518692,
-0.5918129086494446,
-0.31449180841445923,
-0.2867549955844879,
-0.09536556899547577,
-0.31930598616600037,
0.17796583473682404,
0.019897717982530594,
-0.31985044479370117,
0.510364830493927,
0.010529186576604843,
-0.09489759802818298,
-0.05970169976353645,
0.0650433748960495,
0.17266401648521423,
0.07047485560178757,
0.29924771189689636,
-0.018984969705343246,
-0.1513274610042572,
-0.15510085225105286,
0.26952433586120605,
0.19130030274391174,
-0.14293959736824036,
0.2461664378643036,
-0.1132727861404419,
-0.40890806913375854,
-0.1264117807149887,
0.469776451587677,
-0.06499359756708145,
0.33131489157676697,
-0.24218237400054932,
-0.3201697766780853,
0.0758778303861618,
0.2685355842113495,
0.3235089182853699,
0.05734504386782646,
-0.4495084583759308,
0.07096268981695175,
-0.2450016438961029,
-0.16294628381729126,
-0.3492007851600647,
0.11592256277799606,
-0.21937811374664307,
0.23336681723594666,
0.038660578429698944,
-0.08229974657297134,
0.4548925757408142,
-0.1379774808883667,
0.25391554832458496,
0.18268553912639618,
-0.059785425662994385,
-0.2311905324459076,
-0.18735407292842865,
0.1350816786289215,
0.032893095165491104,
0.061571553349494934,
-0.13608373701572418,
-0.2783340811729431,
-0.11460554599761963,
-0.03362434729933739,
-0.0390361063182354,
0.41869500279426575,
-0.13184426724910736,
0.15453028678894043,
-0.17781901359558105,
0.04949069768190384,
0.18511366844177246,
0.2085569053888321,
-0.08689120411872864,
0.08447263389825821,
-0.16046541929244995,
0.018187938258051872,
-0.05970795080065727,
-0.019426878541707993,
-0.24761945009231567,
0.15560835599899292,
-0.2354658991098404,
0.10660522431135178,
0.3695608377456665,
-0.10486647486686707,
-0.2147056609392166,
0.02802588976919651,
0.21791933476924896,
0.7123604416847229,
-0.1586175411939621,
-0.17345432937145233,
0.28512144088745117,
0.17716428637504578,
-0.17326727509498596,
-0.21162807941436768,
0.2943562865257263,
-0.07051213085651398,
0.13919028639793396,
0.32724592089653015,
0.16919393837451935,
0.025592230260372162,
-0.46208661794662476,
-0.038422130048274994,
0.13269227743148804,
-0.09085697680711746,
0.24159492552280426,
0.27527981996536255,
0.08646073937416077,
0.09745529294013977,
0.21277476847171783,
0.2671549916267395,
0.2359682321548462,
0.43406444787979126,
0.16159234941005707,
0.07653666287660599,
0.2801215946674347,
-0.04585571959614754,
0.43838024139404297,
-0.037001147866249084,
0.6159653067588806,
0.17567172646522522,
-0.2650684118270874,
0.22084951400756836,
0.16559579968452454,
-0.00814385712146759,
-0.23019182682037354,
-0.13687863945960999,
-0.24799583852291107,
0.10356125235557556,
0.023474127054214478,
-0.25081443786621094,
0.06291091442108154,
-0.17104193568229675,
-0.3035826086997986,
-0.4562501013278961,
-0.0010050386190414429,
0.16798952221870422,
0.48434680700302124,
-0.13359680771827698,
0.2562810480594635,
-0.19845156371593475,
0.32589977979660034,
-0.20882856845855713,
0.3876577615737915,
-0.0023020096123218536,
-0.1748000830411911,
0.22315514087677002,
-0.16496999561786652,
0.19095651805400848,
0.08983488380908966,
0.3307884633541107,
0.3177854120731354,
-0.2704297602176666,
0.14093591272830963,
-0.18504661321640015,
-0.2600795030593872,
0.19716273248195648,
0.21035967767238617,
-0.0544070303440094,
0.018352648243308067,
0.1896165907382965,
0.17896169424057007,
-0.15714634954929352,
0.06588433682918549,
-0.059371042996644974,
0.3009965419769287,
-0.19755525887012482,
0.262271910905838,
-0.11813598871231079,
-0.01585862785577774,
0.07267042994499207,
-0.038461826741695404,
-0.31484583020210266,
-0.4191497266292572,
0.5019686222076416,
0.24993795156478882,
0.19652068614959717,
0.06478792428970337,
0.11884063482284546,
-0.017960771918296814,
0.26205626130104065,
0.11942322552204132,
0.03242127597332001,
0.10139250755310059,
0.13991351425647736,
-0.13455310463905334,
0.3168325126171112,
-0.3086351454257965,
-0.3098205327987671,
0.5548028945922852,
0.24162571132183075,
0.2531355023384094,
0.03502515330910683,
-0.05045844614505768,
-0.15414410829544067,
-0.4290820360183716,
0.1581779271364212,
-0.3153623938560486,
-0.4558663070201874,
0.15964828431606293,
0.029887445271015167,
0.01958981528878212,
-0.2860645055770874,
0.27103662490844727,
-0.04338708519935608,
0.07990365475416183,
-0.34207189083099365,
-0.06430895626544952,
0.026763062924146652,
-0.15643148124217987,
0.3236134648323059,
0.21172131597995758,
0.1048998236656189,
-0.04615394026041031,
-0.1595768928527832,
0.17254024744033813,
-0.3265884816646576,
-0.2769678831100464,
0.3132361173629761,
0.21263378858566284,
0.14804741740226746,
-0.07445992529392242,
0.18675382435321808,
-0.173104926943779,
0.327727735042572,
-0.11855770647525787,
-0.38467544317245483,
-0.3629051446914673,
0.24042129516601562,
0.19407230615615845,
-0.10200478136539459,
-0.27719277143478394,
0.2814819812774658,
-0.06309743970632553,
0.344572514295578,
0.10856936872005463,
-0.4713975191116333,
0.7269508838653564,
0.1071699857711792,
-0.6315425634384155,
0.06817250698804855,
0.0471901074051857,
0.3253973722457886,
0.087763212621212,
-0.4373455345630646,
-0.1800643652677536,
0.20371951162815094,
-0.06631358712911606,
0.03996458277106285,
-0.10146182775497437,
-0.008469074964523315,
-0.18235668540000916,
-0.07034189999103546,
0.17066483199596405,
-0.17903023958206177,
0.11276102066040039,
0.17268523573875427,
-0.058183614164590836
] |
https://github.com/huggingface/datasets/issues/1103 | Add support to download kaggle datasets | Hey, I think this is great idea. Any plan to integrate kaggle private datasets loading to `datasets`? | We can use API key | 17 | Add support to download kaggle datasets
We can use API key
Hey, I think this is great idea. Any plan to integrate kaggle private datasets loading to `datasets`? | [
-0.09296485036611557,
-0.053584180772304535,
-0.3102498948574066,
-0.003568604588508606,
0.11542514711618423,
-0.019987281411886215,
0.21321538090705872,
0.1274612993001938,
0.42557743191719055,
0.10141836106777191,
-0.20426179468631744,
0.6420328617095947,
-0.08120814710855484,
0.8870471119880676,
0.05860643833875656,
0.035788971930742264,
0.13767364621162415,
0.11020952463150024,
0.16667403280735016,
0.2018526941537857,
-0.16263197362422943,
0.007673167623579502,
-0.13027261197566986,
-0.15971674025058746,
0.13565118610858917,
-0.25042498111724854,
0.017365669831633568,
-0.15398362278938293,
-0.3501518666744232,
-0.40083086490631104,
0.2865823209285736,
0.29923513531684875,
0.27884337306022644,
0.12035316228866577,
-0.00009822977153817192,
-0.1139252781867981,
0.34904617071151733,
0.05576198548078537,
-0.21072788536548615,
0.17489612102508545,
-0.5735141038894653,
-0.25880590081214905,
0.016865774989128113,
-0.16364024579524994,
-0.11239440739154816,
-0.26780828833580017,
-0.17137499153614044,
-0.36030828952789307,
0.23515039682388306,
-0.12507480382919312,
0.2732906639575958,
0.006384463980793953,
0.08857598900794983,
-0.19215938448905945,
0.19795376062393188,
0.1911400556564331,
-0.1841086447238922,
-0.16392041742801666,
0.47628262639045715,
0.08603014051914215,
0.031017251312732697,
0.22028636932373047,
0.21179483830928802,
-0.16685836017131805,
0.206069678068161,
-0.041604336351156235,
-0.22986498475074768,
-0.5424914360046387,
0.01909058354794979,
0.022029340267181396,
1.0136522054672241,
-0.12418258935213089,
-0.2577563226222992,
-0.30667221546173096,
0.03237656131386757,
0.01418246142566204,
-0.06780967861413956,
0.09276371449232101,
-0.022089485079050064,
0.1796206384897232,
0.1324838399887085,
-0.6074898838996887,
-0.21743351221084595,
0.12379040569067001,
0.1043904721736908,
0.5533360242843628,
-0.0011598197743296623,
-0.043026767671108246,
0.11585023999214172,
-0.16548661887645721,
0.43597811460494995,
-0.13719360530376434,
-0.10446815192699432,
0.12349727749824524,
-0.17679463326931,
-0.28960826992988586,
-0.0022105351090431213,
0.16933906078338623,
0.35921552777290344,
0.34786152839660645,
0.06571205705404282,
0.35631248354911804,
-0.16033725440502167,
-0.08456205576658249,
0.4710317552089691,
0.06965817511081696,
0.24383381009101868,
-0.026364248245954514,
0.41699302196502686,
0.05641466751694679,
0.28997763991355896,
0.00788004882633686,
-0.02191273123025894,
0.07294312119483948,
-0.2757551074028015,
-0.18117663264274597,
0.002946002408862114,
-0.03641057759523392,
0.08143357187509537,
-0.1260787695646286,
0.18594753742218018,
-0.16004860401153564,
-0.11269048601388931,
0.10783068835735321,
-0.10487458854913712,
0.16177645325660706,
-0.1908886730670929,
0.043846383690834045,
0.207689106464386,
-0.05765064060688019,
-0.14851878583431244,
0.005838083103299141,
0.03691704943776131,
0.10939064621925354,
0.06581306457519531,
-0.10969077050685883,
0.17606176435947418,
-0.1862020194530487,
0.27786457538604736,
0.19964908063411713,
0.18415780365467072,
0.32251983880996704,
-0.2182246744632721,
0.06460841000080109,
0.04797779396176338,
-0.1586371660232544,
-0.3058878183364868,
-0.16424264013767242,
-0.0870170071721077,
0.12314096093177795,
-0.22525912523269653,
-0.2828967869281769,
-0.1214040070772171,
0.3159550726413727,
-0.3298628330230713,
-0.22432562708854675,
-0.5454102754592896,
0.33304816484451294,
-0.14342233538627625,
-0.16271845996379852,
0.00984962284564972,
0.31265681982040405,
-0.02902389131486416,
-0.1342371255159378,
0.043208055198192596,
-0.08101886510848999,
-0.10948051512241364,
-0.22837518155574799,
-0.17537440359592438,
-0.19845493137836456,
-0.097382552921772,
0.00023527070879936218,
-0.22145305573940277,
0.09404042363166809,
-0.2998364269733429,
0.20684142410755157,
0.639618456363678,
-0.4268701374530792,
-0.36179566383361816,
0.2395075559616089,
-0.10714198648929596,
-0.1990325152873993,
0.08056098222732544,
0.2385319024324417,
0.2538703978061676,
0.0339551642537117,
0.05624675750732422,
0.3365943431854248,
-0.009601565077900887,
-0.048180438578128815,
-0.21354840695858002,
-0.40546715259552,
-0.03708990663290024,
0.297024667263031,
0.002568889409303665,
-0.08714167028665543,
0.302979439496994,
-0.14630743861198425,
0.1826404333114624,
0.009597491472959518,
0.19074487686157227,
-0.1902957558631897,
0.40042608976364136,
-0.14665237069129944,
0.19189105927944183,
0.09198005497455597,
-0.38435813784599304,
0.19468852877616882,
-0.3316366374492645,
0.04164586588740349,
-0.004009969532489777,
-0.3451946973800659,
-0.17211487889289856,
0.09833917021751404,
-0.3835196793079376,
0.026156248524785042,
0.20608331263065338,
-0.29665225744247437,
0.09461155533790588,
0.12699733674526215,
-0.22309203445911407,
0.22897379100322723,
0.21386413276195526,
0.05401458963751793,
-0.17508015036582947,
0.2178053855895996,
-0.23358379304409027,
0.26780909299850464,
0.08013509213924408,
0.04970594868063927,
-0.06496845930814743,
-0.17274320125579834,
0.25459277629852295,
-0.07410747557878494,
0.16246508061885834,
0.4052411913871765,
0.4697449803352356,
-0.0727100819349289,
0.4805860221385956,
-0.04315963014960289,
0.16894470155239105,
0.0748148262500763,
0.177187979221344,
-0.09795019030570984,
-0.24755647778511047,
0.3408476710319519,
0.06915583461523056,
-0.013936564326286316,
-0.176381915807724,
-0.004635447636246681,
0.1185564249753952,
0.0576760359108448,
-0.12158048897981644,
-0.17605382204055786,
-0.06431937217712402,
-0.37114426493644714,
-0.04257959872484207,
-0.1604277342557907,
-0.10767653584480286,
0.4074072241783142,
0.03661827743053436,
-0.10147200524806976,
0.12945151329040527,
0.09633126854896545,
-0.09787710756063461,
-0.154597669839859,
0.30126169323921204,
0.22234000265598297,
0.24678397178649902,
0.30522099137306213,
-0.0063449181616306305,
-0.18752194941043854,
0.45113614201545715,
-0.15557421743869781,
0.1747364103794098,
0.20009486377239227,
0.11273937672376633,
0.28685805201530457,
0.06974121183156967,
-0.2519511282444,
0.06973244994878769,
0.07507619261741638,
0.13212332129478455,
0.13316820561885834,
-0.006809890270233154,
-0.19063158333301544,
-0.10500334203243256,
-0.41775810718536377,
0.25473350286483765,
-0.059576425701379776,
0.2357586920261383,
-0.4169066846370697,
0.1884465515613556,
-0.07595953345298767,
-0.08384528011083603,
0.10745076835155487,
-0.21548086404800415,
0.47596585750579834,
-0.18232406675815582,
-0.12671925127506256,
-0.2750765085220337,
-0.3052016496658325,
-0.11721359938383102,
0.336513876914978,
0.2783372104167938,
-0.21242566406726837,
0.501154363155365,
0.13108529150485992,
0.21977706253528595,
-0.31352564692497253,
-0.515846312046051,
0.051148734986782074,
0.008959302678704262,
-0.07008638232946396,
0.05393848940730095,
0.07638949155807495,
0.19571635127067566,
-0.04252175986766815,
-0.045036062598228455,
0.019373049959540367,
-0.33344748616218567,
-0.31066763401031494,
-0.0499325692653656,
-0.04907381907105446,
-0.17718416452407837,
-0.3822328448295593,
-0.4056795537471771,
-0.321492463350296,
0.38536131381988525,
0.11325713992118835,
-0.06483639776706696,
-0.2443990558385849,
0.1801355928182602,
0.09293908625841141,
0.007195131853222847,
-0.3171280026435852,
-0.27741679549217224,
-0.1570271998643875,
0.2855466604232788,
-0.25218507647514343,
-0.33776766061782837,
0.3224465847015381,
-0.17217382788658142,
0.18791601061820984,
-0.27253133058547974,
-0.38887304067611694,
-0.2476119101047516,
0.1317628175020218,
0.3319600820541382,
0.03349706903100014,
-0.03806418180465698,
0.06728681921958923,
0.19752752780914307,
-0.06950567662715912,
-0.10064010322093964,
-0.23683729767799377,
-0.14175111055374146,
0.026967767626047134,
0.07333787530660629,
0.04553445056080818,
-0.1579206883907318,
0.08933979272842407,
0.5135680437088013,
0.09812571108341217,
0.14076514542102814,
0.3335721492767334,
0.18868015706539154,
0.18429429829120636,
0.07229277491569519,
-0.12960954010486603,
0.03710763901472092,
-0.10212439298629761,
0.13408759236335754,
0.18750521540641785,
0.09329874813556671,
-0.48212170600891113,
-0.49058228731155396,
-0.20053505897521973,
0.04769207537174225,
-0.16380466520786285,
-0.20829714834690094,
0.032647158950567245,
-0.11671822518110275,
0.05885155871510506,
-0.02334432303905487,
-0.08802740275859833,
-0.006177605129778385,
0.1972378045320511,
0.01328808069229126,
0.17183604836463928,
-0.08437232673168182,
-0.4658818542957306,
-0.19540485739707947,
-0.33342215418815613,
0.36791086196899414,
0.1897565871477127,
-0.22303181886672974,
0.07080727815628052,
-0.05620066821575165,
0.058181580156087875,
-0.22854545712471008,
0.653459370136261,
-0.30651214718818665,
-0.25750166177749634,
-0.1291680634021759,
0.21583572030067444,
-0.09186907112598419,
0.010699450969696045,
0.07242122292518616,
-0.01847616769373417,
-0.2127920389175415,
0.390785276889801,
-0.1326828896999359,
-0.017730802297592163,
-0.19101391732692719,
-0.028752868995070457,
-0.07493375241756439,
-0.17253437638282776,
-0.009358435869216919,
-0.22026509046554565,
-0.42521345615386963,
-0.11111510545015335,
-0.06377147138118744,
0.022996462881565094,
-0.21256567537784576,
-0.2726646959781647,
0.04640696197748184,
0.07841189950704575,
0.01585833728313446,
-0.030747447162866592,
0.10232080519199371,
0.19931906461715698,
0.19537676870822906,
-0.057801224291324615,
-0.02612275630235672,
0.15107864141464233,
0.4679239094257355,
-0.019730325788259506,
-0.3996259570121765,
-0.14247381687164307,
-0.18831799924373627,
0.055611446499824524,
0.15310882031917572,
0.1956167221069336,
0.2850222885608673,
0.1155603751540184,
0.076139435172081,
-0.1451359987258911,
0.05674309283494949,
0.02195047214627266,
-0.18841180205345154,
-0.2844206988811493,
-0.5027637481689453,
0.5110703706741333,
0.0027661658823490143,
-0.12162048369646072,
0.31035614013671875,
0.22786958515644073,
-0.21427923440933228,
0.007606759667396545,
0.13783350586891174,
0.6620994806289673,
0.12312257289886475,
0.18924923241138458,
0.06329082697629929,
-0.2115330696105957,
0.4805823564529419,
-0.29556894302368164,
-0.014567125588655472,
-0.2645288407802582,
0.22129572927951813,
-0.11220115423202515,
0.05090394988656044,
-0.019140250980854034,
-0.27885639667510986,
-0.2523941695690155,
0.06970611214637756,
0.016414523124694824,
0.2677139639854431,
-0.13376030325889587,
0.3727673590183258,
-0.27365952730178833,
-0.17490337789058685,
0.045694753527641296,
0.3062947988510132,
-0.182633176445961,
0.10307265818119049,
-0.17026066780090332,
-0.39069628715515137,
-0.15656206011772156,
0.0879909098148346,
-0.04593520984053612,
0.11153186112642288,
0.06426030397415161,
0.2367166429758072,
-0.26681336760520935,
-0.33336928486824036,
0.2618553042411804,
0.3045768141746521,
0.24743762612342834,
-0.09586799144744873,
-0.4158819317817688,
0.06967657804489136,
-0.14930209517478943,
-0.2111494094133377,
-0.15024518966674805,
-0.04903912544250488,
0.014876257628202438,
-0.31424766778945923,
-0.30472806096076965,
0.24331292510032654,
0.0034375684335827827,
-0.24265630543231964,
-0.4107019901275635,
0.30090272426605225,
0.12742987275123596,
-0.2916114926338196,
-0.0882866382598877,
0.2000095546245575,
-0.11198960244655609,
-0.16697148978710175,
0.20716503262519836,
0.31606388092041016,
-0.0326029397547245,
0.3302982449531555,
0.23108181357383728,
0.14234907925128937,
-0.17220227420330048,
0.3114981949329376,
-0.017110977321863174,
-0.2345903515815735,
0.07961314916610718,
-0.1526957005262375,
-0.25389817357063293,
-0.3289504945278168,
0.13575959205627441,
-0.051747288554906845,
0.1926960051059723,
-0.11814069002866745,
0.2647686302661896,
-0.08050189912319183,
-0.06367788463830948,
0.16634796559810638,
0.04154171049594879,
-0.13778874278068542,
0.2124139815568924,
-0.1667531132698059,
-0.357116162776947,
0.4417880177497864,
-0.38261678814888,
0.27999982237815857,
-0.006110206246376038,
-0.21978943049907684,
-0.004385681822896004,
-0.22957679629325867,
-0.4121128022670746,
0.09110531955957413,
0.03327934443950653,
-0.20602025091648102,
0.3590271472930908,
-0.014312133193016052,
-0.07526998221874237,
-0.012358887121081352,
0.12161014974117279,
-0.15531745553016663,
-0.3481844365596771,
-0.3103875517845154,
0.22826239466667175,
0.06209763139486313,
0.24348190426826477,
0.04065681993961334,
-0.02019532397389412,
-0.260617196559906,
-0.1771942526102066,
0.13962820172309875,
0.23449748754501343,
-0.12291783094406128,
0.055738747119903564,
0.14454039931297302,
-0.03915329650044441,
0.10764795541763306,
-0.04862714558839798,
0.41113150119781494,
0.2773842215538025,
0.07447712123394012,
0.025928746908903122,
-0.0422372967004776,
-0.004013577476143837,
-0.005571030080318451,
0.4392647445201874,
0.19453667104244232,
0.22552339732646942,
0.2343064546585083,
0.3847556412220001,
-0.23165763914585114,
0.11631044745445251,
0.20754435658454895,
0.03432711958885193,
0.2719968557357788,
-0.19210171699523926,
0.3829948604106903,
0.16587966680526733,
0.2990361154079437,
-0.2118806093931198,
-0.39606961607933044,
0.1848541647195816,
0.08148235827684402,
-0.01970851793885231,
0.057135678827762604,
0.36099720001220703,
0.16627760231494904,
0.11456821858882904,
0.22749844193458557,
0.29715076088905334,
-0.11479789018630981,
0.10201185941696167,
0.19168250262737274,
-0.07849032431840897,
-0.04915766790509224,
-0.13211768865585327,
0.3963247835636139,
-0.0050157830119132996,
0.2574877142906189,
-0.4771888256072998,
0.38805103302001953,
0.2483063042163849,
0.2273726612329483,
0.28679123520851135,
-0.4313175082206726,
0.10964663326740265,
-0.08530834317207336,
-0.15457460284233093,
0.10481812804937363,
0.3467983901500702,
0.3885999619960785,
-0.02197907119989395,
-0.06550878286361694,
-0.012444757856428623,
-0.0012878850102424622,
-0.04049158841371536,
0.10866238176822662,
-0.15784013271331787,
-0.24325799942016602,
0.2660817503929138,
-0.03319597989320755,
-0.012204237282276154,
-0.30739009380340576,
0.05498555302619934,
-0.062182143330574036,
-0.16787324845790863,
0.15947569906711578,
0.18489688634872437,
0.2497631311416626,
0.34592220187187195,
0.06841312348842621,
-0.12493889778852463,
0.09479737281799316,
-0.19881010055541992,
-0.0518658421933651,
-0.0745467022061348,
0.14156799018383026,
0.031335894018411636,
-0.39358848333358765,
0.09555123001337051,
0.15494289994239807,
-0.26676657795906067,
-0.10428619384765625,
0.18455712497234344,
0.3295750021934509,
-0.3697725534439087,
0.3326388895511627,
0.23234662413597107,
-0.21631468832492828,
0.06800105422735214,
0.3306400179862976,
0.006103025749325752,
-0.12046539783477783,
0.07924847304821014,
-0.00889463722705841,
-0.256746381521225,
-0.021525230258703232,
0.18503358960151672,
-0.18672436475753784,
-0.12523417174816132,
0.05815413221716881,
0.04933027923107147,
0.01904749497771263,
-0.14514760673046112,
0.16326366364955902,
-0.1179371029138565,
0.3923138380050659,
-0.01126008853316307,
0.3060820400714874,
-0.015012283809483051,
0.08627450466156006,
-0.254675030708313,
0.10004429519176483,
0.30306318402290344,
-0.11525290459394455,
-0.27104851603507996,
0.10326001793146133,
0.20517972111701965,
0.2681259214878082,
-0.017923802137374878,
-0.20573942363262177,
0.7407827973365784,
0.13564561307430267,
-0.25679755210876465,
0.12581507861614227,
0.39908504486083984,
0.13581112027168274,
0.12468142807483673,
-0.11939801275730133,
0.21171583235263824,
-0.3204462230205536,
0.12648925185203552,
-0.08461379259824753,
0.042297378182411194,
0.14868290722370148,
-0.23771673440933228,
0.6299424171447754,
-0.21867138147354126,
0.4631662964820862,
-0.08448962867259979,
0.15595288574695587,
-0.11351072788238525,
-0.03033444844186306,
-0.10648971796035767,
-0.13224858045578003,
0.20377717912197113,
-0.10805696249008179,
-0.1990812122821808,
-0.005276624113321304,
0.05348680540919304,
0.06204690784215927,
0.15137656033039093,
0.3160068690776825,
-0.017043156549334526,
-0.00034632720053195953,
-0.017234545201063156,
-0.21404355764389038,
0.10006862133741379,
0.028296876698732376,
-0.13939009606838226,
-0.31361085176467896,
-0.1487102210521698,
-0.26867613196372986,
0.2581801116466522,
0.07300111651420593,
-0.0763816088438034,
-0.03263045847415924,
-0.13099676370620728,
0.1420152187347412,
-0.008437449112534523,
-0.39983677864074707,
0.10910423845052719,
0.23136849701404572,
-0.1604679524898529,
0.1279536634683609,
0.3397711515426636,
0.18076388537883759,
-0.06028202176094055,
-0.3250398635864258,
0.30172356963157654,
0.03890659660100937,
0.0691499188542366,
-0.19281715154647827,
-0.20945413410663605
] |
https://github.com/huggingface/datasets/issues/1103 | Add support to download kaggle datasets | The workflow for downloading a Kaggle dataset and turning it into an HF dataset is pretty simple:
```python
!kaggle datasets download -p path
ds = load_dataset(path)
```
Native support would make our download logic even more complex, and I don't think this is a good idea considering this particular feature is not requested often.
PS: Kaggle should integrate their API with `fsspec` to allow us to use a common interface if they are interested in tighter integrations | We can use API key | 77 | Add support to download kaggle datasets
We can use API key
The workflow for downloading a Kaggle dataset and turning it into an HF dataset is pretty simple:
```python
!kaggle datasets download -p path
ds = load_dataset(path)
```
Native support would make our download logic even more complex, and I don't think this is a good idea considering this particular feature is not requested often.
PS: Kaggle should integrate their API with `fsspec` to allow us to use a common interface if they are interested in tighter integrations | [
-0.36472997069358826,
-0.32376834750175476,
-0.1376132071018219,
-0.242319718003273,
0.20205341279506683,
-0.04087947681546211,
0.009856093674898148,
0.3691911995410919,
0.38347479701042175,
0.2527520954608917,
-0.3061923086643219,
0.3398151099681854,
-0.05367845296859741,
0.7364373207092285,
-0.1330990493297577,
-0.11153000593185425,
0.13243265450000763,
0.21821317076683044,
0.023925505578517914,
-0.043482307344675064,
-0.1597796231508255,
-0.03227955102920532,
0.11858083307743073,
0.0748530849814415,
0.13482776284217834,
-0.18595874309539795,
-0.11527016013860703,
0.13708758354187012,
-0.1723192036151886,
-0.2754705548286438,
0.14334984123706818,
0.1203460842370987,
0.2697675824165344,
0.09990865737199783,
-0.00009923960169544443,
-0.08573318272829056,
0.04335948824882507,
-0.0542229488492012,
-0.24134135246276855,
0.21715641021728516,
-0.1464807093143463,
-0.34357601404190063,
-0.08330632001161575,
-0.23914363980293274,
-0.11406636238098145,
-0.2953018844127655,
0.11721695959568024,
-0.1534617841243744,
0.35453981161117554,
0.15469124913215637,
0.3127416968345642,
0.15510022640228271,
0.0031739845871925354,
-0.0728500559926033,
0.2085782289505005,
0.07383599877357483,
-0.183861643075943,
-0.1265060007572174,
0.021696679294109344,
-0.2609449028968811,
0.11673300713300705,
0.33942651748657227,
0.03681530803442001,
0.035275161266326904,
0.2981429994106293,
-0.06878608465194702,
-0.13195550441741943,
-0.418967068195343,
0.042545102536678314,
0.2840540409088135,
0.290032297372818,
-0.21787840127944946,
-0.4420795738697052,
-0.19397997856140137,
-0.0488089956343174,
0.0010711047798395157,
-0.12194520980119705,
0.3654125928878784,
-0.17492330074310303,
0.07215793430805206,
0.4802076816558838,
-0.30261102318763733,
-0.12977252900600433,
0.07187818735837936,
-0.059916045516729355,
0.37620988488197327,
0.07878351956605911,
-0.043055057525634766,
0.20838284492492676,
-0.07270079106092453,
0.019755758345127106,
-0.155390202999115,
0.04042340815067291,
0.011054225265979767,
-0.1548810452222824,
-0.1307002604007721,
-0.003804229199886322,
-0.12244638055562973,
0.2597830295562744,
-0.0033487044274806976,
-0.1869731992483139,
0.4019424021244049,
-0.10702671110630035,
0.23655354976654053,
0.1175144761800766,
-0.09893645346164703,
-0.058997251093387604,
0.0603858157992363,
0.3793213963508606,
0.07013041526079178,
0.1491350680589676,
-0.04250575602054596,
-0.00040003168396651745,
0.0018292348831892014,
-0.08648236095905304,
-0.006446724757552147,
-0.040833309292793274,
-0.020248189568519592,
-0.13004007935523987,
-0.04207281395792961,
0.012226711958646774,
0.06705834716558456,
-0.2587595582008362,
0.516850471496582,
-0.23230376839637756,
0.366842657327652,
0.08652491867542267,
0.24323885142803192,
-0.10285379737615585,
0.03791169077157974,
-0.03017585538327694,
0.13944606482982635,
0.2228778600692749,
0.005491364747285843,
-0.08323755860328674,
-0.1549476832151413,
0.0986144095659256,
-0.10599642992019653,
0.3670122027397156,
0.3125447928905487,
0.28190505504608154,
0.05852067843079567,
-0.07262059301137924,
0.2814084589481354,
0.20702838897705078,
-0.2910681366920471,
0.030945515260100365,
-0.1254827380180359,
-0.3264225423336029,
-0.1895308792591095,
-0.09143286198377609,
-0.06468473374843597,
-0.20857329666614532,
0.3154730200767517,
0.11833085119724274,
-0.27272045612335205,
-0.2787190079689026,
0.25671514868736267,
-0.2703601121902466,
-0.14177235960960388,
0.1720486581325531,
0.08383700996637344,
-0.10565268993377686,
-0.16291959583759308,
0.01239096187055111,
0.22556915879249573,
0.034432340413331985,
-0.24400486052036285,
0.11402188241481781,
-0.19674231112003326,
0.06411175429821014,
0.0961366593837738,
-0.0458214096724987,
-0.0023793354630470276,
-0.18447661399841309,
0.18333174288272858,
0.4931969940662384,
-0.5760177373886108,
-0.12584352493286133,
0.3676609694957733,
0.03876928240060806,
-0.013378893956542015,
0.11290475726127625,
0.18609227240085602,
0.19797751307487488,
0.006510122213512659,
0.053221143782138824,
0.34890156984329224,
-0.0007804464548826218,
0.19166773557662964,
-0.2806137502193451,
-0.5464487671852112,
-0.12786519527435303,
0.3652523458003998,
0.37665051221847534,
0.15130668878555298,
0.2443530261516571,
-0.1657516360282898,
0.39037129282951355,
-0.23668760061264038,
0.09481795877218246,
-0.09081967175006866,
0.48622116446495056,
0.195581316947937,
-0.027988413348793983,
-0.10492218285799026,
-0.027693018317222595,
0.10412929207086563,
-0.5239287614822388,
0.05744847282767296,
0.07064450532197952,
-0.5694222450256348,
-0.1613920032978058,
0.13344985246658325,
-0.14361636340618134,
0.0042421817779541016,
0.27996397018432617,
0.009001463651657104,
-0.021105874329805374,
0.056748125702142715,
-0.024367978796362877,
0.3454423248767853,
0.2430977076292038,
0.09581314772367477,
0.08157794177532196,
0.2987214922904968,
-0.19927524030208588,
0.18642067909240723,
0.2196979820728302,
0.041340164840221405,
0.06983210146427155,
-0.009273718111217022,
0.16528615355491638,
0.17639672756195068,
0.17101062834262848,
0.18085066974163055,
0.1963736116886139,
0.21174058318138123,
0.23769529163837433,
-0.04103782773017883,
0.1346934288740158,
0.3962770104408264,
0.20098407566547394,
0.1129770502448082,
-0.07542283087968826,
0.4246692657470703,
0.4520024359226227,
-0.05208318680524826,
0.06015244871377945,
0.20479825139045715,
0.22941958904266357,
0.004751432687044144,
0.08002889901399612,
0.0682980865240097,
-0.03993959352374077,
-0.3582427501678467,
-0.1182643324136734,
-0.2471439093351364,
-0.3609367311000824,
0.49356529116630554,
0.35483741760253906,
-0.029709424823522568,
0.143607497215271,
0.1742066740989685,
-0.07062625139951706,
-0.007591595873236656,
0.453195720911026,
-0.0761001706123352,
-0.048497483134269714,
0.4215174913406372,
-0.026515502482652664,
0.1311791092157364,
-0.001979726366698742,
0.05767744779586792,
0.2166018784046173,
0.09220533818006516,
0.07924583554267883,
0.14420968294143677,
0.11883315443992615,
-0.12331663817167282,
-0.1918644905090332,
-0.11202730238437653,
-0.2331189513206482,
-0.02306503616273403,
-0.12433920800685883,
0.11704228073358536,
-0.17009712755680084,
-0.2637251317501068,
0.11939136683940887,
0.12780031561851501,
0.06984791159629822,
-0.5184226036071777,
0.14821413159370422,
0.22014811635017395,
-0.17147667706012726,
-0.007152719423174858,
-0.19894494116306305,
0.1264844834804535,
-0.08298991620540619,
-0.18872202932834625,
-0.1508287638425827,
-0.23384827375411987,
-0.18688783049583435,
0.22403088212013245,
0.18204444646835327,
0.0525951012969017,
0.48869702219963074,
-0.030537012964487076,
0.07351388782262802,
-0.28394922614097595,
-0.3323664367198944,
0.06256558746099472,
0.05606507509946823,
-0.026846712455153465,
0.1445983648300171,
0.2591879367828369,
-0.021375207230448723,
-0.10803309082984924,
0.04551837593317032,
-0.18186219036579132,
-0.13522616028785706,
0.013139840215444565,
-0.08661918342113495,
-0.07232695072889328,
-0.10845281183719635,
-0.05308084934949875,
-0.5300371050834656,
-0.5559262037277222,
0.17212313413619995,
0.0937676727771759,
0.060471951961517334,
-0.08951664716005325,
0.14007864892482758,
0.04535483568906784,
0.13861076533794403,
-0.039874278008937836,
-0.26845207810401917,
0.09577123820781708,
0.3701529800891876,
-0.293750524520874,
-0.445484459400177,
0.13544313609600067,
-0.2560127079486847,
-0.06473076343536377,
-0.11254961043596268,
-0.4140283465385437,
-0.3619537055492401,
-0.10647302865982056,
0.44790056347846985,
-0.19673360884189606,
0.14071175456047058,
0.16336017847061157,
0.19417990744113922,
-0.1738937348127365,
-0.06559603661298752,
0.06379437446594238,
0.05074723809957504,
0.12516221404075623,
-0.04024914652109146,
-0.027752362191677094,
0.05995207279920578,
0.05103445425629616,
0.5219246745109558,
0.14043626189231873,
0.23405875265598297,
0.5738670825958252,
-0.2277153730392456,
0.08809147775173187,
-0.014422506093978882,
-0.134149432182312,
0.06653852015733719,
-0.2079119086265564,
0.20053550601005554,
0.1988665908575058,
-0.036428384482860565,
-0.18793320655822754,
-0.3562622666358948,
-0.14268366992473602,
-0.19171267747879028,
-0.3400469422340393,
0.012625718489289284,
-0.01213623583316803,
0.05831160768866539,
0.05585474148392677,
0.2394273579120636,
-0.1184348464012146,
-0.003361364360898733,
0.44803908467292786,
0.23945295810699463,
0.009712643921375275,
-0.04714503511786461,
-0.32556769251823425,
-0.2411656379699707,
-0.4142434895038605,
0.3513568043708801,
0.24631883203983307,
-0.0474175401031971,
0.005919847637414932,
-0.26922839879989624,
-0.04976767301559448,
-0.44699418544769287,
0.605410099029541,
-0.21037493646144867,
-0.0601394847035408,
-0.09848751127719879,
0.04341977834701538,
-0.32656171917915344,
-0.04916614666581154,
-0.06692031770944595,
-0.2555374503135681,
-0.2951742112636566,
0.15537066757678986,
-0.49516645073890686,
-0.028580883517861366,
-0.25892359018325806,
0.027581529691815376,
-0.2298363745212555,
0.06378842145204544,
-0.2760067582130432,
-0.3167644739151001,
-0.583454430103302,
-0.2159753143787384,
-0.23609888553619385,
0.007373971398919821,
-0.1236458495259285,
-0.029644569382071495,
-0.08585067838430405,
0.1517200469970703,
0.15358294546604156,
0.09456843137741089,
0.14191728830337524,
0.09602483361959457,
0.06527569890022278,
-0.18309222161769867,
0.10393226146697998,
0.16124218702316284,
0.6661430597305298,
-0.0668334811925888,
-0.32083308696746826,
-0.22377678751945496,
0.08307566493749619,
-0.051978833973407745,
0.16429860889911652,
0.13550129532814026,
0.344058096408844,
0.15464165806770325,
0.34091049432754517,
-0.4314311146736145,
0.23585425317287445,
0.19155021011829376,
-0.10969091206789017,
-0.1722015142440796,
-0.36958998441696167,
0.5179226398468018,
-0.027982212603092194,
-0.09113332629203796,
0.13339635729789734,
0.44727182388305664,
-0.023664722219109535,
0.38726890087127686,
0.16916891932487488,
0.781952440738678,
0.02186647802591324,
0.2918921709060669,
0.41753950715065,
-0.6051945090293884,
0.23434624075889587,
-0.48023849725723267,
-0.07652632892131805,
-0.2558833062648773,
0.04189028590917587,
-0.16812653839588165,
0.17327970266342163,
0.008421584963798523,
-0.22841547429561615,
-0.38014304637908936,
0.2086285650730133,
0.13829335570335388,
0.0824863463640213,
-0.13319988548755646,
0.309003621339798,
-0.5449892282485962,
-0.31794023513793945,
-0.3049626350402832,
0.3436337113380432,
-0.08886091411113739,
0.22939057648181915,
-0.052758727222681046,
-0.414128839969635,
-0.08454298973083496,
-0.039815500378608704,
0.0025748759508132935,
0.10364416986703873,
-0.10139087587594986,
0.12606650590896606,
-0.25308504700660706,
0.09384755790233612,
-0.13929995894432068,
-0.12419354915618896,
0.17944875359535217,
0.1207168847322464,
-0.26456594467163086,
0.03086070530116558,
0.05540137365460396,
-0.010980604216456413,
0.029007084667682648,
-0.04816199094057083,
0.1390032172203064,
-0.25024276971817017,
-0.3194136917591095,
0.35937654972076416,
0.0632665678858757,
-0.0900687724351883,
-0.03996161371469498,
-0.07641443610191345,
-0.12348844110965729,
-0.015068396925926208,
0.03708904981613159,
0.1494324803352356,
-0.19259895384311676,
-0.10073167830705643,
0.2130497395992279,
-0.0925893485546112,
-0.02137225866317749,
0.2622133791446686,
0.24923568964004517,
0.11059176921844482,
-0.20487238466739655,
0.26505687832832336,
-0.2076035737991333,
0.13195392489433289,
0.13232837617397308,
-0.05624772980809212,
-0.33121490478515625,
-0.3151802122592926,
0.07247533649206161,
-0.05017338693141937,
0.06245196610689163,
-0.12196958810091019,
0.10002253949642181,
-0.3445124626159668,
-0.17008048295974731,
0.3444524109363556,
0.08344095945358276,
-0.26622626185417175,
0.15066608786582947,
-0.09294112026691437,
-0.45847785472869873,
0.3712496757507324,
-0.09956389665603638,
0.1638864278793335,
0.10976279526948929,
0.13115909695625305,
-0.15830738842487335,
0.02585848979651928,
-0.47004735469818115,
-0.10685975104570389,
-0.06370720267295837,
-0.1793479323387146,
0.021679779514670372,
0.016716431826353073,
0.18398727476596832,
-0.05087814852595329,
0.22159673273563385,
0.04173336178064346,
-0.256633460521698,
-0.3444995582103729,
-0.1444350779056549,
0.07870817929506302,
0.11507850885391235,
-0.06325516104698181,
0.08220405131578445,
-0.28878921270370483,
-0.3497059941291809,
-0.07410390675067902,
0.15798629820346832,
0.11257881671190262,
-0.13017505407333374,
0.31944745779037476,
0.09567398577928543,
-0.050035372376441956,
0.08906455338001251,
0.09341643750667572,
0.1679922342300415,
0.18558597564697266,
-0.19156862795352936,
-0.08031761646270752,
-0.07436922192573547,
-0.09196482598781586,
0.3801889717578888,
0.20964273810386658,
0.3369978666305542,
-0.07863467931747437,
0.43680113554000854,
-0.0231141597032547,
0.0057125091552734375,
-0.033421266824007034,
0.3000401556491852,
0.16296949982643127,
-0.06995520740747452,
0.33671799302101135,
0.34190240502357483,
0.33251073956489563,
-0.5289090275764465,
-0.19678600132465363,
-0.016703855246305466,
-0.22121553122997284,
0.31769493222236633,
0.2322656214237213,
0.2603713572025299,
0.046273261308670044,
0.01600673794746399,
0.1631990671157837,
-0.11968660354614258,
-0.12193228304386139,
-0.11918134987354279,
0.20354004204273224,
-0.02254674956202507,
0.009990818798542023,
-0.2214406579732895,
0.26867252588272095,
0.12719064950942993,
0.22711004316806793,
-0.13245362043380737,
0.22716741263866425,
0.10128344595432281,
0.08754578232765198,
0.2813851237297058,
-0.3049314618110657,
0.025278840214014053,
-0.09439244866371155,
-0.033206477761268616,
0.2926497161388397,
0.28442567586898804,
0.23446056246757507,
-0.03150803595781326,
-0.3205825984477997,
-0.09726541489362717,
0.28824281692504883,
0.08032356202602386,
-0.03325092792510986,
0.13028013706207275,
0.022819019854068756,
-0.17044208943843842,
0.009852219372987747,
0.24322015047073364,
-0.28844767808914185,
0.09512224048376083,
0.12387111783027649,
0.13487865030765533,
0.12649855017662048,
-0.0011340975761413574,
0.22979989647865295,
0.5154755115509033,
-0.13802438974380493,
-0.42668306827545166,
0.3239879012107849,
-0.08383288979530334,
0.03913943096995354,
0.010121338069438934,
0.3859110176563263,
-0.07227559387683868,
-0.5828742980957031,
0.23892642557621002,
0.11457458138465881,
-0.07458867132663727,
-0.09433988481760025,
-0.09297201037406921,
0.1417597532272339,
-0.09139147400856018,
0.4354347586631775,
0.23081552982330322,
-0.3129909634590149,
-0.09605960547924042,
-0.16905109584331512,
-0.138518825173378,
-0.14072853326797485,
0.40578576922416687,
0.15067481994628906,
0.024624161422252655,
-0.11593911051750183,
-0.04918958991765976,
-0.45948174595832825,
0.046052783727645874,
-0.029550034552812576,
-0.035649433732032776,
0.25055819749832153,
-0.33261698484420776,
0.14683011174201965,
-0.031007371842861176,
0.3836258053779602,
0.10636688768863678,
0.37510645389556885,
0.10324428230524063,
0.09623223543167114,
-0.31881874799728394,
-0.16852548718452454,
-0.17127417027950287,
-0.2712697386741638,
-0.05434732139110565,
-0.06967193633317947,
0.3343603014945984,
0.1870424598455429,
-0.06769804656505585,
-0.14277960360050201,
0.5679541826248169,
0.30469369888305664,
-0.09673810005187988,
0.031209953129291534,
0.07856205105781555,
0.08104372024536133,
0.18084505200386047,
-0.6301049590110779,
0.21816374361515045,
-0.27645763754844666,
0.18865802884101868,
-0.018149483948946,
-0.15946368873119354,
0.10626566410064697,
-0.6178804636001587,
0.4738181233406067,
-0.09160042554140091,
0.21302904188632965,
-0.5217665433883667,
-0.17582154273986816,
0.22138909995555878,
-0.008254962041974068,
-0.27075496315956116,
-0.3372347950935364,
-0.12469425797462463,
0.21988634765148163,
0.055379122495651245,
-0.14244131743907928,
-0.0837797001004219,
0.16876913607120514,
0.2396029680967331,
0.05928414314985275,
-0.22969722747802734,
0.265912801027298,
-0.14685794711112976,
-0.15893548727035522,
-0.15591588616371155,
0.19960257411003113,
-0.016803942620754242,
-0.1013091504573822,
-0.16861456632614136,
-0.4957517087459564,
0.5221747756004333,
0.12241943925619125,
-0.17125891149044037,
-0.04588226228952408,
0.0795271024107933,
0.02576446905732155,
0.07115837931632996,
-0.2360561490058899,
0.18667376041412354,
0.03930380195379257,
0.020088940858840942,
0.12386350333690643,
0.29760897159576416,
-0.02608422189950943,
-0.13862505555152893,
-0.27169591188430786,
0.27556657791137695,
-0.11156871169805527,
0.056333720684051514,
0.020351272076368332,
-0.2809084355831146
] |
https://github.com/huggingface/datasets/issues/1064 | Not support links with 302 redirect | > Hi !
> This kind of links is now supported by the library since #1316
I updated links in TLC datasets to be the github links in this pull request
https://github.com/huggingface/datasets/pull/1737
Everything works now. Thank you. | I have an issue adding this download link https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz
it might be because it is not a direct link (it returns 302 and redirects to aws that returns 403 for head requests).
```
r.head("https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz", allow_redirects=True)
# <Response [403]>
``` | 37 | Not support links with 302 redirect
I have an issue adding this download link https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz
it might be because it is not a direct link (it returns 302 and redirects to aws that returns 403 for head requests).
```
r.head("https://github.com/jitkapat/thailitcorpus/releases/download/v.2.0/tlc_v.2.0.tar.gz", allow_redirects=True)
# <Response [403]>
```
> Hi !
> This kind of links is now supported by the library since #1316
I updated links in TLC datasets to be the github links in this pull request
https://github.com/huggingface/datasets/pull/1737
Everything works now. Thank you. | [
-0.08896870911121368,
-0.25178688764572144,
-0.008874639868736267,
-0.15047180652618408,
0.16920645534992218,
-0.014681458473205566,
-0.07347168028354645,
0.3519241213798523,
0.03704376146197319,
-0.08535675704479218,
-0.14623351395130157,
0.1753973364830017,
-0.008546981029212475,
0.09273955225944519,
0.19501371681690216,
-0.23604261875152588,
-0.05242253094911575,
-0.026149436831474304,
-0.08268220722675323,
0.20281250774860382,
-0.027272062376141548,
0.513064980506897,
-0.024857312440872192,
-0.062402769923210144,
-0.06867171078920364,
0.07742883265018463,
0.12104666233062744,
0.20317921042442322,
0.06837473064661026,
-0.24016231298446655,
0.3030552566051483,
0.11785291135311127,
0.15940676629543304,
0.5492522716522217,
-0.00012157348828623071,
0.15796436369419098,
0.3548876643180847,
0.07205598801374435,
-0.2901381850242615,
-0.5894260406494141,
-0.2536681592464447,
-0.24398532509803772,
0.03392942249774933,
0.03243497759103775,
-0.13063880801200867,
0.5072250962257385,
-0.07789389789104462,
0.1441015601158142,
-0.07533277571201324,
0.17650790512561798,
0.1485421359539032,
0.23756015300750732,
0.20080654323101044,
-0.08104412257671356,
0.9201809763908386,
0.05438051372766495,
-0.11805889010429382,
0.32595938444137573,
-0.0304328054189682,
0.15457870066165924,
0.3328634798526764,
0.17785216867923737,
0.09528616070747375,
0.08080249279737473,
-0.11103110760450363,
-0.10840410739183426,
-0.04510018229484558,
-0.2801690697669983,
-0.15075421333312988,
0.25521859526634216,
0.6863913536071777,
0.02069714106619358,
-0.5041071772575378,
0.12420938163995743,
-0.12298131734132767,
-0.26101601123809814,
0.3652244806289673,
0.27660074830055237,
0.16181370615959167,
0.042443979531526566,
0.02201925218105316,
-0.4948573708534241,
-0.158290296792984,
0.1913101077079773,
0.1813695728778839,
0.1272975355386734,
0.07978539168834686,
0.0317874550819397,
0.2093793749809265,
0.14824005961418152,
0.2320016473531723,
-0.11848652362823486,
-0.3121512830257416,
-0.005123562179505825,
-0.21857361495494843,
-0.07903145998716354,
-0.10699637979269028,
0.1383848488330841,
0.2005692720413208,
0.36035406589508057,
0.09712489694356918,
0.06099817901849747,
-0.2779531180858612,
0.13898885250091553,
-0.16372351348400116,
0.04552889242768288,
-0.4307023882865906,
0.11385685205459595,
0.5997729301452637,
0.13457418978214264,
0.1671668291091919,
-0.10142455250024796,
0.025814123451709747,
-0.3618369698524475,
-0.6406553387641907,
-0.005022857338190079,
0.021018773317337036,
0.04840048775076866,
-0.07036444544792175,
-0.023833956569433212,
-0.35182493925094604,
-0.1699010133743286,
-0.11776547878980637,
0.20239731669425964,
-0.0567757748067379,
0.06097133457660675,
0.5130022764205933,
0.04606641083955765,
0.004317820072174072,
0.15087760984897614,
-0.02114023268222809,
0.023146366700530052,
-0.13018597662448883,
-0.13885663449764252,
0.0760846734046936,
-0.04868941381573677,
0.1044011265039444,
-0.049407731741666794,
0.2970654368400574,
-0.14299722015857697,
0.10659552365541458,
0.04829815775156021,
0.00917968899011612,
0.5238866806030273,
0.04494652524590492,
0.2545098066329956,
-0.13370998203754425,
-0.13472306728363037,
0.14279520511627197,
0.3535700738430023,
-0.6124939918518066,
-0.21099933981895447,
-0.18071354925632477,
0.03269011154770851,
-0.15455405414104462,
-0.20677562057971954,
-0.1573905050754547,
-0.002897806465625763,
-0.14744064211845398,
-0.5722486972808838,
-0.13224804401397705,
0.060368407517671585,
-0.02410523220896721,
-0.11164875328540802,
0.09528156369924545,
0.34268468618392944,
-0.43517518043518066,
0.009462684392929077,
-0.06474398076534271,
0.22823785245418549,
-0.012003079056739807,
0.39813175797462463,
-0.15564633905887604,
-0.07291071861982346,
-0.3013802468776703,
-0.13418570160865784,
0.7303338646888733,
-0.48079878091812134,
-0.3789018392562866,
0.428231805562973,
-0.28984230756759644,
-0.18773576617240906,
-0.10612297803163528,
0.2756080627441406,
-0.3474135398864746,
-0.1764628142118454,
-0.12682703137397766,
0.16858521103858948,
0.27643054723739624,
0.03584180772304535,
-0.28972846269607544,
-0.1738004982471466,
-0.05712214857339859,
-0.022762369364500046,
-0.040470171719789505,
0.1606975644826889,
0.12722164392471313,
-0.3260910212993622,
0.32356739044189453,
0.08207593113183975,
0.2460446059703827,
0.16284345090389252,
0.21862713992595673,
0.08306044340133667,
0.08014403283596039,
0.031164005398750305,
0.03368198871612549,
-0.09030399471521378,
0.0018236450850963593,
0.3663535714149475,
-0.03540383279323578,
-0.09315955638885498,
-0.2621215879917145,
-0.2167801856994629,
0.005246367305517197,
0.1010591983795166,
-0.014465810731053352,
0.06919316947460175,
-0.08243729919195175,
0.37791016697883606,
-0.15858925879001617,
0.007478203624486923,
0.18938346207141876,
0.31365281343460083,
-0.08619052171707153,
0.5394982695579529,
-0.2678461968898773,
0.10293889790773392,
0.1966940313577652,
-0.04280844330787659,
0.18741318583488464,
-0.19793015718460083,
-0.12121879309415817,
0.3034731149673462,
-0.31773215532302856,
0.180401012301445,
0.6118974685668945,
0.07863817363977432,
0.2613999545574188,
-0.09223788976669312,
-0.3132670819759369,
0.30642926692962646,
0.21891094744205475,
0.11068803817033768,
-0.13122150301933289,
0.10570001602172852,
0.18018513917922974,
0.04625758156180382,
0.0018853656947612762,
0.2894606292247772,
0.2616717219352722,
0.05096794292330742,
-0.22700168192386627,
0.22646266222000122,
0.15958519279956818,
0.09930281341075897,
-0.7005442976951599,
-0.5742806792259216,
-0.24112455546855927,
-0.07569237798452377,
0.24906259775161743,
-0.23952923715114594,
0.1468956470489502,
0.1831812858581543,
-0.04386284947395325,
0.07719719409942627,
0.1577167809009552,
0.8859195709228516,
0.12089905142784119,
0.23818407952785492,
0.0884256362915039,
0.04398550093173981,
-0.030735716223716736,
-0.2622564733028412,
0.3470582067966461,
0.06245805323123932,
-0.2946639657020569,
0.11262859404087067,
0.10009590536355972,
0.041052211076021194,
-0.20127743482589722,
-0.4085436165332794,
0.20614229142665863,
0.1487215906381607,
-0.28930556774139404,
-0.09320185333490372,
-0.2989702522754669,
-0.2179986536502838,
0.1421819031238556,
-0.21775692701339722,
-0.04761795327067375,
-0.2104533463716507,
0.08296512067317963,
0.31613990664482117,
-0.17786584794521332,
0.17473329603672028,
0.16943012177944183,
0.07751855254173279,
0.20997975766658783,
-0.44186869263648987,
-0.20403695106506348,
-0.16943827271461487,
-0.10046861320734024,
0.08180643618106842,
0.11533936858177185,
-0.535322368144989,
0.1564158946275711,
-0.1384676843881607,
0.2705565094947815,
-0.2036031186580658,
-0.3495526611804962,
-0.026872150599956512,
-0.08873213827610016,
-0.10536828637123108,
0.18252962827682495,
0.17988505959510803,
-0.17001043260097504,
0.08214525878429413,
0.23549142479896545,
0.19401521980762482,
0.17340096831321716,
-0.12290331721305847,
0.16015662252902985,
-0.14960627257823944,
-0.23171107470989227,
-0.37626680731773376,
0.07740114629268646,
-0.34796634316444397,
-0.06187726557254791,
0.15765206515789032,
0.17056894302368164,
-0.046214912086725235,
0.2099299281835556,
-0.0879654586315155,
0.23947963118553162,
-0.20124736428260803,
-0.18687599897384644,
-0.4467815160751343,
0.5848568081855774,
-0.4474652409553528,
-0.48776838183403015,
0.406659334897995,
0.019629545509815216,
0.24929241836071014,
0.08256866782903671,
-0.4886935353279114,
-0.11695722490549088,
-0.0007142629474401474,
-0.24254226684570312,
0.09365184605121613,
0.44168832898139954,
0.1985343098640442,
0.2711295485496521,
-0.14633658528327942,
0.07185647636651993,
-0.6122390627861023,
-0.043818213045597076,
0.2205580472946167,
0.23290899395942688,
0.16419219970703125,
0.39453116059303284,
0.24778515100479126,
0.4924859404563904,
0.08965475857257843,
0.1346903294324875,
0.5550948977470398,
0.006013030186295509,
0.21738682687282562,
0.07535120099782944,
0.11822532117366791,
0.051743004471063614,
0.07584899663925171,
0.18764349818229675,
0.123297318816185,
0.348850816488266,
-0.25443628430366516,
-0.5247752666473389,
-0.26467689871788025,
-0.19479501247406006,
-0.26486000418663025,
-0.1564062535762787,
-0.34175464510917664,
0.006082676351070404,
0.16783703863620758,
-0.2579475939273834,
-0.037016503512859344,
-0.06111646443605423,
0.2510454058647156,
0.3608325123786926,
0.45103663206100464,
0.0007097652414813638,
-0.21066471934318542,
-0.22799541056156158,
-0.03906682878732681,
0.2530308961868286,
0.1908380091190338,
0.04489174857735634,
-0.15367083251476288,
0.04954732209444046,
0.004114709794521332,
-0.04424860328435898,
0.4536241888999939,
-0.5851213932037354,
0.11772053688764572,
-0.08850736916065216,
-0.0010410808026790619,
-0.41802313923835754,
-0.007192965596914291,
0.10506850481033325,
0.4362523555755615,
-0.1284874826669693,
-0.1862543821334839,
-0.3607247471809387,
0.04759153351187706,
-0.03118835762143135,
-0.27740445733070374,
0.07864372432231903,
-0.05583348125219345,
-0.01521233469247818,
-0.3150623142719269,
-0.5795227289199829,
0.09645310789346695,
0.13978026807308197,
0.014118341729044914,
-0.15418533980846405,
-0.5138265490531921,
0.2536276578903198,
-0.15452086925506592,
0.15225161612033844,
-0.3228797912597656,
0.11534957587718964,
0.14479601383209229,
-0.2176787108182907,
-0.029369957745075226,
-0.031105339527130127,
-0.10752645134925842,
0.38898393511772156,
0.0025137849152088165,
0.17958860099315643,
0.07420417666435242,
0.16562795639038086,
0.07668959349393845,
0.2557782828807831,
0.1276845932006836,
0.10663416981697083,
-0.020117737352848053,
-0.047372981905937195,
0.14910133183002472,
-0.158490851521492,
0.35365280508995056,
-0.10171930491924286,
-0.368306428194046,
-0.2712532877922058,
0.24322524666786194,
-0.2895280122756958,
-0.026406317949295044,
0.30469608306884766,
0.4643104672431946,
0.044070854783058167,
-0.010784443467855453,
-0.2777213752269745,
1.1651054620742798,
0.01956884190440178,
0.1489717960357666,
0.2043876349925995,
-0.6890208721160889,
0.6226338744163513,
-0.3744083642959595,
0.29870814085006714,
-0.07200711965560913,
0.36834245920181274,
-0.23232601583003998,
-0.16348600387573242,
-0.2121371626853943,
-0.05767877399921417,
-0.24651376903057098,
0.29874303936958313,
-0.08149263262748718,
-0.023185107856988907,
0.16972588002681732,
0.191818967461586,
0.03513724356889725,
0.09589853882789612,
-0.09142747521400452,
0.1366746425628662,
-0.04471971094608307,
0.2567814290523529,
-0.0499422587454319,
-0.37067359685897827,
-0.15373282134532928,
-0.08210292458534241,
0.006193093955516815,
0.07959989458322525,
-0.1074325293302536,
-0.24484865367412567,
-0.21790862083435059,
-0.674068033695221,
0.49796363711357117,
0.41697877645492554,
-0.016794614493846893,
0.2131243795156479,
-0.3809308409690857,
0.27914953231811523,
-0.38343706727027893,
0.11130978912115097,
0.03274143114686012,
0.2366836816072464,
0.08409660309553146,
-0.22097986936569214,
-0.28833940625190735,
0.07837336510419846,
0.08142776042222977,
-0.27332791686058044,
0.41775786876678467,
-0.05210505425930023,
0.016452442854642868,
-0.1052117571234703,
-0.14085611701011658,
0.12410421669483185,
-0.4260388910770416,
-0.11688695847988129,
0.07379372417926788,
0.10238191485404968,
-0.27413249015808105,
-0.08574228733778,
0.39110317826271057,
0.08164699375629425,
0.029286762699484825,
0.6203905344009399,
-0.22152766585350037,
0.31581297516822815,
0.013289149850606918,
0.16947336494922638,
-0.23666855692863464,
0.008969556540250778,
-0.2597522437572479,
-0.1960689127445221,
-0.6053311228752136,
0.26898783445358276,
-0.10522723197937012,
0.01888616383075714,
-0.3100355267524719,
0.06544218212366104,
-0.11696745455265045,
0.358350545167923,
0.018877778202295303,
-0.38290339708328247,
0.02245020680129528,
-0.04711651802062988,
-0.38086116313934326,
0.24621084332466125,
0.027636900544166565,
-0.04166918247938156,
0.4045991599559784,
-0.2615495026111603,
-0.20853029191493988,
0.4591498374938965,
-0.03820693865418434,
0.06864780187606812,
0.04072142392396927,
-0.03138952702283859,
0.6047632694244385,
-0.019207611680030823,
-0.020394977182149887,
0.006333954632282257,
-0.36034783720970154,
-0.00005445815622806549,
-0.13681843876838684,
0.14002661406993866,
0.20050382614135742,
-0.14952430129051208,
-0.07633844763040543,
-0.35696250200271606,
-0.0031250324100255966,
0.10247419774532318,
0.052169572561979294,
-0.17622506618499756,
-0.18224017322063446,
-0.06565140932798386,
-0.05096934363245964,
-0.5027401447296143,
-0.10368186980485916,
0.20126916468143463,
0.027043715119361877,
0.01349494606256485,
0.16881605982780457,
-0.18200628459453583,
-0.027370821684598923,
-0.22214947640895844,
-0.35249391198158264,
0.08221321552991867,
0.3399105966091156,
0.1501912623643875,
0.6625530123710632,
-0.4900311231613159,
-0.1894519180059433,
0.08168277144432068,
0.36822807788848877,
-0.16975648701190948,
-0.09916558116674423,
0.06806065887212753,
0.1000918596982956,
0.08534367382526398,
-0.07248637080192566,
-0.13928309082984924,
0.08508726954460144,
0.1007641926407814,
0.11684156954288483,
-0.18936297297477722,
0.11146438121795654,
-0.2744367718696594,
0.1228785365819931,
0.25692325830459595,
0.47010040283203125,
-0.37368738651275635,
-0.02020961605012417,
0.1007961854338646,
-0.14369753003120422,
0.2254035770893097,
-0.10361222177743912,
-0.21536003053188324,
-0.02354472130537033,
-0.024710647761821747,
0.0115562304854393,
-0.22429460287094116,
0.6830970644950867,
-0.09135407209396362,
0.031185396015644073,
-0.06682650744915009,
-0.12232847511768341,
0.0060823410749435425,
0.3291820287704468,
-0.1530187427997589,
0.32403242588043213,
0.26177096366882324,
0.15933363139629364,
0.18609721958637238,
-0.11076068878173828,
0.08485610783100128,
0.20436683297157288,
0.0001792069524526596,
-0.19792675971984863,
-0.08143633604049683,
-0.01716441661119461,
-0.07157249748706818,
-0.11948461830615997,
0.08693648874759674,
0.08314383029937744,
0.21137556433677673,
0.3685370683670044,
-0.15329201519489288,
-0.17423760890960693,
0.012278955429792404,
0.16591784358024597,
-0.03989579901099205,
0.17558687925338745,
0.24833819270133972,
-0.13214357197284698,
0.15753424167633057,
-0.06373533606529236,
0.42618528008461,
-0.13778376579284668,
-0.05743766948580742,
-0.019808143377304077,
0.04279932379722595,
-0.10933408886194229,
0.26729539036750793,
0.3388478755950928,
0.35758301615715027,
0.20286819338798523,
0.10169486701488495,
0.07155909389257431,
-0.0871218666434288,
0.3904492259025574,
-0.28523746132850647,
0.09882445633411407,
-0.18972869217395782,
0.4406181275844574,
-0.26313894987106323,
-0.26309677958488464,
-0.3342829942703247,
-0.25417229533195496,
-0.17992079257965088,
0.026102621108293533,
0.35905563831329346,
-0.33628955483436584,
-0.10188218206167221,
-0.22510984539985657,
0.04001685976982117,
0.004371363669633865,
0.29924213886260986,
0.25498440861701965,
0.18673065304756165,
-0.11783417314291,
-0.04546217992901802,
-0.05395599454641342,
0.1426372230052948,
0.3550260066986084,
0.1628575474023819,
-0.22547893226146698,
0.004533218219876289,
0.015865303575992584,
0.08302845805883408,
0.04280431568622589,
-0.633080244064331,
0.10684637725353241,
0.18018516898155212,
0.05515517666935921,
0.048530083149671555,
-0.25424081087112427,
0.15188279747962952,
0.06007211655378342,
0.030370518565177917,
-0.0813530832529068,
-0.035980094224214554,
0.004501171410083771,
-0.27400267124176025,
0.04216127097606659,
-0.2022825926542282,
-0.17761589586734772,
0.6491751074790955,
0.2948359251022339,
0.3487353026866913,
-0.034928686916828156,
-0.00013836845755577087,
-0.19831204414367676,
-0.07064887881278992,
-0.06056130677461624,
-0.29018887877464294,
0.0004360564053058624,
0.4371778070926666,
-0.10683345794677734,
0.17890870571136475,
-0.14657866954803467,
0.07553835213184357,
-0.19129526615142822,
0.7068842053413391,
0.14738890528678894,
-0.1841675341129303,
-0.22307837009429932,
-0.014289136976003647,
0.13358594477176666,
-0.038184188306331635,
0.052456557750701904,
0.02194465883076191,
-0.42037075757980347,
-0.4358585476875305,
0.5019134879112244,
-0.14799559116363525,
0.024277865886688232,
0.4396551847457886,
0.2329079508781433,
0.14495450258255005,
-0.058179281651973724,
-0.1517629623413086,
0.09230110794305801,
0.1003260388970375,
0.2673758268356323,
-0.39399129152297974,
0.45662447810173035,
-0.021420620381832123,
0.19609913229942322,
0.07485055923461914,
0.13017328083515167,
0.04845859110355377,
-0.19979381561279297,
-0.22780588269233704,
-0.1962190568447113
] |
https://github.com/huggingface/datasets/issues/1046 | Dataset.map() turns tensors into lists? | A solution is to have the tokenizer return a list instead of a tensor, and then use `dataset_tok.set_format(type = 'torch')` to convert that list into a tensor. Still not sure if bug. | I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset
print("version datasets", datasets.__version__)
dataset = load_dataset("snli", split='train[0:50]')
def tokenizer_fn(example):
# actually uses a tokenizer which does something like:
return {'input_ids': torch.tensor([[0, 1, 2]])}
print("First item in dataset:\n", dataset[0])
tokenized = tokenizer_fn(dataset[0])
print("Tokenized hyp:\n", tokenized)
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
```
The output is:
```
version datasets 1.1.3
Reusing dataset snli (/home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c)
First item in dataset:
{'premise': 'A person on a horse jumps over a broken down airplane.', 'hypothesis': 'A person is training his horse for a competition.', 'label': 1}
Tokenized hyp:
{'input_ids': tensor([[0, 1, 2]])}
Loading cached processed dataset at /home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c/cache-fe38f449fe9ac46f.arrow
Tokenized using map:
{'input_ids': [[0, 1, 2]]}
<class 'torch.Tensor'> <class 'list'>
```
Or am I doing something wrong?
| 32 | Dataset.map() turns tensors into lists?
I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset
print("version datasets", datasets.__version__)
dataset = load_dataset("snli", split='train[0:50]')
def tokenizer_fn(example):
# actually uses a tokenizer which does something like:
return {'input_ids': torch.tensor([[0, 1, 2]])}
print("First item in dataset:\n", dataset[0])
tokenized = tokenizer_fn(dataset[0])
print("Tokenized hyp:\n", tokenized)
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
```
The output is:
```
version datasets 1.1.3
Reusing dataset snli (/home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c)
First item in dataset:
{'premise': 'A person on a horse jumps over a broken down airplane.', 'hypothesis': 'A person is training his horse for a competition.', 'label': 1}
Tokenized hyp:
{'input_ids': tensor([[0, 1, 2]])}
Loading cached processed dataset at /home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c/cache-fe38f449fe9ac46f.arrow
Tokenized using map:
{'input_ids': [[0, 1, 2]]}
<class 'torch.Tensor'> <class 'list'>
```
Or am I doing something wrong?
A solution is to have the tokenizer return a list instead of a tensor, and then use `dataset_tok.set_format(type = 'torch')` to convert that list into a tensor. Still not sure if bug. | [
-0.09053397178649902,
-0.1736622452735901,
-0.1339070051908493,
0.2130296528339386,
0.21620389819145203,
0.21936547756195068,
0.49149438738822937,
0.3712696433067322,
0.2574448883533478,
-0.02639763057231903,
-0.14613458514213562,
0.6802522540092468,
-0.100302554666996,
-0.416458398103714,
0.1840580254793167,
0.02535899542272091,
0.29439303278923035,
0.03468073159456253,
-0.05079853534698486,
-0.2774464190006256,
-0.18312731385231018,
-0.06757648289203644,
-0.1957765817642212,
0.07911789417266846,
-0.14120279252529144,
-0.1547507643699646,
0.14461003243923187,
-0.3113889694213867,
-0.06276135891675949,
-0.23686134815216064,
0.19467875361442566,
0.03357798978686333,
0.10225531458854675,
0.4467196464538574,
-0.00011601520964177325,
0.11832712590694427,
-0.03723476827144623,
0.20795631408691406,
-0.01764693856239319,
-0.10344699025154114,
0.007618557661771774,
-0.1327909529209137,
0.14701040089130402,
-0.1844785511493683,
-0.005499383434653282,
-0.14795535802841187,
-0.039130374789237976,
-0.6350409388542175,
0.17909634113311768,
0.3810077905654907,
0.14433950185775757,
0.2552906572818756,
-0.1439363807439804,
0.2130865901708603,
0.33249431848526,
0.2167775183916092,
-0.20849740505218506,
-0.2550543546676636,
0.16278916597366333,
-0.07579253613948822,
0.06689111888408661,
0.11292369663715363,
-0.49844101071357727,
-0.019202228635549545,
0.23708003759384155,
0.22211334109306335,
-0.18698608875274658,
-0.5936381816864014,
0.020376017317175865,
0.11431057751178741,
0.34622904658317566,
-0.3974609375,
-0.1002945825457573,
-0.15653707087039948,
-0.2213951051235199,
0.0423910990357399,
-0.051155924797058105,
0.053999945521354675,
0.054505083709955215,
-0.08635081350803375,
-0.2528420090675354,
-0.08149640262126923,
0.06496728956699371,
0.2210162729024887,
-0.5532373189926147,
0.2875820994377136,
-0.07818610966205597,
0.2344750165939331,
0.1804772913455963,
-0.050585366785526276,
0.15076668560504913,
-0.3792155981063843,
0.085336834192276,
0.15793350338935852,
-0.32726410031318665,
-0.1862960159778595,
0.1454366147518158,
-0.4385436475276947,
0.05618087947368622,
-0.1962929666042328,
0.1501738429069519,
0.22167080640792847,
-0.3979550302028656,
0.17587117850780487,
0.17681178450584412,
0.14499036967754364,
-0.015539385378360748,
0.6800308227539062,
-0.05051056295633316,
-0.4166105389595032,
-0.07700400054454803,
0.18375638127326965,
0.09664015471935272,
-0.012552840635180473,
0.035125572234392166,
-0.08095623552799225,
0.13118568062782288,
0.08025352656841278,
-0.10565494745969772,
0.12309178709983826,
-0.5634174346923828,
0.10946477949619293,
0.0026194285601377487,
0.038414280861616135,
-0.1862233281135559,
0.18807798624038696,
0.0646294429898262,
-0.004718538373708725,
0.07912782579660416,
0.2578694522380829,
-0.09840688109397888,
-0.21194535493850708,
-0.13049162924289703,
-0.08178163319826126,
-0.09849312156438828,
-0.0916113406419754,
0.06190717965364456,
0.09238265454769135,
0.1118396446108818,
-0.001733936369419098,
0.28039032220840454,
-0.09272907674312592,
0.5385238528251648,
0.1707923859357834,
-0.11221423745155334,
0.49334123730659485,
0.22306658327579498,
-0.06512810289859772,
-0.24874457716941833,
0.22111070156097412,
-0.3083322048187256,
0.11857981979846954,
0.020091673359274864,
0.12919209897518158,
-0.04720278084278107,
-0.098476842045784,
-0.2833482325077057,
0.11633573472499847,
0.27630293369293213,
-0.05829963833093643,
0.25322309136390686,
-0.33491963148117065,
-0.1329496204853058,
-0.19630230963230133,
0.10438502579927444,
-0.04515480995178223,
-0.1186414510011673,
-0.046728380024433136,
0.04409352317452431,
0.08886061608791351,
0.09594406932592392,
0.3504171669483185,
-0.22965624928474426,
0.3976290822029114,
-0.19708970189094543,
0.31881022453308105,
0.3553226590156555,
-0.16058465838432312,
-0.45907828211784363,
0.03252046927809715,
-0.04143679141998291,
0.20086705684661865,
-0.4211300015449524,
0.25818321108818054,
0.517571210861206,
0.011596055701375008,
0.10813170671463013,
-0.013831153512001038,
0.039452049881219864,
0.07127629220485687,
0.07597367465496063,
0.08931724727153778,
0.6063425540924072,
-0.19423048198223114,
0.0912255197763443,
0.43684348464012146,
-0.08992049843072891,
0.16632454097270966,
0.22649389505386353,
-0.03539739176630974,
-0.014385107904672623,
0.256234347820282,
-0.09840603172779083,
0.19649145007133484,
0.07114370912313461,
-0.13312754034996033,
-0.320759117603302,
-0.06734728813171387,
0.20242872834205627,
0.08144333213567734,
-0.08576053380966187,
-0.2460777759552002,
0.050505638122558594,
0.18240003287792206,
-0.18537402153015137,
0.07248077541589737,
0.10814867913722992,
-0.040079787373542786,
-0.21671536564826965,
0.030849862843751907,
-0.01391914114356041,
-0.251079261302948,
0.17450328171253204,
0.204618439078331,
-0.4255833923816681,
0.28197014331817627,
0.16287273168563843,
0.13754436373710632,
-0.4352928698062897,
0.12701387703418732,
-0.05532024800777435,
-0.08301418274641037,
0.09880023449659348,
0.034960366785526276,
0.12805195152759552,
0.026587024331092834,
-0.09545702487230301,
0.5214632749557495,
0.28660517930984497,
-0.2311560958623886,
0.075139619410038,
0.4937564432621002,
0.02388114482164383,
-0.22977125644683838,
0.19617968797683716,
0.13950064778327942,
0.219704732298851,
0.3267371356487274,
-0.4468350410461426,
0.24234619736671448,
0.03694479912519455,
0.20385974645614624,
-0.35067081451416016,
0.12865327298641205,
-0.4682183563709259,
0.22035449743270874,
0.17389428615570068,
0.14891144633293152,
-0.19109830260276794,
0.06572531163692474,
0.48902595043182373,
-0.10335083305835724,
0.09940293431282043,
-0.05866219848394394,
-0.5665891766548157,
-0.006571400910615921,
0.23273685574531555,
-0.2958332598209381,
0.12993085384368896,
-0.07882101088762283,
0.3676333725452423,
0.013428360223770142,
-0.02158264070749283,
0.10928739607334137,
0.09242334961891174,
0.35199636220932007,
0.020220080390572548,
-0.07609737664461136,
0.0611620731651783,
0.06528154760599136,
-0.3260112702846527,
0.09770898520946503,
-0.08192683756351471,
0.10877633839845657,
-0.17469720542430878,
0.2153777778148651,
-0.2485266625881195,
0.11461318284273148,
-0.07724278420209885,
-0.4351755380630493,
-0.1941462755203247,
-0.161015585064888,
-0.09329378604888916,
0.1621309518814087,
0.037524256855249405,
0.19287706911563873,
0.3247016966342926,
0.001695007085800171,
0.3418305218219757,
-0.2255830615758896,
-0.12515246868133545,
-0.24493707716464996,
-0.11979881674051285,
0.07383100688457489,
0.018127158284187317,
-0.42640450596809387,
0.08398360013961792,
-0.06975103169679642,
-0.06641587615013123,
-0.7368849515914917,
-0.24310344457626343,
0.17340520024299622,
-0.29627346992492676,
-0.27694422006607056,
0.302713543176651,
0.20047806203365326,
-0.30660873651504517,
0.09713788330554962,
-0.018687492236495018,
0.14759670197963715,
0.046799734234809875,
0.08446113020181656,
-0.11039446294307709,
0.11608029901981354,
-0.13087420165538788,
-0.34764134883880615,
-0.0094150360673666,
-0.016620565205812454,
0.2716757655143738,
0.08389082551002502,
0.15256452560424805,
0.07741684466600418,
0.302970826625824,
0.1268661469221115,
0.029935242608189583,
-0.17178985476493835,
-0.16435755789279938,
-0.24411895871162415,
0.36112433671951294,
-0.052023690193891525,
-0.22654439508914948,
-0.021223749965429306,
-0.0030593033879995346,
0.1346481889486313,
0.5783624649047852,
-0.317405641078949,
0.03442743048071861,
-0.04200345277786255,
0.2637939453125,
0.01757528819143772,
0.13472497463226318,
0.3775297701358795,
0.24780377745628357,
0.10766544938087463,
-0.0430455282330513,
-0.028808483853936195,
-0.0538104847073555,
-0.016109757125377655,
0.31600528955459595,
0.14986997842788696,
0.33972054719924927,
0.14048360288143158,
0.6328850388526917,
0.08626613020896912,
-0.5870515704154968,
-0.2141457200050354,
-0.34985974431037903,
0.21655620634555817,
-0.15209469199180603,
-0.3102625608444214,
-0.10935068130493164,
-0.28600820899009705,
-0.30084335803985596,
0.07506880909204483,
-0.13144871592521667,
-0.26571938395500183,
0.29691675305366516,
0.44622576236724854,
-0.08823283761739731,
-0.16773350536823273,
0.05720105022192001,
-0.6227612495422363,
0.18759652972221375,
0.06498870253562927,
0.27816882729530334,
-0.3583345413208008,
-0.15680494904518127,
0.11683200299739838,
-0.11297313868999481,
0.3872699737548828,
-0.12638849020004272,
-0.7034634351730347,
0.006364624947309494,
-0.42041537165641785,
0.18739795684814453,
0.005688064731657505,
0.17737329006195068,
0.16522972285747528,
-0.11250929534435272,
0.17444512248039246,
0.325063556432724,
0.7036455869674683,
-0.05861171334981918,
-0.3005672097206116,
0.1336066722869873,
-0.09978361427783966,
-0.4846150577068329,
0.08462615311145782,
-0.25938355922698975,
0.2423415184020996,
0.2093498855829239,
0.3109833002090454,
-0.04765395447611809,
-0.23226162791252136,
-0.3107510805130005,
0.13332965970039368,
-0.05324298143386841,
0.3153669834136963,
-0.13312757015228271,
-0.094195157289505,
-0.12718431651592255,
-0.12171673029661179,
0.19634227454662323,
-0.2370511144399643,
-0.033891454339027405,
-0.5592253804206848,
-0.18884101510047913,
-0.07118295878171921,
0.1944616436958313,
0.04271118342876434,
0.20007219910621643,
0.13182996213436127,
-0.2557496428489685,
0.2216896414756775,
0.1591053307056427,
0.11775540560483932,
0.07872498035430908,
-0.11971533298492432,
-0.3400993347167969,
-0.051767654716968536,
0.21297134459018707,
0.16499048471450806,
-0.16020706295967102,
-0.14136239886283875,
0.11770495772361755,
-0.24464988708496094,
-0.10589799284934998,
-0.3997232913970947,
0.47647905349731445,
0.5671220421791077,
0.2579689919948578,
-0.31574171781539917,
-0.6125044226646423,
0.23021435737609863,
0.37742894887924194,
-0.27912378311157227,
0.4521864056587219,
-0.506121814250946,
-0.3920195400714874,
0.2071545422077179,
0.4282870590686798,
0.5739823579788208,
-0.41191011667251587,
0.24986335635185242,
0.07658733427524567,
0.2339148372411728,
0.4260093569755554,
-0.48050224781036377,
0.13938073813915253,
-0.3452279567718506,
0.15276587009429932,
-0.2154873162508011,
-0.25662118196487427,
0.06368274241685867,
0.1887107938528061,
-0.031668394804000854,
-0.12429074198007584,
-0.023955702781677246,
0.7876777052879333,
0.07805007696151733,
-0.1464800238609314,
0.39559879899024963,
-0.2671815752983093,
0.08921640366315842,
0.20366182923316956,
-0.12126155197620392,
0.20993667840957642,
0.009298011660575867,
0.05131053924560547,
-0.19650299847126007,
-0.12787094712257385,
0.011700056493282318,
-0.013051855377852917,
-0.22999322414398193,
0.26187247037887573,
0.15259559452533722,
-0.20114468038082123,
0.13923601806163788,
0.7396442294120789,
0.22348381578922272,
0.2516419589519501,
-0.07440419495105743,
-0.03814775124192238,
0.17692013084888458,
0.2847002148628235,
0.1070505902171135,
-0.18486778438091278,
0.08351527899503708,
0.23048624396324158,
-0.011529333889484406,
0.23552468419075012,
0.0631154403090477,
-0.2683454751968384,
-0.4846624433994293,
0.2600139379501343,
0.5671133995056152,
-0.3808259069919586,
0.24406777322292328,
0.1625119000673294,
-0.04161916300654411,
0.001362629234790802,
0.06755340099334717,
-0.14714083075523376,
-0.13257326185703278,
0.40932902693748474,
-0.15481498837471008,
-0.16085606813430786,
0.1107492595911026,
0.3674653172492981,
0.20762336254119873,
-0.15336140990257263,
0.24808654189109802,
0.05694064125418663,
-0.08482392132282257,
-0.29178550839424133,
0.10967113822698593,
0.201940655708313,
0.1349809169769287,
0.2240549474954605,
-0.35780227184295654,
-0.16450098156929016,
-0.1746765822172165,
0.14996236562728882,
-0.25256747007369995,
-0.038757115602493286,
-0.3988034725189209,
-0.023531906306743622,
-0.3721059560775757,
-0.025249332189559937,
-0.09947268664836884,
0.40522509813308716,
0.13301360607147217,
0.03300388157367706,
-0.2353825718164444,
-0.28417694568634033,
-0.2150231897830963,
0.06140664964914322,
0.10497594624757767,
0.31751254200935364,
-0.01617128774523735,
0.1339098960161209,
-0.07814127951860428,
-0.20153355598449707,
0.08007296919822693,
0.16777554154396057,
-0.08159352093935013,
-0.2401297390460968,
0.03248736634850502,
0.08317241817712784,
0.16237053275108337,
-0.2707001864910126,
-0.020783323794603348,
0.017121851444244385,
-0.177249938249588,
-0.36912524700164795,
0.2644970118999481,
0.33873844146728516,
-0.054842568933963776,
0.2520480751991272,
0.16291341185569763,
0.1922452300786972,
0.06648281961679459,
-0.23898151516914368,
-0.06733961403369904,
-0.12356343865394592,
0.07671020925045013,
0.35528767108917236,
0.08987598121166229,
-0.025358688086271286,
-0.2356753796339035,
0.24981287121772766,
0.43439388275146484,
-0.1193525567650795,
0.5966323018074036,
-0.2622196078300476,
0.10746239125728607,
0.11456891149282455,
0.2363795042037964,
0.23275074362754822,
-0.34982144832611084,
-0.29780155420303345,
0.09763595461845398,
0.15667612850666046,
0.050374291837215424,
-0.2055501490831375,
0.3785061836242676,
0.12903550267219543,
0.008539941161870956,
0.13844512403011322,
0.10848605632781982,
0.13465003669261932,
-0.043460384011268616,
-0.26038992404937744,
0.33312883973121643,
-0.3271983861923218,
0.4942011535167694,
0.39760851860046387,
0.026515621691942215,
0.04664211720228195,
0.10610586404800415,
-0.019721578806638718,
-0.08838462084531784,
0.46167051792144775,
0.2282729148864746,
0.552383303642273,
0.3027759790420532,
-0.03401217237114906,
0.5073822140693665,
-0.013749103993177414,
0.0007736645638942719,
-0.01576519012451172,
-0.24539142847061157,
0.25810617208480835,
0.19029557704925537,
0.05565077066421509,
-0.04754507169127464,
-0.2028522491455078,
0.05778345465660095,
0.19412405788898468,
-0.36906641721725464,
-0.03284122049808502,
-0.18449053168296814,
-0.009945586323738098,
0.23950260877609253,
-0.2091042846441269,
-0.03764105215668678,
-0.2905728220939636,
0.17647749185562134,
-0.096705362200737,
-0.02160840481519699,
-0.034052684903144836,
-0.0009390600025653839,
-0.06794726848602295,
-0.00629781186580658,
0.0717407763004303,
-0.12864287197589874,
-0.4583583474159241,
0.07275030016899109,
-0.16064606606960297,
0.15309682488441467,
0.06659106910228729,
0.22653278708457947,
-0.1436648815870285,
0.20577970147132874,
-0.07824337482452393,
-0.13374218344688416,
-0.03545675426721573,
0.17148061096668243,
-0.26076412200927734,
-0.200180783867836,
-0.024128615856170654,
0.08529069274663925,
-0.05281541123986244,
-0.1415356993675232,
-0.21380580961704254,
0.3650476336479187,
0.012936552986502647,
0.2667194604873657,
-0.14245855808258057,
-0.2983594238758087,
-0.14482462406158447,
-0.11895497888326645,
-0.16085675358772278,
-0.18781961500644684,
0.6996368169784546,
-0.03504624962806702,
0.16970109939575195,
-0.159554123878479,
0.04916796088218689,
0.015254691243171692,
0.26130032539367676,
0.06460189819335938,
0.1442364752292633,
-0.00802078191190958,
0.04123595356941223,
-0.14325402677059174,
0.3525061309337616,
0.2403380572795868,
0.12021738290786743,
-0.002634294331073761,
0.023172037675976753,
0.09016972035169601,
0.237598717212677,
-0.12096601724624634,
-0.407379150390625,
0.023306850343942642,
0.14071673154830933,
0.008418455719947815,
-0.012478366494178772,
-0.5062528848648071,
0.2792612612247467,
0.07734569162130356,
-0.17277364432811737,
0.22102001309394836,
0.08037314563989639,
-0.005144961178302765,
-0.36824625730514526,
0.06314517557621002,
-0.24153731763362885,
-0.03297039121389389,
0.4665830135345459,
0.2855282425880432,
0.11573351919651031,
-0.031267546117305756,
0.0886828824877739,
-0.13126863539218903,
-0.08261831104755402,
-0.15158288180828094,
0.12941952049732208,
-0.3124346435070038,
0.1052229106426239,
-0.21979981660842896,
-0.0723181664943695,
-0.23496045172214508,
-0.19893324375152588,
0.4463574290275574,
-0.31490954756736755,
-0.4419315457344055,
0.17689520120620728,
-0.26776444911956787,
0.07135069370269775,
0.054125744849443436,
0.46233507990837097,
0.18428467214107513,
0.2511639893054962,
-0.08959612250328064,
-0.17236016690731049,
0.28527122735977173,
-0.4563175439834595,
-0.35879918932914734,
-0.04518026113510132,
-0.0680575966835022,
0.15676936507225037,
-0.20374581217765808,
-0.6132334470748901,
-0.33144477009773254,
0.424012154340744,
-0.3604154884815216,
-0.10316900908946991,
-0.1472705751657486,
0.07905350625514984,
0.11749035120010376,
-0.34059181809425354,
0.19467470049858093,
-0.018421076238155365,
0.009452035650610924,
0.25439658761024475,
-0.46949154138565063
] |
https://github.com/huggingface/datasets/issues/1046 | Dataset.map() turns tensors into lists? | It is expected behavior, you should set the format to `"torch"` as you mentioned to get pytorch tensors back.
By default datasets returns pure python objects. | I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset
print("version datasets", datasets.__version__)
dataset = load_dataset("snli", split='train[0:50]')
def tokenizer_fn(example):
# actually uses a tokenizer which does something like:
return {'input_ids': torch.tensor([[0, 1, 2]])}
print("First item in dataset:\n", dataset[0])
tokenized = tokenizer_fn(dataset[0])
print("Tokenized hyp:\n", tokenized)
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
```
The output is:
```
version datasets 1.1.3
Reusing dataset snli (/home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c)
First item in dataset:
{'premise': 'A person on a horse jumps over a broken down airplane.', 'hypothesis': 'A person is training his horse for a competition.', 'label': 1}
Tokenized hyp:
{'input_ids': tensor([[0, 1, 2]])}
Loading cached processed dataset at /home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c/cache-fe38f449fe9ac46f.arrow
Tokenized using map:
{'input_ids': [[0, 1, 2]]}
<class 'torch.Tensor'> <class 'list'>
```
Or am I doing something wrong?
| 26 | Dataset.map() turns tensors into lists?
I apply `Dataset.map()` to a function that returns a dict of torch tensors (like a tokenizer from the repo transformers). However, in the mapped dataset, these tensors have turned to lists!
```import datasets
import torch
from datasets import load_dataset
print("version datasets", datasets.__version__)
dataset = load_dataset("snli", split='train[0:50]')
def tokenizer_fn(example):
# actually uses a tokenizer which does something like:
return {'input_ids': torch.tensor([[0, 1, 2]])}
print("First item in dataset:\n", dataset[0])
tokenized = tokenizer_fn(dataset[0])
print("Tokenized hyp:\n", tokenized)
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
dataset_tok = dataset.map(tokenizer_fn, batched=False,
remove_columns=['label', 'premise', 'hypothesis'])
print("Tokenized using map:\n", dataset_tok[0])
print(type(tokenized['input_ids']), type(dataset_tok[0]['input_ids']))
```
The output is:
```
version datasets 1.1.3
Reusing dataset snli (/home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c)
First item in dataset:
{'premise': 'A person on a horse jumps over a broken down airplane.', 'hypothesis': 'A person is training his horse for a competition.', 'label': 1}
Tokenized hyp:
{'input_ids': tensor([[0, 1, 2]])}
Loading cached processed dataset at /home/tom/.cache/huggingface/datasets/snli/plain_text/1.0.0/bb1102591c6230bd78813e229d5dd4c7fbf4fc478cec28f298761eb69e5b537c/cache-fe38f449fe9ac46f.arrow
Tokenized using map:
{'input_ids': [[0, 1, 2]]}
<class 'torch.Tensor'> <class 'list'>
```
Or am I doing something wrong?
It is expected behavior, you should set the format to `"torch"` as you mentioned to get pytorch tensors back.
By default datasets returns pure python objects. | [
-0.09053397178649902,
-0.1736622452735901,
-0.1339070051908493,
0.2130296528339386,
0.21620389819145203,
0.21936547756195068,
0.49149438738822937,
0.3712696433067322,
0.2574448883533478,
-0.02639763057231903,
-0.14613458514213562,
0.6802522540092468,
-0.100302554666996,
-0.416458398103714,
0.1840580254793167,
0.02535899542272091,
0.29439303278923035,
0.03468073159456253,
-0.05079853534698486,
-0.2774464190006256,
-0.18312731385231018,
-0.06757648289203644,
-0.1957765817642212,
0.07911789417266846,
-0.14120279252529144,
-0.1547507643699646,
0.14461003243923187,
-0.3113889694213867,
-0.06276135891675949,
-0.23686134815216064,
0.19467875361442566,
0.03357798978686333,
0.10225531458854675,
0.4467196464538574,
-0.00011601520964177325,
0.11832712590694427,
-0.03723476827144623,
0.20795631408691406,
-0.01764693856239319,
-0.10344699025154114,
0.007618557661771774,
-0.1327909529209137,
0.14701040089130402,
-0.1844785511493683,
-0.005499383434653282,
-0.14795535802841187,
-0.039130374789237976,
-0.6350409388542175,
0.17909634113311768,
0.3810077905654907,
0.14433950185775757,
0.2552906572818756,
-0.1439363807439804,
0.2130865901708603,
0.33249431848526,
0.2167775183916092,
-0.20849740505218506,
-0.2550543546676636,
0.16278916597366333,
-0.07579253613948822,
0.06689111888408661,
0.11292369663715363,
-0.49844101071357727,
-0.019202228635549545,
0.23708003759384155,
0.22211334109306335,
-0.18698608875274658,
-0.5936381816864014,
0.020376017317175865,
0.11431057751178741,
0.34622904658317566,
-0.3974609375,
-0.1002945825457573,
-0.15653707087039948,
-0.2213951051235199,
0.0423910990357399,
-0.051155924797058105,
0.053999945521354675,
0.054505083709955215,
-0.08635081350803375,
-0.2528420090675354,
-0.08149640262126923,
0.06496728956699371,
0.2210162729024887,
-0.5532373189926147,
0.2875820994377136,
-0.07818610966205597,
0.2344750165939331,
0.1804772913455963,
-0.050585366785526276,
0.15076668560504913,
-0.3792155981063843,
0.085336834192276,
0.15793350338935852,
-0.32726410031318665,
-0.1862960159778595,
0.1454366147518158,
-0.4385436475276947,
0.05618087947368622,
-0.1962929666042328,
0.1501738429069519,
0.22167080640792847,
-0.3979550302028656,
0.17587117850780487,
0.17681178450584412,
0.14499036967754364,
-0.015539385378360748,
0.6800308227539062,
-0.05051056295633316,
-0.4166105389595032,
-0.07700400054454803,
0.18375638127326965,
0.09664015471935272,
-0.012552840635180473,
0.035125572234392166,
-0.08095623552799225,
0.13118568062782288,
0.08025352656841278,
-0.10565494745969772,
0.12309178709983826,
-0.5634174346923828,
0.10946477949619293,
0.0026194285601377487,
0.038414280861616135,
-0.1862233281135559,
0.18807798624038696,
0.0646294429898262,
-0.004718538373708725,
0.07912782579660416,
0.2578694522380829,
-0.09840688109397888,
-0.21194535493850708,
-0.13049162924289703,
-0.08178163319826126,
-0.09849312156438828,
-0.0916113406419754,
0.06190717965364456,
0.09238265454769135,
0.1118396446108818,
-0.001733936369419098,
0.28039032220840454,
-0.09272907674312592,
0.5385238528251648,
0.1707923859357834,
-0.11221423745155334,
0.49334123730659485,
0.22306658327579498,
-0.06512810289859772,
-0.24874457716941833,
0.22111070156097412,
-0.3083322048187256,
0.11857981979846954,
0.020091673359274864,
0.12919209897518158,
-0.04720278084278107,
-0.098476842045784,
-0.2833482325077057,
0.11633573472499847,
0.27630293369293213,
-0.05829963833093643,
0.25322309136390686,
-0.33491963148117065,
-0.1329496204853058,
-0.19630230963230133,
0.10438502579927444,
-0.04515480995178223,
-0.1186414510011673,
-0.046728380024433136,
0.04409352317452431,
0.08886061608791351,
0.09594406932592392,
0.3504171669483185,
-0.22965624928474426,
0.3976290822029114,
-0.19708970189094543,
0.31881022453308105,
0.3553226590156555,
-0.16058465838432312,
-0.45907828211784363,
0.03252046927809715,
-0.04143679141998291,
0.20086705684661865,
-0.4211300015449524,
0.25818321108818054,
0.517571210861206,
0.011596055701375008,
0.10813170671463013,
-0.013831153512001038,
0.039452049881219864,
0.07127629220485687,
0.07597367465496063,
0.08931724727153778,
0.6063425540924072,
-0.19423048198223114,
0.0912255197763443,
0.43684348464012146,
-0.08992049843072891,
0.16632454097270966,
0.22649389505386353,
-0.03539739176630974,
-0.014385107904672623,
0.256234347820282,
-0.09840603172779083,
0.19649145007133484,
0.07114370912313461,
-0.13312754034996033,
-0.320759117603302,
-0.06734728813171387,
0.20242872834205627,
0.08144333213567734,
-0.08576053380966187,
-0.2460777759552002,
0.050505638122558594,
0.18240003287792206,
-0.18537402153015137,
0.07248077541589737,
0.10814867913722992,
-0.040079787373542786,
-0.21671536564826965,
0.030849862843751907,
-0.01391914114356041,
-0.251079261302948,
0.17450328171253204,
0.204618439078331,
-0.4255833923816681,
0.28197014331817627,
0.16287273168563843,
0.13754436373710632,
-0.4352928698062897,
0.12701387703418732,
-0.05532024800777435,
-0.08301418274641037,
0.09880023449659348,
0.034960366785526276,
0.12805195152759552,
0.026587024331092834,
-0.09545702487230301,
0.5214632749557495,
0.28660517930984497,
-0.2311560958623886,
0.075139619410038,
0.4937564432621002,
0.02388114482164383,
-0.22977125644683838,
0.19617968797683716,
0.13950064778327942,
0.219704732298851,
0.3267371356487274,
-0.4468350410461426,
0.24234619736671448,
0.03694479912519455,
0.20385974645614624,
-0.35067081451416016,
0.12865327298641205,
-0.4682183563709259,
0.22035449743270874,
0.17389428615570068,
0.14891144633293152,
-0.19109830260276794,
0.06572531163692474,
0.48902595043182373,
-0.10335083305835724,
0.09940293431282043,
-0.05866219848394394,
-0.5665891766548157,
-0.006571400910615921,
0.23273685574531555,
-0.2958332598209381,
0.12993085384368896,
-0.07882101088762283,
0.3676333725452423,
0.013428360223770142,
-0.02158264070749283,
0.10928739607334137,
0.09242334961891174,
0.35199636220932007,
0.020220080390572548,
-0.07609737664461136,
0.0611620731651783,
0.06528154760599136,
-0.3260112702846527,
0.09770898520946503,
-0.08192683756351471,
0.10877633839845657,
-0.17469720542430878,
0.2153777778148651,
-0.2485266625881195,
0.11461318284273148,
-0.07724278420209885,
-0.4351755380630493,
-0.1941462755203247,
-0.161015585064888,
-0.09329378604888916,
0.1621309518814087,
0.037524256855249405,
0.19287706911563873,
0.3247016966342926,
0.001695007085800171,
0.3418305218219757,
-0.2255830615758896,
-0.12515246868133545,
-0.24493707716464996,
-0.11979881674051285,
0.07383100688457489,
0.018127158284187317,
-0.42640450596809387,
0.08398360013961792,
-0.06975103169679642,
-0.06641587615013123,
-0.7368849515914917,
-0.24310344457626343,
0.17340520024299622,
-0.29627346992492676,
-0.27694422006607056,
0.302713543176651,
0.20047806203365326,
-0.30660873651504517,
0.09713788330554962,
-0.018687492236495018,
0.14759670197963715,
0.046799734234809875,
0.08446113020181656,
-0.11039446294307709,
0.11608029901981354,
-0.13087420165538788,
-0.34764134883880615,
-0.0094150360673666,
-0.016620565205812454,
0.2716757655143738,
0.08389082551002502,
0.15256452560424805,
0.07741684466600418,
0.302970826625824,
0.1268661469221115,
0.029935242608189583,
-0.17178985476493835,
-0.16435755789279938,
-0.24411895871162415,
0.36112433671951294,
-0.052023690193891525,
-0.22654439508914948,
-0.021223749965429306,
-0.0030593033879995346,
0.1346481889486313,
0.5783624649047852,
-0.317405641078949,
0.03442743048071861,
-0.04200345277786255,
0.2637939453125,
0.01757528819143772,
0.13472497463226318,
0.3775297701358795,
0.24780377745628357,
0.10766544938087463,
-0.0430455282330513,
-0.028808483853936195,
-0.0538104847073555,
-0.016109757125377655,
0.31600528955459595,
0.14986997842788696,
0.33972054719924927,
0.14048360288143158,
0.6328850388526917,
0.08626613020896912,
-0.5870515704154968,
-0.2141457200050354,
-0.34985974431037903,
0.21655620634555817,
-0.15209469199180603,
-0.3102625608444214,
-0.10935068130493164,
-0.28600820899009705,
-0.30084335803985596,
0.07506880909204483,
-0.13144871592521667,
-0.26571938395500183,
0.29691675305366516,
0.44622576236724854,
-0.08823283761739731,
-0.16773350536823273,
0.05720105022192001,
-0.6227612495422363,
0.18759652972221375,
0.06498870253562927,
0.27816882729530334,
-0.3583345413208008,
-0.15680494904518127,
0.11683200299739838,
-0.11297313868999481,
0.3872699737548828,
-0.12638849020004272,
-0.7034634351730347,
0.006364624947309494,
-0.42041537165641785,
0.18739795684814453,
0.005688064731657505,
0.17737329006195068,
0.16522972285747528,
-0.11250929534435272,
0.17444512248039246,
0.325063556432724,
0.7036455869674683,
-0.05861171334981918,
-0.3005672097206116,
0.1336066722869873,
-0.09978361427783966,
-0.4846150577068329,
0.08462615311145782,
-0.25938355922698975,
0.2423415184020996,
0.2093498855829239,
0.3109833002090454,
-0.04765395447611809,
-0.23226162791252136,
-0.3107510805130005,
0.13332965970039368,
-0.05324298143386841,
0.3153669834136963,
-0.13312757015228271,
-0.094195157289505,
-0.12718431651592255,
-0.12171673029661179,
0.19634227454662323,
-0.2370511144399643,
-0.033891454339027405,
-0.5592253804206848,
-0.18884101510047913,
-0.07118295878171921,
0.1944616436958313,
0.04271118342876434,
0.20007219910621643,
0.13182996213436127,
-0.2557496428489685,
0.2216896414756775,
0.1591053307056427,
0.11775540560483932,
0.07872498035430908,
-0.11971533298492432,
-0.3400993347167969,
-0.051767654716968536,
0.21297134459018707,
0.16499048471450806,
-0.16020706295967102,
-0.14136239886283875,
0.11770495772361755,
-0.24464988708496094,
-0.10589799284934998,
-0.3997232913970947,
0.47647905349731445,
0.5671220421791077,
0.2579689919948578,
-0.31574171781539917,
-0.6125044226646423,
0.23021435737609863,
0.37742894887924194,
-0.27912378311157227,
0.4521864056587219,
-0.506121814250946,
-0.3920195400714874,
0.2071545422077179,
0.4282870590686798,
0.5739823579788208,
-0.41191011667251587,
0.24986335635185242,
0.07658733427524567,
0.2339148372411728,
0.4260093569755554,
-0.48050224781036377,
0.13938073813915253,
-0.3452279567718506,
0.15276587009429932,
-0.2154873162508011,
-0.25662118196487427,
0.06368274241685867,
0.1887107938528061,
-0.031668394804000854,
-0.12429074198007584,
-0.023955702781677246,
0.7876777052879333,
0.07805007696151733,
-0.1464800238609314,
0.39559879899024963,
-0.2671815752983093,
0.08921640366315842,
0.20366182923316956,
-0.12126155197620392,
0.20993667840957642,
0.009298011660575867,
0.05131053924560547,
-0.19650299847126007,
-0.12787094712257385,
0.011700056493282318,
-0.013051855377852917,
-0.22999322414398193,
0.26187247037887573,
0.15259559452533722,
-0.20114468038082123,
0.13923601806163788,
0.7396442294120789,
0.22348381578922272,
0.2516419589519501,
-0.07440419495105743,
-0.03814775124192238,
0.17692013084888458,
0.2847002148628235,
0.1070505902171135,
-0.18486778438091278,
0.08351527899503708,
0.23048624396324158,
-0.011529333889484406,
0.23552468419075012,
0.0631154403090477,
-0.2683454751968384,
-0.4846624433994293,
0.2600139379501343,
0.5671133995056152,
-0.3808259069919586,
0.24406777322292328,
0.1625119000673294,
-0.04161916300654411,
0.001362629234790802,
0.06755340099334717,
-0.14714083075523376,
-0.13257326185703278,
0.40932902693748474,
-0.15481498837471008,
-0.16085606813430786,
0.1107492595911026,
0.3674653172492981,
0.20762336254119873,
-0.15336140990257263,
0.24808654189109802,
0.05694064125418663,
-0.08482392132282257,
-0.29178550839424133,
0.10967113822698593,
0.201940655708313,
0.1349809169769287,
0.2240549474954605,
-0.35780227184295654,
-0.16450098156929016,
-0.1746765822172165,
0.14996236562728882,
-0.25256747007369995,
-0.038757115602493286,
-0.3988034725189209,
-0.023531906306743622,
-0.3721059560775757,
-0.025249332189559937,
-0.09947268664836884,
0.40522509813308716,
0.13301360607147217,
0.03300388157367706,
-0.2353825718164444,
-0.28417694568634033,
-0.2150231897830963,
0.06140664964914322,
0.10497594624757767,
0.31751254200935364,
-0.01617128774523735,
0.1339098960161209,
-0.07814127951860428,
-0.20153355598449707,
0.08007296919822693,
0.16777554154396057,
-0.08159352093935013,
-0.2401297390460968,
0.03248736634850502,
0.08317241817712784,
0.16237053275108337,
-0.2707001864910126,
-0.020783323794603348,
0.017121851444244385,
-0.177249938249588,
-0.36912524700164795,
0.2644970118999481,
0.33873844146728516,
-0.054842568933963776,
0.2520480751991272,
0.16291341185569763,
0.1922452300786972,
0.06648281961679459,
-0.23898151516914368,
-0.06733961403369904,
-0.12356343865394592,
0.07671020925045013,
0.35528767108917236,
0.08987598121166229,
-0.025358688086271286,
-0.2356753796339035,
0.24981287121772766,
0.43439388275146484,
-0.1193525567650795,
0.5966323018074036,
-0.2622196078300476,
0.10746239125728607,
0.11456891149282455,
0.2363795042037964,
0.23275074362754822,
-0.34982144832611084,
-0.29780155420303345,
0.09763595461845398,
0.15667612850666046,
0.050374291837215424,
-0.2055501490831375,
0.3785061836242676,
0.12903550267219543,
0.008539941161870956,
0.13844512403011322,
0.10848605632781982,
0.13465003669261932,
-0.043460384011268616,
-0.26038992404937744,
0.33312883973121643,
-0.3271983861923218,
0.4942011535167694,
0.39760851860046387,
0.026515621691942215,
0.04664211720228195,
0.10610586404800415,
-0.019721578806638718,
-0.08838462084531784,
0.46167051792144775,
0.2282729148864746,
0.552383303642273,
0.3027759790420532,
-0.03401217237114906,
0.5073822140693665,
-0.013749103993177414,
0.0007736645638942719,
-0.01576519012451172,
-0.24539142847061157,
0.25810617208480835,
0.19029557704925537,
0.05565077066421509,
-0.04754507169127464,
-0.2028522491455078,
0.05778345465660095,
0.19412405788898468,
-0.36906641721725464,
-0.03284122049808502,
-0.18449053168296814,
-0.009945586323738098,
0.23950260877609253,
-0.2091042846441269,
-0.03764105215668678,
-0.2905728220939636,
0.17647749185562134,
-0.096705362200737,
-0.02160840481519699,
-0.034052684903144836,
-0.0009390600025653839,
-0.06794726848602295,
-0.00629781186580658,
0.0717407763004303,
-0.12864287197589874,
-0.4583583474159241,
0.07275030016899109,
-0.16064606606960297,
0.15309682488441467,
0.06659106910228729,
0.22653278708457947,
-0.1436648815870285,
0.20577970147132874,
-0.07824337482452393,
-0.13374218344688416,
-0.03545675426721573,
0.17148061096668243,
-0.26076412200927734,
-0.200180783867836,
-0.024128615856170654,
0.08529069274663925,
-0.05281541123986244,
-0.1415356993675232,
-0.21380580961704254,
0.3650476336479187,
0.012936552986502647,
0.2667194604873657,
-0.14245855808258057,
-0.2983594238758087,
-0.14482462406158447,
-0.11895497888326645,
-0.16085675358772278,
-0.18781961500644684,
0.6996368169784546,
-0.03504624962806702,
0.16970109939575195,
-0.159554123878479,
0.04916796088218689,
0.015254691243171692,
0.26130032539367676,
0.06460189819335938,
0.1442364752292633,
-0.00802078191190958,
0.04123595356941223,
-0.14325402677059174,
0.3525061309337616,
0.2403380572795868,
0.12021738290786743,
-0.002634294331073761,
0.023172037675976753,
0.09016972035169601,
0.237598717212677,
-0.12096601724624634,
-0.407379150390625,
0.023306850343942642,
0.14071673154830933,
0.008418455719947815,
-0.012478366494178772,
-0.5062528848648071,
0.2792612612247467,
0.07734569162130356,
-0.17277364432811737,
0.22102001309394836,
0.08037314563989639,
-0.005144961178302765,
-0.36824625730514526,
0.06314517557621002,
-0.24153731763362885,
-0.03297039121389389,
0.4665830135345459,
0.2855282425880432,
0.11573351919651031,
-0.031267546117305756,
0.0886828824877739,
-0.13126863539218903,
-0.08261831104755402,
-0.15158288180828094,
0.12941952049732208,
-0.3124346435070038,
0.1052229106426239,
-0.21979981660842896,
-0.0723181664943695,
-0.23496045172214508,
-0.19893324375152588,
0.4463574290275574,
-0.31490954756736755,
-0.4419315457344055,
0.17689520120620728,
-0.26776444911956787,
0.07135069370269775,
0.054125744849443436,
0.46233507990837097,
0.18428467214107513,
0.2511639893054962,
-0.08959612250328064,
-0.17236016690731049,
0.28527122735977173,
-0.4563175439834595,
-0.35879918932914734,
-0.04518026113510132,
-0.0680575966835022,
0.15676936507225037,
-0.20374581217765808,
-0.6132334470748901,
-0.33144477009773254,
0.424012154340744,
-0.3604154884815216,
-0.10316900908946991,
-0.1472705751657486,
0.07905350625514984,
0.11749035120010376,
-0.34059181809425354,
0.19467470049858093,
-0.018421076238155365,
0.009452035650610924,
0.25439658761024475,
-0.46949154138565063
] |
https://github.com/huggingface/datasets/issues/1004 | how large datasets are handled under the hood | This library uses Apache Arrow under the hood to store datasets on disk.
The advantage of Apache Arrow is that it allows to memory map the dataset. This allows to load datasets bigger than memory and with almost no RAM usage. It also offers excellent I/O speed.
For example when you access one element or one batch
```python
from datasets import load_dataset
squad = load_dataset("squad", split="train")
first_element = squad[0]
one_batch = squad[:8]
```
then only this element/batch is loaded in memory, while the rest of the dataset is memory mapped. | Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks | 90 | how large datasets are handled under the hood
Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks
This library uses Apache Arrow under the hood to store datasets on disk.
The advantage of Apache Arrow is that it allows to memory map the dataset. This allows to load datasets bigger than memory and with almost no RAM usage. It also offers excellent I/O speed.
For example when you access one element or one batch
```python
from datasets import load_dataset
squad = load_dataset("squad", split="train")
first_element = squad[0]
one_batch = squad[:8]
```
then only this element/batch is loaded in memory, while the rest of the dataset is memory mapped. | [
-0.05888613685965538,
-0.40064987540245056,
-0.08413936197757721,
0.4953402876853943,
-0.005189262330532074,
-0.041041042655706406,
0.25624439120292664,
0.08263875544071198,
0.4370158612728119,
0.10284923762083054,
-0.1519440859556198,
0.03034549579024315,
-0.10561217367649078,
-0.021718516945838928,
0.12422902882099152,
0.061641570180654526,
0.03955073654651642,
-0.11210259795188904,
-0.699566125869751,
0.10222648084163666,
-0.24933335185050964,
-0.3557487428188324,
-0.13001322746276855,
-0.32729417085647583,
-0.3039338290691376,
-0.30511805415153503,
-0.18294912576675415,
-0.09012951701879501,
0.02066483348608017,
-0.20427381992340088,
-0.03865818679332733,
-0.08150839805603027,
0.2003149390220642,
0.7517553567886353,
-0.00011896040086867288,
-0.036789700388908386,
0.13604041934013367,
0.0017198268324136734,
0.03764330595731735,
0.23876242339611053,
-0.23334059119224548,
-0.3989807367324829,
-0.02783247083425522,
-0.16813847422599792,
0.20546260476112366,
-0.34241873025894165,
0.08485843986272812,
-0.6162203550338745,
0.38521283864974976,
-0.12483277171850204,
0.12354229390621185,
-0.26210111379623413,
-0.09259049594402313,
0.27633243799209595,
0.3111933171749115,
0.14333221316337585,
0.01956203021109104,
-0.14866147935390472,
0.6805698871612549,
-0.03441216051578522,
-0.23022711277008057,
-0.10376103222370148,
0.16735966503620148,
-0.1966175138950348,
0.09192675352096558,
-0.20168088376522064,
0.123445525765419,
-0.36088642477989197,
-0.06735922396183014,
0.12885530292987823,
0.5153529644012451,
-0.14163872599601746,
-0.32622388005256653,
-0.20125660300254822,
-0.2796246409416199,
-0.002336045727133751,
-0.10633527487516403,
0.4049007296562195,
-0.08226452767848969,
0.1108778566122055,
-0.3683154284954071,
-0.34050050377845764,
-0.33378228545188904,
-0.036681100726127625,
-0.3001171350479126,
0.1452174037694931,
-0.0629379004240036,
0.08945402503013611,
0.13755816221237183,
-0.28165918588638306,
0.29636266827583313,
-0.47504565119743347,
0.19449244439601898,
0.2549038231372833,
-0.10215936601161957,
-0.2395145148038864,
-0.10993630439043045,
0.057048119604587555,
0.4679746925830841,
0.13350945711135864,
0.24796169996261597,
0.17557615041732788,
-0.25472667813301086,
0.07705248147249222,
0.39339369535446167,
0.10478198528289795,
-0.22525715827941895,
-0.07556606829166412,
0.4390209913253784,
-0.35942134261131287,
-0.14191728830337524,
-0.10653398185968399,
-0.06241394206881523,
-0.04237998649477959,
-0.04184401407837868,
-0.4785650670528412,
-0.07847745716571808,
-0.2720262408256531,
0.2171858698129654,
-0.06768988817930222,
-0.15270353853702545,
-0.1355273425579071,
0.12418008595705032,
0.32099276781082153,
-0.15147550404071808,
0.24447527527809143,
-0.09540870785713196,
-0.01811414211988449,
0.05594681203365326,
0.1219693198800087,
-0.06669928133487701,
0.012304903008043766,
-0.3038212060928345,
0.17115579545497894,
0.16400134563446045,
0.0028022974729537964,
0.12326378375291824,
0.20988421142101288,
-0.06850957870483398,
-0.07719909399747849,
0.2681390643119812,
-0.2920336425304413,
0.3498936891555786,
0.20495444536209106,
-0.04180951416492462,
0.1418164074420929,
-0.0727267861366272,
0.35793638229370117,
-0.29496142268180847,
0.4229595959186554,
-0.4347178339958191,
-0.21019010245800018,
0.4934930205345154,
0.05683602765202522,
-0.1956835836172104,
0.03659314289689064,
-0.5651925802230835,
0.010864512994885445,
0.12027022242546082,
0.005338389426469803,
0.07549108564853668,
0.14266973733901978,
-0.0617290660738945,
-0.33554205298423767,
-0.022044092416763306,
0.16399350762367249,
-0.5725691318511963,
0.09514062106609344,
0.016468171030282974,
0.13235442340373993,
0.02919984608888626,
0.48903200030326843,
-0.29783985018730164,
0.007191397249698639,
-0.15344619750976562,
-0.17864608764648438,
0.4220183491706848,
-0.21491004526615143,
-0.4589163661003113,
0.46311965584754944,
0.3623809814453125,
0.17026029527187347,
0.20866763591766357,
0.1883612871170044,
0.05131371691823006,
-0.13794578611850739,
-0.1611618548631668,
0.6018927693367004,
-0.1137402206659317,
0.17771102488040924,
-0.02306351624429226,
0.02017977647483349,
-0.06092619150876999,
0.06800033152103424,
0.014355521649122238,
-0.2378222644329071,
0.3191002309322357,
-0.21420741081237793,
0.19887128472328186,
-0.07896240055561066,
0.15038646757602692,
0.14496830105781555,
0.030988704413175583,
0.08165886253118515,
0.07554169744253159,
-0.017064634710550308,
-0.42617902159690857,
0.20681661367416382,
-0.11722810566425323,
-0.3329842686653137,
0.02822175621986389,
-0.0069541484117507935,
0.24775174260139465,
0.07529127597808838,
-0.01717277243733406,
0.10642731189727783,
-0.10282515734434128,
-0.1765652894973755,
-0.2068212479352951,
-0.09043718874454498,
-0.24677109718322754,
0.21826621890068054,
0.06941982358694077,
0.2246510088443756,
-0.31019118428230286,
0.13040001690387726,
0.2957302927970886,
-0.11031366884708405,
-0.1956486850976944,
-0.09949701279401779,
-0.1882500946521759,
-0.1264001578092575,
0.08981826901435852,
0.08213643729686737,
0.2953766882419586,
-0.03381668031215668,
0.09589746594429016,
0.33680498600006104,
0.42005398869514465,
-0.17912356555461884,
0.46185368299484253,
-0.03916246443986893,
0.13823392987251282,
-0.34545865654945374,
-0.21197345852851868,
0.3631175458431244,
-0.28753364086151123,
0.5229015946388245,
0.12356063723564148,
-0.1351252943277359,
0.009571311995387077,
0.021897856146097183,
-0.013068406842648983,
0.20251545310020447,
0.11185862123966217,
0.28738075494766235,
0.6247631311416626,
0.24900324642658234,
0.03946030139923096,
-0.2190212607383728,
0.24530689418315887,
-0.001591382548213005,
0.20074030756950378,
0.02491789311170578,
-0.42739081382751465,
-0.01447843573987484,
0.2521752417087555,
-0.0906083881855011,
0.2695959210395813,
0.2748969793319702,
0.117404043674469,
-0.16389188170433044,
0.4040956497192383,
-0.03364243358373642,
0.13667984306812286,
0.13460056483745575,
0.3476341664791107,
-0.003069330006837845,
0.008647586219012737,
-0.2951586842536926,
0.004686631262302399,
-0.20694461464881897,
0.07528083771467209,
-0.1986515372991562,
-0.10578013956546783,
0.14401498436927795,
-0.22911401093006134,
-0.28560417890548706,
-0.2744176685810089,
-0.23557603359222412,
-0.4793233871459961,
-0.02939007617533207,
-0.23647059500217438,
0.08440941572189331,
0.04399612173438072,
0.09699946641921997,
0.02767542377114296,
0.6954148411750793,
-0.048220157623291016,
-0.12014281004667282,
0.05711855739355087,
-0.029637180268764496,
-0.09150048345327377,
0.06012261286377907,
0.49313056468963623,
-0.26958996057510376,
0.3946199417114258,
0.4713743329048157,
0.0249750055372715,
-0.13200609385967255,
-0.0868249461054802,
0.04595440626144409,
0.056770604103803635,
0.06227124482393265,
-0.32909640669822693,
0.14703194797039032,
0.056165412068367004,
0.3827184736728668,
-0.05092362314462662,
0.07008959352970123,
-0.05498664826154709,
0.032094717025756836,
0.016287125647068024,
0.3869163990020752,
0.2011214941740036,
-0.15170538425445557,
-0.22867333889007568,
-0.3820270597934723,
0.3547496199607849,
0.16599543392658234,
0.19379405677318573,
0.04762349650263786,
0.1845691055059433,
-0.028755754232406616,
-0.08292285352945328,
-0.06366347521543503,
0.1533190757036209,
-0.42005470395088196,
0.412815660238266,
-0.1698293387889862,
-0.09095188975334167,
-0.03682480379939079,
0.11475110054016113,
0.0962601900100708,
0.4367290139198303,
-0.28188878297805786,
0.17961858212947845,
-0.24590201675891876,
-0.12302806973457336,
0.04389169439673424,
0.678279459476471,
0.2842322885990143,
-0.18475355207920074,
-0.019374951720237732,
-0.04823692888021469,
0.09450942277908325,
-0.20582076907157898,
-0.2530435621738434,
0.4445663094520569,
0.3438856899738312,
0.35724619030952454,
0.14799998700618744,
0.7315519452095032,
0.04136784002184868,
0.16679032146930695,
0.18078729510307312,
0.2659292221069336,
0.04484085738658905,
-0.027031056582927704,
0.059310026466846466,
-0.20509964227676392,
0.0018672347068786621,
0.05551193654537201,
0.25149431824684143,
0.40811559557914734,
-0.06000816076993942,
-0.11751396209001541,
-0.341062068939209,
0.10175283998250961,
-0.1194688230752945,
0.549380362033844,
-0.4264600872993469,
0.05122516676783562,
-0.27408894896507263,
-0.40099480748176575,
-0.20838287472724915,
-0.3367421627044678,
-0.026599686592817307,
-0.2223290055990219,
0.07352493703365326,
-0.005506901536136866,
-0.3459632992744446,
0.06019407883286476,
-0.3648674786090851,
0.4680427312850952,
-0.24916991591453552,
-0.1178680807352066,
0.2148745208978653,
-0.1595335304737091,
0.042881254106760025,
0.1266007125377655,
0.29234957695007324,
0.01480097696185112,
-0.14934852719306946,
-0.26975807547569275,
-0.4613232910633087,
-0.38478797674179077,
0.19612523913383484,
-0.21391336619853973,
0.3192954659461975,
-0.057356592267751694,
0.34175339341163635,
-0.07717821002006531,
-0.2102857530117035,
-0.15262916684150696,
0.2417677491903305,
-0.19068770110607147,
-0.40751659870147705,
-0.16012462973594666,
0.0599457249045372,
-0.055310942232608795,
-0.03775372356176376,
0.20172540843486786,
-0.2686136066913605,
-0.0661657527089119,
-0.3019455373287201,
-0.2867477834224701,
-0.0922347754240036,
0.2089643031358719,
-0.11870013177394867,
-0.025216970592737198,
-0.21622462570667267,
0.07354626059532166,
0.15691602230072021,
0.543424129486084,
0.33093127608299255,
0.6896029114723206,
0.04744212329387665,
-0.15771141648292542,
-0.040793560445308685,
0.05032623931765556,
0.7631645202636719,
0.10339343547821045,
0.06927850842475891,
-0.04799174517393112,
-0.17607861757278442,
-0.01753581315279007,
-0.37990671396255493,
0.04583834484219551,
0.02372155152261257,
0.04476036876440048,
-0.3666872978210449,
-0.4932943284511566,
0.7491472363471985,
0.441684365272522,
-0.1586073637008667,
0.6419858932495117,
0.11752667278051376,
-0.35532304644584656,
0.28686821460723877,
0.08797702938318253,
1.0530861616134644,
-0.512976348400116,
0.3421285152435303,
-0.42142394185066223,
0.15344706177711487,
0.22868047654628754,
-0.29787033796310425,
0.003878616727888584,
-0.29615384340286255,
0.18439273536205292,
0.007509658113121986,
-0.24745520949363708,
0.19653591513633728,
0.3228406310081482,
-0.03417368605732918,
0.443289577960968,
-0.04400644078850746,
-0.04976457729935646,
-0.10113398730754852,
0.10132886469364166,
-0.21407976746559143,
-0.2364329993724823,
-0.15010401606559753,
0.0434136763215065,
0.059269655495882034,
-0.2337745726108551,
-0.30374762415885925,
0.20175111293792725,
0.011406462639570236,
0.07418610155582428,
0.18910492956638336,
-0.15226414799690247,
-0.26548734307289124,
0.24793609976768494,
-0.33414340019226074,
-0.30194664001464844,
0.3705102801322937,
0.17480213940143585,
-0.4805152416229248,
0.1436815857887268,
0.14760947227478027,
0.01560869812965393,
-0.011614620685577393,
0.045497067272663116,
-0.042407892644405365,
0.04171453043818474,
0.23753246665000916,
0.013935782015323639,
-0.17768609523773193,
0.24027451872825623,
-0.04069999232888222,
-0.33159738779067993,
-0.21113450825214386,
0.2733592391014099,
0.4035678505897522,
-0.23801371455192566,
-0.12340787053108215,
0.034575317054986954,
-0.07640605419874191,
0.27335432171821594,
0.0717252716422081,
0.26686879992485046,
0.006592891179025173,
0.7183682918548584,
0.14139056205749512,
-0.2909386456012726,
-0.09977559745311737,
0.16196855902671814,
0.2954937815666199,
-0.12252425402402878,
0.1843898594379425,
0.24072523415088654,
-0.09965182095766068,
-0.12559092044830322,
0.4894375205039978,
0.5721584558486938,
0.006399907171726227,
0.12673698365688324,
-0.1524839699268341,
0.07160179316997528,
-0.02880013920366764,
-0.06737746298313141,
0.21192248165607452,
-0.1597384810447693,
-0.18660588562488556,
-0.27192258834838867,
-0.3603435754776001,
0.41728895902633667,
-0.0010324865579605103,
0.29164764285087585,
-0.23252525925636292,
-0.4795271158218384,
-0.10860436409711838,
0.29011327028274536,
-0.2042008936405182,
0.10519644618034363,
0.2014525681734085,
0.16019994020462036,
-0.05144253373146057,
0.32693928480148315,
-0.18145091831684113,
0.16907939314842224,
-0.03619639202952385,
0.11773219704627991,
-0.04706214368343353,
-0.1597382128238678,
0.07364000380039215,
0.2084086537361145,
0.10237565636634827,
-0.24090027809143066,
-0.06102430820465088,
-0.4998573660850525,
0.1702679693698883,
-0.17862658202648163,
0.16620083153247833,
0.023171711713075638,
0.13097833096981049,
-0.1394672989845276,
0.27821722626686096,
-0.24741175770759583,
-0.23279379308223724,
0.523577094078064,
0.16725707054138184,
0.33778977394104004,
0.1600792557001114,
0.152677983045578,
0.09242068231105804,
-0.3020649254322052,
-0.23763570189476013,
0.08101267367601395,
0.5221100449562073,
-0.07757417857646942,
0.2776811718940735,
-0.15062616765499115,
0.04857676848769188,
0.35296353697776794,
0.16263075172901154,
0.279400497674942,
-0.18039602041244507,
0.09670034050941467,
0.10106176882982254,
0.12156946212053299,
0.06585727632045746,
-0.07720547169446945,
-0.033297259360551834,
-0.05937473475933075,
-0.04641907662153244,
0.38025975227355957,
0.07651154696941376,
0.20806851983070374,
-0.4234377145767212,
-0.1634896695613861,
0.21688176691532135,
0.07771141082048416,
-0.23010902106761932,
-0.016740012913942337,
0.014909524470567703,
-0.23543910682201385,
0.581682562828064,
0.5420170426368713,
0.2874980568885803,
0.37104350328445435,
-0.07233468443155289,
0.39368441700935364,
0.0437646210193634,
-0.2661389410495758,
0.14711281657218933,
-0.5092185735702515,
-0.07099422812461853,
0.5397106409072876,
-0.08923593163490295,
-0.04748760163784027,
-0.13845139741897583,
0.3336668014526367,
0.1360912024974823,
-0.17997485399246216,
0.058226875960826874,
0.09995780885219574,
-0.1680307686328888,
-0.02000860869884491,
-0.061354562640190125,
-0.23773732781410217,
-0.04611730948090553,
0.12202052772045135,
-0.23524761199951172,
-0.3217307925224304,
0.5591567754745483,
0.17183750867843628,
0.2663174271583557,
-0.04060247540473938,
0.3802275061607361,
0.22514042258262634,
0.22529029846191406,
-0.2364739030599594,
0.16227874159812927,
-0.05558893084526062,
0.07739996165037155,
-0.030683044344186783,
0.061758942902088165,
0.11704109609127045,
0.04879298806190491,
-0.14273099601268768,
0.2462528944015503,
-0.2952973246574402,
-0.08312387764453888,
-0.11689039319753647,
0.09765057265758514,
-0.06561416387557983,
-0.04809734597802162,
0.11700575053691864,
0.031498365104198456,
-0.04521246999502182,
-0.09583009779453278,
-0.17939002811908722,
-0.1782427579164505,
-0.3034234046936035,
0.08296293020248413,
-0.01646396890282631,
-0.3817317485809326,
-0.026554062962532043,
0.1691402792930603,
-0.32794424891471863,
-0.16192328929901123,
0.8945937156677246,
-0.4270969331264496,
-0.06321673095226288,
0.03197493776679039,
0.003115398809313774,
-0.2406424582004547,
0.433823823928833,
0.42523109912872314,
0.3689444363117218,
-0.17854037880897522,
-0.26881861686706543,
-0.28372758626937866,
0.12661585211753845,
-0.3786374628543854,
0.20143474638462067,
-0.2451915740966797,
0.35134825110435486,
0.17798084020614624,
0.14772851765155792,
0.17755575478076935,
-0.28185760974884033,
-0.029936257749795914,
0.05417623743414879,
-0.2798919677734375,
-0.14840491116046906,
0.050398603081703186,
0.3968203663825989,
-0.07597139477729797,
-0.3497557044029236,
0.0906406044960022,
-0.21477818489074707,
-0.06709520518779755,
-0.13791367411613464,
0.126691997051239,
0.2633189857006073,
0.1132461354136467,
0.4393741488456726,
-0.005325751379132271,
0.4129462242126465,
0.28551796078681946,
0.05779708921909332,
0.051424067467451096,
-0.09334422647953033,
0.12092146277427673,
0.018362749367952347,
-0.02685318887233734,
-0.12517423927783966,
-0.4177531599998474,
-0.19353018701076508,
0.05975396931171417,
-0.13117694854736328,
-0.3699883222579956,
-0.12271766364574432,
0.07916566729545593,
-0.4259048402309418,
-0.07194909453392029,
0.005933699198067188,
0.17235860228538513,
0.45105937123298645,
-0.1976386308670044,
-0.27635109424591064,
-0.20345798134803772,
0.03448376804590225,
0.02808535099029541,
-0.12403152137994766,
-0.21967367827892303,
-0.072981096804142,
0.2027072012424469,
0.0024566054344177246,
0.07435967028141022,
-0.27808132767677307,
-0.026494495570659637,
0.44514134526252747,
0.07454809546470642,
-0.2586442232131958,
0.10508087277412415,
-0.0525456927716732,
-0.0332915261387825,
-0.22247111797332764,
0.26527148485183716,
-0.18519067764282227,
0.008716655895113945,
-0.29557251930236816,
-0.18701137602329254
] |
https://github.com/huggingface/datasets/issues/1004 | how large datasets are handled under the hood | How can we change how much data is loaded to memory with Arrow? I think that I am having some performance issue with it. When Arrow loads the data from disk it does it in multiprocess? It's almost twice slower training with arrow than in memory.
EDIT:
My fault! I had not seen the `dataloader_num_workers` in `TrainingArguments` ! Now I can parallelize and go fast! Sorry, and thanks. | Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks | 68 | how large datasets are handled under the hood
Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks
How can we change how much data is loaded to memory with Arrow? I think that I am having some performance issue with it. When Arrow loads the data from disk it does it in multiprocess? It's almost twice slower training with arrow than in memory.
EDIT:
My fault! I had not seen the `dataloader_num_workers` in `TrainingArguments` ! Now I can parallelize and go fast! Sorry, and thanks. | [
-0.12156727910041809,
-0.44381603598594666,
-0.11158393323421478,
0.4983527660369873,
0.06788378953933716,
-0.18067386746406555,
0.19715087115764618,
-0.007591281086206436,
0.4332484304904938,
0.07328806817531586,
-0.10711423307657242,
0.23676295578479767,
-0.1338440626859665,
0.04586624354124069,
-0.041469886898994446,
-0.0014340095221996307,
0.06022070720791817,
-0.018470026552677155,
-0.6697037220001221,
0.06769725680351257,
-0.12250183522701263,
-0.273975670337677,
-0.2129988819360733,
-0.27078676223754883,
-0.4327627420425415,
-0.31563183665275574,
-0.09489261358976364,
-0.04392797499895096,
-0.017179397866129875,
-0.18481068313121796,
0.02343006245791912,
-0.14520342648029327,
0.19364683330059052,
0.7684063911437988,
-0.00012015458196401596,
-0.11486059427261353,
0.19882047176361084,
0.04957060515880585,
0.15183021128177643,
0.4270418882369995,
-0.29580947756767273,
-0.38809308409690857,
0.057950571179389954,
-0.12637735903263092,
0.1963101327419281,
-0.33737802505493164,
-0.020491188392043114,
-0.3247039020061493,
0.4007907509803772,
-0.0438232384622097,
0.1147308349609375,
-0.3078790009021759,
-0.008520156145095825,
0.2554512917995453,
0.12982791662216187,
0.08128803968429565,
-0.02288215421140194,
0.034170351922512054,
0.6602922677993774,
0.06740346550941467,
-0.3207934498786926,
0.01982220821082592,
0.382805198431015,
-0.08761443197727203,
0.08101992309093475,
-0.2135656177997589,
0.19600264728069305,
-0.31605368852615356,
-0.10368651896715164,
0.22204294800758362,
0.5307355523109436,
0.07456588000059128,
-0.21379266679286957,
-0.157453253865242,
-0.1965865194797516,
-0.11267001926898956,
0.026042506098747253,
0.19008921086788177,
-0.12451444566249847,
0.09251990169286728,
-0.42050546407699585,
-0.3842061758041382,
-0.3212278187274933,
-0.1058504730463028,
-0.15921717882156372,
0.060254111886024475,
-0.14401593804359436,
0.0976158082485199,
0.2512976825237274,
-0.24442405998706818,
0.34675970673561096,
-0.22427940368652344,
0.06378472596406937,
0.21264392137527466,
-0.3167772591114044,
-0.3181912899017334,
-0.31459730863571167,
0.007248923182487488,
0.21409550309181213,
0.0262053944170475,
0.24320164322853088,
0.233173668384552,
-0.2770916819572449,
0.05793595686554909,
0.37303951382637024,
0.1893138289451599,
-0.2583979666233063,
-0.029244396835565567,
0.23946240544319153,
-0.3323383331298828,
-0.2076711654663086,
-0.027838319540023804,
-0.12541384994983673,
-0.192412868142128,
0.029047835618257523,
-0.4589642882347107,
-0.3164377808570862,
-0.22271810472011566,
0.18451599776744843,
-0.1283959299325943,
-0.0210285484790802,
-0.23803119361400604,
0.15764416754245758,
0.34250035881996155,
-0.15214836597442627,
0.4732324779033661,
-0.19098711013793945,
-0.12269546091556549,
0.0920950323343277,
0.07992985099554062,
-0.09513525664806366,
-0.02524663507938385,
-0.44409582018852234,
0.08914545923471451,
0.10555240511894226,
0.14228440821170807,
0.13163714110851288,
0.17949730157852173,
-0.2031678706407547,
-0.0553407222032547,
0.1711277961730957,
-0.3524623513221741,
0.2662961781024933,
0.08585374057292938,
-0.18505756556987762,
0.0771695077419281,
-0.19930104911327362,
0.517363429069519,
-0.14938746392726898,
0.35455089807510376,
-0.6022627949714661,
-0.20951588451862335,
0.3533729612827301,
0.06072743982076645,
0.0541062206029892,
-0.03192850202322006,
-0.5426734089851379,
0.06199836730957031,
0.1068783774971962,
0.048987824469804764,
0.1851811558008194,
0.07786194235086441,
0.005857605487108231,
-0.2848334312438965,
-0.038713470101356506,
-0.06210416555404663,
-0.5078707337379456,
0.08396878838539124,
0.021473854780197144,
0.03790116310119629,
0.3106987178325653,
0.5393093228340149,
-0.33441078662872314,
0.055394046008586884,
-0.11388150602579117,
-0.1326754093170166,
0.4459805190563202,
-0.24889206886291504,
-0.3662183880805969,
0.5615831017494202,
0.2141679972410202,
0.000484982505440712,
0.253995805978775,
0.17093193531036377,
-0.013062385842204094,
-0.08121747523546219,
-0.10400781035423279,
0.4598287343978882,
-0.022719746455550194,
0.12208309024572372,
0.006393447518348694,
-0.054606277495622635,
-0.18830671906471252,
0.10923226177692413,
-0.04038460925221443,
-0.2716551423072815,
0.24164658784866333,
-0.20872657001018524,
0.23329928517341614,
-0.05322563275694847,
0.0906444787979126,
0.16687561571598053,
-0.01796799525618553,
-0.055785372853279114,
0.07684627175331116,
0.18271967768669128,
-0.4248361885547638,
0.1400218904018402,
-0.1323651820421219,
-0.4478210210800171,
0.25879454612731934,
0.15813474357128143,
0.24680587649345398,
0.042129404842853546,
0.05655232444405556,
0.060384463518857956,
-0.11204611510038376,
-0.17531520128250122,
-0.19372344017028809,
-0.25239574909210205,
-0.22920191287994385,
0.2160687893629074,
-0.06510371714830399,
0.11585623770952225,
-0.08140705525875092,
0.0038227643817663193,
0.3082481622695923,
-0.15316854417324066,
-0.23044028878211975,
-0.12686476111412048,
-0.2324860692024231,
-0.10058573633432388,
-0.0570700466632843,
0.15827074646949768,
0.2823878228664398,
0.053602222353219986,
0.22510945796966553,
0.2534137964248657,
0.35485848784446716,
-0.24060899019241333,
0.33444744348526,
-0.0656130462884903,
0.08928259462118149,
-0.2817327678203583,
-0.21286237239837646,
0.1794789433479309,
-0.31864842772483826,
0.42239606380462646,
0.08509942889213562,
-0.1555408090353012,
0.0558324009180069,
-0.045240990817546844,
0.08450393378734589,
0.2524227797985077,
0.16718922555446625,
0.15308907628059387,
0.558738112449646,
0.32629022002220154,
-0.10598787665367126,
-0.26566416025161743,
0.27550703287124634,
0.11760565638542175,
0.036189913749694824,
0.09626292437314987,
-0.4059445559978485,
-0.012621553614735603,
0.3432348370552063,
-0.05706287547945976,
0.32254526019096375,
0.2703186571598053,
0.1609899252653122,
-0.21138593554496765,
0.4023604094982147,
-0.08412697166204453,
0.15328708291053772,
0.043370723724365234,
0.5052736401557922,
0.11574685573577881,
-0.027470076456665993,
-0.302211731672287,
0.017264146357774734,
-0.11753277480602264,
0.16178534924983978,
-0.14265573024749756,
-0.034593332558870316,
0.07743185758590698,
-0.14315707981586456,
-0.15403124690055847,
-0.22967283427715302,
-0.23471201956272125,
-0.22684210538864136,
0.13999389111995697,
-0.23043562471866608,
0.06828797608613968,
0.037584442645311356,
0.15803009271621704,
-0.04899913817644119,
0.659815788269043,
-0.1480918824672699,
0.09522664546966553,
0.00347837433218956,
0.026720091700553894,
-0.13170811533927917,
0.059335459023714066,
0.3570628762245178,
-0.33544307947158813,
0.27425670623779297,
0.47073936462402344,
-0.001376904547214508,
-0.07524359226226807,
0.04008016735315323,
0.05039045587182045,
0.1652083843946457,
-0.07512690871953964,
-0.33045506477355957,
0.021102234721183777,
-0.10637915879487991,
0.22560732066631317,
-0.08764354884624481,
-0.1321444809436798,
-0.13683182001113892,
-0.02432973124086857,
-0.076886847615242,
0.35322022438049316,
0.22852367162704468,
-0.17216819524765015,
-0.2935734987258911,
-0.3749924898147583,
0.5281119346618652,
0.16340278089046478,
0.16527403891086578,
0.005103863775730133,
0.25783371925354004,
0.05304984748363495,
-0.176707461476326,
-0.1510026454925537,
0.13190574944019318,
-0.47425466775894165,
0.3149019181728363,
-0.08192286640405655,
-0.06898467242717743,
-0.10424770414829254,
0.13307584822177887,
0.20884542167186737,
0.48829448223114014,
-0.28096407651901245,
0.19567279517650604,
-0.23830236494541168,
-0.11231490969657898,
-0.02714766561985016,
0.5863162279129028,
0.3648003935813904,
-0.2229548841714859,
-0.11620215326547623,
-0.06784775853157043,
0.17071537673473358,
0.037697043269872665,
-0.165864497423172,
0.4770483672618866,
0.2928767204284668,
0.2151959240436554,
0.05533289536833763,
0.7928882241249084,
0.028861384838819504,
0.024036049842834473,
0.2115831971168518,
0.23637139797210693,
-0.014314670115709305,
0.06732450425624847,
0.05433075875043869,
-0.00712930504232645,
-0.11852473020553589,
0.1347329467535019,
0.26991087198257446,
0.23870256543159485,
-0.27753734588623047,
-0.06834696978330612,
-0.22364287078380585,
0.06548707187175751,
0.0012612752616405487,
0.6162110567092896,
-0.4705197811126709,
0.06770572811365128,
-0.3641810417175293,
-0.3642460107803345,
-0.2563404440879822,
-0.3372337818145752,
0.028678327798843384,
-0.4153475761413574,
0.05063159763813019,
-0.1354023665189743,
-0.3786635398864746,
0.027716735377907753,
-0.30583763122558594,
0.36975204944610596,
-0.20649652183055878,
0.06538363546133041,
0.21115244925022125,
-0.09745760262012482,
0.06837279349565506,
0.11431704461574554,
0.3644968271255493,
0.027317704632878304,
-0.19120314717292786,
-0.3383260667324066,
-0.38976868987083435,
-0.3269127607345581,
0.12743543088436127,
-0.2958540618419647,
0.35144278407096863,
0.04170050844550133,
0.3639034628868103,
-0.08886861801147461,
-0.31856271624565125,
-0.20230093598365784,
-0.005331732798367739,
-0.13679452240467072,
-0.35979822278022766,
-0.04703722894191742,
0.31367531418800354,
-0.004288045689463615,
0.15705253183841705,
0.17933389544487,
-0.2263769656419754,
-0.027857638895511627,
-0.36499667167663574,
-0.3292688727378845,
-0.0495646670460701,
0.12198761105537415,
-0.04080218821763992,
0.06323845684528351,
-0.05523696169257164,
0.06390392780303955,
0.16327843070030212,
0.5767408609390259,
0.38087722659111023,
0.6005834341049194,
-0.13242949545383453,
-0.086210235953331,
0.04957766458392143,
0.018518388271331787,
0.7553294897079468,
0.21434473991394043,
0.11314687132835388,
-0.03587169200181961,
-0.07489063590765,
0.09549713134765625,
-0.329813688993454,
0.22556951642036438,
0.21117030084133148,
0.1128038689494133,
-0.21896299719810486,
-0.2797258496284485,
0.6367156505584717,
0.497531533241272,
-0.2060941457748413,
0.6815253496170044,
0.10780505836009979,
-0.31160008907318115,
0.15101417899131775,
0.19861750304698944,
1.0732988119125366,
-0.3391585350036621,
0.25638747215270996,
-0.40019020438194275,
0.010742545127868652,
0.29800671339035034,
-0.2192750722169876,
-0.01692800223827362,
-0.26452839374542236,
0.12195487320423126,
0.11095145344734192,
-0.29172390699386597,
0.0577327199280262,
0.4232119917869568,
0.018876198679208755,
0.3320443034172058,
-0.07191958278417587,
-0.23292338848114014,
-0.17494338750839233,
0.1831759214401245,
0.024757318198680878,
-0.35040634870529175,
0.022155677899718285,
0.037588268518447876,
0.022573422640562057,
-0.27872607111930847,
-0.24842053651809692,
0.06104246899485588,
-0.014486640691757202,
0.12649600207805634,
0.1932104080915451,
-0.17269158363342285,
-0.44335106015205383,
0.2086644172668457,
-0.05996030941605568,
-0.2894452214241028,
0.2820930480957031,
0.19903495907783508,
-0.4780541658401489,
-0.11152538657188416,
0.03407633304595947,
0.06159020960330963,
0.04775295779109001,
0.05962693318724632,
-0.048713672906160355,
-0.024032611399888992,
0.26099663972854614,
-0.08705520629882812,
-0.18305248022079468,
0.2442505657672882,
-0.12259302288293839,
-0.4327815771102905,
-0.05825686454772949,
0.24961674213409424,
0.3004875183105469,
-0.11922433972358704,
-0.2311590313911438,
0.020409956574440002,
-0.15118250250816345,
0.25174543261528015,
0.08362707495689392,
0.2774946093559265,
-0.05009722709655762,
0.7909719944000244,
0.24941562116146088,
-0.2567220628261566,
0.0019731707870960236,
0.1307259500026703,
0.27356430888175964,
-0.06890404224395752,
0.29616644978523254,
0.11904299259185791,
-0.05712885782122612,
-0.12728890776634216,
0.2883099615573883,
0.7976265549659729,
-0.1685120165348053,
0.09262668341398239,
-0.08297713845968246,
-0.15345896780490875,
0.04053457826375961,
-0.07063217461109161,
0.3782196044921875,
0.009246237576007843,
-0.24287797510623932,
-0.12438374757766724,
-0.5275827646255493,
0.3954954147338867,
-0.1356113702058792,
0.24848920106887817,
-0.4305979013442993,
-0.49961841106414795,
-0.029093090444803238,
0.5126155018806458,
-0.19113925099372864,
0.09859472513198853,
0.03814390301704407,
0.15944382548332214,
-0.05532406270503998,
0.16178369522094727,
-0.13399185240268707,
0.213978111743927,
-0.06271164864301682,
0.10756319016218185,
-0.06514489650726318,
-0.16995304822921753,
0.08061783015727997,
0.18794861435890198,
0.1213323175907135,
-0.22160059213638306,
-0.012403730303049088,
-0.5101409554481506,
0.107781782746315,
-0.12530477344989777,
-0.04576719552278519,
-0.1900530755519867,
0.13230833411216736,
-0.13431449234485626,
0.27788233757019043,
-0.21671366691589355,
-0.2320336401462555,
0.5406055450439453,
0.2911306619644165,
0.3465307056903839,
-0.04823535680770874,
0.09670599550008774,
0.23547987639904022,
-0.37108978629112244,
-0.18318462371826172,
0.009997136890888214,
0.514693558216095,
-0.06497595459222794,
0.07110342383384705,
-0.11315198242664337,
0.06667260825634003,
0.22074493765830994,
0.1693572849035263,
0.3511223793029785,
-0.19853104650974274,
-0.02767423540353775,
0.15184497833251953,
0.11967619508504868,
0.1336820125579834,
-0.13675513863563538,
-0.021204695105552673,
-0.03663329407572746,
-0.052379779517650604,
0.22938157618045807,
0.17474579811096191,
0.1164894551038742,
-0.34557974338531494,
-0.08760532736778259,
-0.15219807624816895,
-0.0900954082608223,
-0.3171086311340332,
0.003200523555278778,
-0.09529829025268555,
-0.16783159971237183,
0.7194030284881592,
0.4998328983783722,
0.21111729741096497,
0.30427825450897217,
0.05604592338204384,
0.38726651668548584,
0.10951948165893555,
-0.15522292256355286,
0.18792030215263367,
-0.4072282612323761,
-0.21567349135875702,
0.4330640137195587,
-0.16315296292304993,
-0.08576614409685135,
-0.14942258596420288,
0.4096546471118927,
0.1309778094291687,
-0.4170704782009125,
0.08421535044908524,
-0.009306330233812332,
-0.2595572769641876,
-0.033463574945926666,
-0.12470850348472595,
-0.2547794282436371,
-0.06325183808803558,
0.140096053481102,
-0.34068065881729126,
-0.14364255964756012,
0.7731207609176636,
0.25336724519729614,
0.12563669681549072,
0.05171455442905426,
0.19037505984306335,
0.30817940831184387,
0.2620791494846344,
-0.20523694157600403,
0.2533285319805145,
-0.1910855919122696,
0.015628278255462646,
-0.07309956848621368,
0.28367987275123596,
0.08754206448793411,
0.18812601268291473,
-0.09881754219532013,
0.11867926269769669,
-0.018365666270256042,
-0.07433853298425674,
-0.048558808863162994,
0.26289790868759155,
0.11050593852996826,
-0.1783747375011444,
0.01297866739332676,
0.035452328622341156,
-0.10661491751670837,
-0.04151527211070061,
-0.2173057645559311,
-0.09541371464729309,
-0.11363467574119568,
0.057814907282590866,
0.1335175335407257,
-0.3826254904270172,
0.007056731730699539,
0.15734246373176575,
-0.29196029901504517,
0.012726777233183384,
0.6628470420837402,
-0.6076679825782776,
-0.04220403730869293,
0.03805776685476303,
0.005859028548002243,
-0.2538713216781616,
0.6007272601127625,
0.3087890148162842,
0.4409826993942261,
-0.20536254346370697,
-0.29184529185295105,
-0.34262827038764954,
0.19663798809051514,
-0.29512786865234375,
0.18581192195415497,
-0.15864315629005432,
0.4188530743122101,
0.12393662333488464,
0.0961691290140152,
0.2513198256492615,
-0.3321961760520935,
0.10666660219430923,
0.14936888217926025,
-0.4687696099281311,
0.07471464574337006,
0.21157781779766083,
0.4281836748123169,
0.0526447519659996,
-0.3922714591026306,
0.2519932687282562,
-0.14004969596862793,
-0.11646782606840134,
0.04792839661240578,
0.10257421433925629,
0.13496118783950806,
0.28176695108413696,
0.4300048351287842,
-0.07349652796983719,
0.3949262499809265,
0.20037007331848145,
0.071750208735466,
0.09105084836483002,
-0.06900101900100708,
0.016773588955402374,
-0.03347064554691315,
0.10691949725151062,
-0.009613865986466408,
-0.3980923891067505,
-0.0461171455681324,
0.08581075072288513,
-0.3152447044849396,
-0.42863333225250244,
-0.03027937188744545,
0.07651808857917786,
-0.42705273628234863,
0.05557793378829956,
-0.0600564144551754,
0.3090154230594635,
0.45800456404685974,
-0.10333658754825592,
-0.4279012680053711,
-0.30460861325263977,
0.06883212924003601,
0.06347192078828812,
-0.10684763640165329,
-0.11198239028453827,
-0.1420946717262268,
0.2086126208305359,
0.16092732548713684,
0.11770349740982056,
-0.2550450563430786,
-0.08258827030658722,
0.34372442960739136,
0.012633316218852997,
-0.26962965726852417,
0.1697089672088623,
-0.054439377039670944,
0.08630388975143433,
-0.15779972076416016,
0.3956683576107025,
-0.16107290983200073,
0.02311030589044094,
-0.4086107313632965,
-0.18852321803569794
] |
https://github.com/huggingface/datasets/issues/1004 | how large datasets are handled under the hood | > How can we change how much data is loaded to memory with Arrow? I think that I am having some performance issue with it. When Arrow loads the data from disk it does it in multiprocess? It's almost twice slower training with arrow than in memory.
Loading arrow data from disk is done with memory-mapping. This allows to load huge datasets without filling your RAM.
Memory mapping is almost instantaneous and is done within one process.
Then, the speed of querying examples from the dataset is I/O bounded depending on your disk. If it's an SSD then fetching examples from the dataset will be very fast.
But since the I/O speed of an SSD is lower than the one of RAM it's expected to be slower to fetch data from disk than from memory.
Still, if you load the dataset in different processes then it can be faster but there will still be the I/O bottleneck of the disk.
> EDIT:
> My fault! I had not seen the `dataloader_num_workers` in `TrainingArguments` ! Now I can parallelize and go fast! Sorry, and thanks.
Ok let me know if that helps !
| Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks | 192 | how large datasets are handled under the hood
Hi
I want to use multiple large datasets with a mapping style dataloader, where they cannot fit into memory, could you tell me how you handled the datasets under the hood? is this you bring all in memory in case of mapping style ones? or is this some sharding under the hood and you bring in memory when necessary, thanks
> How can we change how much data is loaded to memory with Arrow? I think that I am having some performance issue with it. When Arrow loads the data from disk it does it in multiprocess? It's almost twice slower training with arrow than in memory.
Loading arrow data from disk is done with memory-mapping. This allows to load huge datasets without filling your RAM.
Memory mapping is almost instantaneous and is done within one process.
Then, the speed of querying examples from the dataset is I/O bounded depending on your disk. If it's an SSD then fetching examples from the dataset will be very fast.
But since the I/O speed of an SSD is lower than the one of RAM it's expected to be slower to fetch data from disk than from memory.
Still, if you load the dataset in different processes then it can be faster but there will still be the I/O bottleneck of the disk.
> EDIT:
> My fault! I had not seen the `dataloader_num_workers` in `TrainingArguments` ! Now I can parallelize and go fast! Sorry, and thanks.
Ok let me know if that helps !
| [
-0.10941392183303833,
-0.4308575391769409,
-0.08712810277938843,
0.4903815984725952,
0.01926560513675213,
-0.20029804110527039,
0.1710616797208786,
0.03665675222873688,
0.43495339155197144,
0.03888588398694992,
-0.11417774856090546,
0.2551891803741455,
-0.12327384203672409,
0.023029720410704613,
-0.03654344379901886,
-0.04973617196083069,
0.07865830510854721,
-0.03282228112220764,
-0.6193569898605347,
0.10375809669494629,
-0.1304107904434204,
-0.28584495186805725,
-0.1606624275445938,
-0.27038639783859253,
-0.37474191188812256,
-0.3324694335460663,
-0.08843959867954254,
-0.03814958781003952,
-0.014034384861588478,
-0.21082426607608795,
0.061695463955402374,
-0.0937616378068924,
0.21440985798835754,
0.7233287692070007,
-0.00011866832937812433,
-0.09186413139104843,
0.17419730126857758,
0.04454030841588974,
0.07983841001987457,
0.35994353890419006,
-0.2897219955921173,
-0.3927340805530548,
0.06014561653137207,
-0.15900900959968567,
0.21156755089759827,
-0.33009904623031616,
0.005453752353787422,
-0.4068446755409241,
0.37439101934432983,
-0.025043314322829247,
0.09915545582771301,
-0.2730449140071869,
-0.058968670666217804,
0.2336072325706482,
0.086817666888237,
0.09226560592651367,
-0.010505212470889091,
0.06267310678958893,
0.6923477649688721,
0.0525820329785347,
-0.36097031831741333,
0.030244234949350357,
0.3175123333930969,
0.01238232385367155,
0.1165364682674408,
-0.21149758994579315,
0.18496417999267578,
-0.2949661910533905,
-0.10624472051858902,
0.25165918469429016,
0.5105583071708679,
0.06413625180721283,
-0.23906125128269196,
-0.23381775617599487,
-0.18690893054008484,
-0.11608123779296875,
0.029436901211738586,
0.20027798414230347,
-0.1415209025144577,
0.06333965063095093,
-0.42935073375701904,
-0.3593238294124603,
-0.29176777601242065,
-0.043830856680870056,
-0.09440220892429352,
0.037412937730550766,
-0.11275438964366913,
0.13733689486980438,
0.2806219458580017,
-0.22162418067455292,
0.3802333176136017,
-0.3126359283924103,
0.1021856814622879,
0.16829541325569153,
-0.3441886007785797,
-0.24935407936573029,
-0.3483249545097351,
-0.029801636934280396,
0.2621190547943115,
0.041590481996536255,
0.2865477502346039,
0.25601905584335327,
-0.20700308680534363,
0.07544972002506256,
0.3970377445220947,
0.17652015388011932,
-0.24267235398292542,
0.0066302185878157616,
0.18812093138694763,
-0.2431786209344864,
-0.18998686969280243,
0.01834862492978573,
-0.13825556635856628,
-0.16353198885917664,
0.017534684389829636,
-0.4711616337299347,
-0.3381834030151367,
-0.14402902126312256,
0.1884438544511795,
-0.17431160807609558,
-0.06357898563146591,
-0.24126462638378143,
0.18296170234680176,
0.31984376907348633,
-0.18006236851215363,
0.45779410004615784,
-0.18975569307804108,
-0.06147391349077225,
0.04866926372051239,
0.023389756679534912,
-0.05429689958691597,
-0.040735673159360886,
-0.4293087422847748,
0.1759205311536789,
0.14830337464809418,
0.19768089056015015,
0.10736992955207825,
0.15699507296085358,
-0.23651166260242462,
-0.0819060355424881,
0.1956626921892166,
-0.3922342360019684,
0.26604562997817993,
0.02761578932404518,
-0.16853748261928558,
0.11425130814313889,
-0.16801205277442932,
0.4740411639213562,
-0.19236846268177032,
0.3742128014564514,
-0.5957955718040466,
-0.18783102929592133,
0.35160306096076965,
0.04613412544131279,
-0.017520571127533913,
-0.05044310539960861,
-0.6256644129753113,
0.15403799712657928,
0.12367415428161621,
0.012604717165231705,
0.16176030039787292,
0.053695060312747955,
-0.08828285336494446,
-0.2674565315246582,
0.025244293734431267,
-0.011034995317459106,
-0.47207507491111755,
0.05240911245346069,
-0.006892171688377857,
0.10413935780525208,
0.28355908393859863,
0.5517662167549133,
-0.41064777970314026,
0.11353912204504013,
-0.1192626804113388,
-0.11739236116409302,
0.41781195998191833,
-0.21378549933433533,
-0.4303642511367798,
0.5667305588722229,
0.20907507836818695,
0.10830209404230118,
0.26238709688186646,
0.1652849018573761,
0.08320575952529907,
-0.09307080507278442,
-0.059862300753593445,
0.45440828800201416,
0.008070077747106552,
0.1396608054637909,
-0.004186525940895081,
-0.09415140002965927,
-0.1595703512430191,
0.1432994306087494,
-0.04897229000926018,
-0.2116732895374298,
0.1907651126384735,
-0.25392329692840576,
0.2201652228832245,
-0.09196555614471436,
0.11232521384954453,
0.17649558186531067,
-0.0526341013610363,
-0.04578419029712677,
0.04680889844894409,
0.20866471529006958,
-0.48084086179733276,
0.21096369624137878,
-0.10998275876045227,
-0.4063662886619568,
0.21236386895179749,
0.1959594488143921,
0.2658374011516571,
0.016499044373631477,
0.01272556185722351,
0.08968743681907654,
-0.10280991345643997,
-0.13016600906848907,
-0.1081874668598175,
-0.2483934909105301,
-0.16873610019683838,
0.27200230956077576,
-0.05466936528682709,
0.08873604238033295,
-0.16811424493789673,
0.04893796890974045,
0.3127923309803009,
-0.13387010991573334,
-0.23159275949001312,
-0.15209585428237915,
-0.2393629550933838,
-0.10304565727710724,
-0.020397968590259552,
0.18597564101219177,
0.23611021041870117,
0.051622603088617325,
0.1734181046485901,
0.33000659942626953,
0.3617979884147644,
-0.2407522201538086,
0.33168497681617737,
-0.05957039073109627,
0.13356737792491913,
-0.29321280121803284,
-0.18621575832366943,
0.20518547296524048,
-0.28736528754234314,
0.4769778847694397,
0.09045940637588501,
-0.1368914097547531,
0.04629196971654892,
-0.04745785892009735,
0.04348462074995041,
0.25626856088638306,
0.16485118865966797,
0.10166603326797485,
0.5824891328811646,
0.2923884987831116,
-0.1364484429359436,
-0.2872229218482971,
0.25121721625328064,
0.12323497235774994,
0.044428516179323196,
0.10855315625667572,
-0.38921740651130676,
-0.025414379313588142,
0.3360788822174072,
-0.013230990618467331,
0.3325226306915283,
0.25665366649627686,
0.13496184349060059,
-0.2326958179473877,
0.35143929719924927,
-0.07576067745685577,
0.1290673017501831,
0.10135893523693085,
0.5716058015823364,
0.04191785305738449,
-0.03461228311061859,
-0.3070822060108185,
0.05908914655447006,
-0.17952567338943481,
0.1923035979270935,
-0.15137940645217896,
-0.0766243040561676,
0.12485117465257645,
-0.1251276731491089,
-0.10165360569953918,
-0.25862008333206177,
-0.2021537572145462,
-0.21686269342899323,
0.15976300835609436,
-0.2158704549074173,
0.10995052754878998,
0.029605500400066376,
0.12423242628574371,
-0.05251698940992355,
0.5798898339271545,
-0.188874751329422,
-0.029910223558545113,
0.03347819298505783,
-0.0032976320944726467,
-0.1046980544924736,
0.05131238326430321,
0.41388532519340515,
-0.26950207352638245,
0.24284012615680695,
0.4030320644378662,
0.012897349894046783,
-0.09309344738721848,
0.06470956653356552,
0.04293626919388771,
0.16518837213516235,
-0.008468061685562134,
-0.358698308467865,
0.024483636021614075,
-0.15353402495384216,
0.16450154781341553,
-0.0560685470700264,
-0.12282101064920425,
-0.08655676245689392,
-0.002999480813741684,
-0.050653208047151566,
0.3680102527141571,
0.2494107186794281,
-0.18503564596176147,
-0.29057663679122925,
-0.3868480324745178,
0.457065224647522,
0.131723091006279,
0.21382325887680054,
-0.03203487768769264,
0.31385698914527893,
0.04344814643263817,
-0.10278943181037903,
-0.07271440327167511,
0.1427299529314041,
-0.449875146150589,
0.34691911935806274,
-0.04385434836149216,
-0.10493621230125427,
-0.14906427264213562,
0.061710424721241,
0.18732400238513947,
0.5508529543876648,
-0.3123830556869507,
0.25694164633750916,
-0.24914972484111786,
-0.10471372306346893,
-0.054088182747364044,
0.5024776458740234,
0.3338578939437866,
-0.22457188367843628,
-0.06515586376190186,
-0.04942629113793373,
0.1075890064239502,
0.05889849737286568,
-0.13442081212997437,
0.4623303711414337,
0.3629724979400635,
0.20719817280769348,
0.11272706091403961,
0.851540744304657,
0.04746151342988014,
-0.022594813257455826,
0.20762372016906738,
0.2847186326980591,
-0.016400303691625595,
0.051418256014585495,
0.042516402900218964,
-0.023923775181174278,
-0.17381593585014343,
0.12172530591487885,
0.2867700755596161,
0.164515882730484,
-0.34662479162216187,
-0.07419616729021072,
-0.179519921541214,
0.0329023152589798,
-0.03558603674173355,
0.6288306713104248,
-0.49049532413482666,
0.07465535402297974,
-0.336223840713501,
-0.31550097465515137,
-0.2783939242362976,
-0.2954709529876709,
0.032141927629709244,
-0.4350835084915161,
0.07362940907478333,
-0.09720224142074585,
-0.41401374340057373,
0.07757536321878433,
-0.3163495659828186,
0.35985279083251953,
-0.1669425070285797,
0.08034316450357437,
0.2238844484090805,
-0.14826560020446777,
0.06562425196170807,
0.12231872975826263,
0.41857606172561646,
0.05930387228727341,
-0.19124498963356018,
-0.3322927951812744,
-0.37958383560180664,
-0.3738744556903839,
0.14346635341644287,
-0.2774180471897125,
0.33110693097114563,
0.02644636482000351,
0.3643663227558136,
-0.17586860060691833,
-0.2965622842311859,
-0.23379731178283691,
0.01151963695883751,
-0.11952894926071167,
-0.40189844369888306,
-0.011054188013076782,
0.2433243691921234,
-0.04143412411212921,
0.11386370658874512,
0.14480191469192505,
-0.1673828810453415,
0.025278421118855476,
-0.30450311303138733,
-0.3236115574836731,
-0.0033876411616802216,
0.15663562715053558,
-0.05103627219796181,
0.07626935839653015,
-0.03333567827939987,
0.0881534069776535,
0.2125047743320465,
0.5491747856140137,
0.4417770802974701,
0.6041041612625122,
-0.14561504125595093,
-0.14750784635543823,
0.04229892045259476,
0.07674385607242584,
0.6275822520256042,
0.1844044327735901,
0.1692969799041748,
-0.04582745581865311,
0.0028008166700601578,
0.06992250680923462,
-0.34736478328704834,
0.20204609632492065,
0.14944753050804138,
0.10048648715019226,
-0.25812098383903503,
-0.326425701379776,
0.6474953293800354,
0.4854884743690491,
-0.21683692932128906,
0.646934449672699,
0.07513219118118286,
-0.3495359420776367,
0.14848588407039642,
0.2040816843509674,
0.9574031829833984,
-0.3874421715736389,
0.2295379638671875,
-0.37548649311065674,
-0.0699312835931778,
0.2560864984989166,
-0.1462654024362564,
-0.004283236339688301,
-0.20577259361743927,
0.07381806522607803,
0.13238148391246796,
-0.29577964544296265,
0.10230749100446701,
0.4680589437484741,
-0.00525115430355072,
0.3361814022064209,
-0.046196065843105316,
-0.25316867232322693,
-0.15903572738170624,
0.22072812914848328,
0.057830534875392914,
-0.40796831250190735,
-0.002367718145251274,
0.043704718351364136,
-0.032882191240787506,
-0.3417806327342987,
-0.19712406396865845,
0.007315780967473984,
-0.12610623240470886,
0.1556924730539322,
0.23364664614200592,
-0.14725258946418762,
-0.48190978169441223,
0.2061091512441635,
-0.021465595811605453,
-0.2980780005455017,
0.34559449553489685,
0.1853112280368805,
-0.5106201171875,
-0.193455308675766,
0.0024697687476873398,
0.04411594569683075,
0.06461875885725021,
0.06112309917807579,
-0.0074633462354540825,
-0.08155296742916107,
0.28091150522232056,
-0.045470643788576126,
-0.14822201430797577,
0.22998663783073425,
-0.11944186687469482,
-0.4266664981842041,
-0.04511754959821701,
0.18465206027030945,
0.29800158739089966,
-0.09681536257266998,
-0.2881248891353607,
0.05382182449102402,
-0.16383656859397888,
0.2378150373697281,
0.0783950537443161,
0.2507176399230957,
-0.049379460513591766,
0.7692583203315735,
0.2077459990978241,
-0.2335696965456009,
0.012191412970423698,
0.14786094427108765,
0.23570320010185242,
-0.06804203242063522,
0.3137344419956207,
0.13277429342269897,
-0.07743197679519653,
-0.09748823195695877,
0.3043731153011322,
0.7953402996063232,
-0.16976192593574524,
0.039979975670576096,
-0.1523757427930832,
-0.08172645419836044,
0.05798492580652237,
-0.09740173816680908,
0.3811482787132263,
0.019089728593826294,
-0.20971107482910156,
-0.09441054612398148,
-0.48660922050476074,
0.4007517099380493,
-0.11919127404689789,
0.18553116917610168,
-0.4160967767238617,
-0.5647240281105042,
-0.036717843264341354,
0.5318687558174133,
-0.19638387858867645,
0.09466099739074707,
0.05568675696849823,
0.1922023594379425,
-0.051516033709049225,
0.1955498456954956,
-0.13044360280036926,
0.21301381289958954,
-0.06634121388196945,
0.07324834167957306,
-0.11839616298675537,
-0.14918288588523865,
0.12286528944969177,
0.18452179431915283,
0.11353020370006561,
-0.2815810441970825,
-0.059592120349407196,
-0.5127947926521301,
0.11288991570472717,
-0.19441723823547363,
-0.08096243441104889,
-0.13572126626968384,
0.07043293863534927,
-0.19561058282852173,
0.2361648678779602,
-0.193060040473938,
-0.2789945900440216,
0.5068968534469604,
0.20913974940776825,
0.3058808445930481,
0.001736451406031847,
0.12350403517484665,
0.22129172086715698,
-0.36787354946136475,
-0.19170449674129486,
0.04201711341738701,
0.49974679946899414,
-0.08781849592924118,
0.14131462574005127,
-0.15590475499629974,
0.10186581313610077,
0.30032655596733093,
0.2071782648563385,
0.32661300897598267,
-0.21787071228027344,
-0.0989932268857956,
0.15223780274391174,
0.11605983227491379,
0.205144003033638,
-0.14756935834884644,
0.018856218084692955,
-0.04595734179019928,
-0.005234133452177048,
0.28671395778656006,
0.17505966126918793,
0.10438738763332367,
-0.3770065903663635,
-0.08786454051733017,
-0.0629250779747963,
-0.09947237372398376,
-0.2742574214935303,
-0.006603468209505081,
-0.09845967590808868,
-0.18013089895248413,
0.7090315818786621,
0.4778488576412201,
0.25786781311035156,
0.2521955966949463,
0.02040078490972519,
0.4376071095466614,
0.16079171001911163,
-0.11868631839752197,
0.1933944821357727,
-0.3835197985172272,
-0.2017529457807541,
0.45955121517181396,
-0.1625298261642456,
-0.058327920734882355,
-0.1901448369026184,
0.3574744760990143,
0.14638370275497437,
-0.38234320282936096,
0.10630818456411362,
-0.05459905043244362,
-0.2116842269897461,
-0.02397897094488144,
-0.17927393317222595,
-0.26114621758461,
-0.09866776317358017,
0.12467065453529358,
-0.3771369457244873,
-0.24799533188343048,
0.755406379699707,
0.21944652497768402,
0.10497106611728668,
0.015877149999141693,
0.1960076093673706,
0.28685396909713745,
0.24506795406341553,
-0.23821665346622467,
0.2443641573190689,
-0.20376603305339813,
-0.04780455678701401,
-0.04829006269574165,
0.21545277535915375,
0.060450613498687744,
0.22228971123695374,
-0.07957868278026581,
0.11389852315187454,
0.02270367182791233,
-0.06697642058134079,
-0.01357863750308752,
0.2710335850715637,
0.1326073259115219,
-0.1880733221769333,
0.10359169542789459,
0.024673616513609886,
-0.11133566498756409,
-0.07081811130046844,
-0.15938594937324524,
-0.04027986526489258,
-0.15721407532691956,
-0.017369471490383148,
0.1063375249505043,
-0.35024774074554443,
0.07299994677305222,
0.14138035476207733,
-0.2973565459251404,
-0.023142371326684952,
0.6617956161499023,
-0.6750300526618958,
-0.062253206968307495,
0.0818927213549614,
0.010699758306145668,
-0.26859384775161743,
0.6212179660797119,
0.26211103796958923,
0.44599083065986633,
-0.2740020155906677,
-0.2401634305715561,
-0.349960595369339,
0.1486310064792633,
-0.303134560585022,
0.196233332157135,
-0.1214343011379242,
0.44904908537864685,
0.11443735659122467,
0.15194274485111237,
0.1392839401960373,
-0.3217313289642334,
0.09122539311647415,
0.15893614292144775,
-0.40030547976493835,
0.043423961848020554,
0.17389017343521118,
0.4088531732559204,
0.057684674859046936,
-0.4208478629589081,
0.25229281187057495,
-0.16836361587047577,
-0.12760335206985474,
0.08300554752349854,
0.11312693357467651,
0.14158464968204498,
0.2653016448020935,
0.40830591320991516,
-0.03537653386592865,
0.40782108902931213,
0.2056368589401245,
0.10283412784337997,
0.026866789907217026,
-0.05102728679776192,
-0.031352296471595764,
0.022975590080022812,
0.08171220123767853,
0.06831949949264526,
-0.4066525995731354,
-0.013374295085668564,
0.046057142317295074,
-0.26583144068717957,
-0.3916957974433899,
-0.08777178823947906,
0.07163093239068985,
-0.3862329125404358,
0.07701108604669571,
-0.04532945901155472,
0.2807237207889557,
0.43173521757125854,
-0.08661253750324249,
-0.37153178453445435,
-0.2835673987865448,
0.08145438879728317,
0.05547298491001129,
-0.13199737668037415,
-0.10572513937950134,
-0.1213902086019516,
0.20791248977184296,
0.1666450798511505,
0.14428073167800903,
-0.2687598466873169,
-0.08698450028896332,
0.3934926986694336,
0.009193122386932373,
-0.2492116540670395,
0.14411984384059906,
-0.08949826657772064,
0.0986504852771759,
-0.14054936170578003,
0.3531610667705536,
-0.1568922996520996,
-0.021488312631845474,
-0.40954670310020447,
-0.21845930814743042
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | Looks like the google drive download failed.
I'm getting a `Google Drive - Quota exceeded` error while looking at the downloaded file.
We should consider finding a better host than google drive for this dataset imo
related : #873 #864 |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 40 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
Looks like the google drive download failed.
I'm getting a `Google Drive - Quota exceeded` error while looking at the downloaded file.
We should consider finding a better host than google drive for this dataset imo
related : #873 #864 | [
-0.15028652548789978,
0.013875842094421387,
0.0027155838906764984,
0.263435423374176,
0.4774577021598816,
0.05984514206647873,
0.4901820123195648,
0.3076285719871521,
-0.25105589628219604,
0.25677692890167236,
-0.32458746433258057,
-0.049481350928545,
-0.48377445340156555,
-0.19791461527347565,
0.0145919444039464,
0.0012006573379039764,
-0.1768815517425537,
0.18287134170532227,
-0.15392470359802246,
-0.0876946970820427,
-0.17271821200847626,
0.32104405760765076,
-0.0058412104845047,
0.1479862481355667,
-0.500206708908081,
-0.19758808612823486,
-0.003921752795577049,
0.5093348622322083,
-0.12717588245868683,
-0.23111332952976227,
0.25910326838493347,
-0.2564249038696289,
0.0552019402384758,
0.7316400408744812,
-0.00011711045226547867,
0.3691134452819824,
0.30564016103744507,
-0.07854676246643066,
-0.551827073097229,
-0.4986005425453186,
0.20591279864311218,
-0.21177467703819275,
0.04369010776281357,
-0.2601814866065979,
-0.12765628099441528,
0.06353678554296494,
0.11622297763824463,
0.31412339210510254,
0.39303332567214966,
0.4601138234138489,
0.2285236269235611,
0.23029707372188568,
0.28583666682243347,
0.0685349851846695,
-0.1296331286430359,
0.3916879892349243,
-0.16587316989898682,
0.5677598118782043,
-0.49660202860832214,
0.18128962814807892,
0.038944121450185776,
0.30571356415748596,
-0.19014106690883636,
-0.040189940482378006,
0.06737930327653885,
0.05204423889517784,
0.294578492641449,
-0.4586856961250305,
0.08622857928276062,
0.1943816840648651,
0.2952357232570648,
-0.31407105922698975,
-0.3520400822162628,
-0.017946824431419373,
0.12405820190906525,
-0.3361693024635315,
0.2545650005340576,
0.288533091545105,
-0.23108527064323425,
0.09864971786737442,
-0.16707682609558105,
-0.1167309433221817,
-0.3022928833961487,
0.43893009424209595,
-0.18409991264343262,
0.2932374179363251,
-0.1138126403093338,
0.04129493981599808,
0.16318313777446747,
-0.13879968225955963,
0.16395840048789978,
-0.07543468475341797,
0.337093323469162,
0.013713791966438293,
0.1517520397901535,
-0.15006092190742493,
0.02983313426375389,
-0.2463436722755432,
-0.18834584951400757,
0.14504271745681763,
-0.22048720717430115,
-0.30601754784584045,
-0.031860627233982086,
0.00745454803109169,
-0.05417465791106224,
0.09599533677101135,
-0.19662725925445557,
0.6701017022132874,
0.2965376377105713,
0.5027943849563599,
0.03201284632086754,
-0.04034110903739929,
-0.19097135961055756,
-0.20453813672065735,
-0.0870550274848938,
-0.030653350055217743,
0.6625394225120544,
-0.038356564939022064,
-0.33319640159606934,
-0.01314543653279543,
-0.41976070404052734,
0.07839195430278778,
0.3010314404964447,
0.5060917139053345,
0.0743202343583107,
-0.024589329957962036,
0.0031734779477119446,
0.15114259719848633,
-0.06566042453050613,
0.38357365131378174,
-0.26048147678375244,
0.31023573875427246,
-0.1780569702386856,
-0.0055620986968278885,
0.3036937415599823,
-0.37838369607925415,
0.22789745032787323,
-0.07823554426431656,
0.18790894746780396,
-0.1120338961482048,
0.04005680978298187,
-0.16719476878643036,
-0.015299737453460693,
0.6389673948287964,
-0.3143553137779236,
0.12217273563146591,
0.24488942325115204,
-0.08231186121702194,
-0.22423264384269714,
0.13756975531578064,
-0.1204492524266243,
-0.5571912527084351,
0.048323050141334534,
0.09993142634630203,
0.10621561110019684,
-0.06347272545099258,
0.353280246257782,
-0.3217020034790039,
0.026088401675224304,
-0.1006016731262207,
0.07673609256744385,
-0.0643339455127716,
-0.1164480596780777,
-0.1373271644115448,
0.32150498032569885,
0.5865563750267029,
-0.16767510771751404,
-0.11251465976238251,
-0.17535777390003204,
-0.13811540603637695,
0.2370169460773468,
0.40469279885292053,
-0.06725145131349564,
0.2623782753944397,
-0.28301629424095154,
-0.26678380370140076,
0.30348819494247437,
-0.33772414922714233,
-0.4008953869342804,
0.030854517593979836,
-0.21474017202854156,
0.2598995864391327,
0.052748944610357285,
0.13467593491077423,
-0.3762584924697876,
-0.0294963251799345,
0.06178765743970871,
0.1520979404449463,
-0.035730764269828796,
0.09047376364469528,
-0.2340041697025299,
-0.11872156709432602,
0.0879821628332138,
0.30397194623947144,
0.43821778893470764,
0.08941575139760971,
0.03135017305612564,
0.22269923985004425,
0.05038461089134216,
-0.24504250288009644,
-0.07191520929336548,
0.3450479507446289,
0.42852941155433655,
-0.06938032805919647,
-0.12111572176218033,
0.10797380656003952,
-0.37711164355278015,
0.022083230316638947,
-0.0822661817073822,
0.3187372386455536,
-0.24675102531909943,
0.0032256506383419037,
-0.3451867699623108,
-0.12850557267665863,
-0.27523863315582275,
-0.17923787236213684,
0.13390108942985535,
0.19037961959838867,
0.019638419151306152,
0.23821444809436798,
-0.21495455503463745,
0.264737993478775,
-0.1341637820005417,
0.3000066578388214,
-0.32818901538848877,
0.31383928656578064,
-0.24699519574642181,
-0.039505477994680405,
-0.09231207519769669,
0.40966495871543884,
0.14864154160022736,
-0.2167055904865265,
-0.06339529156684875,
0.22752925753593445,
-0.07406309992074966,
-0.05767589807510376,
0.02195727825164795,
-0.03398144245147705,
0.26576730608940125,
-0.0904393196105957,
0.1729007214307785,
0.42064395546913147,
0.013914884068071842,
0.018467895686626434,
-0.03500208258628845,
0.44687044620513916,
0.04793430119752884,
-0.05235513299703598,
0.1870313435792923,
-0.05334865301847458,
0.0944574624300003,
-0.0551234595477581,
-0.0113500552251935,
-0.047561779618263245,
0.22784432768821716,
-0.14678461849689484,
0.5949158668518066,
-0.07562345266342163,
-0.2936544418334961,
-0.4982670545578003,
-0.01729976013302803,
-0.23204393684864044,
0.11435326933860779,
0.27877044677734375,
-0.26673898100852966,
0.08416686207056046,
-0.18100987374782562,
0.18110452592372894,
0.47549986839294434,
0.05699118599295616,
-0.008504558354616165,
0.1831958144903183,
-0.10563001036643982,
-0.1482226550579071,
0.30011337995529175,
0.12281335145235062,
0.07687369734048843,
0.2936605215072632,
0.07245244085788727,
0.07033325731754303,
-0.5287973880767822,
-0.3453277051448822,
0.006152695044875145,
0.3515331745147705,
-0.37054091691970825,
-0.10189349204301834,
-0.1132584661245346,
-0.22904440760612488,
-0.03176398575305939,
-0.47008880972862244,
-0.22613966464996338,
-0.1386551707983017,
0.04340363293886185,
0.32483091950416565,
0.00400209054350853,
0.1640223115682602,
-0.021542873233556747,
-0.07965420186519623,
0.16376718878746033,
-0.14261552691459656,
-0.2257552146911621,
0.11008767783641815,
0.10990892350673676,
0.03682456538081169,
0.46385592222213745,
-0.3609946072101593,
0.24505852162837982,
-0.05064014345407486,
-0.0929013341665268,
-0.3026796877384186,
-0.45531153678894043,
-0.06508199125528336,
0.019609319046139717,
0.2633843421936035,
0.17388908565044403,
0.3530101776123047,
-0.10593929886817932,
-0.3259161114692688,
0.2694615423679352,
0.10501295328140259,
-0.033388618379831314,
0.40074458718299866,
-0.2799060642719269,
0.028529755771160126,
-0.030528461560606956,
-0.38560518622398376,
-0.49654555320739746,
-0.26608631014823914,
0.09523733705282211,
-0.0068390704691410065,
0.1661556512117386,
0.6047118902206421,
0.15911194682121277,
0.1782282590866089,
-0.26181143522262573,
0.17319901287555695,
-0.013462528586387634,
-0.13149012625217438,
0.38297247886657715,
-0.34037038683891296,
-0.23064903914928436,
-0.0014363043010234833,
-0.06658784300088882,
0.24213606119155884,
-0.3139041066169739,
-0.5207078456878662,
-0.29678380489349365,
-0.009321840479969978,
-0.2617908716201782,
-0.04419650882482529,
-0.14729367196559906,
0.12188893556594849,
-0.08313824236392975,
-0.06813812255859375,
0.26733243465423584,
-0.1342417150735855,
-0.10024934262037277,
0.08823448419570923,
0.005163826048374176,
-0.25912389159202576,
0.44759225845336914,
-0.09368042647838593,
0.780701220035553,
0.09618508815765381,
0.018838774412870407,
0.4052090346813202,
-0.016006508842110634,
0.4341350793838501,
-0.22692880034446716,
-0.4035913348197937,
0.042154282331466675,
0.35869306325912476,
-0.0929747074842453,
0.19462136924266815,
0.1108989268541336,
-0.21748915314674377,
-0.16596955060958862,
-0.2698644697666168,
-0.4062981903553009,
-0.19276542961597443,
0.2044941484928131,
0.032425180077552795,
0.04459060728549957,
0.020426087081432343,
-0.0603809580206871,
0.08298490941524506,
-0.2481529712677002,
-0.06661485135555267,
0.4942092299461365,
0.1149648055434227,
0.08630408346652985,
0.03229501470923424,
-0.3037804663181305,
-0.39019763469696045,
0.03388436138629913,
0.0017107187304645777,
0.08122623711824417,
-0.21521493792533875,
0.057691872119903564,
0.12458536773920059,
0.0010686034802347422,
0.3473900258541107,
0.09307436645030975,
-0.15015490353107452,
0.3155101537704468,
-0.3130575120449066,
-0.5068177580833435,
-0.14700213074684143,
-0.11537659168243408,
0.18615283071994781,
0.06384392082691193,
0.47901231050491333,
-0.30080053210258484,
-0.17901015281677246,
0.518431544303894,
0.028705621138215065,
-0.07325746864080429,
-0.2285497486591339,
-0.33722826838493347,
-0.3872757852077484,
-0.43332672119140625,
0.11205291748046875,
-0.20791205763816833,
0.1160893365740776,
0.07331480830907822,
-0.16982582211494446,
0.13834236562252045,
0.10191766172647476,
0.16338889300823212,
-0.09975980222225189,
0.2785460352897644,
-0.13299024105072021,
0.19960331916809082,
0.2281344085931778,
0.2923969626426697,
0.3537793457508087,
0.36761927604675293,
-0.1571994125843048,
-0.11766359210014343,
-0.009963244199752808,
0.13355322182178497,
-0.02252335101366043,
0.4273504912853241,
-0.1563071608543396,
-0.31678369641304016,
0.0756201520562172,
0.3467937707901001,
0.15007349848747253,
-0.16911141574382782,
0.4981243312358856,
-0.058879733085632324,
-0.42211413383483887,
-0.006263089366257191,
0.3730388879776001,
-0.14177291095256805,
0.20725025236606598,
0.09187853336334229,
0.0032516345381736755,
-0.03160449117422104,
0.08295772969722748,
-0.24964511394500732,
0.9348474144935608,
0.0290457084774971,
0.24360619485378265,
0.599921464920044,
0.26331180334091187,
0.211658775806427,
-0.316290020942688,
0.19465094804763794,
-0.34419864416122437,
-0.1643296331167221,
-0.019544348120689392,
-0.1975622922182083,
0.08001040667295456,
0.20805920660495758,
-0.16754373908042908,
0.3500140607357025,
-0.05018193647265434,
-0.0432966984808445,
-0.21247650682926178,
0.21277830004692078,
-0.1947495937347412,
0.0912313163280487,
-0.23914137482643127,
0.10602070391178131,
0.002801228314638138,
0.41878360509872437,
-0.3177284598350525,
-0.03077622503042221,
-0.11516610532999039,
-0.23499178886413574,
-0.04254855588078499,
0.014339011162519455,
-0.36994174122810364,
0.29661375284194946,
0.2785767912864685,
-0.21264955401420593,
-0.3221946060657501,
0.14126752316951752,
0.12128889560699463,
-0.19094783067703247,
-0.15345129370689392,
0.06552405655384064,
-0.27069246768951416,
-0.14946222305297852,
-0.12366322427988052,
0.05204124003648758,
0.38580262660980225,
-0.20161613821983337,
-0.09223554283380508,
-0.06983480602502823,
-0.1452212631702423,
-0.2897568941116333,
0.2210942506790161,
-0.05910073220729828,
0.1999625861644745,
-0.2618902027606964,
-0.29830992221832275,
-0.07489164173603058,
-0.2779405117034912,
-0.1450493186712265,
0.11579854786396027,
-0.009490728378295898,
-0.16324253380298615,
-0.044302552938461304,
-0.07023696601390839,
-0.31431299448013306,
-0.09483197331428528,
0.1749739646911621,
-0.11002513021230698,
-0.06184164062142372,
0.6461936235427856,
0.026693571358919144,
-0.3503609299659729,
-0.1812145709991455,
0.14359909296035767,
-0.10172378271818161,
-0.4620891511440277,
0.26079249382019043,
0.13796751201152802,
0.19050978124141693,
0.02451300248503685,
0.07510478049516678,
0.22253184020519257,
-0.006355971097946167,
-0.2272482067346573,
-0.4220346212387085,
-0.1887056529521942,
0.20308883488178253,
0.10649584233760834,
0.33753684163093567,
-0.0991908609867096,
0.1013696938753128,
0.2454855740070343,
-0.16078579425811768,
-0.2722638249397278,
0.1723109632730484,
-0.1976245641708374,
0.03310162201523781,
0.12332653254270554,
-0.12128772586584091,
0.6023908257484436,
0.1528308093547821,
0.16592702269554138,
-0.008632190525531769,
-0.18145453929901123,
-0.23317363858222961,
-0.05392581969499588,
0.15378761291503906,
0.20207178592681885,
-0.1400085836648941,
0.18490126729011536,
0.13432073593139648,
-0.11582551896572113,
-0.02354465425014496,
0.031228650361299515,
0.18102240562438965,
-0.0009691640734672546,
-0.1373787522315979,
0.037422411143779755,
-0.1362687051296234,
-0.05186592414975166,
0.038765281438827515,
-0.0665324330329895,
0.25402504205703735,
0.16850025951862335,
0.1101963147521019,
-0.1424623727798462,
-0.1031719297170639,
-0.2843036949634552,
-0.012407965958118439,
0.022507712244987488,
-0.043338529765605927,
0.32928621768951416,
-0.22558219730854034,
-0.14741626381874084,
-0.015306279063224792,
0.30857357382774353,
0.06390693783760071,
-0.3083704113960266,
0.09317705780267715,
0.17400819063186646,
0.1565857231616974,
-0.21766667068004608,
-0.017072947695851326,
0.22643974423408508,
-0.04048139229416847,
0.006131991744041443,
0.19188407063484192,
-0.19098491966724396,
0.0592045783996582,
0.11429603397846222,
0.15014901757240295,
0.22364775836467743,
-0.27132683992385864,
-0.010992289520800114,
0.42826253175735474,
-0.1666838377714157,
0.08207033574581146,
0.38618844747543335,
-0.08318288624286652,
0.2314913272857666,
0.4109051823616028,
-0.3030015230178833,
0.13951389491558075,
-0.3390324115753174,
0.05674482509493828,
0.17706014215946198,
-0.34236812591552734,
0.056775446981191635,
0.27079886198043823,
-0.050428032875061035,
0.06277378648519516,
-0.18564572930335999,
0.331595242023468,
-0.15131714940071106,
0.15808391571044922,
-0.37510716915130615,
0.49983200430870056,
-0.2893129587173462,
0.17279091477394104,
0.060343533754348755,
-0.18296292424201965,
-0.11214008927345276,
0.0821312665939331,
-0.04086783155798912,
-0.14884290099143982,
0.12534686923027039,
0.45934098958969116,
-0.22159789502620697,
-0.0026675835251808167,
0.24911382794380188,
0.23560965061187744,
-0.07879935950040817,
-0.2081487476825714,
0.26212894916534424,
0.5025696158409119,
-0.01621290296316147,
-0.12249650061130524,
0.6549655795097351,
0.5555664896965027,
0.2684943377971649,
0.015887930989265442,
0.3025696575641632,
0.019276101142168045,
-0.16803263127803802,
0.1025833860039711,
0.11734141409397125,
0.16468960046768188,
0.42197418212890625,
0.13540418446063995,
0.14447037875652313,
-0.26122233271598816,
0.08503006398677826,
0.06440214812755585,
0.15669497847557068,
-0.07511039078235626,
0.5024013519287109,
-0.2946590483188629,
-0.21229463815689087,
-0.3024601936340332,
-0.17198920249938965,
-0.45079565048217773,
0.2477426379919052,
0.31508123874664307,
-0.03168286383152008,
0.06800870597362518,
-0.07476767897605896,
0.05408143252134323,
-0.023621447384357452,
0.1517293006181717,
0.34060758352279663,
-0.0009295791387557983,
-0.5548705458641052,
-0.04079999402165413,
-0.5642197728157043,
0.3048742413520813,
-0.26875221729278564,
0.14067062735557556,
-0.0807121992111206,
-0.020412864163517952,
-0.21697989106178284,
0.12303423136472702,
0.22066432237625122,
0.003966161981225014,
-0.11871799826622009,
0.0199880450963974,
-0.23435334861278534,
0.11205919086933136,
0.1332818567752838,
-0.12998628616333008,
0.05189827084541321,
-0.39189526438713074,
0.06369609385728836,
-0.3433341383934021,
-0.034391529858112335,
0.14969348907470703,
-0.01162787526845932,
-0.24079778790473938,
0.31849926710128784,
0.2625724673271179,
-0.041064947843551636,
0.4454626441001892,
-0.11430833488702774,
-0.25983110070228577,
-0.0583609901368618,
-0.2245171219110489,
-0.20719845592975616,
0.021492116153240204,
0.16806145012378693,
0.6819019317626953,
-0.16195978224277496,
-0.2586808502674103,
-0.36348167061805725,
0.4325462579727173,
-0.10766121745109558,
-0.24636998772621155,
-0.06654810905456543,
0.10071446746587753,
-0.1359902024269104,
0.1650630235671997,
0.1683790385723114,
0.1788598895072937,
-0.008912794291973114,
0.10977387428283691,
-0.40745413303375244,
-0.4818340539932251,
0.6003137826919556,
-0.27378225326538086,
-0.09690116345882416,
-0.02005361020565033,
0.11888623237609863,
-0.09982801228761673,
0.011676270514726639,
-0.39606043696403503,
0.38376179337501526,
0.2735113501548767,
0.14352846145629883,
-0.12721306085586548,
0.05639246106147766,
0.10204091668128967,
0.00046207383275032043,
0.07187141478061676,
0.3017486035823822,
0.177706778049469,
-0.3659014403820038,
0.022703256458044052,
-0.21111714839935303
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | It is working now, thank you.
Should I leave this issue open to address the Quota-exceeded error? |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 17 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
It is working now, thank you.
Should I leave this issue open to address the Quota-exceeded error? | [
-0.15028652548789978,
0.013875842094421387,
0.0027155838906764984,
0.263435423374176,
0.4774577021598816,
0.05984514206647873,
0.4901820123195648,
0.3076285719871521,
-0.25105589628219604,
0.25677692890167236,
-0.32458746433258057,
-0.049481350928545,
-0.48377445340156555,
-0.19791461527347565,
0.0145919444039464,
0.0012006573379039764,
-0.1768815517425537,
0.18287134170532227,
-0.15392470359802246,
-0.0876946970820427,
-0.17271821200847626,
0.32104405760765076,
-0.0058412104845047,
0.1479862481355667,
-0.500206708908081,
-0.19758808612823486,
-0.003921752795577049,
0.5093348622322083,
-0.12717588245868683,
-0.23111332952976227,
0.25910326838493347,
-0.2564249038696289,
0.0552019402384758,
0.7316400408744812,
-0.00011711045226547867,
0.3691134452819824,
0.30564016103744507,
-0.07854676246643066,
-0.551827073097229,
-0.4986005425453186,
0.20591279864311218,
-0.21177467703819275,
0.04369010776281357,
-0.2601814866065979,
-0.12765628099441528,
0.06353678554296494,
0.11622297763824463,
0.31412339210510254,
0.39303332567214966,
0.4601138234138489,
0.2285236269235611,
0.23029707372188568,
0.28583666682243347,
0.0685349851846695,
-0.1296331286430359,
0.3916879892349243,
-0.16587316989898682,
0.5677598118782043,
-0.49660202860832214,
0.18128962814807892,
0.038944121450185776,
0.30571356415748596,
-0.19014106690883636,
-0.040189940482378006,
0.06737930327653885,
0.05204423889517784,
0.294578492641449,
-0.4586856961250305,
0.08622857928276062,
0.1943816840648651,
0.2952357232570648,
-0.31407105922698975,
-0.3520400822162628,
-0.017946824431419373,
0.12405820190906525,
-0.3361693024635315,
0.2545650005340576,
0.288533091545105,
-0.23108527064323425,
0.09864971786737442,
-0.16707682609558105,
-0.1167309433221817,
-0.3022928833961487,
0.43893009424209595,
-0.18409991264343262,
0.2932374179363251,
-0.1138126403093338,
0.04129493981599808,
0.16318313777446747,
-0.13879968225955963,
0.16395840048789978,
-0.07543468475341797,
0.337093323469162,
0.013713791966438293,
0.1517520397901535,
-0.15006092190742493,
0.02983313426375389,
-0.2463436722755432,
-0.18834584951400757,
0.14504271745681763,
-0.22048720717430115,
-0.30601754784584045,
-0.031860627233982086,
0.00745454803109169,
-0.05417465791106224,
0.09599533677101135,
-0.19662725925445557,
0.6701017022132874,
0.2965376377105713,
0.5027943849563599,
0.03201284632086754,
-0.04034110903739929,
-0.19097135961055756,
-0.20453813672065735,
-0.0870550274848938,
-0.030653350055217743,
0.6625394225120544,
-0.038356564939022064,
-0.33319640159606934,
-0.01314543653279543,
-0.41976070404052734,
0.07839195430278778,
0.3010314404964447,
0.5060917139053345,
0.0743202343583107,
-0.024589329957962036,
0.0031734779477119446,
0.15114259719848633,
-0.06566042453050613,
0.38357365131378174,
-0.26048147678375244,
0.31023573875427246,
-0.1780569702386856,
-0.0055620986968278885,
0.3036937415599823,
-0.37838369607925415,
0.22789745032787323,
-0.07823554426431656,
0.18790894746780396,
-0.1120338961482048,
0.04005680978298187,
-0.16719476878643036,
-0.015299737453460693,
0.6389673948287964,
-0.3143553137779236,
0.12217273563146591,
0.24488942325115204,
-0.08231186121702194,
-0.22423264384269714,
0.13756975531578064,
-0.1204492524266243,
-0.5571912527084351,
0.048323050141334534,
0.09993142634630203,
0.10621561110019684,
-0.06347272545099258,
0.353280246257782,
-0.3217020034790039,
0.026088401675224304,
-0.1006016731262207,
0.07673609256744385,
-0.0643339455127716,
-0.1164480596780777,
-0.1373271644115448,
0.32150498032569885,
0.5865563750267029,
-0.16767510771751404,
-0.11251465976238251,
-0.17535777390003204,
-0.13811540603637695,
0.2370169460773468,
0.40469279885292053,
-0.06725145131349564,
0.2623782753944397,
-0.28301629424095154,
-0.26678380370140076,
0.30348819494247437,
-0.33772414922714233,
-0.4008953869342804,
0.030854517593979836,
-0.21474017202854156,
0.2598995864391327,
0.052748944610357285,
0.13467593491077423,
-0.3762584924697876,
-0.0294963251799345,
0.06178765743970871,
0.1520979404449463,
-0.035730764269828796,
0.09047376364469528,
-0.2340041697025299,
-0.11872156709432602,
0.0879821628332138,
0.30397194623947144,
0.43821778893470764,
0.08941575139760971,
0.03135017305612564,
0.22269923985004425,
0.05038461089134216,
-0.24504250288009644,
-0.07191520929336548,
0.3450479507446289,
0.42852941155433655,
-0.06938032805919647,
-0.12111572176218033,
0.10797380656003952,
-0.37711164355278015,
0.022083230316638947,
-0.0822661817073822,
0.3187372386455536,
-0.24675102531909943,
0.0032256506383419037,
-0.3451867699623108,
-0.12850557267665863,
-0.27523863315582275,
-0.17923787236213684,
0.13390108942985535,
0.19037961959838867,
0.019638419151306152,
0.23821444809436798,
-0.21495455503463745,
0.264737993478775,
-0.1341637820005417,
0.3000066578388214,
-0.32818901538848877,
0.31383928656578064,
-0.24699519574642181,
-0.039505477994680405,
-0.09231207519769669,
0.40966495871543884,
0.14864154160022736,
-0.2167055904865265,
-0.06339529156684875,
0.22752925753593445,
-0.07406309992074966,
-0.05767589807510376,
0.02195727825164795,
-0.03398144245147705,
0.26576730608940125,
-0.0904393196105957,
0.1729007214307785,
0.42064395546913147,
0.013914884068071842,
0.018467895686626434,
-0.03500208258628845,
0.44687044620513916,
0.04793430119752884,
-0.05235513299703598,
0.1870313435792923,
-0.05334865301847458,
0.0944574624300003,
-0.0551234595477581,
-0.0113500552251935,
-0.047561779618263245,
0.22784432768821716,
-0.14678461849689484,
0.5949158668518066,
-0.07562345266342163,
-0.2936544418334961,
-0.4982670545578003,
-0.01729976013302803,
-0.23204393684864044,
0.11435326933860779,
0.27877044677734375,
-0.26673898100852966,
0.08416686207056046,
-0.18100987374782562,
0.18110452592372894,
0.47549986839294434,
0.05699118599295616,
-0.008504558354616165,
0.1831958144903183,
-0.10563001036643982,
-0.1482226550579071,
0.30011337995529175,
0.12281335145235062,
0.07687369734048843,
0.2936605215072632,
0.07245244085788727,
0.07033325731754303,
-0.5287973880767822,
-0.3453277051448822,
0.006152695044875145,
0.3515331745147705,
-0.37054091691970825,
-0.10189349204301834,
-0.1132584661245346,
-0.22904440760612488,
-0.03176398575305939,
-0.47008880972862244,
-0.22613966464996338,
-0.1386551707983017,
0.04340363293886185,
0.32483091950416565,
0.00400209054350853,
0.1640223115682602,
-0.021542873233556747,
-0.07965420186519623,
0.16376718878746033,
-0.14261552691459656,
-0.2257552146911621,
0.11008767783641815,
0.10990892350673676,
0.03682456538081169,
0.46385592222213745,
-0.3609946072101593,
0.24505852162837982,
-0.05064014345407486,
-0.0929013341665268,
-0.3026796877384186,
-0.45531153678894043,
-0.06508199125528336,
0.019609319046139717,
0.2633843421936035,
0.17388908565044403,
0.3530101776123047,
-0.10593929886817932,
-0.3259161114692688,
0.2694615423679352,
0.10501295328140259,
-0.033388618379831314,
0.40074458718299866,
-0.2799060642719269,
0.028529755771160126,
-0.030528461560606956,
-0.38560518622398376,
-0.49654555320739746,
-0.26608631014823914,
0.09523733705282211,
-0.0068390704691410065,
0.1661556512117386,
0.6047118902206421,
0.15911194682121277,
0.1782282590866089,
-0.26181143522262573,
0.17319901287555695,
-0.013462528586387634,
-0.13149012625217438,
0.38297247886657715,
-0.34037038683891296,
-0.23064903914928436,
-0.0014363043010234833,
-0.06658784300088882,
0.24213606119155884,
-0.3139041066169739,
-0.5207078456878662,
-0.29678380489349365,
-0.009321840479969978,
-0.2617908716201782,
-0.04419650882482529,
-0.14729367196559906,
0.12188893556594849,
-0.08313824236392975,
-0.06813812255859375,
0.26733243465423584,
-0.1342417150735855,
-0.10024934262037277,
0.08823448419570923,
0.005163826048374176,
-0.25912389159202576,
0.44759225845336914,
-0.09368042647838593,
0.780701220035553,
0.09618508815765381,
0.018838774412870407,
0.4052090346813202,
-0.016006508842110634,
0.4341350793838501,
-0.22692880034446716,
-0.4035913348197937,
0.042154282331466675,
0.35869306325912476,
-0.0929747074842453,
0.19462136924266815,
0.1108989268541336,
-0.21748915314674377,
-0.16596955060958862,
-0.2698644697666168,
-0.4062981903553009,
-0.19276542961597443,
0.2044941484928131,
0.032425180077552795,
0.04459060728549957,
0.020426087081432343,
-0.0603809580206871,
0.08298490941524506,
-0.2481529712677002,
-0.06661485135555267,
0.4942092299461365,
0.1149648055434227,
0.08630408346652985,
0.03229501470923424,
-0.3037804663181305,
-0.39019763469696045,
0.03388436138629913,
0.0017107187304645777,
0.08122623711824417,
-0.21521493792533875,
0.057691872119903564,
0.12458536773920059,
0.0010686034802347422,
0.3473900258541107,
0.09307436645030975,
-0.15015490353107452,
0.3155101537704468,
-0.3130575120449066,
-0.5068177580833435,
-0.14700213074684143,
-0.11537659168243408,
0.18615283071994781,
0.06384392082691193,
0.47901231050491333,
-0.30080053210258484,
-0.17901015281677246,
0.518431544303894,
0.028705621138215065,
-0.07325746864080429,
-0.2285497486591339,
-0.33722826838493347,
-0.3872757852077484,
-0.43332672119140625,
0.11205291748046875,
-0.20791205763816833,
0.1160893365740776,
0.07331480830907822,
-0.16982582211494446,
0.13834236562252045,
0.10191766172647476,
0.16338889300823212,
-0.09975980222225189,
0.2785460352897644,
-0.13299024105072021,
0.19960331916809082,
0.2281344085931778,
0.2923969626426697,
0.3537793457508087,
0.36761927604675293,
-0.1571994125843048,
-0.11766359210014343,
-0.009963244199752808,
0.13355322182178497,
-0.02252335101366043,
0.4273504912853241,
-0.1563071608543396,
-0.31678369641304016,
0.0756201520562172,
0.3467937707901001,
0.15007349848747253,
-0.16911141574382782,
0.4981243312358856,
-0.058879733085632324,
-0.42211413383483887,
-0.006263089366257191,
0.3730388879776001,
-0.14177291095256805,
0.20725025236606598,
0.09187853336334229,
0.0032516345381736755,
-0.03160449117422104,
0.08295772969722748,
-0.24964511394500732,
0.9348474144935608,
0.0290457084774971,
0.24360619485378265,
0.599921464920044,
0.26331180334091187,
0.211658775806427,
-0.316290020942688,
0.19465094804763794,
-0.34419864416122437,
-0.1643296331167221,
-0.019544348120689392,
-0.1975622922182083,
0.08001040667295456,
0.20805920660495758,
-0.16754373908042908,
0.3500140607357025,
-0.05018193647265434,
-0.0432966984808445,
-0.21247650682926178,
0.21277830004692078,
-0.1947495937347412,
0.0912313163280487,
-0.23914137482643127,
0.10602070391178131,
0.002801228314638138,
0.41878360509872437,
-0.3177284598350525,
-0.03077622503042221,
-0.11516610532999039,
-0.23499178886413574,
-0.04254855588078499,
0.014339011162519455,
-0.36994174122810364,
0.29661375284194946,
0.2785767912864685,
-0.21264955401420593,
-0.3221946060657501,
0.14126752316951752,
0.12128889560699463,
-0.19094783067703247,
-0.15345129370689392,
0.06552405655384064,
-0.27069246768951416,
-0.14946222305297852,
-0.12366322427988052,
0.05204124003648758,
0.38580262660980225,
-0.20161613821983337,
-0.09223554283380508,
-0.06983480602502823,
-0.1452212631702423,
-0.2897568941116333,
0.2210942506790161,
-0.05910073220729828,
0.1999625861644745,
-0.2618902027606964,
-0.29830992221832275,
-0.07489164173603058,
-0.2779405117034912,
-0.1450493186712265,
0.11579854786396027,
-0.009490728378295898,
-0.16324253380298615,
-0.044302552938461304,
-0.07023696601390839,
-0.31431299448013306,
-0.09483197331428528,
0.1749739646911621,
-0.11002513021230698,
-0.06184164062142372,
0.6461936235427856,
0.026693571358919144,
-0.3503609299659729,
-0.1812145709991455,
0.14359909296035767,
-0.10172378271818161,
-0.4620891511440277,
0.26079249382019043,
0.13796751201152802,
0.19050978124141693,
0.02451300248503685,
0.07510478049516678,
0.22253184020519257,
-0.006355971097946167,
-0.2272482067346573,
-0.4220346212387085,
-0.1887056529521942,
0.20308883488178253,
0.10649584233760834,
0.33753684163093567,
-0.0991908609867096,
0.1013696938753128,
0.2454855740070343,
-0.16078579425811768,
-0.2722638249397278,
0.1723109632730484,
-0.1976245641708374,
0.03310162201523781,
0.12332653254270554,
-0.12128772586584091,
0.6023908257484436,
0.1528308093547821,
0.16592702269554138,
-0.008632190525531769,
-0.18145453929901123,
-0.23317363858222961,
-0.05392581969499588,
0.15378761291503906,
0.20207178592681885,
-0.1400085836648941,
0.18490126729011536,
0.13432073593139648,
-0.11582551896572113,
-0.02354465425014496,
0.031228650361299515,
0.18102240562438965,
-0.0009691640734672546,
-0.1373787522315979,
0.037422411143779755,
-0.1362687051296234,
-0.05186592414975166,
0.038765281438827515,
-0.0665324330329895,
0.25402504205703735,
0.16850025951862335,
0.1101963147521019,
-0.1424623727798462,
-0.1031719297170639,
-0.2843036949634552,
-0.012407965958118439,
0.022507712244987488,
-0.043338529765605927,
0.32928621768951416,
-0.22558219730854034,
-0.14741626381874084,
-0.015306279063224792,
0.30857357382774353,
0.06390693783760071,
-0.3083704113960266,
0.09317705780267715,
0.17400819063186646,
0.1565857231616974,
-0.21766667068004608,
-0.017072947695851326,
0.22643974423408508,
-0.04048139229416847,
0.006131991744041443,
0.19188407063484192,
-0.19098491966724396,
0.0592045783996582,
0.11429603397846222,
0.15014901757240295,
0.22364775836467743,
-0.27132683992385864,
-0.010992289520800114,
0.42826253175735474,
-0.1666838377714157,
0.08207033574581146,
0.38618844747543335,
-0.08318288624286652,
0.2314913272857666,
0.4109051823616028,
-0.3030015230178833,
0.13951389491558075,
-0.3390324115753174,
0.05674482509493828,
0.17706014215946198,
-0.34236812591552734,
0.056775446981191635,
0.27079886198043823,
-0.050428032875061035,
0.06277378648519516,
-0.18564572930335999,
0.331595242023468,
-0.15131714940071106,
0.15808391571044922,
-0.37510716915130615,
0.49983200430870056,
-0.2893129587173462,
0.17279091477394104,
0.060343533754348755,
-0.18296292424201965,
-0.11214008927345276,
0.0821312665939331,
-0.04086783155798912,
-0.14884290099143982,
0.12534686923027039,
0.45934098958969116,
-0.22159789502620697,
-0.0026675835251808167,
0.24911382794380188,
0.23560965061187744,
-0.07879935950040817,
-0.2081487476825714,
0.26212894916534424,
0.5025696158409119,
-0.01621290296316147,
-0.12249650061130524,
0.6549655795097351,
0.5555664896965027,
0.2684943377971649,
0.015887930989265442,
0.3025696575641632,
0.019276101142168045,
-0.16803263127803802,
0.1025833860039711,
0.11734141409397125,
0.16468960046768188,
0.42197418212890625,
0.13540418446063995,
0.14447037875652313,
-0.26122233271598816,
0.08503006398677826,
0.06440214812755585,
0.15669497847557068,
-0.07511039078235626,
0.5024013519287109,
-0.2946590483188629,
-0.21229463815689087,
-0.3024601936340332,
-0.17198920249938965,
-0.45079565048217773,
0.2477426379919052,
0.31508123874664307,
-0.03168286383152008,
0.06800870597362518,
-0.07476767897605896,
0.05408143252134323,
-0.023621447384357452,
0.1517293006181717,
0.34060758352279663,
-0.0009295791387557983,
-0.5548705458641052,
-0.04079999402165413,
-0.5642197728157043,
0.3048742413520813,
-0.26875221729278564,
0.14067062735557556,
-0.0807121992111206,
-0.020412864163517952,
-0.21697989106178284,
0.12303423136472702,
0.22066432237625122,
0.003966161981225014,
-0.11871799826622009,
0.0199880450963974,
-0.23435334861278534,
0.11205919086933136,
0.1332818567752838,
-0.12998628616333008,
0.05189827084541321,
-0.39189526438713074,
0.06369609385728836,
-0.3433341383934021,
-0.034391529858112335,
0.14969348907470703,
-0.01162787526845932,
-0.24079778790473938,
0.31849926710128784,
0.2625724673271179,
-0.041064947843551636,
0.4454626441001892,
-0.11430833488702774,
-0.25983110070228577,
-0.0583609901368618,
-0.2245171219110489,
-0.20719845592975616,
0.021492116153240204,
0.16806145012378693,
0.6819019317626953,
-0.16195978224277496,
-0.2586808502674103,
-0.36348167061805725,
0.4325462579727173,
-0.10766121745109558,
-0.24636998772621155,
-0.06654810905456543,
0.10071446746587753,
-0.1359902024269104,
0.1650630235671997,
0.1683790385723114,
0.1788598895072937,
-0.008912794291973114,
0.10977387428283691,
-0.40745413303375244,
-0.4818340539932251,
0.6003137826919556,
-0.27378225326538086,
-0.09690116345882416,
-0.02005361020565033,
0.11888623237609863,
-0.09982801228761673,
0.011676270514726639,
-0.39606043696403503,
0.38376179337501526,
0.2735113501548767,
0.14352846145629883,
-0.12721306085586548,
0.05639246106147766,
0.10204091668128967,
0.00046207383275032043,
0.07187141478061676,
0.3017486035823822,
0.177706778049469,
-0.3659014403820038,
0.022703256458044052,
-0.21111714839935303
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | I've looked into it and couldn't find a solution. This looks like a Google Drive limitation..
Please try to use other hosts when possible |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 24 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
I've looked into it and couldn't find a solution. This looks like a Google Drive limitation..
Please try to use other hosts when possible | [
-0.15028652548789978,
0.013875842094421387,
0.0027155838906764984,
0.263435423374176,
0.4774577021598816,
0.05984514206647873,
0.4901820123195648,
0.3076285719871521,
-0.25105589628219604,
0.25677692890167236,
-0.32458746433258057,
-0.049481350928545,
-0.48377445340156555,
-0.19791461527347565,
0.0145919444039464,
0.0012006573379039764,
-0.1768815517425537,
0.18287134170532227,
-0.15392470359802246,
-0.0876946970820427,
-0.17271821200847626,
0.32104405760765076,
-0.0058412104845047,
0.1479862481355667,
-0.500206708908081,
-0.19758808612823486,
-0.003921752795577049,
0.5093348622322083,
-0.12717588245868683,
-0.23111332952976227,
0.25910326838493347,
-0.2564249038696289,
0.0552019402384758,
0.7316400408744812,
-0.00011711045226547867,
0.3691134452819824,
0.30564016103744507,
-0.07854676246643066,
-0.551827073097229,
-0.4986005425453186,
0.20591279864311218,
-0.21177467703819275,
0.04369010776281357,
-0.2601814866065979,
-0.12765628099441528,
0.06353678554296494,
0.11622297763824463,
0.31412339210510254,
0.39303332567214966,
0.4601138234138489,
0.2285236269235611,
0.23029707372188568,
0.28583666682243347,
0.0685349851846695,
-0.1296331286430359,
0.3916879892349243,
-0.16587316989898682,
0.5677598118782043,
-0.49660202860832214,
0.18128962814807892,
0.038944121450185776,
0.30571356415748596,
-0.19014106690883636,
-0.040189940482378006,
0.06737930327653885,
0.05204423889517784,
0.294578492641449,
-0.4586856961250305,
0.08622857928276062,
0.1943816840648651,
0.2952357232570648,
-0.31407105922698975,
-0.3520400822162628,
-0.017946824431419373,
0.12405820190906525,
-0.3361693024635315,
0.2545650005340576,
0.288533091545105,
-0.23108527064323425,
0.09864971786737442,
-0.16707682609558105,
-0.1167309433221817,
-0.3022928833961487,
0.43893009424209595,
-0.18409991264343262,
0.2932374179363251,
-0.1138126403093338,
0.04129493981599808,
0.16318313777446747,
-0.13879968225955963,
0.16395840048789978,
-0.07543468475341797,
0.337093323469162,
0.013713791966438293,
0.1517520397901535,
-0.15006092190742493,
0.02983313426375389,
-0.2463436722755432,
-0.18834584951400757,
0.14504271745681763,
-0.22048720717430115,
-0.30601754784584045,
-0.031860627233982086,
0.00745454803109169,
-0.05417465791106224,
0.09599533677101135,
-0.19662725925445557,
0.6701017022132874,
0.2965376377105713,
0.5027943849563599,
0.03201284632086754,
-0.04034110903739929,
-0.19097135961055756,
-0.20453813672065735,
-0.0870550274848938,
-0.030653350055217743,
0.6625394225120544,
-0.038356564939022064,
-0.33319640159606934,
-0.01314543653279543,
-0.41976070404052734,
0.07839195430278778,
0.3010314404964447,
0.5060917139053345,
0.0743202343583107,
-0.024589329957962036,
0.0031734779477119446,
0.15114259719848633,
-0.06566042453050613,
0.38357365131378174,
-0.26048147678375244,
0.31023573875427246,
-0.1780569702386856,
-0.0055620986968278885,
0.3036937415599823,
-0.37838369607925415,
0.22789745032787323,
-0.07823554426431656,
0.18790894746780396,
-0.1120338961482048,
0.04005680978298187,
-0.16719476878643036,
-0.015299737453460693,
0.6389673948287964,
-0.3143553137779236,
0.12217273563146591,
0.24488942325115204,
-0.08231186121702194,
-0.22423264384269714,
0.13756975531578064,
-0.1204492524266243,
-0.5571912527084351,
0.048323050141334534,
0.09993142634630203,
0.10621561110019684,
-0.06347272545099258,
0.353280246257782,
-0.3217020034790039,
0.026088401675224304,
-0.1006016731262207,
0.07673609256744385,
-0.0643339455127716,
-0.1164480596780777,
-0.1373271644115448,
0.32150498032569885,
0.5865563750267029,
-0.16767510771751404,
-0.11251465976238251,
-0.17535777390003204,
-0.13811540603637695,
0.2370169460773468,
0.40469279885292053,
-0.06725145131349564,
0.2623782753944397,
-0.28301629424095154,
-0.26678380370140076,
0.30348819494247437,
-0.33772414922714233,
-0.4008953869342804,
0.030854517593979836,
-0.21474017202854156,
0.2598995864391327,
0.052748944610357285,
0.13467593491077423,
-0.3762584924697876,
-0.0294963251799345,
0.06178765743970871,
0.1520979404449463,
-0.035730764269828796,
0.09047376364469528,
-0.2340041697025299,
-0.11872156709432602,
0.0879821628332138,
0.30397194623947144,
0.43821778893470764,
0.08941575139760971,
0.03135017305612564,
0.22269923985004425,
0.05038461089134216,
-0.24504250288009644,
-0.07191520929336548,
0.3450479507446289,
0.42852941155433655,
-0.06938032805919647,
-0.12111572176218033,
0.10797380656003952,
-0.37711164355278015,
0.022083230316638947,
-0.0822661817073822,
0.3187372386455536,
-0.24675102531909943,
0.0032256506383419037,
-0.3451867699623108,
-0.12850557267665863,
-0.27523863315582275,
-0.17923787236213684,
0.13390108942985535,
0.19037961959838867,
0.019638419151306152,
0.23821444809436798,
-0.21495455503463745,
0.264737993478775,
-0.1341637820005417,
0.3000066578388214,
-0.32818901538848877,
0.31383928656578064,
-0.24699519574642181,
-0.039505477994680405,
-0.09231207519769669,
0.40966495871543884,
0.14864154160022736,
-0.2167055904865265,
-0.06339529156684875,
0.22752925753593445,
-0.07406309992074966,
-0.05767589807510376,
0.02195727825164795,
-0.03398144245147705,
0.26576730608940125,
-0.0904393196105957,
0.1729007214307785,
0.42064395546913147,
0.013914884068071842,
0.018467895686626434,
-0.03500208258628845,
0.44687044620513916,
0.04793430119752884,
-0.05235513299703598,
0.1870313435792923,
-0.05334865301847458,
0.0944574624300003,
-0.0551234595477581,
-0.0113500552251935,
-0.047561779618263245,
0.22784432768821716,
-0.14678461849689484,
0.5949158668518066,
-0.07562345266342163,
-0.2936544418334961,
-0.4982670545578003,
-0.01729976013302803,
-0.23204393684864044,
0.11435326933860779,
0.27877044677734375,
-0.26673898100852966,
0.08416686207056046,
-0.18100987374782562,
0.18110452592372894,
0.47549986839294434,
0.05699118599295616,
-0.008504558354616165,
0.1831958144903183,
-0.10563001036643982,
-0.1482226550579071,
0.30011337995529175,
0.12281335145235062,
0.07687369734048843,
0.2936605215072632,
0.07245244085788727,
0.07033325731754303,
-0.5287973880767822,
-0.3453277051448822,
0.006152695044875145,
0.3515331745147705,
-0.37054091691970825,
-0.10189349204301834,
-0.1132584661245346,
-0.22904440760612488,
-0.03176398575305939,
-0.47008880972862244,
-0.22613966464996338,
-0.1386551707983017,
0.04340363293886185,
0.32483091950416565,
0.00400209054350853,
0.1640223115682602,
-0.021542873233556747,
-0.07965420186519623,
0.16376718878746033,
-0.14261552691459656,
-0.2257552146911621,
0.11008767783641815,
0.10990892350673676,
0.03682456538081169,
0.46385592222213745,
-0.3609946072101593,
0.24505852162837982,
-0.05064014345407486,
-0.0929013341665268,
-0.3026796877384186,
-0.45531153678894043,
-0.06508199125528336,
0.019609319046139717,
0.2633843421936035,
0.17388908565044403,
0.3530101776123047,
-0.10593929886817932,
-0.3259161114692688,
0.2694615423679352,
0.10501295328140259,
-0.033388618379831314,
0.40074458718299866,
-0.2799060642719269,
0.028529755771160126,
-0.030528461560606956,
-0.38560518622398376,
-0.49654555320739746,
-0.26608631014823914,
0.09523733705282211,
-0.0068390704691410065,
0.1661556512117386,
0.6047118902206421,
0.15911194682121277,
0.1782282590866089,
-0.26181143522262573,
0.17319901287555695,
-0.013462528586387634,
-0.13149012625217438,
0.38297247886657715,
-0.34037038683891296,
-0.23064903914928436,
-0.0014363043010234833,
-0.06658784300088882,
0.24213606119155884,
-0.3139041066169739,
-0.5207078456878662,
-0.29678380489349365,
-0.009321840479969978,
-0.2617908716201782,
-0.04419650882482529,
-0.14729367196559906,
0.12188893556594849,
-0.08313824236392975,
-0.06813812255859375,
0.26733243465423584,
-0.1342417150735855,
-0.10024934262037277,
0.08823448419570923,
0.005163826048374176,
-0.25912389159202576,
0.44759225845336914,
-0.09368042647838593,
0.780701220035553,
0.09618508815765381,
0.018838774412870407,
0.4052090346813202,
-0.016006508842110634,
0.4341350793838501,
-0.22692880034446716,
-0.4035913348197937,
0.042154282331466675,
0.35869306325912476,
-0.0929747074842453,
0.19462136924266815,
0.1108989268541336,
-0.21748915314674377,
-0.16596955060958862,
-0.2698644697666168,
-0.4062981903553009,
-0.19276542961597443,
0.2044941484928131,
0.032425180077552795,
0.04459060728549957,
0.020426087081432343,
-0.0603809580206871,
0.08298490941524506,
-0.2481529712677002,
-0.06661485135555267,
0.4942092299461365,
0.1149648055434227,
0.08630408346652985,
0.03229501470923424,
-0.3037804663181305,
-0.39019763469696045,
0.03388436138629913,
0.0017107187304645777,
0.08122623711824417,
-0.21521493792533875,
0.057691872119903564,
0.12458536773920059,
0.0010686034802347422,
0.3473900258541107,
0.09307436645030975,
-0.15015490353107452,
0.3155101537704468,
-0.3130575120449066,
-0.5068177580833435,
-0.14700213074684143,
-0.11537659168243408,
0.18615283071994781,
0.06384392082691193,
0.47901231050491333,
-0.30080053210258484,
-0.17901015281677246,
0.518431544303894,
0.028705621138215065,
-0.07325746864080429,
-0.2285497486591339,
-0.33722826838493347,
-0.3872757852077484,
-0.43332672119140625,
0.11205291748046875,
-0.20791205763816833,
0.1160893365740776,
0.07331480830907822,
-0.16982582211494446,
0.13834236562252045,
0.10191766172647476,
0.16338889300823212,
-0.09975980222225189,
0.2785460352897644,
-0.13299024105072021,
0.19960331916809082,
0.2281344085931778,
0.2923969626426697,
0.3537793457508087,
0.36761927604675293,
-0.1571994125843048,
-0.11766359210014343,
-0.009963244199752808,
0.13355322182178497,
-0.02252335101366043,
0.4273504912853241,
-0.1563071608543396,
-0.31678369641304016,
0.0756201520562172,
0.3467937707901001,
0.15007349848747253,
-0.16911141574382782,
0.4981243312358856,
-0.058879733085632324,
-0.42211413383483887,
-0.006263089366257191,
0.3730388879776001,
-0.14177291095256805,
0.20725025236606598,
0.09187853336334229,
0.0032516345381736755,
-0.03160449117422104,
0.08295772969722748,
-0.24964511394500732,
0.9348474144935608,
0.0290457084774971,
0.24360619485378265,
0.599921464920044,
0.26331180334091187,
0.211658775806427,
-0.316290020942688,
0.19465094804763794,
-0.34419864416122437,
-0.1643296331167221,
-0.019544348120689392,
-0.1975622922182083,
0.08001040667295456,
0.20805920660495758,
-0.16754373908042908,
0.3500140607357025,
-0.05018193647265434,
-0.0432966984808445,
-0.21247650682926178,
0.21277830004692078,
-0.1947495937347412,
0.0912313163280487,
-0.23914137482643127,
0.10602070391178131,
0.002801228314638138,
0.41878360509872437,
-0.3177284598350525,
-0.03077622503042221,
-0.11516610532999039,
-0.23499178886413574,
-0.04254855588078499,
0.014339011162519455,
-0.36994174122810364,
0.29661375284194946,
0.2785767912864685,
-0.21264955401420593,
-0.3221946060657501,
0.14126752316951752,
0.12128889560699463,
-0.19094783067703247,
-0.15345129370689392,
0.06552405655384064,
-0.27069246768951416,
-0.14946222305297852,
-0.12366322427988052,
0.05204124003648758,
0.38580262660980225,
-0.20161613821983337,
-0.09223554283380508,
-0.06983480602502823,
-0.1452212631702423,
-0.2897568941116333,
0.2210942506790161,
-0.05910073220729828,
0.1999625861644745,
-0.2618902027606964,
-0.29830992221832275,
-0.07489164173603058,
-0.2779405117034912,
-0.1450493186712265,
0.11579854786396027,
-0.009490728378295898,
-0.16324253380298615,
-0.044302552938461304,
-0.07023696601390839,
-0.31431299448013306,
-0.09483197331428528,
0.1749739646911621,
-0.11002513021230698,
-0.06184164062142372,
0.6461936235427856,
0.026693571358919144,
-0.3503609299659729,
-0.1812145709991455,
0.14359909296035767,
-0.10172378271818161,
-0.4620891511440277,
0.26079249382019043,
0.13796751201152802,
0.19050978124141693,
0.02451300248503685,
0.07510478049516678,
0.22253184020519257,
-0.006355971097946167,
-0.2272482067346573,
-0.4220346212387085,
-0.1887056529521942,
0.20308883488178253,
0.10649584233760834,
0.33753684163093567,
-0.0991908609867096,
0.1013696938753128,
0.2454855740070343,
-0.16078579425811768,
-0.2722638249397278,
0.1723109632730484,
-0.1976245641708374,
0.03310162201523781,
0.12332653254270554,
-0.12128772586584091,
0.6023908257484436,
0.1528308093547821,
0.16592702269554138,
-0.008632190525531769,
-0.18145453929901123,
-0.23317363858222961,
-0.05392581969499588,
0.15378761291503906,
0.20207178592681885,
-0.1400085836648941,
0.18490126729011536,
0.13432073593139648,
-0.11582551896572113,
-0.02354465425014496,
0.031228650361299515,
0.18102240562438965,
-0.0009691640734672546,
-0.1373787522315979,
0.037422411143779755,
-0.1362687051296234,
-0.05186592414975166,
0.038765281438827515,
-0.0665324330329895,
0.25402504205703735,
0.16850025951862335,
0.1101963147521019,
-0.1424623727798462,
-0.1031719297170639,
-0.2843036949634552,
-0.012407965958118439,
0.022507712244987488,
-0.043338529765605927,
0.32928621768951416,
-0.22558219730854034,
-0.14741626381874084,
-0.015306279063224792,
0.30857357382774353,
0.06390693783760071,
-0.3083704113960266,
0.09317705780267715,
0.17400819063186646,
0.1565857231616974,
-0.21766667068004608,
-0.017072947695851326,
0.22643974423408508,
-0.04048139229416847,
0.006131991744041443,
0.19188407063484192,
-0.19098491966724396,
0.0592045783996582,
0.11429603397846222,
0.15014901757240295,
0.22364775836467743,
-0.27132683992385864,
-0.010992289520800114,
0.42826253175735474,
-0.1666838377714157,
0.08207033574581146,
0.38618844747543335,
-0.08318288624286652,
0.2314913272857666,
0.4109051823616028,
-0.3030015230178833,
0.13951389491558075,
-0.3390324115753174,
0.05674482509493828,
0.17706014215946198,
-0.34236812591552734,
0.056775446981191635,
0.27079886198043823,
-0.050428032875061035,
0.06277378648519516,
-0.18564572930335999,
0.331595242023468,
-0.15131714940071106,
0.15808391571044922,
-0.37510716915130615,
0.49983200430870056,
-0.2893129587173462,
0.17279091477394104,
0.060343533754348755,
-0.18296292424201965,
-0.11214008927345276,
0.0821312665939331,
-0.04086783155798912,
-0.14884290099143982,
0.12534686923027039,
0.45934098958969116,
-0.22159789502620697,
-0.0026675835251808167,
0.24911382794380188,
0.23560965061187744,
-0.07879935950040817,
-0.2081487476825714,
0.26212894916534424,
0.5025696158409119,
-0.01621290296316147,
-0.12249650061130524,
0.6549655795097351,
0.5555664896965027,
0.2684943377971649,
0.015887930989265442,
0.3025696575641632,
0.019276101142168045,
-0.16803263127803802,
0.1025833860039711,
0.11734141409397125,
0.16468960046768188,
0.42197418212890625,
0.13540418446063995,
0.14447037875652313,
-0.26122233271598816,
0.08503006398677826,
0.06440214812755585,
0.15669497847557068,
-0.07511039078235626,
0.5024013519287109,
-0.2946590483188629,
-0.21229463815689087,
-0.3024601936340332,
-0.17198920249938965,
-0.45079565048217773,
0.2477426379919052,
0.31508123874664307,
-0.03168286383152008,
0.06800870597362518,
-0.07476767897605896,
0.05408143252134323,
-0.023621447384357452,
0.1517293006181717,
0.34060758352279663,
-0.0009295791387557983,
-0.5548705458641052,
-0.04079999402165413,
-0.5642197728157043,
0.3048742413520813,
-0.26875221729278564,
0.14067062735557556,
-0.0807121992111206,
-0.020412864163517952,
-0.21697989106178284,
0.12303423136472702,
0.22066432237625122,
0.003966161981225014,
-0.11871799826622009,
0.0199880450963974,
-0.23435334861278534,
0.11205919086933136,
0.1332818567752838,
-0.12998628616333008,
0.05189827084541321,
-0.39189526438713074,
0.06369609385728836,
-0.3433341383934021,
-0.034391529858112335,
0.14969348907470703,
-0.01162787526845932,
-0.24079778790473938,
0.31849926710128784,
0.2625724673271179,
-0.041064947843551636,
0.4454626441001892,
-0.11430833488702774,
-0.25983110070228577,
-0.0583609901368618,
-0.2245171219110489,
-0.20719845592975616,
0.021492116153240204,
0.16806145012378693,
0.6819019317626953,
-0.16195978224277496,
-0.2586808502674103,
-0.36348167061805725,
0.4325462579727173,
-0.10766121745109558,
-0.24636998772621155,
-0.06654810905456543,
0.10071446746587753,
-0.1359902024269104,
0.1650630235671997,
0.1683790385723114,
0.1788598895072937,
-0.008912794291973114,
0.10977387428283691,
-0.40745413303375244,
-0.4818340539932251,
0.6003137826919556,
-0.27378225326538086,
-0.09690116345882416,
-0.02005361020565033,
0.11888623237609863,
-0.09982801228761673,
0.011676270514726639,
-0.39606043696403503,
0.38376179337501526,
0.2735113501548767,
0.14352846145629883,
-0.12721306085586548,
0.05639246106147766,
0.10204091668128967,
0.00046207383275032043,
0.07187141478061676,
0.3017486035823822,
0.177706778049469,
-0.3659014403820038,
0.022703256458044052,
-0.21111714839935303
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | The original links are google drive links. Would it be feasible for HF to maintain their own servers for this? Also, I think the same issue must also exist with TFDS. |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 31 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
The original links are google drive links. Would it be feasible for HF to maintain their own servers for this? Also, I think the same issue must also exist with TFDS. | [
-0.15028652548789978,
0.013875842094421387,
0.0027155838906764984,
0.263435423374176,
0.4774577021598816,
0.05984514206647873,
0.4901820123195648,
0.3076285719871521,
-0.25105589628219604,
0.25677692890167236,
-0.32458746433258057,
-0.049481350928545,
-0.48377445340156555,
-0.19791461527347565,
0.0145919444039464,
0.0012006573379039764,
-0.1768815517425537,
0.18287134170532227,
-0.15392470359802246,
-0.0876946970820427,
-0.17271821200847626,
0.32104405760765076,
-0.0058412104845047,
0.1479862481355667,
-0.500206708908081,
-0.19758808612823486,
-0.003921752795577049,
0.5093348622322083,
-0.12717588245868683,
-0.23111332952976227,
0.25910326838493347,
-0.2564249038696289,
0.0552019402384758,
0.7316400408744812,
-0.00011711045226547867,
0.3691134452819824,
0.30564016103744507,
-0.07854676246643066,
-0.551827073097229,
-0.4986005425453186,
0.20591279864311218,
-0.21177467703819275,
0.04369010776281357,
-0.2601814866065979,
-0.12765628099441528,
0.06353678554296494,
0.11622297763824463,
0.31412339210510254,
0.39303332567214966,
0.4601138234138489,
0.2285236269235611,
0.23029707372188568,
0.28583666682243347,
0.0685349851846695,
-0.1296331286430359,
0.3916879892349243,
-0.16587316989898682,
0.5677598118782043,
-0.49660202860832214,
0.18128962814807892,
0.038944121450185776,
0.30571356415748596,
-0.19014106690883636,
-0.040189940482378006,
0.06737930327653885,
0.05204423889517784,
0.294578492641449,
-0.4586856961250305,
0.08622857928276062,
0.1943816840648651,
0.2952357232570648,
-0.31407105922698975,
-0.3520400822162628,
-0.017946824431419373,
0.12405820190906525,
-0.3361693024635315,
0.2545650005340576,
0.288533091545105,
-0.23108527064323425,
0.09864971786737442,
-0.16707682609558105,
-0.1167309433221817,
-0.3022928833961487,
0.43893009424209595,
-0.18409991264343262,
0.2932374179363251,
-0.1138126403093338,
0.04129493981599808,
0.16318313777446747,
-0.13879968225955963,
0.16395840048789978,
-0.07543468475341797,
0.337093323469162,
0.013713791966438293,
0.1517520397901535,
-0.15006092190742493,
0.02983313426375389,
-0.2463436722755432,
-0.18834584951400757,
0.14504271745681763,
-0.22048720717430115,
-0.30601754784584045,
-0.031860627233982086,
0.00745454803109169,
-0.05417465791106224,
0.09599533677101135,
-0.19662725925445557,
0.6701017022132874,
0.2965376377105713,
0.5027943849563599,
0.03201284632086754,
-0.04034110903739929,
-0.19097135961055756,
-0.20453813672065735,
-0.0870550274848938,
-0.030653350055217743,
0.6625394225120544,
-0.038356564939022064,
-0.33319640159606934,
-0.01314543653279543,
-0.41976070404052734,
0.07839195430278778,
0.3010314404964447,
0.5060917139053345,
0.0743202343583107,
-0.024589329957962036,
0.0031734779477119446,
0.15114259719848633,
-0.06566042453050613,
0.38357365131378174,
-0.26048147678375244,
0.31023573875427246,
-0.1780569702386856,
-0.0055620986968278885,
0.3036937415599823,
-0.37838369607925415,
0.22789745032787323,
-0.07823554426431656,
0.18790894746780396,
-0.1120338961482048,
0.04005680978298187,
-0.16719476878643036,
-0.015299737453460693,
0.6389673948287964,
-0.3143553137779236,
0.12217273563146591,
0.24488942325115204,
-0.08231186121702194,
-0.22423264384269714,
0.13756975531578064,
-0.1204492524266243,
-0.5571912527084351,
0.048323050141334534,
0.09993142634630203,
0.10621561110019684,
-0.06347272545099258,
0.353280246257782,
-0.3217020034790039,
0.026088401675224304,
-0.1006016731262207,
0.07673609256744385,
-0.0643339455127716,
-0.1164480596780777,
-0.1373271644115448,
0.32150498032569885,
0.5865563750267029,
-0.16767510771751404,
-0.11251465976238251,
-0.17535777390003204,
-0.13811540603637695,
0.2370169460773468,
0.40469279885292053,
-0.06725145131349564,
0.2623782753944397,
-0.28301629424095154,
-0.26678380370140076,
0.30348819494247437,
-0.33772414922714233,
-0.4008953869342804,
0.030854517593979836,
-0.21474017202854156,
0.2598995864391327,
0.052748944610357285,
0.13467593491077423,
-0.3762584924697876,
-0.0294963251799345,
0.06178765743970871,
0.1520979404449463,
-0.035730764269828796,
0.09047376364469528,
-0.2340041697025299,
-0.11872156709432602,
0.0879821628332138,
0.30397194623947144,
0.43821778893470764,
0.08941575139760971,
0.03135017305612564,
0.22269923985004425,
0.05038461089134216,
-0.24504250288009644,
-0.07191520929336548,
0.3450479507446289,
0.42852941155433655,
-0.06938032805919647,
-0.12111572176218033,
0.10797380656003952,
-0.37711164355278015,
0.022083230316638947,
-0.0822661817073822,
0.3187372386455536,
-0.24675102531909943,
0.0032256506383419037,
-0.3451867699623108,
-0.12850557267665863,
-0.27523863315582275,
-0.17923787236213684,
0.13390108942985535,
0.19037961959838867,
0.019638419151306152,
0.23821444809436798,
-0.21495455503463745,
0.264737993478775,
-0.1341637820005417,
0.3000066578388214,
-0.32818901538848877,
0.31383928656578064,
-0.24699519574642181,
-0.039505477994680405,
-0.09231207519769669,
0.40966495871543884,
0.14864154160022736,
-0.2167055904865265,
-0.06339529156684875,
0.22752925753593445,
-0.07406309992074966,
-0.05767589807510376,
0.02195727825164795,
-0.03398144245147705,
0.26576730608940125,
-0.0904393196105957,
0.1729007214307785,
0.42064395546913147,
0.013914884068071842,
0.018467895686626434,
-0.03500208258628845,
0.44687044620513916,
0.04793430119752884,
-0.05235513299703598,
0.1870313435792923,
-0.05334865301847458,
0.0944574624300003,
-0.0551234595477581,
-0.0113500552251935,
-0.047561779618263245,
0.22784432768821716,
-0.14678461849689484,
0.5949158668518066,
-0.07562345266342163,
-0.2936544418334961,
-0.4982670545578003,
-0.01729976013302803,
-0.23204393684864044,
0.11435326933860779,
0.27877044677734375,
-0.26673898100852966,
0.08416686207056046,
-0.18100987374782562,
0.18110452592372894,
0.47549986839294434,
0.05699118599295616,
-0.008504558354616165,
0.1831958144903183,
-0.10563001036643982,
-0.1482226550579071,
0.30011337995529175,
0.12281335145235062,
0.07687369734048843,
0.2936605215072632,
0.07245244085788727,
0.07033325731754303,
-0.5287973880767822,
-0.3453277051448822,
0.006152695044875145,
0.3515331745147705,
-0.37054091691970825,
-0.10189349204301834,
-0.1132584661245346,
-0.22904440760612488,
-0.03176398575305939,
-0.47008880972862244,
-0.22613966464996338,
-0.1386551707983017,
0.04340363293886185,
0.32483091950416565,
0.00400209054350853,
0.1640223115682602,
-0.021542873233556747,
-0.07965420186519623,
0.16376718878746033,
-0.14261552691459656,
-0.2257552146911621,
0.11008767783641815,
0.10990892350673676,
0.03682456538081169,
0.46385592222213745,
-0.3609946072101593,
0.24505852162837982,
-0.05064014345407486,
-0.0929013341665268,
-0.3026796877384186,
-0.45531153678894043,
-0.06508199125528336,
0.019609319046139717,
0.2633843421936035,
0.17388908565044403,
0.3530101776123047,
-0.10593929886817932,
-0.3259161114692688,
0.2694615423679352,
0.10501295328140259,
-0.033388618379831314,
0.40074458718299866,
-0.2799060642719269,
0.028529755771160126,
-0.030528461560606956,
-0.38560518622398376,
-0.49654555320739746,
-0.26608631014823914,
0.09523733705282211,
-0.0068390704691410065,
0.1661556512117386,
0.6047118902206421,
0.15911194682121277,
0.1782282590866089,
-0.26181143522262573,
0.17319901287555695,
-0.013462528586387634,
-0.13149012625217438,
0.38297247886657715,
-0.34037038683891296,
-0.23064903914928436,
-0.0014363043010234833,
-0.06658784300088882,
0.24213606119155884,
-0.3139041066169739,
-0.5207078456878662,
-0.29678380489349365,
-0.009321840479969978,
-0.2617908716201782,
-0.04419650882482529,
-0.14729367196559906,
0.12188893556594849,
-0.08313824236392975,
-0.06813812255859375,
0.26733243465423584,
-0.1342417150735855,
-0.10024934262037277,
0.08823448419570923,
0.005163826048374176,
-0.25912389159202576,
0.44759225845336914,
-0.09368042647838593,
0.780701220035553,
0.09618508815765381,
0.018838774412870407,
0.4052090346813202,
-0.016006508842110634,
0.4341350793838501,
-0.22692880034446716,
-0.4035913348197937,
0.042154282331466675,
0.35869306325912476,
-0.0929747074842453,
0.19462136924266815,
0.1108989268541336,
-0.21748915314674377,
-0.16596955060958862,
-0.2698644697666168,
-0.4062981903553009,
-0.19276542961597443,
0.2044941484928131,
0.032425180077552795,
0.04459060728549957,
0.020426087081432343,
-0.0603809580206871,
0.08298490941524506,
-0.2481529712677002,
-0.06661485135555267,
0.4942092299461365,
0.1149648055434227,
0.08630408346652985,
0.03229501470923424,
-0.3037804663181305,
-0.39019763469696045,
0.03388436138629913,
0.0017107187304645777,
0.08122623711824417,
-0.21521493792533875,
0.057691872119903564,
0.12458536773920059,
0.0010686034802347422,
0.3473900258541107,
0.09307436645030975,
-0.15015490353107452,
0.3155101537704468,
-0.3130575120449066,
-0.5068177580833435,
-0.14700213074684143,
-0.11537659168243408,
0.18615283071994781,
0.06384392082691193,
0.47901231050491333,
-0.30080053210258484,
-0.17901015281677246,
0.518431544303894,
0.028705621138215065,
-0.07325746864080429,
-0.2285497486591339,
-0.33722826838493347,
-0.3872757852077484,
-0.43332672119140625,
0.11205291748046875,
-0.20791205763816833,
0.1160893365740776,
0.07331480830907822,
-0.16982582211494446,
0.13834236562252045,
0.10191766172647476,
0.16338889300823212,
-0.09975980222225189,
0.2785460352897644,
-0.13299024105072021,
0.19960331916809082,
0.2281344085931778,
0.2923969626426697,
0.3537793457508087,
0.36761927604675293,
-0.1571994125843048,
-0.11766359210014343,
-0.009963244199752808,
0.13355322182178497,
-0.02252335101366043,
0.4273504912853241,
-0.1563071608543396,
-0.31678369641304016,
0.0756201520562172,
0.3467937707901001,
0.15007349848747253,
-0.16911141574382782,
0.4981243312358856,
-0.058879733085632324,
-0.42211413383483887,
-0.006263089366257191,
0.3730388879776001,
-0.14177291095256805,
0.20725025236606598,
0.09187853336334229,
0.0032516345381736755,
-0.03160449117422104,
0.08295772969722748,
-0.24964511394500732,
0.9348474144935608,
0.0290457084774971,
0.24360619485378265,
0.599921464920044,
0.26331180334091187,
0.211658775806427,
-0.316290020942688,
0.19465094804763794,
-0.34419864416122437,
-0.1643296331167221,
-0.019544348120689392,
-0.1975622922182083,
0.08001040667295456,
0.20805920660495758,
-0.16754373908042908,
0.3500140607357025,
-0.05018193647265434,
-0.0432966984808445,
-0.21247650682926178,
0.21277830004692078,
-0.1947495937347412,
0.0912313163280487,
-0.23914137482643127,
0.10602070391178131,
0.002801228314638138,
0.41878360509872437,
-0.3177284598350525,
-0.03077622503042221,
-0.11516610532999039,
-0.23499178886413574,
-0.04254855588078499,
0.014339011162519455,
-0.36994174122810364,
0.29661375284194946,
0.2785767912864685,
-0.21264955401420593,
-0.3221946060657501,
0.14126752316951752,
0.12128889560699463,
-0.19094783067703247,
-0.15345129370689392,
0.06552405655384064,
-0.27069246768951416,
-0.14946222305297852,
-0.12366322427988052,
0.05204124003648758,
0.38580262660980225,
-0.20161613821983337,
-0.09223554283380508,
-0.06983480602502823,
-0.1452212631702423,
-0.2897568941116333,
0.2210942506790161,
-0.05910073220729828,
0.1999625861644745,
-0.2618902027606964,
-0.29830992221832275,
-0.07489164173603058,
-0.2779405117034912,
-0.1450493186712265,
0.11579854786396027,
-0.009490728378295898,
-0.16324253380298615,
-0.044302552938461304,
-0.07023696601390839,
-0.31431299448013306,
-0.09483197331428528,
0.1749739646911621,
-0.11002513021230698,
-0.06184164062142372,
0.6461936235427856,
0.026693571358919144,
-0.3503609299659729,
-0.1812145709991455,
0.14359909296035767,
-0.10172378271818161,
-0.4620891511440277,
0.26079249382019043,
0.13796751201152802,
0.19050978124141693,
0.02451300248503685,
0.07510478049516678,
0.22253184020519257,
-0.006355971097946167,
-0.2272482067346573,
-0.4220346212387085,
-0.1887056529521942,
0.20308883488178253,
0.10649584233760834,
0.33753684163093567,
-0.0991908609867096,
0.1013696938753128,
0.2454855740070343,
-0.16078579425811768,
-0.2722638249397278,
0.1723109632730484,
-0.1976245641708374,
0.03310162201523781,
0.12332653254270554,
-0.12128772586584091,
0.6023908257484436,
0.1528308093547821,
0.16592702269554138,
-0.008632190525531769,
-0.18145453929901123,
-0.23317363858222961,
-0.05392581969499588,
0.15378761291503906,
0.20207178592681885,
-0.1400085836648941,
0.18490126729011536,
0.13432073593139648,
-0.11582551896572113,
-0.02354465425014496,
0.031228650361299515,
0.18102240562438965,
-0.0009691640734672546,
-0.1373787522315979,
0.037422411143779755,
-0.1362687051296234,
-0.05186592414975166,
0.038765281438827515,
-0.0665324330329895,
0.25402504205703735,
0.16850025951862335,
0.1101963147521019,
-0.1424623727798462,
-0.1031719297170639,
-0.2843036949634552,
-0.012407965958118439,
0.022507712244987488,
-0.043338529765605927,
0.32928621768951416,
-0.22558219730854034,
-0.14741626381874084,
-0.015306279063224792,
0.30857357382774353,
0.06390693783760071,
-0.3083704113960266,
0.09317705780267715,
0.17400819063186646,
0.1565857231616974,
-0.21766667068004608,
-0.017072947695851326,
0.22643974423408508,
-0.04048139229416847,
0.006131991744041443,
0.19188407063484192,
-0.19098491966724396,
0.0592045783996582,
0.11429603397846222,
0.15014901757240295,
0.22364775836467743,
-0.27132683992385864,
-0.010992289520800114,
0.42826253175735474,
-0.1666838377714157,
0.08207033574581146,
0.38618844747543335,
-0.08318288624286652,
0.2314913272857666,
0.4109051823616028,
-0.3030015230178833,
0.13951389491558075,
-0.3390324115753174,
0.05674482509493828,
0.17706014215946198,
-0.34236812591552734,
0.056775446981191635,
0.27079886198043823,
-0.050428032875061035,
0.06277378648519516,
-0.18564572930335999,
0.331595242023468,
-0.15131714940071106,
0.15808391571044922,
-0.37510716915130615,
0.49983200430870056,
-0.2893129587173462,
0.17279091477394104,
0.060343533754348755,
-0.18296292424201965,
-0.11214008927345276,
0.0821312665939331,
-0.04086783155798912,
-0.14884290099143982,
0.12534686923027039,
0.45934098958969116,
-0.22159789502620697,
-0.0026675835251808167,
0.24911382794380188,
0.23560965061187744,
-0.07879935950040817,
-0.2081487476825714,
0.26212894916534424,
0.5025696158409119,
-0.01621290296316147,
-0.12249650061130524,
0.6549655795097351,
0.5555664896965027,
0.2684943377971649,
0.015887930989265442,
0.3025696575641632,
0.019276101142168045,
-0.16803263127803802,
0.1025833860039711,
0.11734141409397125,
0.16468960046768188,
0.42197418212890625,
0.13540418446063995,
0.14447037875652313,
-0.26122233271598816,
0.08503006398677826,
0.06440214812755585,
0.15669497847557068,
-0.07511039078235626,
0.5024013519287109,
-0.2946590483188629,
-0.21229463815689087,
-0.3024601936340332,
-0.17198920249938965,
-0.45079565048217773,
0.2477426379919052,
0.31508123874664307,
-0.03168286383152008,
0.06800870597362518,
-0.07476767897605896,
0.05408143252134323,
-0.023621447384357452,
0.1517293006181717,
0.34060758352279663,
-0.0009295791387557983,
-0.5548705458641052,
-0.04079999402165413,
-0.5642197728157043,
0.3048742413520813,
-0.26875221729278564,
0.14067062735557556,
-0.0807121992111206,
-0.020412864163517952,
-0.21697989106178284,
0.12303423136472702,
0.22066432237625122,
0.003966161981225014,
-0.11871799826622009,
0.0199880450963974,
-0.23435334861278534,
0.11205919086933136,
0.1332818567752838,
-0.12998628616333008,
0.05189827084541321,
-0.39189526438713074,
0.06369609385728836,
-0.3433341383934021,
-0.034391529858112335,
0.14969348907470703,
-0.01162787526845932,
-0.24079778790473938,
0.31849926710128784,
0.2625724673271179,
-0.041064947843551636,
0.4454626441001892,
-0.11430833488702774,
-0.25983110070228577,
-0.0583609901368618,
-0.2245171219110489,
-0.20719845592975616,
0.021492116153240204,
0.16806145012378693,
0.6819019317626953,
-0.16195978224277496,
-0.2586808502674103,
-0.36348167061805725,
0.4325462579727173,
-0.10766121745109558,
-0.24636998772621155,
-0.06654810905456543,
0.10071446746587753,
-0.1359902024269104,
0.1650630235671997,
0.1683790385723114,
0.1788598895072937,
-0.008912794291973114,
0.10977387428283691,
-0.40745413303375244,
-0.4818340539932251,
0.6003137826919556,
-0.27378225326538086,
-0.09690116345882416,
-0.02005361020565033,
0.11888623237609863,
-0.09982801228761673,
0.011676270514726639,
-0.39606043696403503,
0.38376179337501526,
0.2735113501548767,
0.14352846145629883,
-0.12721306085586548,
0.05639246106147766,
0.10204091668128967,
0.00046207383275032043,
0.07187141478061676,
0.3017486035823822,
0.177706778049469,
-0.3659014403820038,
0.022703256458044052,
-0.21111714839935303
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | It's possible to host data on our side but we should ask the authors. TFDS has the same issue and doesn't have a solution either afaik.
Otherwise you can use the google drive link, but it it's not that convenient because of this quota issue. |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 45 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
It's possible to host data on our side but we should ask the authors. TFDS has the same issue and doesn't have a solution either afaik.
Otherwise you can use the google drive link, but it it's not that convenient because of this quota issue. | [
-0.15028652548789978,
0.013875842094421387,
0.0027155838906764984,
0.263435423374176,
0.4774577021598816,
0.05984514206647873,
0.4901820123195648,
0.3076285719871521,
-0.25105589628219604,
0.25677692890167236,
-0.32458746433258057,
-0.049481350928545,
-0.48377445340156555,
-0.19791461527347565,
0.0145919444039464,
0.0012006573379039764,
-0.1768815517425537,
0.18287134170532227,
-0.15392470359802246,
-0.0876946970820427,
-0.17271821200847626,
0.32104405760765076,
-0.0058412104845047,
0.1479862481355667,
-0.500206708908081,
-0.19758808612823486,
-0.003921752795577049,
0.5093348622322083,
-0.12717588245868683,
-0.23111332952976227,
0.25910326838493347,
-0.2564249038696289,
0.0552019402384758,
0.7316400408744812,
-0.00011711045226547867,
0.3691134452819824,
0.30564016103744507,
-0.07854676246643066,
-0.551827073097229,
-0.4986005425453186,
0.20591279864311218,
-0.21177467703819275,
0.04369010776281357,
-0.2601814866065979,
-0.12765628099441528,
0.06353678554296494,
0.11622297763824463,
0.31412339210510254,
0.39303332567214966,
0.4601138234138489,
0.2285236269235611,
0.23029707372188568,
0.28583666682243347,
0.0685349851846695,
-0.1296331286430359,
0.3916879892349243,
-0.16587316989898682,
0.5677598118782043,
-0.49660202860832214,
0.18128962814807892,
0.038944121450185776,
0.30571356415748596,
-0.19014106690883636,
-0.040189940482378006,
0.06737930327653885,
0.05204423889517784,
0.294578492641449,
-0.4586856961250305,
0.08622857928276062,
0.1943816840648651,
0.2952357232570648,
-0.31407105922698975,
-0.3520400822162628,
-0.017946824431419373,
0.12405820190906525,
-0.3361693024635315,
0.2545650005340576,
0.288533091545105,
-0.23108527064323425,
0.09864971786737442,
-0.16707682609558105,
-0.1167309433221817,
-0.3022928833961487,
0.43893009424209595,
-0.18409991264343262,
0.2932374179363251,
-0.1138126403093338,
0.04129493981599808,
0.16318313777446747,
-0.13879968225955963,
0.16395840048789978,
-0.07543468475341797,
0.337093323469162,
0.013713791966438293,
0.1517520397901535,
-0.15006092190742493,
0.02983313426375389,
-0.2463436722755432,
-0.18834584951400757,
0.14504271745681763,
-0.22048720717430115,
-0.30601754784584045,
-0.031860627233982086,
0.00745454803109169,
-0.05417465791106224,
0.09599533677101135,
-0.19662725925445557,
0.6701017022132874,
0.2965376377105713,
0.5027943849563599,
0.03201284632086754,
-0.04034110903739929,
-0.19097135961055756,
-0.20453813672065735,
-0.0870550274848938,
-0.030653350055217743,
0.6625394225120544,
-0.038356564939022064,
-0.33319640159606934,
-0.01314543653279543,
-0.41976070404052734,
0.07839195430278778,
0.3010314404964447,
0.5060917139053345,
0.0743202343583107,
-0.024589329957962036,
0.0031734779477119446,
0.15114259719848633,
-0.06566042453050613,
0.38357365131378174,
-0.26048147678375244,
0.31023573875427246,
-0.1780569702386856,
-0.0055620986968278885,
0.3036937415599823,
-0.37838369607925415,
0.22789745032787323,
-0.07823554426431656,
0.18790894746780396,
-0.1120338961482048,
0.04005680978298187,
-0.16719476878643036,
-0.015299737453460693,
0.6389673948287964,
-0.3143553137779236,
0.12217273563146591,
0.24488942325115204,
-0.08231186121702194,
-0.22423264384269714,
0.13756975531578064,
-0.1204492524266243,
-0.5571912527084351,
0.048323050141334534,
0.09993142634630203,
0.10621561110019684,
-0.06347272545099258,
0.353280246257782,
-0.3217020034790039,
0.026088401675224304,
-0.1006016731262207,
0.07673609256744385,
-0.0643339455127716,
-0.1164480596780777,
-0.1373271644115448,
0.32150498032569885,
0.5865563750267029,
-0.16767510771751404,
-0.11251465976238251,
-0.17535777390003204,
-0.13811540603637695,
0.2370169460773468,
0.40469279885292053,
-0.06725145131349564,
0.2623782753944397,
-0.28301629424095154,
-0.26678380370140076,
0.30348819494247437,
-0.33772414922714233,
-0.4008953869342804,
0.030854517593979836,
-0.21474017202854156,
0.2598995864391327,
0.052748944610357285,
0.13467593491077423,
-0.3762584924697876,
-0.0294963251799345,
0.06178765743970871,
0.1520979404449463,
-0.035730764269828796,
0.09047376364469528,
-0.2340041697025299,
-0.11872156709432602,
0.0879821628332138,
0.30397194623947144,
0.43821778893470764,
0.08941575139760971,
0.03135017305612564,
0.22269923985004425,
0.05038461089134216,
-0.24504250288009644,
-0.07191520929336548,
0.3450479507446289,
0.42852941155433655,
-0.06938032805919647,
-0.12111572176218033,
0.10797380656003952,
-0.37711164355278015,
0.022083230316638947,
-0.0822661817073822,
0.3187372386455536,
-0.24675102531909943,
0.0032256506383419037,
-0.3451867699623108,
-0.12850557267665863,
-0.27523863315582275,
-0.17923787236213684,
0.13390108942985535,
0.19037961959838867,
0.019638419151306152,
0.23821444809436798,
-0.21495455503463745,
0.264737993478775,
-0.1341637820005417,
0.3000066578388214,
-0.32818901538848877,
0.31383928656578064,
-0.24699519574642181,
-0.039505477994680405,
-0.09231207519769669,
0.40966495871543884,
0.14864154160022736,
-0.2167055904865265,
-0.06339529156684875,
0.22752925753593445,
-0.07406309992074966,
-0.05767589807510376,
0.02195727825164795,
-0.03398144245147705,
0.26576730608940125,
-0.0904393196105957,
0.1729007214307785,
0.42064395546913147,
0.013914884068071842,
0.018467895686626434,
-0.03500208258628845,
0.44687044620513916,
0.04793430119752884,
-0.05235513299703598,
0.1870313435792923,
-0.05334865301847458,
0.0944574624300003,
-0.0551234595477581,
-0.0113500552251935,
-0.047561779618263245,
0.22784432768821716,
-0.14678461849689484,
0.5949158668518066,
-0.07562345266342163,
-0.2936544418334961,
-0.4982670545578003,
-0.01729976013302803,
-0.23204393684864044,
0.11435326933860779,
0.27877044677734375,
-0.26673898100852966,
0.08416686207056046,
-0.18100987374782562,
0.18110452592372894,
0.47549986839294434,
0.05699118599295616,
-0.008504558354616165,
0.1831958144903183,
-0.10563001036643982,
-0.1482226550579071,
0.30011337995529175,
0.12281335145235062,
0.07687369734048843,
0.2936605215072632,
0.07245244085788727,
0.07033325731754303,
-0.5287973880767822,
-0.3453277051448822,
0.006152695044875145,
0.3515331745147705,
-0.37054091691970825,
-0.10189349204301834,
-0.1132584661245346,
-0.22904440760612488,
-0.03176398575305939,
-0.47008880972862244,
-0.22613966464996338,
-0.1386551707983017,
0.04340363293886185,
0.32483091950416565,
0.00400209054350853,
0.1640223115682602,
-0.021542873233556747,
-0.07965420186519623,
0.16376718878746033,
-0.14261552691459656,
-0.2257552146911621,
0.11008767783641815,
0.10990892350673676,
0.03682456538081169,
0.46385592222213745,
-0.3609946072101593,
0.24505852162837982,
-0.05064014345407486,
-0.0929013341665268,
-0.3026796877384186,
-0.45531153678894043,
-0.06508199125528336,
0.019609319046139717,
0.2633843421936035,
0.17388908565044403,
0.3530101776123047,
-0.10593929886817932,
-0.3259161114692688,
0.2694615423679352,
0.10501295328140259,
-0.033388618379831314,
0.40074458718299866,
-0.2799060642719269,
0.028529755771160126,
-0.030528461560606956,
-0.38560518622398376,
-0.49654555320739746,
-0.26608631014823914,
0.09523733705282211,
-0.0068390704691410065,
0.1661556512117386,
0.6047118902206421,
0.15911194682121277,
0.1782282590866089,
-0.26181143522262573,
0.17319901287555695,
-0.013462528586387634,
-0.13149012625217438,
0.38297247886657715,
-0.34037038683891296,
-0.23064903914928436,
-0.0014363043010234833,
-0.06658784300088882,
0.24213606119155884,
-0.3139041066169739,
-0.5207078456878662,
-0.29678380489349365,
-0.009321840479969978,
-0.2617908716201782,
-0.04419650882482529,
-0.14729367196559906,
0.12188893556594849,
-0.08313824236392975,
-0.06813812255859375,
0.26733243465423584,
-0.1342417150735855,
-0.10024934262037277,
0.08823448419570923,
0.005163826048374176,
-0.25912389159202576,
0.44759225845336914,
-0.09368042647838593,
0.780701220035553,
0.09618508815765381,
0.018838774412870407,
0.4052090346813202,
-0.016006508842110634,
0.4341350793838501,
-0.22692880034446716,
-0.4035913348197937,
0.042154282331466675,
0.35869306325912476,
-0.0929747074842453,
0.19462136924266815,
0.1108989268541336,
-0.21748915314674377,
-0.16596955060958862,
-0.2698644697666168,
-0.4062981903553009,
-0.19276542961597443,
0.2044941484928131,
0.032425180077552795,
0.04459060728549957,
0.020426087081432343,
-0.0603809580206871,
0.08298490941524506,
-0.2481529712677002,
-0.06661485135555267,
0.4942092299461365,
0.1149648055434227,
0.08630408346652985,
0.03229501470923424,
-0.3037804663181305,
-0.39019763469696045,
0.03388436138629913,
0.0017107187304645777,
0.08122623711824417,
-0.21521493792533875,
0.057691872119903564,
0.12458536773920059,
0.0010686034802347422,
0.3473900258541107,
0.09307436645030975,
-0.15015490353107452,
0.3155101537704468,
-0.3130575120449066,
-0.5068177580833435,
-0.14700213074684143,
-0.11537659168243408,
0.18615283071994781,
0.06384392082691193,
0.47901231050491333,
-0.30080053210258484,
-0.17901015281677246,
0.518431544303894,
0.028705621138215065,
-0.07325746864080429,
-0.2285497486591339,
-0.33722826838493347,
-0.3872757852077484,
-0.43332672119140625,
0.11205291748046875,
-0.20791205763816833,
0.1160893365740776,
0.07331480830907822,
-0.16982582211494446,
0.13834236562252045,
0.10191766172647476,
0.16338889300823212,
-0.09975980222225189,
0.2785460352897644,
-0.13299024105072021,
0.19960331916809082,
0.2281344085931778,
0.2923969626426697,
0.3537793457508087,
0.36761927604675293,
-0.1571994125843048,
-0.11766359210014343,
-0.009963244199752808,
0.13355322182178497,
-0.02252335101366043,
0.4273504912853241,
-0.1563071608543396,
-0.31678369641304016,
0.0756201520562172,
0.3467937707901001,
0.15007349848747253,
-0.16911141574382782,
0.4981243312358856,
-0.058879733085632324,
-0.42211413383483887,
-0.006263089366257191,
0.3730388879776001,
-0.14177291095256805,
0.20725025236606598,
0.09187853336334229,
0.0032516345381736755,
-0.03160449117422104,
0.08295772969722748,
-0.24964511394500732,
0.9348474144935608,
0.0290457084774971,
0.24360619485378265,
0.599921464920044,
0.26331180334091187,
0.211658775806427,
-0.316290020942688,
0.19465094804763794,
-0.34419864416122437,
-0.1643296331167221,
-0.019544348120689392,
-0.1975622922182083,
0.08001040667295456,
0.20805920660495758,
-0.16754373908042908,
0.3500140607357025,
-0.05018193647265434,
-0.0432966984808445,
-0.21247650682926178,
0.21277830004692078,
-0.1947495937347412,
0.0912313163280487,
-0.23914137482643127,
0.10602070391178131,
0.002801228314638138,
0.41878360509872437,
-0.3177284598350525,
-0.03077622503042221,
-0.11516610532999039,
-0.23499178886413574,
-0.04254855588078499,
0.014339011162519455,
-0.36994174122810364,
0.29661375284194946,
0.2785767912864685,
-0.21264955401420593,
-0.3221946060657501,
0.14126752316951752,
0.12128889560699463,
-0.19094783067703247,
-0.15345129370689392,
0.06552405655384064,
-0.27069246768951416,
-0.14946222305297852,
-0.12366322427988052,
0.05204124003648758,
0.38580262660980225,
-0.20161613821983337,
-0.09223554283380508,
-0.06983480602502823,
-0.1452212631702423,
-0.2897568941116333,
0.2210942506790161,
-0.05910073220729828,
0.1999625861644745,
-0.2618902027606964,
-0.29830992221832275,
-0.07489164173603058,
-0.2779405117034912,
-0.1450493186712265,
0.11579854786396027,
-0.009490728378295898,
-0.16324253380298615,
-0.044302552938461304,
-0.07023696601390839,
-0.31431299448013306,
-0.09483197331428528,
0.1749739646911621,
-0.11002513021230698,
-0.06184164062142372,
0.6461936235427856,
0.026693571358919144,
-0.3503609299659729,
-0.1812145709991455,
0.14359909296035767,
-0.10172378271818161,
-0.4620891511440277,
0.26079249382019043,
0.13796751201152802,
0.19050978124141693,
0.02451300248503685,
0.07510478049516678,
0.22253184020519257,
-0.006355971097946167,
-0.2272482067346573,
-0.4220346212387085,
-0.1887056529521942,
0.20308883488178253,
0.10649584233760834,
0.33753684163093567,
-0.0991908609867096,
0.1013696938753128,
0.2454855740070343,
-0.16078579425811768,
-0.2722638249397278,
0.1723109632730484,
-0.1976245641708374,
0.03310162201523781,
0.12332653254270554,
-0.12128772586584091,
0.6023908257484436,
0.1528308093547821,
0.16592702269554138,
-0.008632190525531769,
-0.18145453929901123,
-0.23317363858222961,
-0.05392581969499588,
0.15378761291503906,
0.20207178592681885,
-0.1400085836648941,
0.18490126729011536,
0.13432073593139648,
-0.11582551896572113,
-0.02354465425014496,
0.031228650361299515,
0.18102240562438965,
-0.0009691640734672546,
-0.1373787522315979,
0.037422411143779755,
-0.1362687051296234,
-0.05186592414975166,
0.038765281438827515,
-0.0665324330329895,
0.25402504205703735,
0.16850025951862335,
0.1101963147521019,
-0.1424623727798462,
-0.1031719297170639,
-0.2843036949634552,
-0.012407965958118439,
0.022507712244987488,
-0.043338529765605927,
0.32928621768951416,
-0.22558219730854034,
-0.14741626381874084,
-0.015306279063224792,
0.30857357382774353,
0.06390693783760071,
-0.3083704113960266,
0.09317705780267715,
0.17400819063186646,
0.1565857231616974,
-0.21766667068004608,
-0.017072947695851326,
0.22643974423408508,
-0.04048139229416847,
0.006131991744041443,
0.19188407063484192,
-0.19098491966724396,
0.0592045783996582,
0.11429603397846222,
0.15014901757240295,
0.22364775836467743,
-0.27132683992385864,
-0.010992289520800114,
0.42826253175735474,
-0.1666838377714157,
0.08207033574581146,
0.38618844747543335,
-0.08318288624286652,
0.2314913272857666,
0.4109051823616028,
-0.3030015230178833,
0.13951389491558075,
-0.3390324115753174,
0.05674482509493828,
0.17706014215946198,
-0.34236812591552734,
0.056775446981191635,
0.27079886198043823,
-0.050428032875061035,
0.06277378648519516,
-0.18564572930335999,
0.331595242023468,
-0.15131714940071106,
0.15808391571044922,
-0.37510716915130615,
0.49983200430870056,
-0.2893129587173462,
0.17279091477394104,
0.060343533754348755,
-0.18296292424201965,
-0.11214008927345276,
0.0821312665939331,
-0.04086783155798912,
-0.14884290099143982,
0.12534686923027039,
0.45934098958969116,
-0.22159789502620697,
-0.0026675835251808167,
0.24911382794380188,
0.23560965061187744,
-0.07879935950040817,
-0.2081487476825714,
0.26212894916534424,
0.5025696158409119,
-0.01621290296316147,
-0.12249650061130524,
0.6549655795097351,
0.5555664896965027,
0.2684943377971649,
0.015887930989265442,
0.3025696575641632,
0.019276101142168045,
-0.16803263127803802,
0.1025833860039711,
0.11734141409397125,
0.16468960046768188,
0.42197418212890625,
0.13540418446063995,
0.14447037875652313,
-0.26122233271598816,
0.08503006398677826,
0.06440214812755585,
0.15669497847557068,
-0.07511039078235626,
0.5024013519287109,
-0.2946590483188629,
-0.21229463815689087,
-0.3024601936340332,
-0.17198920249938965,
-0.45079565048217773,
0.2477426379919052,
0.31508123874664307,
-0.03168286383152008,
0.06800870597362518,
-0.07476767897605896,
0.05408143252134323,
-0.023621447384357452,
0.1517293006181717,
0.34060758352279663,
-0.0009295791387557983,
-0.5548705458641052,
-0.04079999402165413,
-0.5642197728157043,
0.3048742413520813,
-0.26875221729278564,
0.14067062735557556,
-0.0807121992111206,
-0.020412864163517952,
-0.21697989106178284,
0.12303423136472702,
0.22066432237625122,
0.003966161981225014,
-0.11871799826622009,
0.0199880450963974,
-0.23435334861278534,
0.11205919086933136,
0.1332818567752838,
-0.12998628616333008,
0.05189827084541321,
-0.39189526438713074,
0.06369609385728836,
-0.3433341383934021,
-0.034391529858112335,
0.14969348907470703,
-0.01162787526845932,
-0.24079778790473938,
0.31849926710128784,
0.2625724673271179,
-0.041064947843551636,
0.4454626441001892,
-0.11430833488702774,
-0.25983110070228577,
-0.0583609901368618,
-0.2245171219110489,
-0.20719845592975616,
0.021492116153240204,
0.16806145012378693,
0.6819019317626953,
-0.16195978224277496,
-0.2586808502674103,
-0.36348167061805725,
0.4325462579727173,
-0.10766121745109558,
-0.24636998772621155,
-0.06654810905456543,
0.10071446746587753,
-0.1359902024269104,
0.1650630235671997,
0.1683790385723114,
0.1788598895072937,
-0.008912794291973114,
0.10977387428283691,
-0.40745413303375244,
-0.4818340539932251,
0.6003137826919556,
-0.27378225326538086,
-0.09690116345882416,
-0.02005361020565033,
0.11888623237609863,
-0.09982801228761673,
0.011676270514726639,
-0.39606043696403503,
0.38376179337501526,
0.2735113501548767,
0.14352846145629883,
-0.12721306085586548,
0.05639246106147766,
0.10204091668128967,
0.00046207383275032043,
0.07187141478061676,
0.3017486035823822,
0.177706778049469,
-0.3659014403820038,
0.022703256458044052,
-0.21111714839935303
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | Okay. I imagine asking every author who shares their dataset on Google Drive will also be cumbersome. |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 17 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
Okay. I imagine asking every author who shares their dataset on Google Drive will also be cumbersome. | [
-0.15028652548789978,
0.013875842094421387,
0.0027155838906764984,
0.263435423374176,
0.4774577021598816,
0.05984514206647873,
0.4901820123195648,
0.3076285719871521,
-0.25105589628219604,
0.25677692890167236,
-0.32458746433258057,
-0.049481350928545,
-0.48377445340156555,
-0.19791461527347565,
0.0145919444039464,
0.0012006573379039764,
-0.1768815517425537,
0.18287134170532227,
-0.15392470359802246,
-0.0876946970820427,
-0.17271821200847626,
0.32104405760765076,
-0.0058412104845047,
0.1479862481355667,
-0.500206708908081,
-0.19758808612823486,
-0.003921752795577049,
0.5093348622322083,
-0.12717588245868683,
-0.23111332952976227,
0.25910326838493347,
-0.2564249038696289,
0.0552019402384758,
0.7316400408744812,
-0.00011711045226547867,
0.3691134452819824,
0.30564016103744507,
-0.07854676246643066,
-0.551827073097229,
-0.4986005425453186,
0.20591279864311218,
-0.21177467703819275,
0.04369010776281357,
-0.2601814866065979,
-0.12765628099441528,
0.06353678554296494,
0.11622297763824463,
0.31412339210510254,
0.39303332567214966,
0.4601138234138489,
0.2285236269235611,
0.23029707372188568,
0.28583666682243347,
0.0685349851846695,
-0.1296331286430359,
0.3916879892349243,
-0.16587316989898682,
0.5677598118782043,
-0.49660202860832214,
0.18128962814807892,
0.038944121450185776,
0.30571356415748596,
-0.19014106690883636,
-0.040189940482378006,
0.06737930327653885,
0.05204423889517784,
0.294578492641449,
-0.4586856961250305,
0.08622857928276062,
0.1943816840648651,
0.2952357232570648,
-0.31407105922698975,
-0.3520400822162628,
-0.017946824431419373,
0.12405820190906525,
-0.3361693024635315,
0.2545650005340576,
0.288533091545105,
-0.23108527064323425,
0.09864971786737442,
-0.16707682609558105,
-0.1167309433221817,
-0.3022928833961487,
0.43893009424209595,
-0.18409991264343262,
0.2932374179363251,
-0.1138126403093338,
0.04129493981599808,
0.16318313777446747,
-0.13879968225955963,
0.16395840048789978,
-0.07543468475341797,
0.337093323469162,
0.013713791966438293,
0.1517520397901535,
-0.15006092190742493,
0.02983313426375389,
-0.2463436722755432,
-0.18834584951400757,
0.14504271745681763,
-0.22048720717430115,
-0.30601754784584045,
-0.031860627233982086,
0.00745454803109169,
-0.05417465791106224,
0.09599533677101135,
-0.19662725925445557,
0.6701017022132874,
0.2965376377105713,
0.5027943849563599,
0.03201284632086754,
-0.04034110903739929,
-0.19097135961055756,
-0.20453813672065735,
-0.0870550274848938,
-0.030653350055217743,
0.6625394225120544,
-0.038356564939022064,
-0.33319640159606934,
-0.01314543653279543,
-0.41976070404052734,
0.07839195430278778,
0.3010314404964447,
0.5060917139053345,
0.0743202343583107,
-0.024589329957962036,
0.0031734779477119446,
0.15114259719848633,
-0.06566042453050613,
0.38357365131378174,
-0.26048147678375244,
0.31023573875427246,
-0.1780569702386856,
-0.0055620986968278885,
0.3036937415599823,
-0.37838369607925415,
0.22789745032787323,
-0.07823554426431656,
0.18790894746780396,
-0.1120338961482048,
0.04005680978298187,
-0.16719476878643036,
-0.015299737453460693,
0.6389673948287964,
-0.3143553137779236,
0.12217273563146591,
0.24488942325115204,
-0.08231186121702194,
-0.22423264384269714,
0.13756975531578064,
-0.1204492524266243,
-0.5571912527084351,
0.048323050141334534,
0.09993142634630203,
0.10621561110019684,
-0.06347272545099258,
0.353280246257782,
-0.3217020034790039,
0.026088401675224304,
-0.1006016731262207,
0.07673609256744385,
-0.0643339455127716,
-0.1164480596780777,
-0.1373271644115448,
0.32150498032569885,
0.5865563750267029,
-0.16767510771751404,
-0.11251465976238251,
-0.17535777390003204,
-0.13811540603637695,
0.2370169460773468,
0.40469279885292053,
-0.06725145131349564,
0.2623782753944397,
-0.28301629424095154,
-0.26678380370140076,
0.30348819494247437,
-0.33772414922714233,
-0.4008953869342804,
0.030854517593979836,
-0.21474017202854156,
0.2598995864391327,
0.052748944610357285,
0.13467593491077423,
-0.3762584924697876,
-0.0294963251799345,
0.06178765743970871,
0.1520979404449463,
-0.035730764269828796,
0.09047376364469528,
-0.2340041697025299,
-0.11872156709432602,
0.0879821628332138,
0.30397194623947144,
0.43821778893470764,
0.08941575139760971,
0.03135017305612564,
0.22269923985004425,
0.05038461089134216,
-0.24504250288009644,
-0.07191520929336548,
0.3450479507446289,
0.42852941155433655,
-0.06938032805919647,
-0.12111572176218033,
0.10797380656003952,
-0.37711164355278015,
0.022083230316638947,
-0.0822661817073822,
0.3187372386455536,
-0.24675102531909943,
0.0032256506383419037,
-0.3451867699623108,
-0.12850557267665863,
-0.27523863315582275,
-0.17923787236213684,
0.13390108942985535,
0.19037961959838867,
0.019638419151306152,
0.23821444809436798,
-0.21495455503463745,
0.264737993478775,
-0.1341637820005417,
0.3000066578388214,
-0.32818901538848877,
0.31383928656578064,
-0.24699519574642181,
-0.039505477994680405,
-0.09231207519769669,
0.40966495871543884,
0.14864154160022736,
-0.2167055904865265,
-0.06339529156684875,
0.22752925753593445,
-0.07406309992074966,
-0.05767589807510376,
0.02195727825164795,
-0.03398144245147705,
0.26576730608940125,
-0.0904393196105957,
0.1729007214307785,
0.42064395546913147,
0.013914884068071842,
0.018467895686626434,
-0.03500208258628845,
0.44687044620513916,
0.04793430119752884,
-0.05235513299703598,
0.1870313435792923,
-0.05334865301847458,
0.0944574624300003,
-0.0551234595477581,
-0.0113500552251935,
-0.047561779618263245,
0.22784432768821716,
-0.14678461849689484,
0.5949158668518066,
-0.07562345266342163,
-0.2936544418334961,
-0.4982670545578003,
-0.01729976013302803,
-0.23204393684864044,
0.11435326933860779,
0.27877044677734375,
-0.26673898100852966,
0.08416686207056046,
-0.18100987374782562,
0.18110452592372894,
0.47549986839294434,
0.05699118599295616,
-0.008504558354616165,
0.1831958144903183,
-0.10563001036643982,
-0.1482226550579071,
0.30011337995529175,
0.12281335145235062,
0.07687369734048843,
0.2936605215072632,
0.07245244085788727,
0.07033325731754303,
-0.5287973880767822,
-0.3453277051448822,
0.006152695044875145,
0.3515331745147705,
-0.37054091691970825,
-0.10189349204301834,
-0.1132584661245346,
-0.22904440760612488,
-0.03176398575305939,
-0.47008880972862244,
-0.22613966464996338,
-0.1386551707983017,
0.04340363293886185,
0.32483091950416565,
0.00400209054350853,
0.1640223115682602,
-0.021542873233556747,
-0.07965420186519623,
0.16376718878746033,
-0.14261552691459656,
-0.2257552146911621,
0.11008767783641815,
0.10990892350673676,
0.03682456538081169,
0.46385592222213745,
-0.3609946072101593,
0.24505852162837982,
-0.05064014345407486,
-0.0929013341665268,
-0.3026796877384186,
-0.45531153678894043,
-0.06508199125528336,
0.019609319046139717,
0.2633843421936035,
0.17388908565044403,
0.3530101776123047,
-0.10593929886817932,
-0.3259161114692688,
0.2694615423679352,
0.10501295328140259,
-0.033388618379831314,
0.40074458718299866,
-0.2799060642719269,
0.028529755771160126,
-0.030528461560606956,
-0.38560518622398376,
-0.49654555320739746,
-0.26608631014823914,
0.09523733705282211,
-0.0068390704691410065,
0.1661556512117386,
0.6047118902206421,
0.15911194682121277,
0.1782282590866089,
-0.26181143522262573,
0.17319901287555695,
-0.013462528586387634,
-0.13149012625217438,
0.38297247886657715,
-0.34037038683891296,
-0.23064903914928436,
-0.0014363043010234833,
-0.06658784300088882,
0.24213606119155884,
-0.3139041066169739,
-0.5207078456878662,
-0.29678380489349365,
-0.009321840479969978,
-0.2617908716201782,
-0.04419650882482529,
-0.14729367196559906,
0.12188893556594849,
-0.08313824236392975,
-0.06813812255859375,
0.26733243465423584,
-0.1342417150735855,
-0.10024934262037277,
0.08823448419570923,
0.005163826048374176,
-0.25912389159202576,
0.44759225845336914,
-0.09368042647838593,
0.780701220035553,
0.09618508815765381,
0.018838774412870407,
0.4052090346813202,
-0.016006508842110634,
0.4341350793838501,
-0.22692880034446716,
-0.4035913348197937,
0.042154282331466675,
0.35869306325912476,
-0.0929747074842453,
0.19462136924266815,
0.1108989268541336,
-0.21748915314674377,
-0.16596955060958862,
-0.2698644697666168,
-0.4062981903553009,
-0.19276542961597443,
0.2044941484928131,
0.032425180077552795,
0.04459060728549957,
0.020426087081432343,
-0.0603809580206871,
0.08298490941524506,
-0.2481529712677002,
-0.06661485135555267,
0.4942092299461365,
0.1149648055434227,
0.08630408346652985,
0.03229501470923424,
-0.3037804663181305,
-0.39019763469696045,
0.03388436138629913,
0.0017107187304645777,
0.08122623711824417,
-0.21521493792533875,
0.057691872119903564,
0.12458536773920059,
0.0010686034802347422,
0.3473900258541107,
0.09307436645030975,
-0.15015490353107452,
0.3155101537704468,
-0.3130575120449066,
-0.5068177580833435,
-0.14700213074684143,
-0.11537659168243408,
0.18615283071994781,
0.06384392082691193,
0.47901231050491333,
-0.30080053210258484,
-0.17901015281677246,
0.518431544303894,
0.028705621138215065,
-0.07325746864080429,
-0.2285497486591339,
-0.33722826838493347,
-0.3872757852077484,
-0.43332672119140625,
0.11205291748046875,
-0.20791205763816833,
0.1160893365740776,
0.07331480830907822,
-0.16982582211494446,
0.13834236562252045,
0.10191766172647476,
0.16338889300823212,
-0.09975980222225189,
0.2785460352897644,
-0.13299024105072021,
0.19960331916809082,
0.2281344085931778,
0.2923969626426697,
0.3537793457508087,
0.36761927604675293,
-0.1571994125843048,
-0.11766359210014343,
-0.009963244199752808,
0.13355322182178497,
-0.02252335101366043,
0.4273504912853241,
-0.1563071608543396,
-0.31678369641304016,
0.0756201520562172,
0.3467937707901001,
0.15007349848747253,
-0.16911141574382782,
0.4981243312358856,
-0.058879733085632324,
-0.42211413383483887,
-0.006263089366257191,
0.3730388879776001,
-0.14177291095256805,
0.20725025236606598,
0.09187853336334229,
0.0032516345381736755,
-0.03160449117422104,
0.08295772969722748,
-0.24964511394500732,
0.9348474144935608,
0.0290457084774971,
0.24360619485378265,
0.599921464920044,
0.26331180334091187,
0.211658775806427,
-0.316290020942688,
0.19465094804763794,
-0.34419864416122437,
-0.1643296331167221,
-0.019544348120689392,
-0.1975622922182083,
0.08001040667295456,
0.20805920660495758,
-0.16754373908042908,
0.3500140607357025,
-0.05018193647265434,
-0.0432966984808445,
-0.21247650682926178,
0.21277830004692078,
-0.1947495937347412,
0.0912313163280487,
-0.23914137482643127,
0.10602070391178131,
0.002801228314638138,
0.41878360509872437,
-0.3177284598350525,
-0.03077622503042221,
-0.11516610532999039,
-0.23499178886413574,
-0.04254855588078499,
0.014339011162519455,
-0.36994174122810364,
0.29661375284194946,
0.2785767912864685,
-0.21264955401420593,
-0.3221946060657501,
0.14126752316951752,
0.12128889560699463,
-0.19094783067703247,
-0.15345129370689392,
0.06552405655384064,
-0.27069246768951416,
-0.14946222305297852,
-0.12366322427988052,
0.05204124003648758,
0.38580262660980225,
-0.20161613821983337,
-0.09223554283380508,
-0.06983480602502823,
-0.1452212631702423,
-0.2897568941116333,
0.2210942506790161,
-0.05910073220729828,
0.1999625861644745,
-0.2618902027606964,
-0.29830992221832275,
-0.07489164173603058,
-0.2779405117034912,
-0.1450493186712265,
0.11579854786396027,
-0.009490728378295898,
-0.16324253380298615,
-0.044302552938461304,
-0.07023696601390839,
-0.31431299448013306,
-0.09483197331428528,
0.1749739646911621,
-0.11002513021230698,
-0.06184164062142372,
0.6461936235427856,
0.026693571358919144,
-0.3503609299659729,
-0.1812145709991455,
0.14359909296035767,
-0.10172378271818161,
-0.4620891511440277,
0.26079249382019043,
0.13796751201152802,
0.19050978124141693,
0.02451300248503685,
0.07510478049516678,
0.22253184020519257,
-0.006355971097946167,
-0.2272482067346573,
-0.4220346212387085,
-0.1887056529521942,
0.20308883488178253,
0.10649584233760834,
0.33753684163093567,
-0.0991908609867096,
0.1013696938753128,
0.2454855740070343,
-0.16078579425811768,
-0.2722638249397278,
0.1723109632730484,
-0.1976245641708374,
0.03310162201523781,
0.12332653254270554,
-0.12128772586584091,
0.6023908257484436,
0.1528308093547821,
0.16592702269554138,
-0.008632190525531769,
-0.18145453929901123,
-0.23317363858222961,
-0.05392581969499588,
0.15378761291503906,
0.20207178592681885,
-0.1400085836648941,
0.18490126729011536,
0.13432073593139648,
-0.11582551896572113,
-0.02354465425014496,
0.031228650361299515,
0.18102240562438965,
-0.0009691640734672546,
-0.1373787522315979,
0.037422411143779755,
-0.1362687051296234,
-0.05186592414975166,
0.038765281438827515,
-0.0665324330329895,
0.25402504205703735,
0.16850025951862335,
0.1101963147521019,
-0.1424623727798462,
-0.1031719297170639,
-0.2843036949634552,
-0.012407965958118439,
0.022507712244987488,
-0.043338529765605927,
0.32928621768951416,
-0.22558219730854034,
-0.14741626381874084,
-0.015306279063224792,
0.30857357382774353,
0.06390693783760071,
-0.3083704113960266,
0.09317705780267715,
0.17400819063186646,
0.1565857231616974,
-0.21766667068004608,
-0.017072947695851326,
0.22643974423408508,
-0.04048139229416847,
0.006131991744041443,
0.19188407063484192,
-0.19098491966724396,
0.0592045783996582,
0.11429603397846222,
0.15014901757240295,
0.22364775836467743,
-0.27132683992385864,
-0.010992289520800114,
0.42826253175735474,
-0.1666838377714157,
0.08207033574581146,
0.38618844747543335,
-0.08318288624286652,
0.2314913272857666,
0.4109051823616028,
-0.3030015230178833,
0.13951389491558075,
-0.3390324115753174,
0.05674482509493828,
0.17706014215946198,
-0.34236812591552734,
0.056775446981191635,
0.27079886198043823,
-0.050428032875061035,
0.06277378648519516,
-0.18564572930335999,
0.331595242023468,
-0.15131714940071106,
0.15808391571044922,
-0.37510716915130615,
0.49983200430870056,
-0.2893129587173462,
0.17279091477394104,
0.060343533754348755,
-0.18296292424201965,
-0.11214008927345276,
0.0821312665939331,
-0.04086783155798912,
-0.14884290099143982,
0.12534686923027039,
0.45934098958969116,
-0.22159789502620697,
-0.0026675835251808167,
0.24911382794380188,
0.23560965061187744,
-0.07879935950040817,
-0.2081487476825714,
0.26212894916534424,
0.5025696158409119,
-0.01621290296316147,
-0.12249650061130524,
0.6549655795097351,
0.5555664896965027,
0.2684943377971649,
0.015887930989265442,
0.3025696575641632,
0.019276101142168045,
-0.16803263127803802,
0.1025833860039711,
0.11734141409397125,
0.16468960046768188,
0.42197418212890625,
0.13540418446063995,
0.14447037875652313,
-0.26122233271598816,
0.08503006398677826,
0.06440214812755585,
0.15669497847557068,
-0.07511039078235626,
0.5024013519287109,
-0.2946590483188629,
-0.21229463815689087,
-0.3024601936340332,
-0.17198920249938965,
-0.45079565048217773,
0.2477426379919052,
0.31508123874664307,
-0.03168286383152008,
0.06800870597362518,
-0.07476767897605896,
0.05408143252134323,
-0.023621447384357452,
0.1517293006181717,
0.34060758352279663,
-0.0009295791387557983,
-0.5548705458641052,
-0.04079999402165413,
-0.5642197728157043,
0.3048742413520813,
-0.26875221729278564,
0.14067062735557556,
-0.0807121992111206,
-0.020412864163517952,
-0.21697989106178284,
0.12303423136472702,
0.22066432237625122,
0.003966161981225014,
-0.11871799826622009,
0.0199880450963974,
-0.23435334861278534,
0.11205919086933136,
0.1332818567752838,
-0.12998628616333008,
0.05189827084541321,
-0.39189526438713074,
0.06369609385728836,
-0.3433341383934021,
-0.034391529858112335,
0.14969348907470703,
-0.01162787526845932,
-0.24079778790473938,
0.31849926710128784,
0.2625724673271179,
-0.041064947843551636,
0.4454626441001892,
-0.11430833488702774,
-0.25983110070228577,
-0.0583609901368618,
-0.2245171219110489,
-0.20719845592975616,
0.021492116153240204,
0.16806145012378693,
0.6819019317626953,
-0.16195978224277496,
-0.2586808502674103,
-0.36348167061805725,
0.4325462579727173,
-0.10766121745109558,
-0.24636998772621155,
-0.06654810905456543,
0.10071446746587753,
-0.1359902024269104,
0.1650630235671997,
0.1683790385723114,
0.1788598895072937,
-0.008912794291973114,
0.10977387428283691,
-0.40745413303375244,
-0.4818340539932251,
0.6003137826919556,
-0.27378225326538086,
-0.09690116345882416,
-0.02005361020565033,
0.11888623237609863,
-0.09982801228761673,
0.011676270514726639,
-0.39606043696403503,
0.38376179337501526,
0.2735113501548767,
0.14352846145629883,
-0.12721306085586548,
0.05639246106147766,
0.10204091668128967,
0.00046207383275032043,
0.07187141478061676,
0.3017486035823822,
0.177706778049469,
-0.3659014403820038,
0.022703256458044052,
-0.21111714839935303
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | Not as long as the data is stored on GG drive unfortunately.
Maybe we can ask if there's a mirror ?
Hi @JafferWilson is there a download link to get cnn dailymail from another host than GG drive ?
To give you some context, this library provides tools to download and process datasets. For CNN DailyMail the data are downloaded from the link you provide on your github repository. Unfortunately because of GG drive quotas, many users are not able to load this dataset. |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 84 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
Not as long as the data is stored on GG drive unfortunately.
Maybe we can ask if there's a mirror ?
Hi @JafferWilson is there a download link to get cnn dailymail from another host than GG drive ?
To give you some context, this library provides tools to download and process datasets. For CNN DailyMail the data are downloaded from the link you provide on your github repository. Unfortunately because of GG drive quotas, many users are not able to load this dataset. | [
-0.15028652548789978,
0.013875842094421387,
0.0027155838906764984,
0.263435423374176,
0.4774577021598816,
0.05984514206647873,
0.4901820123195648,
0.3076285719871521,
-0.25105589628219604,
0.25677692890167236,
-0.32458746433258057,
-0.049481350928545,
-0.48377445340156555,
-0.19791461527347565,
0.0145919444039464,
0.0012006573379039764,
-0.1768815517425537,
0.18287134170532227,
-0.15392470359802246,
-0.0876946970820427,
-0.17271821200847626,
0.32104405760765076,
-0.0058412104845047,
0.1479862481355667,
-0.500206708908081,
-0.19758808612823486,
-0.003921752795577049,
0.5093348622322083,
-0.12717588245868683,
-0.23111332952976227,
0.25910326838493347,
-0.2564249038696289,
0.0552019402384758,
0.7316400408744812,
-0.00011711045226547867,
0.3691134452819824,
0.30564016103744507,
-0.07854676246643066,
-0.551827073097229,
-0.4986005425453186,
0.20591279864311218,
-0.21177467703819275,
0.04369010776281357,
-0.2601814866065979,
-0.12765628099441528,
0.06353678554296494,
0.11622297763824463,
0.31412339210510254,
0.39303332567214966,
0.4601138234138489,
0.2285236269235611,
0.23029707372188568,
0.28583666682243347,
0.0685349851846695,
-0.1296331286430359,
0.3916879892349243,
-0.16587316989898682,
0.5677598118782043,
-0.49660202860832214,
0.18128962814807892,
0.038944121450185776,
0.30571356415748596,
-0.19014106690883636,
-0.040189940482378006,
0.06737930327653885,
0.05204423889517784,
0.294578492641449,
-0.4586856961250305,
0.08622857928276062,
0.1943816840648651,
0.2952357232570648,
-0.31407105922698975,
-0.3520400822162628,
-0.017946824431419373,
0.12405820190906525,
-0.3361693024635315,
0.2545650005340576,
0.288533091545105,
-0.23108527064323425,
0.09864971786737442,
-0.16707682609558105,
-0.1167309433221817,
-0.3022928833961487,
0.43893009424209595,
-0.18409991264343262,
0.2932374179363251,
-0.1138126403093338,
0.04129493981599808,
0.16318313777446747,
-0.13879968225955963,
0.16395840048789978,
-0.07543468475341797,
0.337093323469162,
0.013713791966438293,
0.1517520397901535,
-0.15006092190742493,
0.02983313426375389,
-0.2463436722755432,
-0.18834584951400757,
0.14504271745681763,
-0.22048720717430115,
-0.30601754784584045,
-0.031860627233982086,
0.00745454803109169,
-0.05417465791106224,
0.09599533677101135,
-0.19662725925445557,
0.6701017022132874,
0.2965376377105713,
0.5027943849563599,
0.03201284632086754,
-0.04034110903739929,
-0.19097135961055756,
-0.20453813672065735,
-0.0870550274848938,
-0.030653350055217743,
0.6625394225120544,
-0.038356564939022064,
-0.33319640159606934,
-0.01314543653279543,
-0.41976070404052734,
0.07839195430278778,
0.3010314404964447,
0.5060917139053345,
0.0743202343583107,
-0.024589329957962036,
0.0031734779477119446,
0.15114259719848633,
-0.06566042453050613,
0.38357365131378174,
-0.26048147678375244,
0.31023573875427246,
-0.1780569702386856,
-0.0055620986968278885,
0.3036937415599823,
-0.37838369607925415,
0.22789745032787323,
-0.07823554426431656,
0.18790894746780396,
-0.1120338961482048,
0.04005680978298187,
-0.16719476878643036,
-0.015299737453460693,
0.6389673948287964,
-0.3143553137779236,
0.12217273563146591,
0.24488942325115204,
-0.08231186121702194,
-0.22423264384269714,
0.13756975531578064,
-0.1204492524266243,
-0.5571912527084351,
0.048323050141334534,
0.09993142634630203,
0.10621561110019684,
-0.06347272545099258,
0.353280246257782,
-0.3217020034790039,
0.026088401675224304,
-0.1006016731262207,
0.07673609256744385,
-0.0643339455127716,
-0.1164480596780777,
-0.1373271644115448,
0.32150498032569885,
0.5865563750267029,
-0.16767510771751404,
-0.11251465976238251,
-0.17535777390003204,
-0.13811540603637695,
0.2370169460773468,
0.40469279885292053,
-0.06725145131349564,
0.2623782753944397,
-0.28301629424095154,
-0.26678380370140076,
0.30348819494247437,
-0.33772414922714233,
-0.4008953869342804,
0.030854517593979836,
-0.21474017202854156,
0.2598995864391327,
0.052748944610357285,
0.13467593491077423,
-0.3762584924697876,
-0.0294963251799345,
0.06178765743970871,
0.1520979404449463,
-0.035730764269828796,
0.09047376364469528,
-0.2340041697025299,
-0.11872156709432602,
0.0879821628332138,
0.30397194623947144,
0.43821778893470764,
0.08941575139760971,
0.03135017305612564,
0.22269923985004425,
0.05038461089134216,
-0.24504250288009644,
-0.07191520929336548,
0.3450479507446289,
0.42852941155433655,
-0.06938032805919647,
-0.12111572176218033,
0.10797380656003952,
-0.37711164355278015,
0.022083230316638947,
-0.0822661817073822,
0.3187372386455536,
-0.24675102531909943,
0.0032256506383419037,
-0.3451867699623108,
-0.12850557267665863,
-0.27523863315582275,
-0.17923787236213684,
0.13390108942985535,
0.19037961959838867,
0.019638419151306152,
0.23821444809436798,
-0.21495455503463745,
0.264737993478775,
-0.1341637820005417,
0.3000066578388214,
-0.32818901538848877,
0.31383928656578064,
-0.24699519574642181,
-0.039505477994680405,
-0.09231207519769669,
0.40966495871543884,
0.14864154160022736,
-0.2167055904865265,
-0.06339529156684875,
0.22752925753593445,
-0.07406309992074966,
-0.05767589807510376,
0.02195727825164795,
-0.03398144245147705,
0.26576730608940125,
-0.0904393196105957,
0.1729007214307785,
0.42064395546913147,
0.013914884068071842,
0.018467895686626434,
-0.03500208258628845,
0.44687044620513916,
0.04793430119752884,
-0.05235513299703598,
0.1870313435792923,
-0.05334865301847458,
0.0944574624300003,
-0.0551234595477581,
-0.0113500552251935,
-0.047561779618263245,
0.22784432768821716,
-0.14678461849689484,
0.5949158668518066,
-0.07562345266342163,
-0.2936544418334961,
-0.4982670545578003,
-0.01729976013302803,
-0.23204393684864044,
0.11435326933860779,
0.27877044677734375,
-0.26673898100852966,
0.08416686207056046,
-0.18100987374782562,
0.18110452592372894,
0.47549986839294434,
0.05699118599295616,
-0.008504558354616165,
0.1831958144903183,
-0.10563001036643982,
-0.1482226550579071,
0.30011337995529175,
0.12281335145235062,
0.07687369734048843,
0.2936605215072632,
0.07245244085788727,
0.07033325731754303,
-0.5287973880767822,
-0.3453277051448822,
0.006152695044875145,
0.3515331745147705,
-0.37054091691970825,
-0.10189349204301834,
-0.1132584661245346,
-0.22904440760612488,
-0.03176398575305939,
-0.47008880972862244,
-0.22613966464996338,
-0.1386551707983017,
0.04340363293886185,
0.32483091950416565,
0.00400209054350853,
0.1640223115682602,
-0.021542873233556747,
-0.07965420186519623,
0.16376718878746033,
-0.14261552691459656,
-0.2257552146911621,
0.11008767783641815,
0.10990892350673676,
0.03682456538081169,
0.46385592222213745,
-0.3609946072101593,
0.24505852162837982,
-0.05064014345407486,
-0.0929013341665268,
-0.3026796877384186,
-0.45531153678894043,
-0.06508199125528336,
0.019609319046139717,
0.2633843421936035,
0.17388908565044403,
0.3530101776123047,
-0.10593929886817932,
-0.3259161114692688,
0.2694615423679352,
0.10501295328140259,
-0.033388618379831314,
0.40074458718299866,
-0.2799060642719269,
0.028529755771160126,
-0.030528461560606956,
-0.38560518622398376,
-0.49654555320739746,
-0.26608631014823914,
0.09523733705282211,
-0.0068390704691410065,
0.1661556512117386,
0.6047118902206421,
0.15911194682121277,
0.1782282590866089,
-0.26181143522262573,
0.17319901287555695,
-0.013462528586387634,
-0.13149012625217438,
0.38297247886657715,
-0.34037038683891296,
-0.23064903914928436,
-0.0014363043010234833,
-0.06658784300088882,
0.24213606119155884,
-0.3139041066169739,
-0.5207078456878662,
-0.29678380489349365,
-0.009321840479969978,
-0.2617908716201782,
-0.04419650882482529,
-0.14729367196559906,
0.12188893556594849,
-0.08313824236392975,
-0.06813812255859375,
0.26733243465423584,
-0.1342417150735855,
-0.10024934262037277,
0.08823448419570923,
0.005163826048374176,
-0.25912389159202576,
0.44759225845336914,
-0.09368042647838593,
0.780701220035553,
0.09618508815765381,
0.018838774412870407,
0.4052090346813202,
-0.016006508842110634,
0.4341350793838501,
-0.22692880034446716,
-0.4035913348197937,
0.042154282331466675,
0.35869306325912476,
-0.0929747074842453,
0.19462136924266815,
0.1108989268541336,
-0.21748915314674377,
-0.16596955060958862,
-0.2698644697666168,
-0.4062981903553009,
-0.19276542961597443,
0.2044941484928131,
0.032425180077552795,
0.04459060728549957,
0.020426087081432343,
-0.0603809580206871,
0.08298490941524506,
-0.2481529712677002,
-0.06661485135555267,
0.4942092299461365,
0.1149648055434227,
0.08630408346652985,
0.03229501470923424,
-0.3037804663181305,
-0.39019763469696045,
0.03388436138629913,
0.0017107187304645777,
0.08122623711824417,
-0.21521493792533875,
0.057691872119903564,
0.12458536773920059,
0.0010686034802347422,
0.3473900258541107,
0.09307436645030975,
-0.15015490353107452,
0.3155101537704468,
-0.3130575120449066,
-0.5068177580833435,
-0.14700213074684143,
-0.11537659168243408,
0.18615283071994781,
0.06384392082691193,
0.47901231050491333,
-0.30080053210258484,
-0.17901015281677246,
0.518431544303894,
0.028705621138215065,
-0.07325746864080429,
-0.2285497486591339,
-0.33722826838493347,
-0.3872757852077484,
-0.43332672119140625,
0.11205291748046875,
-0.20791205763816833,
0.1160893365740776,
0.07331480830907822,
-0.16982582211494446,
0.13834236562252045,
0.10191766172647476,
0.16338889300823212,
-0.09975980222225189,
0.2785460352897644,
-0.13299024105072021,
0.19960331916809082,
0.2281344085931778,
0.2923969626426697,
0.3537793457508087,
0.36761927604675293,
-0.1571994125843048,
-0.11766359210014343,
-0.009963244199752808,
0.13355322182178497,
-0.02252335101366043,
0.4273504912853241,
-0.1563071608543396,
-0.31678369641304016,
0.0756201520562172,
0.3467937707901001,
0.15007349848747253,
-0.16911141574382782,
0.4981243312358856,
-0.058879733085632324,
-0.42211413383483887,
-0.006263089366257191,
0.3730388879776001,
-0.14177291095256805,
0.20725025236606598,
0.09187853336334229,
0.0032516345381736755,
-0.03160449117422104,
0.08295772969722748,
-0.24964511394500732,
0.9348474144935608,
0.0290457084774971,
0.24360619485378265,
0.599921464920044,
0.26331180334091187,
0.211658775806427,
-0.316290020942688,
0.19465094804763794,
-0.34419864416122437,
-0.1643296331167221,
-0.019544348120689392,
-0.1975622922182083,
0.08001040667295456,
0.20805920660495758,
-0.16754373908042908,
0.3500140607357025,
-0.05018193647265434,
-0.0432966984808445,
-0.21247650682926178,
0.21277830004692078,
-0.1947495937347412,
0.0912313163280487,
-0.23914137482643127,
0.10602070391178131,
0.002801228314638138,
0.41878360509872437,
-0.3177284598350525,
-0.03077622503042221,
-0.11516610532999039,
-0.23499178886413574,
-0.04254855588078499,
0.014339011162519455,
-0.36994174122810364,
0.29661375284194946,
0.2785767912864685,
-0.21264955401420593,
-0.3221946060657501,
0.14126752316951752,
0.12128889560699463,
-0.19094783067703247,
-0.15345129370689392,
0.06552405655384064,
-0.27069246768951416,
-0.14946222305297852,
-0.12366322427988052,
0.05204124003648758,
0.38580262660980225,
-0.20161613821983337,
-0.09223554283380508,
-0.06983480602502823,
-0.1452212631702423,
-0.2897568941116333,
0.2210942506790161,
-0.05910073220729828,
0.1999625861644745,
-0.2618902027606964,
-0.29830992221832275,
-0.07489164173603058,
-0.2779405117034912,
-0.1450493186712265,
0.11579854786396027,
-0.009490728378295898,
-0.16324253380298615,
-0.044302552938461304,
-0.07023696601390839,
-0.31431299448013306,
-0.09483197331428528,
0.1749739646911621,
-0.11002513021230698,
-0.06184164062142372,
0.6461936235427856,
0.026693571358919144,
-0.3503609299659729,
-0.1812145709991455,
0.14359909296035767,
-0.10172378271818161,
-0.4620891511440277,
0.26079249382019043,
0.13796751201152802,
0.19050978124141693,
0.02451300248503685,
0.07510478049516678,
0.22253184020519257,
-0.006355971097946167,
-0.2272482067346573,
-0.4220346212387085,
-0.1887056529521942,
0.20308883488178253,
0.10649584233760834,
0.33753684163093567,
-0.0991908609867096,
0.1013696938753128,
0.2454855740070343,
-0.16078579425811768,
-0.2722638249397278,
0.1723109632730484,
-0.1976245641708374,
0.03310162201523781,
0.12332653254270554,
-0.12128772586584091,
0.6023908257484436,
0.1528308093547821,
0.16592702269554138,
-0.008632190525531769,
-0.18145453929901123,
-0.23317363858222961,
-0.05392581969499588,
0.15378761291503906,
0.20207178592681885,
-0.1400085836648941,
0.18490126729011536,
0.13432073593139648,
-0.11582551896572113,
-0.02354465425014496,
0.031228650361299515,
0.18102240562438965,
-0.0009691640734672546,
-0.1373787522315979,
0.037422411143779755,
-0.1362687051296234,
-0.05186592414975166,
0.038765281438827515,
-0.0665324330329895,
0.25402504205703735,
0.16850025951862335,
0.1101963147521019,
-0.1424623727798462,
-0.1031719297170639,
-0.2843036949634552,
-0.012407965958118439,
0.022507712244987488,
-0.043338529765605927,
0.32928621768951416,
-0.22558219730854034,
-0.14741626381874084,
-0.015306279063224792,
0.30857357382774353,
0.06390693783760071,
-0.3083704113960266,
0.09317705780267715,
0.17400819063186646,
0.1565857231616974,
-0.21766667068004608,
-0.017072947695851326,
0.22643974423408508,
-0.04048139229416847,
0.006131991744041443,
0.19188407063484192,
-0.19098491966724396,
0.0592045783996582,
0.11429603397846222,
0.15014901757240295,
0.22364775836467743,
-0.27132683992385864,
-0.010992289520800114,
0.42826253175735474,
-0.1666838377714157,
0.08207033574581146,
0.38618844747543335,
-0.08318288624286652,
0.2314913272857666,
0.4109051823616028,
-0.3030015230178833,
0.13951389491558075,
-0.3390324115753174,
0.05674482509493828,
0.17706014215946198,
-0.34236812591552734,
0.056775446981191635,
0.27079886198043823,
-0.050428032875061035,
0.06277378648519516,
-0.18564572930335999,
0.331595242023468,
-0.15131714940071106,
0.15808391571044922,
-0.37510716915130615,
0.49983200430870056,
-0.2893129587173462,
0.17279091477394104,
0.060343533754348755,
-0.18296292424201965,
-0.11214008927345276,
0.0821312665939331,
-0.04086783155798912,
-0.14884290099143982,
0.12534686923027039,
0.45934098958969116,
-0.22159789502620697,
-0.0026675835251808167,
0.24911382794380188,
0.23560965061187744,
-0.07879935950040817,
-0.2081487476825714,
0.26212894916534424,
0.5025696158409119,
-0.01621290296316147,
-0.12249650061130524,
0.6549655795097351,
0.5555664896965027,
0.2684943377971649,
0.015887930989265442,
0.3025696575641632,
0.019276101142168045,
-0.16803263127803802,
0.1025833860039711,
0.11734141409397125,
0.16468960046768188,
0.42197418212890625,
0.13540418446063995,
0.14447037875652313,
-0.26122233271598816,
0.08503006398677826,
0.06440214812755585,
0.15669497847557068,
-0.07511039078235626,
0.5024013519287109,
-0.2946590483188629,
-0.21229463815689087,
-0.3024601936340332,
-0.17198920249938965,
-0.45079565048217773,
0.2477426379919052,
0.31508123874664307,
-0.03168286383152008,
0.06800870597362518,
-0.07476767897605896,
0.05408143252134323,
-0.023621447384357452,
0.1517293006181717,
0.34060758352279663,
-0.0009295791387557983,
-0.5548705458641052,
-0.04079999402165413,
-0.5642197728157043,
0.3048742413520813,
-0.26875221729278564,
0.14067062735557556,
-0.0807121992111206,
-0.020412864163517952,
-0.21697989106178284,
0.12303423136472702,
0.22066432237625122,
0.003966161981225014,
-0.11871799826622009,
0.0199880450963974,
-0.23435334861278534,
0.11205919086933136,
0.1332818567752838,
-0.12998628616333008,
0.05189827084541321,
-0.39189526438713074,
0.06369609385728836,
-0.3433341383934021,
-0.034391529858112335,
0.14969348907470703,
-0.01162787526845932,
-0.24079778790473938,
0.31849926710128784,
0.2625724673271179,
-0.041064947843551636,
0.4454626441001892,
-0.11430833488702774,
-0.25983110070228577,
-0.0583609901368618,
-0.2245171219110489,
-0.20719845592975616,
0.021492116153240204,
0.16806145012378693,
0.6819019317626953,
-0.16195978224277496,
-0.2586808502674103,
-0.36348167061805725,
0.4325462579727173,
-0.10766121745109558,
-0.24636998772621155,
-0.06654810905456543,
0.10071446746587753,
-0.1359902024269104,
0.1650630235671997,
0.1683790385723114,
0.1788598895072937,
-0.008912794291973114,
0.10977387428283691,
-0.40745413303375244,
-0.4818340539932251,
0.6003137826919556,
-0.27378225326538086,
-0.09690116345882416,
-0.02005361020565033,
0.11888623237609863,
-0.09982801228761673,
0.011676270514726639,
-0.39606043696403503,
0.38376179337501526,
0.2735113501548767,
0.14352846145629883,
-0.12721306085586548,
0.05639246106147766,
0.10204091668128967,
0.00046207383275032043,
0.07187141478061676,
0.3017486035823822,
0.177706778049469,
-0.3659014403820038,
0.022703256458044052,
-0.21111714839935303
] |
https://github.com/huggingface/datasets/issues/996 | NotADirectoryError while loading the CNN/Dailymail dataset | Thanks for the link @mrazizi !
Apparently the original authors don't host the dataset themselves ("for legal reasons", source [here](https://github.com/abisee/cnn-dailymail/issues/9)). |
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories' | 20 | NotADirectoryError while loading the CNN/Dailymail dataset
Downloading and preparing dataset cnn_dailymail/3.0.0 (download: 558.32 MiB, generated: 1.28 GiB, post-processed: Unknown size, total: 1.82 GiB) to /root/.cache/huggingface/datasets/cnn_dailymail/3.0.0/3.0.0/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602...
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
<ipython-input-9-cd4bf8bea840> in <module>()
22
23
---> 24 train = load_dataset('cnn_dailymail', '3.0.0', split='train')
25 validation = load_dataset('cnn_dailymail', '3.0.0', split='validation')
26 test = load_dataset('cnn_dailymail', '3.0.0', split='test')
5 frames
/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/0128610a44e10f25b4af6689441c72af86205282d26399642f7db38fa7535602/cnn_dailymail.py in _find_files(dl_paths, publisher, url_dict)
132 else:
133 logging.fatal("Unsupported publisher: %s", publisher)
--> 134 files = sorted(os.listdir(top_dir))
135
136 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
Thanks for the link @mrazizi !
Apparently the original authors don't host the dataset themselves ("for legal reasons", source [here](https://github.com/abisee/cnn-dailymail/issues/9)). | [
-0.15028652548789978,
0.013875842094421387,
0.0027155838906764984,
0.263435423374176,
0.4774577021598816,
0.05984514206647873,
0.4901820123195648,
0.3076285719871521,
-0.25105589628219604,
0.25677692890167236,
-0.32458746433258057,
-0.049481350928545,
-0.48377445340156555,
-0.19791461527347565,
0.0145919444039464,
0.0012006573379039764,
-0.1768815517425537,
0.18287134170532227,
-0.15392470359802246,
-0.0876946970820427,
-0.17271821200847626,
0.32104405760765076,
-0.0058412104845047,
0.1479862481355667,
-0.500206708908081,
-0.19758808612823486,
-0.003921752795577049,
0.5093348622322083,
-0.12717588245868683,
-0.23111332952976227,
0.25910326838493347,
-0.2564249038696289,
0.0552019402384758,
0.7316400408744812,
-0.00011711045226547867,
0.3691134452819824,
0.30564016103744507,
-0.07854676246643066,
-0.551827073097229,
-0.4986005425453186,
0.20591279864311218,
-0.21177467703819275,
0.04369010776281357,
-0.2601814866065979,
-0.12765628099441528,
0.06353678554296494,
0.11622297763824463,
0.31412339210510254,
0.39303332567214966,
0.4601138234138489,
0.2285236269235611,
0.23029707372188568,
0.28583666682243347,
0.0685349851846695,
-0.1296331286430359,
0.3916879892349243,
-0.16587316989898682,
0.5677598118782043,
-0.49660202860832214,
0.18128962814807892,
0.038944121450185776,
0.30571356415748596,
-0.19014106690883636,
-0.040189940482378006,
0.06737930327653885,
0.05204423889517784,
0.294578492641449,
-0.4586856961250305,
0.08622857928276062,
0.1943816840648651,
0.2952357232570648,
-0.31407105922698975,
-0.3520400822162628,
-0.017946824431419373,
0.12405820190906525,
-0.3361693024635315,
0.2545650005340576,
0.288533091545105,
-0.23108527064323425,
0.09864971786737442,
-0.16707682609558105,
-0.1167309433221817,
-0.3022928833961487,
0.43893009424209595,
-0.18409991264343262,
0.2932374179363251,
-0.1138126403093338,
0.04129493981599808,
0.16318313777446747,
-0.13879968225955963,
0.16395840048789978,
-0.07543468475341797,
0.337093323469162,
0.013713791966438293,
0.1517520397901535,
-0.15006092190742493,
0.02983313426375389,
-0.2463436722755432,
-0.18834584951400757,
0.14504271745681763,
-0.22048720717430115,
-0.30601754784584045,
-0.031860627233982086,
0.00745454803109169,
-0.05417465791106224,
0.09599533677101135,
-0.19662725925445557,
0.6701017022132874,
0.2965376377105713,
0.5027943849563599,
0.03201284632086754,
-0.04034110903739929,
-0.19097135961055756,
-0.20453813672065735,
-0.0870550274848938,
-0.030653350055217743,
0.6625394225120544,
-0.038356564939022064,
-0.33319640159606934,
-0.01314543653279543,
-0.41976070404052734,
0.07839195430278778,
0.3010314404964447,
0.5060917139053345,
0.0743202343583107,
-0.024589329957962036,
0.0031734779477119446,
0.15114259719848633,
-0.06566042453050613,
0.38357365131378174,
-0.26048147678375244,
0.31023573875427246,
-0.1780569702386856,
-0.0055620986968278885,
0.3036937415599823,
-0.37838369607925415,
0.22789745032787323,
-0.07823554426431656,
0.18790894746780396,
-0.1120338961482048,
0.04005680978298187,
-0.16719476878643036,
-0.015299737453460693,
0.6389673948287964,
-0.3143553137779236,
0.12217273563146591,
0.24488942325115204,
-0.08231186121702194,
-0.22423264384269714,
0.13756975531578064,
-0.1204492524266243,
-0.5571912527084351,
0.048323050141334534,
0.09993142634630203,
0.10621561110019684,
-0.06347272545099258,
0.353280246257782,
-0.3217020034790039,
0.026088401675224304,
-0.1006016731262207,
0.07673609256744385,
-0.0643339455127716,
-0.1164480596780777,
-0.1373271644115448,
0.32150498032569885,
0.5865563750267029,
-0.16767510771751404,
-0.11251465976238251,
-0.17535777390003204,
-0.13811540603637695,
0.2370169460773468,
0.40469279885292053,
-0.06725145131349564,
0.2623782753944397,
-0.28301629424095154,
-0.26678380370140076,
0.30348819494247437,
-0.33772414922714233,
-0.4008953869342804,
0.030854517593979836,
-0.21474017202854156,
0.2598995864391327,
0.052748944610357285,
0.13467593491077423,
-0.3762584924697876,
-0.0294963251799345,
0.06178765743970871,
0.1520979404449463,
-0.035730764269828796,
0.09047376364469528,
-0.2340041697025299,
-0.11872156709432602,
0.0879821628332138,
0.30397194623947144,
0.43821778893470764,
0.08941575139760971,
0.03135017305612564,
0.22269923985004425,
0.05038461089134216,
-0.24504250288009644,
-0.07191520929336548,
0.3450479507446289,
0.42852941155433655,
-0.06938032805919647,
-0.12111572176218033,
0.10797380656003952,
-0.37711164355278015,
0.022083230316638947,
-0.0822661817073822,
0.3187372386455536,
-0.24675102531909943,
0.0032256506383419037,
-0.3451867699623108,
-0.12850557267665863,
-0.27523863315582275,
-0.17923787236213684,
0.13390108942985535,
0.19037961959838867,
0.019638419151306152,
0.23821444809436798,
-0.21495455503463745,
0.264737993478775,
-0.1341637820005417,
0.3000066578388214,
-0.32818901538848877,
0.31383928656578064,
-0.24699519574642181,
-0.039505477994680405,
-0.09231207519769669,
0.40966495871543884,
0.14864154160022736,
-0.2167055904865265,
-0.06339529156684875,
0.22752925753593445,
-0.07406309992074966,
-0.05767589807510376,
0.02195727825164795,
-0.03398144245147705,
0.26576730608940125,
-0.0904393196105957,
0.1729007214307785,
0.42064395546913147,
0.013914884068071842,
0.018467895686626434,
-0.03500208258628845,
0.44687044620513916,
0.04793430119752884,
-0.05235513299703598,
0.1870313435792923,
-0.05334865301847458,
0.0944574624300003,
-0.0551234595477581,
-0.0113500552251935,
-0.047561779618263245,
0.22784432768821716,
-0.14678461849689484,
0.5949158668518066,
-0.07562345266342163,
-0.2936544418334961,
-0.4982670545578003,
-0.01729976013302803,
-0.23204393684864044,
0.11435326933860779,
0.27877044677734375,
-0.26673898100852966,
0.08416686207056046,
-0.18100987374782562,
0.18110452592372894,
0.47549986839294434,
0.05699118599295616,
-0.008504558354616165,
0.1831958144903183,
-0.10563001036643982,
-0.1482226550579071,
0.30011337995529175,
0.12281335145235062,
0.07687369734048843,
0.2936605215072632,
0.07245244085788727,
0.07033325731754303,
-0.5287973880767822,
-0.3453277051448822,
0.006152695044875145,
0.3515331745147705,
-0.37054091691970825,
-0.10189349204301834,
-0.1132584661245346,
-0.22904440760612488,
-0.03176398575305939,
-0.47008880972862244,
-0.22613966464996338,
-0.1386551707983017,
0.04340363293886185,
0.32483091950416565,
0.00400209054350853,
0.1640223115682602,
-0.021542873233556747,
-0.07965420186519623,
0.16376718878746033,
-0.14261552691459656,
-0.2257552146911621,
0.11008767783641815,
0.10990892350673676,
0.03682456538081169,
0.46385592222213745,
-0.3609946072101593,
0.24505852162837982,
-0.05064014345407486,
-0.0929013341665268,
-0.3026796877384186,
-0.45531153678894043,
-0.06508199125528336,
0.019609319046139717,
0.2633843421936035,
0.17388908565044403,
0.3530101776123047,
-0.10593929886817932,
-0.3259161114692688,
0.2694615423679352,
0.10501295328140259,
-0.033388618379831314,
0.40074458718299866,
-0.2799060642719269,
0.028529755771160126,
-0.030528461560606956,
-0.38560518622398376,
-0.49654555320739746,
-0.26608631014823914,
0.09523733705282211,
-0.0068390704691410065,
0.1661556512117386,
0.6047118902206421,
0.15911194682121277,
0.1782282590866089,
-0.26181143522262573,
0.17319901287555695,
-0.013462528586387634,
-0.13149012625217438,
0.38297247886657715,
-0.34037038683891296,
-0.23064903914928436,
-0.0014363043010234833,
-0.06658784300088882,
0.24213606119155884,
-0.3139041066169739,
-0.5207078456878662,
-0.29678380489349365,
-0.009321840479969978,
-0.2617908716201782,
-0.04419650882482529,
-0.14729367196559906,
0.12188893556594849,
-0.08313824236392975,
-0.06813812255859375,
0.26733243465423584,
-0.1342417150735855,
-0.10024934262037277,
0.08823448419570923,
0.005163826048374176,
-0.25912389159202576,
0.44759225845336914,
-0.09368042647838593,
0.780701220035553,
0.09618508815765381,
0.018838774412870407,
0.4052090346813202,
-0.016006508842110634,
0.4341350793838501,
-0.22692880034446716,
-0.4035913348197937,
0.042154282331466675,
0.35869306325912476,
-0.0929747074842453,
0.19462136924266815,
0.1108989268541336,
-0.21748915314674377,
-0.16596955060958862,
-0.2698644697666168,
-0.4062981903553009,
-0.19276542961597443,
0.2044941484928131,
0.032425180077552795,
0.04459060728549957,
0.020426087081432343,
-0.0603809580206871,
0.08298490941524506,
-0.2481529712677002,
-0.06661485135555267,
0.4942092299461365,
0.1149648055434227,
0.08630408346652985,
0.03229501470923424,
-0.3037804663181305,
-0.39019763469696045,
0.03388436138629913,
0.0017107187304645777,
0.08122623711824417,
-0.21521493792533875,
0.057691872119903564,
0.12458536773920059,
0.0010686034802347422,
0.3473900258541107,
0.09307436645030975,
-0.15015490353107452,
0.3155101537704468,
-0.3130575120449066,
-0.5068177580833435,
-0.14700213074684143,
-0.11537659168243408,
0.18615283071994781,
0.06384392082691193,
0.47901231050491333,
-0.30080053210258484,
-0.17901015281677246,
0.518431544303894,
0.028705621138215065,
-0.07325746864080429,
-0.2285497486591339,
-0.33722826838493347,
-0.3872757852077484,
-0.43332672119140625,
0.11205291748046875,
-0.20791205763816833,
0.1160893365740776,
0.07331480830907822,
-0.16982582211494446,
0.13834236562252045,
0.10191766172647476,
0.16338889300823212,
-0.09975980222225189,
0.2785460352897644,
-0.13299024105072021,
0.19960331916809082,
0.2281344085931778,
0.2923969626426697,
0.3537793457508087,
0.36761927604675293,
-0.1571994125843048,
-0.11766359210014343,
-0.009963244199752808,
0.13355322182178497,
-0.02252335101366043,
0.4273504912853241,
-0.1563071608543396,
-0.31678369641304016,
0.0756201520562172,
0.3467937707901001,
0.15007349848747253,
-0.16911141574382782,
0.4981243312358856,
-0.058879733085632324,
-0.42211413383483887,
-0.006263089366257191,
0.3730388879776001,
-0.14177291095256805,
0.20725025236606598,
0.09187853336334229,
0.0032516345381736755,
-0.03160449117422104,
0.08295772969722748,
-0.24964511394500732,
0.9348474144935608,
0.0290457084774971,
0.24360619485378265,
0.599921464920044,
0.26331180334091187,
0.211658775806427,
-0.316290020942688,
0.19465094804763794,
-0.34419864416122437,
-0.1643296331167221,
-0.019544348120689392,
-0.1975622922182083,
0.08001040667295456,
0.20805920660495758,
-0.16754373908042908,
0.3500140607357025,
-0.05018193647265434,
-0.0432966984808445,
-0.21247650682926178,
0.21277830004692078,
-0.1947495937347412,
0.0912313163280487,
-0.23914137482643127,
0.10602070391178131,
0.002801228314638138,
0.41878360509872437,
-0.3177284598350525,
-0.03077622503042221,
-0.11516610532999039,
-0.23499178886413574,
-0.04254855588078499,
0.014339011162519455,
-0.36994174122810364,
0.29661375284194946,
0.2785767912864685,
-0.21264955401420593,
-0.3221946060657501,
0.14126752316951752,
0.12128889560699463,
-0.19094783067703247,
-0.15345129370689392,
0.06552405655384064,
-0.27069246768951416,
-0.14946222305297852,
-0.12366322427988052,
0.05204124003648758,
0.38580262660980225,
-0.20161613821983337,
-0.09223554283380508,
-0.06983480602502823,
-0.1452212631702423,
-0.2897568941116333,
0.2210942506790161,
-0.05910073220729828,
0.1999625861644745,
-0.2618902027606964,
-0.29830992221832275,
-0.07489164173603058,
-0.2779405117034912,
-0.1450493186712265,
0.11579854786396027,
-0.009490728378295898,
-0.16324253380298615,
-0.044302552938461304,
-0.07023696601390839,
-0.31431299448013306,
-0.09483197331428528,
0.1749739646911621,
-0.11002513021230698,
-0.06184164062142372,
0.6461936235427856,
0.026693571358919144,
-0.3503609299659729,
-0.1812145709991455,
0.14359909296035767,
-0.10172378271818161,
-0.4620891511440277,
0.26079249382019043,
0.13796751201152802,
0.19050978124141693,
0.02451300248503685,
0.07510478049516678,
0.22253184020519257,
-0.006355971097946167,
-0.2272482067346573,
-0.4220346212387085,
-0.1887056529521942,
0.20308883488178253,
0.10649584233760834,
0.33753684163093567,
-0.0991908609867096,
0.1013696938753128,
0.2454855740070343,
-0.16078579425811768,
-0.2722638249397278,
0.1723109632730484,
-0.1976245641708374,
0.03310162201523781,
0.12332653254270554,
-0.12128772586584091,
0.6023908257484436,
0.1528308093547821,
0.16592702269554138,
-0.008632190525531769,
-0.18145453929901123,
-0.23317363858222961,
-0.05392581969499588,
0.15378761291503906,
0.20207178592681885,
-0.1400085836648941,
0.18490126729011536,
0.13432073593139648,
-0.11582551896572113,
-0.02354465425014496,
0.031228650361299515,
0.18102240562438965,
-0.0009691640734672546,
-0.1373787522315979,
0.037422411143779755,
-0.1362687051296234,
-0.05186592414975166,
0.038765281438827515,
-0.0665324330329895,
0.25402504205703735,
0.16850025951862335,
0.1101963147521019,
-0.1424623727798462,
-0.1031719297170639,
-0.2843036949634552,
-0.012407965958118439,
0.022507712244987488,
-0.043338529765605927,
0.32928621768951416,
-0.22558219730854034,
-0.14741626381874084,
-0.015306279063224792,
0.30857357382774353,
0.06390693783760071,
-0.3083704113960266,
0.09317705780267715,
0.17400819063186646,
0.1565857231616974,
-0.21766667068004608,
-0.017072947695851326,
0.22643974423408508,
-0.04048139229416847,
0.006131991744041443,
0.19188407063484192,
-0.19098491966724396,
0.0592045783996582,
0.11429603397846222,
0.15014901757240295,
0.22364775836467743,
-0.27132683992385864,
-0.010992289520800114,
0.42826253175735474,
-0.1666838377714157,
0.08207033574581146,
0.38618844747543335,
-0.08318288624286652,
0.2314913272857666,
0.4109051823616028,
-0.3030015230178833,
0.13951389491558075,
-0.3390324115753174,
0.05674482509493828,
0.17706014215946198,
-0.34236812591552734,
0.056775446981191635,
0.27079886198043823,
-0.050428032875061035,
0.06277378648519516,
-0.18564572930335999,
0.331595242023468,
-0.15131714940071106,
0.15808391571044922,
-0.37510716915130615,
0.49983200430870056,
-0.2893129587173462,
0.17279091477394104,
0.060343533754348755,
-0.18296292424201965,
-0.11214008927345276,
0.0821312665939331,
-0.04086783155798912,
-0.14884290099143982,
0.12534686923027039,
0.45934098958969116,
-0.22159789502620697,
-0.0026675835251808167,
0.24911382794380188,
0.23560965061187744,
-0.07879935950040817,
-0.2081487476825714,
0.26212894916534424,
0.5025696158409119,
-0.01621290296316147,
-0.12249650061130524,
0.6549655795097351,
0.5555664896965027,
0.2684943377971649,
0.015887930989265442,
0.3025696575641632,
0.019276101142168045,
-0.16803263127803802,
0.1025833860039711,
0.11734141409397125,
0.16468960046768188,
0.42197418212890625,
0.13540418446063995,
0.14447037875652313,
-0.26122233271598816,
0.08503006398677826,
0.06440214812755585,
0.15669497847557068,
-0.07511039078235626,
0.5024013519287109,
-0.2946590483188629,
-0.21229463815689087,
-0.3024601936340332,
-0.17198920249938965,
-0.45079565048217773,
0.2477426379919052,
0.31508123874664307,
-0.03168286383152008,
0.06800870597362518,
-0.07476767897605896,
0.05408143252134323,
-0.023621447384357452,
0.1517293006181717,
0.34060758352279663,
-0.0009295791387557983,
-0.5548705458641052,
-0.04079999402165413,
-0.5642197728157043,
0.3048742413520813,
-0.26875221729278564,
0.14067062735557556,
-0.0807121992111206,
-0.020412864163517952,
-0.21697989106178284,
0.12303423136472702,
0.22066432237625122,
0.003966161981225014,
-0.11871799826622009,
0.0199880450963974,
-0.23435334861278534,
0.11205919086933136,
0.1332818567752838,
-0.12998628616333008,
0.05189827084541321,
-0.39189526438713074,
0.06369609385728836,
-0.3433341383934021,
-0.034391529858112335,
0.14969348907470703,
-0.01162787526845932,
-0.24079778790473938,
0.31849926710128784,
0.2625724673271179,
-0.041064947843551636,
0.4454626441001892,
-0.11430833488702774,
-0.25983110070228577,
-0.0583609901368618,
-0.2245171219110489,
-0.20719845592975616,
0.021492116153240204,
0.16806145012378693,
0.6819019317626953,
-0.16195978224277496,
-0.2586808502674103,
-0.36348167061805725,
0.4325462579727173,
-0.10766121745109558,
-0.24636998772621155,
-0.06654810905456543,
0.10071446746587753,
-0.1359902024269104,
0.1650630235671997,
0.1683790385723114,
0.1788598895072937,
-0.008912794291973114,
0.10977387428283691,
-0.40745413303375244,
-0.4818340539932251,
0.6003137826919556,
-0.27378225326538086,
-0.09690116345882416,
-0.02005361020565033,
0.11888623237609863,
-0.09982801228761673,
0.011676270514726639,
-0.39606043696403503,
0.38376179337501526,
0.2735113501548767,
0.14352846145629883,
-0.12721306085586548,
0.05639246106147766,
0.10204091668128967,
0.00046207383275032043,
0.07187141478061676,
0.3017486035823822,
0.177706778049469,
-0.3659014403820038,
0.022703256458044052,
-0.21111714839935303
] |
https://github.com/huggingface/datasets/issues/993 | Problem downloading amazon_reviews_multi | Hi @hfawaz ! This is working fine for me. Is it a repeated occurence? Have you tried from the latest verion? | Thanks for adding the dataset.
After trying to load the dataset, I am getting the following error:
`ConnectionError: Couldn't reach https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json
`
I used the following code to load the dataset:
`load_dataset(
dataset_name,
"all_languages",
cache_dir=".data"
)`
I am using version 1.1.3 of `datasets`
Note that I can perform a successfull `wget https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json` | 21 | Problem downloading amazon_reviews_multi
Thanks for adding the dataset.
After trying to load the dataset, I am getting the following error:
`ConnectionError: Couldn't reach https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json
`
I used the following code to load the dataset:
`load_dataset(
dataset_name,
"all_languages",
cache_dir=".data"
)`
I am using version 1.1.3 of `datasets`
Note that I can perform a successfull `wget https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json`
Hi @hfawaz ! This is working fine for me. Is it a repeated occurence? Have you tried from the latest verion? | [
-0.3760584592819214,
-0.06871728599071503,
-0.1512160748243332,
0.3995554447174072,
0.22182926535606384,
0.08718287199735641,
0.2271227240562439,
0.0012166015803813934,
-0.19542574882507324,
-0.17005358636379242,
-0.13868200778961182,
0.06047075614333153,
0.17079757153987885,
0.03327402472496033,
0.0018721548840403557,
0.0242814589291811,
0.08777590095996857,
-0.15178850293159485,
-0.08534200489521027,
0.024763740599155426,
-0.16520699858665466,
0.16786357760429382,
-0.18114647269248962,
-0.0880340188741684,
-0.2276555597782135,
-0.04587854444980621,
-0.06340806931257248,
-0.08766918629407883,
-0.32026031613349915,
-0.3831090033054352,
0.4728876054286957,
0.23837825655937195,
0.26481348276138306,
0.3811824321746826,
-0.00011746234667953104,
-0.15357017517089844,
0.3675585985183716,
-0.1078285202383995,
-0.28081855177879333,
-0.6039902567863464,
-0.3533784747123718,
-0.23919153213500977,
0.28025108575820923,
0.028772428631782532,
0.08320140838623047,
-0.06873321533203125,
-0.03264043480157852,
-0.21188752353191376,
0.12217338383197784,
0.25530844926834106,
0.18513032793998718,
0.1339333951473236,
0.45233362913131714,
-0.043427418917417526,
0.2750200033187866,
-0.15693941712379456,
-0.033523641526699066,
0.39680084586143494,
0.09098801761865616,
-0.03593108430504799,
0.22793042659759521,
0.14167462289333344,
0.07978329062461853,
0.31724777817726135,
0.12992393970489502,
-0.04475002363324165,
0.22637414932250977,
-0.11340473592281342,
0.09108796715736389,
0.4223780930042267,
1.050627589225769,
-0.10850232094526291,
-0.507800817489624,
0.20455747842788696,
0.1587759554386139,
-0.03878535330295563,
0.15760952234268188,
0.28740307688713074,
-0.1353875994682312,
-0.13319231569766998,
-0.4298516809940338,
-0.32064738869667053,
-0.28864187002182007,
0.5616415739059448,
-0.045189738273620605,
0.3056502342224121,
-0.07405304163694382,
0.221613347530365,
0.31264403462409973,
-0.06573307514190674,
0.5485726594924927,
-0.08521665632724762,
-0.09372971951961517,
0.20876666903495789,
-0.806789219379425,
0.005674466490745544,
-0.22367295622825623,
-0.1762271523475647,
0.043495699763298035,
0.31282323598861694,
0.08406537771224976,
0.06219245865941048,
-0.02828337252140045,
0.2298109531402588,
0.44124892354011536,
-0.1112852692604065,
-0.00733388215303421,
0.3001629114151001,
0.04723469540476799,
0.4499185085296631,
0.10580426454544067,
-0.10617608577013016,
-0.22398236393928528,
-0.21367354691028595,
0.05204911157488823,
0.09402721375226974,
0.02558242529630661,
-0.28950971364974976,
-0.32053470611572266,
0.04110559821128845,
-0.5326038002967834,
-0.16661523282527924,
0.05061556398868561,
0.2480788230895996,
-0.23946082592010498,
0.25316867232322693,
-0.043429914861917496,
0.36177486181259155,
-0.082992322742939,
0.07463763654232025,
-0.11234407126903534,
0.08656914532184601,
-0.17768217623233795,
-0.06143464893102646,
0.24009697139263153,
0.131320521235466,
0.25720757246017456,
-0.17726892232894897,
0.07691895216703415,
-0.30006033182144165,
0.11209045350551605,
-0.12900935113430023,
-0.24092400074005127,
0.29023072123527527,
0.3096737563610077,
0.16133540868759155,
0.035542700439691544,
0.05973498523235321,
0.05661185830831528,
0.03931929171085358,
-0.09576155990362167,
-0.15346774458885193,
-0.16573527455329895,
0.14857199788093567,
-0.22563479840755463,
-0.27166983485221863,
-0.24973610043525696,
-0.09445630013942719,
0.04494219273328781,
-0.14316129684448242,
-0.16639989614486694,
-0.06884990632534027,
0.12884646654129028,
-0.08777493238449097,
0.14450477063655853,
0.33047351241111755,
-0.33810028433799744,
0.02939477562904358,
-0.49097925424575806,
-0.14686892926692963,
0.04229651018977165,
0.33418288826942444,
-0.32596948742866516,
-0.036379799246788025,
-0.17740444839000702,
-0.028306763619184494,
0.3972613513469696,
-0.23586712777614594,
-0.39170265197753906,
0.5111751556396484,
-0.2891080975532532,
-0.11568915843963623,
-0.025505639612674713,
0.21738660335540771,
-0.1142750158905983,
0.1892288327217102,
-0.031779780983924866,
0.29843389987945557,
-0.031901925802230835,
-0.14593183994293213,
-0.0540253221988678,
-0.20053395628929138,
0.25047972798347473,
0.30994942784309387,
0.14785081148147583,
-0.028883889317512512,
0.19802096486091614,
0.18826249241828918,
0.3265377879142761,
0.21432745456695557,
0.08559960871934891,
0.3521367907524109,
0.3539777100086212,
0.04810531064867973,
0.011034101247787476,
-0.07139196991920471,
-0.5713797807693481,
0.017205238342285156,
-0.09729250520467758,
-0.16982302069664001,
-0.13617679476737976,
-0.05818302556872368,
-0.2476276159286499,
-0.054458729922771454,
-0.20910505950450897,
0.1748751848936081,
0.05316517502069473,
0.15194469690322876,
-0.039000239223241806,
-0.046789173036813736,
-0.03799042850732803,
0.18536266684532166,
0.09513455629348755,
0.14756378531455994,
-0.26209747791290283,
0.22049580514431,
-0.191163569688797,
0.15275083482265472,
0.27531132102012634,
-0.10270864516496658,
0.21272701025009155,
-0.13343758881092072,
-0.0645935907959938,
0.3175312876701355,
0.010113440454006195,
0.16070029139518738,
0.2440333366394043,
0.12580694258213043,
-0.053119562566280365,
-0.1045055091381073,
0.015293462201952934,
0.2590872049331665,
0.24284237623214722,
-0.0996166318655014,
-0.25617629289627075,
0.1772405058145523,
0.1053445041179657,
0.2681099474430084,
0.021270886063575745,
0.09909229725599289,
0.2801520824432373,
0.02815847471356392,
-0.004136324860155582,
-0.01672418788075447,
0.3990074098110199,
-0.04668856039643288,
-0.14358395338058472,
-0.3875212073326111,
-0.05789882317185402,
0.009158797562122345,
0.11397913098335266,
-0.09755343198776245,
0.15034452080726624,
0.1097804456949234,
0.010089442133903503,
-0.22664880752563477,
-0.01373283751308918,
0.4280409514904022,
0.4721236228942871,
0.010100801475346088,
0.21517759561538696,
0.059532925486564636,
0.0701395571231842,
-0.16092659533023834,
0.16940048336982727,
0.09596515446901321,
0.30514591932296753,
0.34434810280799866,
-0.055800408124923706,
-0.05317973718047142,
-0.05022595822811127,
-0.15835162997245789,
0.3277200758457184,
0.2827935516834259,
-0.250895619392395,
0.12283066660165787,
-0.48242655396461487,
-0.09010724723339081,
-0.2425745725631714,
-0.1869424730539322,
-0.3196107745170593,
-0.3992127478122711,
-0.2374679297208786,
0.33067572116851807,
0.13389314711093903,
-0.04169120639562607,
0.008459709584712982,
-0.09543333947658539,
0.1509999930858612,
-0.037251077592372894,
0.09515120089054108,
-0.2162165492773056,
-0.28996458649635315,
0.10058951377868652,
0.2935492992401123,
-0.10918311774730682,
0.12745966017246246,
0.08311539143323898,
0.1468358337879181,
-0.3079127073287964,
-0.12693525850772858,
-0.15080378949642181,
0.1781180202960968,
0.13120287656784058,
0.23168249428272247,
0.3100515604019165,
-0.12248383462429047,
0.03568928316235542,
0.078206866979599,
0.11186230182647705,
0.0035305991768836975,
0.1255413144826889,
-0.06809840351343155,
-0.17546941339969635,
0.2824946939945221,
-0.5468956232070923,
-0.19608017802238464,
-0.18287955224514008,
0.16897261142730713,
-0.25963863730430603,
0.019116193056106567,
-0.4372476041316986,
0.09346196055412292,
0.13190296292304993,
-0.12454435229301453,
0.08401985466480255,
-0.2682674527168274,
-0.2069098949432373,
0.28228244185447693,
-0.07793035358190536,
-0.35673147439956665,
0.3560468852519989,
0.27304601669311523,
0.20376284420490265,
0.11540579795837402,
-0.7272120118141174,
0.09162500500679016,
0.234418123960495,
-0.26980072259902954,
0.15536203980445862,
0.01541370339691639,
0.1727866530418396,
-0.23225313425064087,
-0.05336862802505493,
0.1976912021636963,
-0.06298672407865524,
-0.16054785251617432,
0.11742613464593887,
0.7222899198532104,
-0.18946826457977295,
0.2288447916507721,
0.11398296058177948,
0.37512969970703125,
0.26651906967163086,
-0.02886379137635231,
0.22196319699287415,
0.16637609899044037,
0.10956761240959167,
0.21336808800697327,
-0.26734864711761475,
0.04393136501312256,
-0.34538817405700684,
0.2778540849685669,
-0.011874392628669739,
-0.1510617733001709,
-0.5303325653076172,
-0.34662818908691406,
0.050110768526792526,
-0.20432519912719727,
-0.1051558256149292,
0.02152833342552185,
-0.4200635254383087,
0.07860836386680603,
0.14025872945785522,
-0.11438538879156113,
0.2780180871486664,
-0.26657286286354065,
-0.1785023808479309,
0.35255110263824463,
-0.08719975501298904,
0.035936884582042694,
-0.42601096630096436,
-0.1308295726776123,
-0.010448232293128967,
0.3563354015350342,
-0.11793240159749985,
0.7267030477523804,
-0.13337109982967377,
0.24891817569732666,
0.19510167837142944,
-0.23011842370033264,
0.7335610389709473,
-0.5869747400283813,
-0.004865370690822601,
0.06234334036707878,
0.09153105318546295,
-0.4636370539665222,
-0.17522551119327545,
-0.2895456850528717,
0.42966386675834656,
0.12510278820991516,
0.22946524620056152,
-0.2945985496044159,
0.05136512219905853,
0.1915203332901001,
0.059660039842128754,
-0.11920058727264404,
-0.421490877866745,
-0.2599733769893646,
-0.1756550669670105,
-0.30729690194129944,
-0.03931938856840134,
-0.29510298371315,
0.39257490634918213,
-0.07861355692148209,
-0.03911547735333443,
0.10793522000312805,
0.06299719214439392,
-0.1717071682214737,
-0.16951343417167664,
-0.10700761526823044,
0.08133837580680847,
0.173344224691391,
0.1802348643541336,
0.011370278894901276,
0.3162173330783844,
0.7589713931083679,
0.06941299885511398,
-0.5596140027046204,
0.25909656286239624,
-0.16555555164813995,
0.12008146941661835,
0.11971057951450348,
0.18496838212013245,
0.12551233172416687,
0.37260204553604126,
0.010775275528430939,
0.21025994420051575,
-0.02183145470917225,
0.38530489802360535,
0.03381657972931862,
-0.1196131706237793,
-0.3037390410900116,
0.28697898983955383,
-0.24141918122768402,
0.04760657250881195,
0.01151030883193016,
-0.27787917852401733,
0.0368819423019886,
-0.1208554059267044,
0.11041709780693054,
0.9052506685256958,
0.11356672644615173,
0.09968329221010208,
-0.11989226192235947,
-0.2967720031738281,
0.2970973551273346,
-0.5791088342666626,
0.04382983222603798,
-0.33691635727882385,
0.0016262782737612724,
-0.18060219287872314,
-0.14376147091388702,
0.13781392574310303,
0.3396260738372803,
0.006051149219274521,
0.32566481828689575,
-0.00571151077747345,
0.043152544647455215,
0.13996253907680511,
0.33012109994888306,
-0.10411551594734192,
-0.024580545723438263,
0.0014008544385433197,
0.11847741901874542,
-0.22409804165363312,
0.28517237305641174,
-0.20167142152786255,
0.0011586295440793037,
0.00767599418759346,
-0.27244219183921814,
-0.5300315618515015,
0.10215277224779129,
-0.20453988015651703,
0.31612664461135864,
-0.006250981241464615,
-0.3018479347229004,
0.18498772382736206,
0.260018527507782,
-0.09080308675765991,
0.12873528897762299,
-0.21650533378124237,
0.12221024930477142,
-0.055515043437480927,
-0.27060016989707947,
-0.02413768321275711,
-0.21593520045280457,
0.007990805432200432,
-0.18199211359024048,
-0.5971636772155762,
0.21542364358901978,
0.19209416210651398,
-0.17895275354385376,
0.1722552478313446,
0.13594411313533783,
-0.3334880471229553,
-0.13715609908103943,
-0.1769362986087799,
0.12740114331245422,
0.0828847736120224,
-0.09774322807788849,
0.08534274995326996,
0.23607441782951355,
-0.3618892729282379,
0.16973668336868286,
0.2105913609266281,
0.04920855164527893,
-0.06436485052108765,
0.8636327981948853,
0.0286197979003191,
-0.27751630544662476,
0.16237327456474304,
0.4344792366027832,
-0.2526562213897705,
-0.36457139253616333,
0.1376473307609558,
0.12071561813354492,
-0.4923096299171448,
-0.171773299574852,
-0.13361337780952454,
0.29524970054626465,
0.03569341450929642,
-0.01590869203209877,
0.2574010491371155,
0.13990932703018188,
0.17121809720993042,
-0.7608025670051575,
0.21172158420085907,
0.11544100195169449,
-0.05057360604405403,
0.18190918862819672,
-0.17168301343917847,
-0.4116683006286621,
0.21838167309761047,
0.23900283873081207,
-0.23212233185768127,
0.1472902148962021,
-0.4260750114917755,
0.029189063236117363,
0.01297720242291689,
-0.18173646926879883,
0.19440005719661713,
0.04416840896010399,
0.07444727420806885,
-0.04115862399339676,
-0.24276283383369446,
-0.1290091574192047,
0.030349239706993103,
0.14013685286045074,
0.14930450916290283,
-0.1141730323433876,
0.04543337598443031,
-0.35043537616729736,
-0.2139594405889511,
0.3077472746372223,
0.10348892211914062,
-0.10745134949684143,
-0.004476100206375122,
0.15524671971797943,
0.05915011838078499,
-0.1350938379764557,
-0.35124313831329346,
0.01800955832004547,
-0.05785118043422699,
0.19344918429851532,
0.16993625462055206,
0.12263457477092743,
0.420425683259964,
0.004474371671676636,
-0.27426576614379883,
-0.09706111997365952,
-0.081032395362854,
0.01941724121570587,
0.5168265700340271,
-0.38007038831710815,
0.16933134198188782,
-0.06733402609825134,
0.48525866866111755,
0.5259007215499878,
-0.26822957396507263,
0.07956789433956146,
0.3408377468585968,
0.18288248777389526,
-0.30473265051841736,
-0.49777090549468994,
-0.022014141082763672,
0.11466195434331894,
-0.16910602152347565,
-0.08144138008356094,
0.026734966784715652,
-0.14085587859153748,
0.21976760029792786,
0.14669808745384216,
0.3943867087364197,
-0.10001002252101898,
0.24133150279521942,
0.12689410150051117,
-0.2257247418165207,
0.10067577660083771,
0.22714902460575104,
0.14262597262859344,
-0.12091092020273209,
0.285517156124115,
-0.07667966932058334,
0.06141001731157303,
0.09159474819898605,
0.3873986005783081,
-0.010857738554477692,
-0.3694128096103668,
0.157772958278656,
0.10907883942127228,
-0.11538234353065491,
0.0297025628387928,
-0.04531833529472351,
0.21333029866218567,
-0.10241398215293884,
0.1619335114955902,
-0.5594280958175659,
0.012212812900543213,
-0.05852094292640686,
-0.13315485417842865,
-0.24224913120269775,
-0.20240430533885956,
-0.27627551555633545,
0.024744048714637756,
-0.060790885239839554,
-0.27639055252075195,
0.1711340993642807,
0.20964105427265167,
0.051668815314769745,
-0.5944127440452576,
-0.0524073988199234,
0.08737680315971375,
-0.06019806116819382,
-0.34647586941719055,
0.10100987553596497,
0.33041316270828247,
0.03367951139807701,
0.0459684319794178,
0.019122660160064697,
0.3294523358345032,
0.17322276532649994,
-0.1279519647359848,
0.17715494334697723,
-0.008338458836078644,
-0.07679161429405212,
0.18250367045402527,
0.2080484926700592,
0.5027751922607422,
-0.10099922120571136,
0.42426207661628723,
0.049720399081707,
-0.07881492376327515,
0.7516389489173889,
0.13918010890483856,
0.25340983271598816,
-0.19067038595676422,
0.2152339518070221,
-0.22708967328071594,
0.03919082134962082,
-0.3854590654373169,
0.16722027957439423,
-0.6156353950500488,
-0.08623331040143967,
0.3548779785633087,
-0.15624995529651642,
0.09310175478458405,
-0.2295362502336502,
0.030177567154169083,
-0.07981164753437042,
0.8588133454322815,
0.2599475085735321,
0.1833547055721283,
-0.27826032042503357,
-0.0734049528837204,
-0.431887149810791,
0.13923567533493042,
-0.22415584325790405,
0.12233665585517883,
0.08391696214675903,
0.3067053258419037,
-0.12993022799491882,
0.41817063093185425,
0.08488006144762039,
0.09868506342172623,
-0.09586178511381149,
0.6857904195785522,
-0.29250043630599976,
-0.2643134891986847,
0.2988101541996002,
0.21862202882766724,
-0.03711140900850296,
-0.14556090533733368,
0.16342505812644958,
-0.15920443832874298,
-0.09467276185750961,
-0.2772413492202759,
-0.2932484745979309,
0.08701829612255096,
0.0460379458963871,
0.14969879388809204,
-0.06148085743188858,
0.6655398607254028,
0.054940588772296906,
-0.15328818559646606,
-0.3392356336116791,
-0.16134920716285706,
-0.05911184102296829,
0.28464218974113464,
0.3584502935409546,
0.4268786311149597,
-0.10819482058286667,
0.16891758143901825,
-0.1911165416240692,
-0.0041977409273386,
-0.16859851777553558,
-0.021892767399549484,
0.004928678274154663,
-0.19399414956569672,
0.1501346230506897,
0.009386039339005947,
0.13314789533615112,
-0.06414829194545746,
0.02853318117558956,
-0.07436025887727737,
-0.1731964349746704,
-0.1396242082118988,
0.2915416359901428,
0.13997496664524078,
-0.02434665709733963,
-0.19011430442333221,
0.23264843225479126,
-0.1780025064945221,
0.012232008390128613,
-0.48939216136932373,
0.38146477937698364,
0.4427547752857208,
0.03133218735456467,
-0.2681514024734497,
0.29023268818855286,
-0.07313670217990875,
-0.009024180471897125,
-0.059196848422288895,
0.20349374413490295,
-0.03587087243795395,
-0.28795748949050903,
-0.16221816837787628,
-0.25760239362716675
] |
https://github.com/huggingface/datasets/issues/988 | making sure datasets are not loaded in memory and distributed training of them | my implementation of sharding per TPU core: https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/trainers/t5_trainer.py#L316
my implementation of dataloader for this case https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/tasks/tasks.py#L496 | Hi
I am dealing with large-scale datasets which I need to train distributedly, I used the shard function to divide the dataset across the cores, without any sampler, this does not work for distributed training and does not become any faster than 1 TPU core. 1) how I can make sure data is not loaded in memory 2) in case of distributed training with iterative datasets which measures needs to be taken? Is this all sharding the data only. I was wondering if there can be possibility for me to discuss this with someone with distributed training with iterative datasets using dataset library. thanks | 16 | making sure datasets are not loaded in memory and distributed training of them
Hi
I am dealing with large-scale datasets which I need to train distributedly, I used the shard function to divide the dataset across the cores, without any sampler, this does not work for distributed training and does not become any faster than 1 TPU core. 1) how I can make sure data is not loaded in memory 2) in case of distributed training with iterative datasets which measures needs to be taken? Is this all sharding the data only. I was wondering if there can be possibility for me to discuss this with someone with distributed training with iterative datasets using dataset library. thanks
my implementation of sharding per TPU core: https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/trainers/t5_trainer.py#L316
my implementation of dataloader for this case https://github.com/google-research/ruse/blob/d4dd58a2d8efe0ffb1a9e9e77e3228d6824d3c3c/seq2seq/tasks/tasks.py#L496 | [
-0.28509771823883057,
-0.44692444801330566,
-0.10164085030555725,
0.2859598696231842,
0.08568154275417328,
-0.1491083800792694,
0.23839949071407318,
-0.1465863734483719,
0.02408018335700035,
0.479914128780365,
0.018180575221776962,
-0.348818302154541,
0.03430034965276718,
0.0275100264698267,
0.060448337346315384,
0.017970532178878784,
0.11202161759138107,
0.3357721269130707,
-0.37746068835258484,
-0.21436254680156708,
0.045974865555763245,
-0.30061420798301697,
-0.2231132686138153,
-0.4654529094696045,
-0.2706237733364105,
-0.38764023780822754,
-0.3339645266532898,
0.16833540797233582,
0.04776710271835327,
-0.12577371299266815,
0.05341266840696335,
0.31218624114990234,
0.17711707949638367,
0.3838866651058197,
-0.00012189725384814665,
0.022252701222896576,
0.004273697733879089,
-0.22027471661567688,
0.019217927008867264,
0.26419439911842346,
-0.19139832258224487,
0.00633007287979126,
0.00038512784522026777,
-0.3340350091457367,
0.01329832524061203,
0.4170169234275818,
0.19631074368953705,
0.061302341520786285,
0.37013310194015503,
-0.15535791218280792,
0.05583426356315613,
-0.025518938899040222,
-0.23549437522888184,
0.13145172595977783,
-0.1535719931125641,
0.20473578572273254,
-0.057648081332445145,
0.07627394795417786,
0.13067689538002014,
0.2814640998840332,
-0.3883310556411743,
-0.05014289170503616,
0.08987993746995926,
0.30260708928108215,
-0.08104663342237473,
-0.08407143503427505,
-0.295625239610672,
-0.4764958918094635,
-0.13651353120803833,
0.2408648133277893,
0.33872368931770325,
-0.1296500861644745,
-0.26326677203178406,
-0.09720922261476517,
-0.2123539000749588,
-0.24637368321418762,
0.2450064718723297,
0.24947981536388397,
-0.19256147742271423,
0.13663379848003387,
-0.4543083906173706,
-0.2199467122554779,
-0.014144264161586761,
0.001995377242565155,
-0.07694902271032333,
0.2673739492893219,
-0.010732228867709637,
0.06824199110269547,
0.1199440211057663,
0.04906228929758072,
0.08947177976369858,
-0.15554067492485046,
0.17901979386806488,
0.17130360007286072,
-0.4141795337200165,
-0.3513467013835907,
-0.27057865262031555,
0.2263002097606659,
0.3593384325504303,
0.23778031766414642,
0.22477184236049652,
-0.10686836391687393,
-0.002374321222305298,
0.05055587738752365,
0.23804551362991333,
0.10715219378471375,
-0.25170210003852844,
0.34091877937316895,
0.05138988420367241,
0.040004607290029526,
-0.2665714919567108,
0.02510111778974533,
0.08465386182069778,
-0.05360564962029457,
0.276292622089386,
0.032042358070611954,
-0.3585417866706848,
-0.22633588314056396,
0.12326333671808243,
-0.32352131605148315,
0.3846229612827301,
-0.3293299376964569,
0.010151335038244724,
0.3466290831565857,
-0.01961658149957657,
0.21462002396583557,
-0.2132745087146759,
-0.10727986693382263,
-0.3988606929779053,
-0.3019174635410309,
-0.20760056376457214,
0.27410438656806946,
-0.2674984633922577,
0.490312784910202,
0.20914413034915924,
-0.02993888407945633,
0.18445447087287903,
0.10698703676462173,
0.15338899195194244,
-0.015579141676425934,
-0.09331849217414856,
-0.5966616868972778,
0.4550488293170929,
0.22688306868076324,
-0.14339114725589752,
-0.2938840091228485,
-0.14854803681373596,
0.17410196363925934,
-0.1960168480873108,
0.23603665828704834,
-0.4523729085922241,
-0.24902695417404175,
0.5554451942443848,
-0.002819300629198551,
-0.36292439699172974,
0.11572561413049698,
-0.4995557963848114,
0.1332215517759323,
0.2668934464454651,
-0.1161281168460846,
0.14543306827545166,
-0.005211677402257919,
-0.23135915398597717,
-0.20117762684822083,
0.44554176926612854,
0.43426936864852905,
-0.0924747884273529,
-0.1634877622127533,
-0.1232568770647049,
-0.2671782672405243,
0.3049452304840088,
0.5289573073387146,
-0.12560948729515076,
0.24260613322257996,
-0.10335209965705872,
0.12146405875682831,
0.4829787313938141,
-0.1648508906364441,
-0.5223402976989746,
0.33662867546081543,
-0.08958206325769424,
-0.023974686861038208,
0.3501637876033783,
0.10283593833446503,
0.36349156498908997,
-0.2017168551683426,
-0.3693883717060089,
0.3324267864227295,
-0.044662415981292725,
0.006476977840065956,
-0.3000493049621582,
-0.3167112469673157,
0.029372017830610275,
0.30145370960235596,
0.22280587255954742,
0.34398597478866577,
0.39388900995254517,
0.1369553804397583,
0.15711542963981628,
0.175223246216774,
0.23161059617996216,
0.14423930644989014,
-0.07223744690418243,
-0.18704791367053986,
0.0008601788431406021,
0.18040254712104797,
-0.32962095737457275,
0.18454641103744507,
0.22622469067573547,
-0.1064591109752655,
0.16849026083946228,
-0.06747622787952423,
0.2585638761520386,
-0.26128339767456055,
-0.05173831805586815,
0.16514833271503448,
-0.1074119582772255,
-0.029146410524845123,
0.23309528827667236,
-0.024121634662151337,
-0.2720944285392761,
0.1472535878419876,
-0.578593909740448,
-0.04180728271603584,
-0.3138769567012787,
0.38316646218299866,
0.3711928725242615,
-0.26030558347702026,
0.005437664687633514,
-0.008112363517284393,
-0.3401144742965698,
-0.14549532532691956,
-0.05365699529647827,
0.37938183546066284,
0.135097473859787,
0.25427696108818054,
0.27257880568504333,
0.4957122206687927,
0.22049671411514282,
-0.0001669377088546753,
-0.12017226964235306,
-0.1857900619506836,
0.03265433758497238,
-0.22139662504196167,
0.14409783482551575,
0.3712819218635559,
-0.27917638421058655,
0.03341614454984665,
0.35321104526519775,
-0.3868362009525299,
0.012580817565321922,
-0.22443924844264984,
0.07958751916885376,
-0.04743613302707672,
0.15156815946102142,
-0.1644577831029892,
0.22370131313800812,
0.33249789476394653,
-0.3510325849056244,
-0.27018824219703674,
0.34637442231178284,
-0.03606760501861572,
0.11550116539001465,
-0.03030989319086075,
0.25490283966064453,
-0.10554995387792587,
0.4570452570915222,
0.18632403016090393,
0.5929904580116272,
0.029524382203817368,
0.17144566774368286,
0.07557898759841919,
0.4698834717273712,
-0.1659839004278183,
-0.12608110904693604,
0.11939358711242676,
0.0960816815495491,
0.12107641994953156,
-0.2539709508419037,
-0.03855970874428749,
-0.042854614555835724,
-0.24792446196079254,
0.14105750620365143,
0.06659384071826935,
-0.2223701775074005,
-0.34737223386764526,
-0.27489444613456726,
0.1711205542087555,
-0.1257777214050293,
0.5265751481056213,
-0.15697072446346283,
0.24909867346286774,
-0.17572316527366638,
0.18593613803386688,
0.11607939004898071,
0.07541773468255997,
0.13152770698070526,
0.5472947955131531,
-0.28129369020462036,
-0.13069291412830353,
-0.10154439508914948,
-0.005597261246293783,
0.03789202496409416,
-0.010305007919669151,
0.08495082706212997,
0.020334288477897644,
0.32426324486732483,
-0.18286578357219696,
-0.11658281087875366,
0.01600649021565914,
0.2350923717021942,
0.08686207234859467,
-0.011053763329982758,
-0.11946755647659302,
-0.269416481256485,
0.2036113739013672,
-0.34514468908309937,
0.010024751536548138,
-0.034344013780355453,
-0.38758572936058044,
-0.2120894491672516,
0.021127525717020035,
0.20338144898414612,
0.044189151376485825,
0.13127566874027252,
-0.3102549612522125,
-0.5511999130249023,
-0.19318005442619324,
0.05965864285826683,
0.08829951286315918,
0.23749369382858276,
-0.36932268738746643,
0.0009116074070334435,
-0.21583020687103271,
-0.12855680286884308,
0.08522484451532364,
0.018659615889191628,
-0.7339746952056885,
0.22514379024505615,
-0.12775461375713348,
-0.10659836232662201,
0.19690650701522827,
0.04399256408214569,
0.29692915081977844,
0.6327619552612305,
-0.601548969745636,
0.02566535398364067,
-0.005440978333353996,
-0.04836123809218407,
-0.02600734680891037,
0.3246159553527832,
0.35803988575935364,
-0.25501352548599243,
0.09297038614749908,
0.17296457290649414,
0.24148982763290405,
0.21814893186092377,
-0.2989729046821594,
0.22012624144554138,
0.22444826364517212,
0.3264576196670532,
0.07511089742183685,
1.0645378828048706,
0.1015431135892868,
-0.08538275957107544,
0.1934487372636795,
-0.05423206835985184,
-0.2000163346529007,
-0.13113993406295776,
0.06876073777675629,
0.4237138032913208,
0.24827751517295837,
-0.3482014536857605,
0.34789079427719116,
-0.07170233875513077,
0.06783803552389145,
-0.3110267221927643,
-0.20065957307815552,
-0.18904364109039307,
-0.18776781857013702,
0.11172889173030853,
-0.18496008217334747,
0.39639994502067566,
-0.40105345845222473,
-0.19647818803787231,
0.13890810310840607,
-0.42622002959251404,
-0.31800565123558044,
0.36823421716690063,
0.23842310905456543,
0.10311475396156311,
-0.3052879571914673,
-0.09474334865808487,
-0.015661925077438354,
0.14994221925735474,
-0.01209157146513462,
0.39005282521247864,
-0.21083618700504303,
-0.11548220366239548,
0.2468058466911316,
0.29862895607948303,
0.2268301397562027,
-0.14572463929653168,
-0.07988297939300537,
-0.3076452612876892,
-0.7778619527816772,
0.3000766634941101,
-0.027193935588002205,
-0.1035112738609314,
-0.13906309008598328,
-0.029247015714645386,
0.13390299677848816,
-0.35380664467811584,
-0.22251762449741364,
-0.08653195202350616,
-0.04046175628900528,
-0.22636231780052185,
-0.4271758496761322,
-0.28947389125823975,
0.03269365429878235,
-0.046113453805446625,
0.17530491948127747,
-0.06977955996990204,
-0.10967815667390823,
-0.16399537026882172,
-0.024505196139216423,
-0.32072708010673523,
0.12309766560792923,
0.2537718713283539,
-0.002332872711122036,
-0.019834373146295547,
-0.003733434248715639,
0.10498259961605072,
0.0772402361035347,
0.1602948009967804,
0.4270334541797638,
0.3155900239944458,
0.0475325770676136,
0.15187682211399078,
0.10382208973169327,
0.18125341832637787,
0.3947950303554535,
0.1755104959011078,
-0.09638653695583344,
0.1324893981218338,
0.09333454817533493,
0.12987934052944183,
-0.5946343541145325,
0.12520088255405426,
-0.20673280954360962,
-0.12512226402759552,
-0.3810137212276459,
-0.37990355491638184,
0.5109301209449768,
0.20161482691764832,
-0.07726043462753296,
0.26930034160614014,
-0.18598486483097076,
-0.27040815353393555,
0.09108766168355942,
0.2416856586933136,
1.1949565410614014,
-0.2357976883649826,
0.001587454229593277,
0.023519912734627724,
0.6256218552589417,
0.2952643632888794,
-0.14256063103675842,
0.07915126532316208,
-0.15679405629634857,
-0.5064914226531982,
-0.13967731595039368,
-0.09140240401029587,
0.19936397671699524,
0.6071105599403381,
-0.24714109301567078,
0.5053640604019165,
0.09775322675704956,
0.12302832305431366,
-0.05110818147659302,
0.2899981737136841,
-0.02557889185845852,
-0.21768584847450256,
-0.07545240968465805,
-0.006613101810216904,
-0.08614592254161835,
-0.06759266555309296,
0.027229320257902145,
0.1248539611697197,
0.07067222893238068,
0.3435360789299011,
0.369206964969635,
-0.07057886570692062,
-0.17486824095249176,
0.15394055843353271,
-0.05772330239415169,
-0.23978586494922638,
0.051064517349004745,
0.30574384331703186,
0.21436233818531036,
-0.06462834775447845,
0.0794183537364006,
0.18581053614616394,
0.011064145714044571,
0.06271378695964813,
0.053873926401138306,
0.18748760223388672,
0.36676302552223206,
-0.04204465076327324,
-0.16873426735401154,
0.10261581093072891,
-0.1083456501364708,
-0.34325283765792847,
-0.33972740173339844,
-0.2703557014465332,
0.2166690230369568,
-0.24152898788452148,
0.0034722592681646347,
0.10157308727502823,
-0.11486409604549408,
0.22855044901371002,
0.04567518085241318,
0.10623545944690704,
-0.25222888588905334,
0.4409604072570801,
0.14349040389060974,
-0.2262578159570694,
-0.24106068909168243,
0.39973384141921997,
0.22303760051727295,
-0.03178916871547699,
0.05585090443491936,
-0.33602285385131836,
-0.11593285202980042,
-0.23979708552360535,
0.14648616313934326,
0.255797803401947,
-0.25578686594963074,
0.03439988195896149,
-0.032723020762205124,
0.21960781514644623,
-0.09113405644893646,
0.2653229534626007,
0.34976494312286377,
0.1494256556034088,
-0.13419802486896515,
-0.2132926881313324,
-0.36374419927597046,
0.11507486552000046,
-0.028401192277669907,
0.27554261684417725,
0.04138839244842529,
-0.14456190168857574,
0.0022588353604078293,
0.5074508786201477,
-0.19245648384094238,
-0.31561362743377686,
-0.3064940273761749,
0.22802259027957916,
0.08567259460687637,
0.16861101984977722,
-0.1790866255760193,
0.060955535620450974,
-0.09697972238063812,
0.07602065056562424,
-0.17416833341121674,
-0.05599437654018402,
0.25424525141716003,
0.2356889843940735,
0.1058015450835228,
0.2557394802570343,
-0.2457219362258911,
-0.28665322065353394,
-0.06095227226614952,
-0.24961933493614197,
0.357974648475647,
-0.19089633226394653,
-0.03578057885169983,
0.0814165398478508,
0.5675017833709717,
-0.17639216780662537,
-0.5132967233657837,
0.33152294158935547,
-0.12288296222686768,
-0.08736643195152283,
-0.047359731048345566,
0.10175980627536774,
0.09473959356546402,
-0.054158519953489304,
-0.11673238128423691,
0.06730425357818604,
0.45731377601623535,
-0.20076167583465576,
0.08132173866033554,
-0.08319222927093506,
0.20252099633216858,
-0.11871373653411865,
0.23754534125328064,
0.27860814332962036,
-0.1989978700876236,
-0.10338129848241806,
0.35014140605926514,
0.06415931135416031,
0.1749480962753296,
0.1949368268251419,
0.09079678356647491,
0.4121890664100647,
-0.07273022830486298,
0.3976583778858185,
0.08418698608875275,
-0.16201943159103394,
-0.10397247970104218,
-0.06372269988059998,
0.3649158477783203,
-0.45766496658325195,
0.0706193596124649,
0.05278247222304344,
0.070172518491745,
0.21871860325336456,
0.2454753816127777,
0.28477486968040466,
-0.19660377502441406,
-0.10762828588485718,
0.09053609520196915,
0.9374865889549255,
0.029471129179000854,
0.33090823888778687,
-0.08836092799901962,
-0.7197981476783752,
-0.18055181205272675,
0.33656439185142517,
-0.20614773035049438,
-0.06650488823652267,
-0.20901644229888916,
0.12678271532058716,
0.15662781894207,
-0.3895668387413025,
-0.07672193646430969,
0.20072722434997559,
-0.0612221285700798,
0.09778107702732086,
-0.199388787150383,
-0.08986004441976547,
-0.19762670993804932,
0.034235965460538864,
0.11262629926204681,
-0.10622267425060272,
0.7192897796630859,
0.3560318350791931,
0.09742708504199982,
0.11404525488615036,
0.07101550698280334,
0.25006264448165894,
0.24364078044891357,
-0.2792298495769501,
0.22285515069961548,
-0.17641495168209076,
0.05627191439270973,
0.20469461381435394,
0.2707374393939972,
-0.1226155161857605,
0.2770506739616394,
0.34668102860450745,
-0.201242595911026,
0.365078330039978,
0.036043547093868256,
0.09996823221445084,
0.45769619941711426,
-0.08638937771320343,
0.2416491061449051,
0.13977842032909393,
0.041972286999225616,
0.04606310650706291,
0.11362387239933014,
0.023222245275974274,
0.10608884692192078,
-0.3862357437610626,
0.36397480964660645,
0.2190268635749817,
-0.03235197439789772,
0.18679654598236084,
0.1043371707201004,
-0.35397326946258545,
0.2261858880519867,
0.2614781856536865,
-0.7350069284439087,
0.053682394325733185,
0.005175349302589893,
0.0006826762109994888,
-0.14762334525585175,
0.4439832270145416,
0.266570508480072,
0.012703042477369308,
-0.25668057799339294,
-0.4229547381401062,
-0.2817394435405731,
0.02091103047132492,
-0.0806218832731247,
-0.2530040740966797,
-0.05390714854001999,
0.27325639128685,
0.011129513382911682,
0.08423514664173126,
-0.48030519485473633,
-0.3653125762939453,
-0.24999672174453735,
0.31774353981018066,
-0.1425902396440506,
-0.058094222098588943,
-0.6569176316261292,
0.19930130243301392,
-0.02054758183658123,
-0.3092358112335205,
0.269912451505661,
-0.0003714505583047867,
-0.1959732472896576,
0.38140714168548584,
0.20075362920761108,
0.16246141493320465,
-0.09031032025814056,
0.2300461232662201,
-0.08537549525499344,
0.27326107025146484,
-0.054586369544267654,
0.3909989297389984,
-0.13889296352863312,
-0.06200835481286049,
-0.1367460936307907,
0.055610716342926025,
-0.07752285897731781,
0.1302134096622467,
-0.17278189957141876,
0.2934640645980835,
-0.03884759545326233,
-0.18853899836540222,
-0.28505659103393555,
0.15465795993804932,
0.2135297805070877,
-0.34407806396484375,
0.29355788230895996,
0.24661672115325928,
0.5267215967178345,
0.3046112358570099,
-0.14508607983589172,
-0.24727477133274078,
-0.1405441164970398,
-0.06093534082174301,
0.08722645044326782,
-0.2570710778236389,
0.0993136465549469,
-0.3666560649871826,
0.35465139150619507,
-0.09440826624631882,
-0.11823635548353195,
-0.5359982848167419,
-0.07560930401086807,
0.34088513255119324,
0.03101414442062378,
-0.12216801941394806,
0.27846038341522217,
0.2851259410381317,
-0.10249465703964233,
0.07230159640312195,
-0.16691632568836212,
-0.30035680532455444,
-0.2355329841375351,
-0.12740781903266907,
-0.3041146397590637
] |
https://github.com/huggingface/datasets/issues/988 | making sure datasets are not loaded in memory and distributed training of them | Hi! You can use the `assert not bool(dataset.cache_files)` assertion to ensure your data is in memory. And I suggest using `accelerate` for distributed training. | Hi
I am dealing with large-scale datasets which I need to train distributedly, I used the shard function to divide the dataset across the cores, without any sampler, this does not work for distributed training and does not become any faster than 1 TPU core. 1) how I can make sure data is not loaded in memory 2) in case of distributed training with iterative datasets which measures needs to be taken? Is this all sharding the data only. I was wondering if there can be possibility for me to discuss this with someone with distributed training with iterative datasets using dataset library. thanks | 24 | making sure datasets are not loaded in memory and distributed training of them
Hi
I am dealing with large-scale datasets which I need to train distributedly, I used the shard function to divide the dataset across the cores, without any sampler, this does not work for distributed training and does not become any faster than 1 TPU core. 1) how I can make sure data is not loaded in memory 2) in case of distributed training with iterative datasets which measures needs to be taken? Is this all sharding the data only. I was wondering if there can be possibility for me to discuss this with someone with distributed training with iterative datasets using dataset library. thanks
Hi! You can use the `assert not bool(dataset.cache_files)` assertion to ensure your data is in memory. And I suggest using `accelerate` for distributed training. | [
-0.30395206809043884,
-0.5303986072540283,
-0.10155880451202393,
0.3151567578315735,
0.03011917695403099,
-0.07248693704605103,
0.08099795877933502,
-0.06480617821216583,
0.2642492353916168,
0.4301716685295105,
0.1137540265917778,
-0.2759360671043396,
0.0022806692868471146,
-0.060458168387413025,
-0.0020808158442378044,
0.12116292119026184,
0.13969305157661438,
0.3107225000858307,
-0.3880128860473633,
-0.3003304898738861,
-0.06454866379499435,
-0.38038668036460876,
-0.25332629680633545,
-0.4664544463157654,
-0.30177146196365356,
-0.4450128674507141,
-0.2789064049720764,
0.1189734935760498,
0.07372428476810455,
-0.2071303427219391,
-0.015120597556233406,
0.23287490010261536,
0.2100968360900879,
0.334668904542923,
-0.00011729285324690863,
-0.10007071495056152,
0.13351237773895264,
-0.17678776383399963,
-0.07581104338169098,
0.21174944937229156,
-0.21480751037597656,
-0.045960888266563416,
-0.012934396974742413,
-0.31808313727378845,
0.03686801344156265,
0.303014874458313,
0.2616182863712311,
-0.0635446235537529,
0.32401445508003235,
-0.12087304145097733,
0.09404522180557251,
-0.06737890839576721,
-0.21687090396881104,
0.10370774567127228,
-0.20557105541229248,
0.29125356674194336,
0.009952059015631676,
0.02875247783958912,
0.158193901181221,
0.18576279282569885,
-0.2530073821544647,
0.053152892738580704,
0.05766669660806656,
0.3415060341358185,
0.011757362633943558,
-0.12057357281446457,
-0.30572062730789185,
-0.4682619273662567,
-0.17948958277702332,
0.2350536584854126,
0.2940751016139984,
-0.12961575388908386,
-0.22311270236968994,
-0.18738120794296265,
-0.19863805174827576,
-0.18540509045124054,
0.2410258650779724,
0.29258713126182556,
-0.20722328126430511,
0.07828457653522491,
-0.6096503138542175,
-0.34638333320617676,
0.04233916103839874,
0.023777298629283905,
-0.0591549277305603,
0.2524076998233795,
0.01188699621707201,
0.07727925479412079,
0.14835746586322784,
0.013542532920837402,
0.051146235316991806,
-0.26863375306129456,
0.12741442024707794,
0.24685563147068024,
-0.31439489126205444,
-0.31049078702926636,
-0.33671241998672485,
0.30030694603919983,
0.38775068521499634,
0.18993695080280304,
0.18086664378643036,
-0.15791699290275574,
0.05014875903725624,
0.06781217455863953,
0.24515287578105927,
0.11671896278858185,
-0.2755036950111389,
0.3250918984413147,
-0.019014433026313782,
-0.05421793833374977,
-0.2808971405029297,
-0.04845236986875534,
0.06890285760164261,
0.04690366983413696,
0.3334675431251526,
0.07296096533536911,
-0.3452022075653076,
-0.19452668726444244,
0.17386020720005035,
-0.23150211572647095,
0.2957038879394531,
-0.32879963517189026,
0.0005291225388646126,
0.320257306098938,
-0.06532333046197891,
0.16511091589927673,
-0.2141258269548416,
-0.08919203281402588,
-0.3516877591609955,
-0.2508086562156677,
-0.20762163400650024,
0.32440635561943054,
-0.22598391771316528,
0.4728311598300934,
0.2527523934841156,
0.08512572944164276,
0.23223190009593964,
0.05701838433742523,
0.14915481209754944,
-0.005549222230911255,
-0.056100934743881226,
-0.6573353409767151,
0.6105340123176575,
0.17970937490463257,
-0.18752853572368622,
-0.21859538555145264,
-0.1499331295490265,
0.3267253637313843,
-0.20164303481578827,
0.2575981914997101,
-0.38152235746383667,
-0.19807429611682892,
0.5648924708366394,
0.03258651867508888,
-0.33984410762786865,
0.09027742594480515,
-0.45305249094963074,
0.18565315008163452,
0.2685937285423279,
-0.15141844749450684,
0.17078745365142822,
-0.04669402539730072,
-0.14644798636436462,
-0.1162940189242363,
0.41526293754577637,
0.4891868829727173,
-0.03853420540690422,
-0.11583070456981659,
-0.12924720346927643,
-0.17261774837970734,
0.2532443404197693,
0.4602959156036377,
-0.14607170224189758,
0.15726056694984436,
-0.09704051166772842,
0.021236024796962738,
0.37810441851615906,
-0.19735155999660492,
-0.44803404808044434,
0.24258878827095032,
-0.016383811831474304,
-0.011978691443800926,
0.27089324593544006,
0.11661076545715332,
0.2621128559112549,
-0.17003591358661652,
-0.37843236327171326,
0.31457090377807617,
-0.024303974583745003,
-0.004620246589183807,
-0.36878469586372375,
-0.24421335756778717,
0.03559712693095207,
0.24795959889888763,
0.21791072189807892,
0.31279394030570984,
0.31720343232154846,
0.12649868428707123,
0.09157608449459076,
0.17285533249378204,
0.19637776911258698,
0.1377854347229004,
-0.1229512095451355,
-0.26775747537612915,
-0.044576991349458694,
0.12778738141059875,
-0.3337286114692688,
0.2088111937046051,
0.23176857829093933,
-0.253129780292511,
0.16811731457710266,
0.05158192664384842,
0.30370137095451355,
-0.22181439399719238,
0.015446566045284271,
0.2633326053619385,
-0.07007709890604019,
-0.044326335191726685,
0.2696608603000641,
0.04019596800208092,
-0.31387168169021606,
0.20425480604171753,
-0.5558149814605713,
-0.1339922547340393,
-0.27488118410110474,
0.24942000210285187,
0.3736756145954132,
-0.2449328899383545,
0.028433136641979218,
-0.027116335928440094,
-0.34346315264701843,
-0.12270372360944748,
-0.04958169534802437,
0.3433123528957367,
0.06011832132935524,
0.17072033882141113,
0.27895843982696533,
0.3925126791000366,
0.18059590458869934,
-0.018477648496627808,
-0.06847992539405823,
-0.21342656016349792,
0.08379265666007996,
-0.1167537122964859,
0.1241946592926979,
0.24943797290325165,
-0.270982950925827,
0.04719262197613716,
0.3485013246536255,
-0.33019664883613586,
-0.01156219094991684,
-0.17833086848258972,
0.10915135592222214,
-0.04623836651444435,
0.20954357087612152,
-0.19858720898628235,
0.28097787499427795,
0.38364318013191223,
-0.3758852183818817,
-0.3449855148792267,
0.40928590297698975,
-0.034613192081451416,
0.16093015670776367,
-0.043176233768463135,
0.16655248403549194,
-0.09022437781095505,
0.43012282252311707,
0.18954654037952423,
0.5127125978469849,
0.0826626569032669,
0.20820990204811096,
0.011293078772723675,
0.3444162607192993,
-0.10822249203920364,
-0.1204172894358635,
0.13897192478179932,
0.17573124170303345,
0.047314733266830444,
-0.2359139770269394,
-0.06476105004549026,
-0.060760386288166046,
-0.17740850150585175,
0.20469173789024353,
0.04272489249706268,
-0.2023543417453766,
-0.3064025640487671,
-0.2018270194530487,
0.10008660703897476,
-0.16104643046855927,
0.4611548185348511,
-0.19302764534950256,
0.28267425298690796,
-0.11667275428771973,
0.1513403356075287,
0.1831008493900299,
0.11175870150327682,
0.07483060657978058,
0.5853200554847717,
-0.33033356070518494,
-0.10120833665132523,
-0.14096739888191223,
-0.04962912201881409,
-0.019094083458185196,
0.006379410624504089,
0.03605443984270096,
0.019852181896567345,
0.328457772731781,
-0.02764713205397129,
-0.08314234763383865,
0.04787354916334152,
0.42121800780296326,
0.025548286736011505,
-0.0492534339427948,
-0.1897047907114029,
-0.4067186117172241,
0.21856355667114258,
-0.29547154903411865,
0.06434992700815201,
-0.034039076417684555,
-0.369223028421402,
-0.15780769288539886,
0.03591921553015709,
0.2509597837924957,
-0.040302909910678864,
0.12138055264949799,
-0.2851031422615051,
-0.5264180898666382,
-0.1432715654373169,
-0.003443405032157898,
0.07813318073749542,
0.16999760270118713,
-0.35994571447372437,
0.0036138175055384636,
-0.24327601492404938,
-0.25473490357398987,
0.08111295849084854,
-0.04073026403784752,
-0.7307645082473755,
0.2547908127307892,
-0.04904153570532799,
-0.0814061164855957,
0.135629341006279,
0.04773957282304764,
0.17607419192790985,
0.6554710865020752,
-0.5039637684822083,
0.021366562694311142,
-0.07460851967334747,
-0.16686105728149414,
-0.026249989867210388,
0.25931891798973083,
0.39953503012657166,
-0.2593824565410614,
0.02189931459724903,
0.15714362263679504,
0.26026636362075806,
0.25800907611846924,
-0.182693749666214,
0.2827163636684418,
0.17594745755195618,
0.2424980103969574,
0.04351477697491646,
0.9937921762466431,
0.1597028523683548,
-0.0910327136516571,
0.19848056137561798,
0.038931164890527725,
-0.16482563316822052,
-0.07673997431993484,
0.04395206272602081,
0.3747519850730896,
0.2448703944683075,
-0.3224717974662781,
0.2853049039840698,
-0.10686978697776794,
-0.057342641055583954,
-0.30685698986053467,
-0.09895169734954834,
-0.131008118391037,
-0.0614471435546875,
0.08376853913068771,
-0.3749341070652008,
0.4109300374984741,
-0.28437209129333496,
-0.171025812625885,
0.043957751244306564,
-0.4339357316493988,
-0.26920053362846375,
0.1801084578037262,
0.3921607732772827,
0.09533055871725082,
-0.4907347857952118,
-0.19945232570171356,
0.039788249880075455,
0.16715219616889954,
0.05612845718860626,
0.44535157084465027,
-0.21233566105365753,
-0.1710103452205658,
0.19803209602832794,
0.3410003185272217,
0.22571007907390594,
-0.17752374708652496,
-0.20014044642448425,
-0.3202490508556366,
-0.6279974579811096,
0.24440158903598785,
-0.06308021396398544,
-0.08397682011127472,
-0.0878523662686348,
-0.1533147692680359,
-0.022563040256500244,
-0.2565247118473053,
-0.24288587272167206,
-0.09468282759189606,
-0.04129807651042938,
-0.2468913197517395,
-0.41274917125701904,
-0.3051318824291229,
0.1288103461265564,
-0.038158662617206573,
0.19102609157562256,
0.02135900966823101,
-0.22717207670211792,
-0.17691612243652344,
-0.054407283663749695,
-0.2911512553691864,
0.20481905341148376,
0.2688027322292328,
-0.022319912910461426,
0.08494189381599426,
0.0677226260304451,
0.09276308119297028,
0.1310988813638687,
0.21699757874011993,
0.3855353891849518,
0.27772951126098633,
-0.01859699934720993,
0.15393143892288208,
-0.044034846127033234,
0.11109005659818649,
0.5008807182312012,
0.13937458395957947,
-0.07495784014463425,
0.04934670403599739,
0.09418030828237534,
0.06249571219086647,
-0.7395486831665039,
0.09550280123949051,
-0.18288715183734894,
-0.11888886988162994,
-0.3688226342201233,
-0.4082558751106262,
0.4685560464859009,
0.22926224768161774,
-0.06739075481891632,
0.26707911491394043,
-0.2990531921386719,
-0.1970311403274536,
0.05755063146352768,
0.2521691620349884,
1.0793719291687012,
-0.2913286089897156,
-0.09231439232826233,
-0.09603806585073471,
0.715202808380127,
0.31784382462501526,
-0.07632093131542206,
0.11897332221269608,
-0.07555024325847626,
-0.49048498272895813,
-0.13509148359298706,
-0.10652914643287659,
0.1364942491054535,
0.5868472456932068,
-0.11388184130191803,
0.5108761787414551,
0.07995215058326721,
-0.06107240542769432,
-0.1464633047580719,
0.33779436349868774,
0.004442406818270683,
-0.17066524922847748,
0.0008887667208909988,
0.03267820551991463,
-0.053118959069252014,
-0.012921098619699478,
0.07157458364963531,
0.14407134056091309,
0.07841220498085022,
0.2678121328353882,
0.30529850721359253,
-0.07419668883085251,
-0.0837416872382164,
0.08932239562273026,
-0.03572961315512657,
-0.17304396629333496,
0.03106551617383957,
0.32707759737968445,
0.22367767989635468,
-0.08837242424488068,
0.058390647172927856,
0.18072612583637238,
0.03149723634123802,
0.06441238522529602,
-0.017300672829151154,
0.21809077262878418,
0.3583065867424011,
-0.02972138300538063,
-0.21281611919403076,
0.15201938152313232,
-0.12489735335111618,
-0.2851130962371826,
-0.39133965969085693,
-0.23105500638484955,
0.23397959768772125,
-0.17264625430107117,
-0.05499808117747307,
0.11610102653503418,
-0.01516643725335598,
0.3254617154598236,
0.09563039243221283,
0.09275411069393158,
-0.1735994964838028,
0.5167100429534912,
0.1848086416721344,
-0.18284878134727478,
-0.20650991797447205,
0.3226216435432434,
0.1509774625301361,
0.05852152407169342,
0.10617624223232269,
-0.35466858744621277,
-0.1462857723236084,
-0.21027511358261108,
-0.012836065143346786,
0.31491294503211975,
-0.26286283135414124,
0.0008793948218226433,
-0.0419122651219368,
0.26714056730270386,
-0.12578128278255463,
0.20944347977638245,
0.3715606927871704,
0.07176239788532257,
-0.05023953318595886,
-0.16732123494148254,
-0.2850104570388794,
0.1585836261510849,
-0.0856393426656723,
0.22962279617786407,
0.09773264080286026,
-0.278005987405777,
0.028376294299960136,
0.5110709071159363,
-0.23942701518535614,
-0.32614460587501526,
-0.33880701661109924,
0.2740219235420227,
0.033193089067935944,
0.20006224513053894,
-0.22332297265529633,
-0.010057066567242146,
-0.06185321509838104,
-0.0017740540206432343,
-0.1441749483346939,
-0.11582733690738678,
0.38970816135406494,
0.1920839250087738,
0.023858387023210526,
0.22161488234996796,
-0.29205915331840515,
-0.38427162170410156,
0.03549628704786301,
-0.32056039571762085,
0.17767231166362762,
-0.25300005078315735,
-0.04156690835952759,
0.18187910318374634,
0.5489389300346375,
-0.24190270900726318,
-0.4656742811203003,
0.2982708513736725,
-0.12319396436214447,
-0.13892099261283875,
-0.13060061633586884,
0.07050818204879761,
0.23178808391094208,
-0.06992825865745544,
-0.2069236934185028,
0.04317156597971916,
0.34490227699279785,
-0.1318792700767517,
0.06835739314556122,
-0.062489114701747894,
0.2306111752986908,
-0.029471684247255325,
0.1945478916168213,
0.33150532841682434,
-0.21896329522132874,
-0.0834241434931755,
0.4253932237625122,
0.12565100193023682,
0.18907605111598969,
0.16404424607753754,
0.09307408332824707,
0.4946567714214325,
-0.05334164574742317,
0.3668074607849121,
0.11394692957401276,
-0.19532831013202667,
-0.09393744170665741,
-0.05844585970044136,
0.4281732439994812,
-0.44510167837142944,
0.03944631665945053,
-0.06273427605628967,
0.2380204051733017,
0.1339070349931717,
0.2479819804430008,
0.3966413736343384,
-0.10066551715135574,
-0.055928729474544525,
0.20683369040489197,
0.8264965415000916,
0.12376199662685394,
0.3820127546787262,
-0.19174149632453918,
-0.664766252040863,
-0.08446413278579712,
0.2838100492954254,
-0.14173099398612976,
0.008248083293437958,
-0.1840166449546814,
0.0036479756236076355,
0.11746928095817566,
-0.4916251599788666,
-0.11280205845832825,
0.0754970982670784,
-0.020873084664344788,
0.13465747237205505,
-0.1662188321352005,
-0.06698789447546005,
-0.08576980233192444,
0.009980842471122742,
0.22150787711143494,
-0.09632319211959839,
0.822935938835144,
0.3455687165260315,
0.11536921560764313,
0.14544105529785156,
0.12801679968833923,
0.2935650050640106,
0.25468748807907104,
-0.29235970973968506,
0.2113931030035019,
-0.18706773221492767,
0.0314439982175827,
0.1870533972978592,
0.3508398234844208,
-0.14132151007652283,
0.2633460760116577,
0.19105513393878937,
-0.12489890307188034,
0.34583213925361633,
-0.00501379556953907,
0.06171964108943939,
0.4735143184661865,
-0.022073186933994293,
0.2360537201166153,
0.0828963965177536,
0.08690821379423141,
0.07592303305864334,
0.17476195096969604,
-0.09194822609424591,
0.09167884290218353,
-0.32329392433166504,
0.3933221101760864,
0.2579619586467743,
0.019421853125095367,
0.08297489583492279,
0.023622341454029083,
-0.36915791034698486,
0.33527684211730957,
0.20939947664737701,
-0.748108983039856,
0.025983702391386032,
0.0521172359585762,
0.021900296211242676,
-0.12870992720127106,
0.3957407474517822,
0.3518192172050476,
0.0011035017669200897,
-0.2754083573818207,
-0.37470030784606934,
-0.2938303053379059,
-0.02359379082918167,
-0.18592843413352966,
-0.09829279035329819,
-0.04968523606657982,
0.2565689980983734,
0.015050582587718964,
0.005990324541926384,
-0.4640897512435913,
-0.36145028471946716,
-0.3640073537826538,
0.3507755994796753,
-0.18812210857868195,
-0.12808051705360413,
-0.6199405193328857,
0.20046496391296387,
0.02122337743639946,
-0.19512873888015747,
0.2511734366416931,
-0.10682236403226852,
-0.18745625019073486,
0.4279972314834595,
0.1766563355922699,
0.10644811391830444,
-0.05141807347536087,
0.18746624886989594,
-0.08548342436552048,
0.2954837381839752,
0.0022202208638191223,
0.3555871844291687,
-0.10495346784591675,
0.050746601074934006,
-0.058228932321071625,
0.055274687707424164,
-0.09923417866230011,
0.13825498521327972,
-0.28308960795402527,
0.32988864183425903,
-0.01508612371981144,
-0.1905900537967682,
-0.3132859468460083,
0.15076583623886108,
0.16131053864955902,
-0.45475998520851135,
0.19233736395835876,
0.23772189021110535,
0.5926296710968018,
0.26150286197662354,
-0.13063842058181763,
-0.21683771908283234,
-0.18294726312160492,
0.053470008075237274,
0.05886863172054291,
-0.18469062447547913,
0.08393028378486633,
-0.378155380487442,
0.4102577865123749,
-0.07335802167654037,
-0.10627282410860062,
-0.5212730765342712,
-0.09969831258058548,
0.37469813227653503,
0.03931481018662453,
-0.10739724338054657,
0.21161065995693207,
0.28713366389274597,
-0.05485829710960388,
0.0396757610142231,
-0.09313349425792694,
-0.3357583284378052,
-0.217921182513237,
-0.09972555935382843,
-0.1879298835992813
] |
https://github.com/huggingface/datasets/issues/961 | sample multiple datasets | here I share my dataloader currently for multiple tasks: https://gist.github.com/rabeehkarimimahabadi/39f9444a4fb6f53dcc4fca5d73bf8195
I need to train my model distributedly with this dataloader, "MultiTasksataloader", currently this does not work in distributed fasion,
to save on memory I tried to use iterative datasets, could you have a look in this dataloader and tell me if this is indeed the case? not sure how to make datasets being iterative to not load them in memory, then I remove the sampler for dataloader, and shard the data per core, could you tell me please how I should implement this case in datasets library? and how do you find my implementation in terms of correctness? thanks
| Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help. | 109 | sample multiple datasets
Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help.
here I share my dataloader currently for multiple tasks: https://gist.github.com/rabeehkarimimahabadi/39f9444a4fb6f53dcc4fca5d73bf8195
I need to train my model distributedly with this dataloader, "MultiTasksataloader", currently this does not work in distributed fasion,
to save on memory I tried to use iterative datasets, could you have a look in this dataloader and tell me if this is indeed the case? not sure how to make datasets being iterative to not load them in memory, then I remove the sampler for dataloader, and shard the data per core, could you tell me please how I should implement this case in datasets library? and how do you find my implementation in terms of correctness? thanks
| [
-0.3916401267051697,
-0.06415606290102005,
-0.0715135782957077,
0.18023203313350677,
0.030831707641482353,
-0.19643977284431458,
0.38280418515205383,
-0.0021058842539787292,
0.37558043003082275,
0.30514299869537354,
0.02104942686855793,
0.16712510585784912,
-0.19928734004497528,
0.23045189678668976,
-0.06385374069213867,
-0.18575017154216766,
0.12199863791465759,
0.1643289178609848,
-0.5311964750289917,
0.005471259355545044,
-0.024146655574440956,
-0.1971101015806198,
-0.17022350430488586,
-0.2883291244506836,
-0.17711131274700165,
-0.26742297410964966,
-0.4406120181083679,
-0.07277106493711472,
-0.1395246386528015,
-0.09138698130846024,
0.11534230411052704,
0.4905368387699127,
0.3580513596534729,
0.5394569635391235,
-0.0001112040044972673,
-0.119605153799057,
-0.04442283511161804,
-0.1387527883052826,
-0.10619622468948364,
-0.18083135783672333,
-0.07810239493846893,
-0.08923287689685822,
0.03444196283817291,
-0.3380918800830841,
0.008326701819896698,
0.025451194494962692,
0.15656690299510956,
-0.35756099224090576,
0.29097414016723633,
-0.16127315163612366,
0.127679243683815,
0.11994962394237518,
-0.15472637116909027,
0.038434505462646484,
-0.09253104776144028,
0.3123204708099365,
0.09351538121700287,
0.43370842933654785,
0.537236213684082,
-0.15916745364665985,
-0.3149551451206207,
0.01601487770676613,
-0.00447663851082325,
0.2461700439453125,
0.07938338071107864,
-0.18209794163703918,
0.02185589075088501,
-0.34770795702934265,
-0.38504675030708313,
0.22884026169776917,
0.4140787720680237,
-0.2798997759819031,
-0.3263222873210907,
-0.2925465404987335,
-0.07368136197328568,
0.21306683123111725,
-0.02837996929883957,
0.1663016527891159,
-0.2419205605983734,
-0.05259774997830391,
-0.11148636788129807,
-0.05430750548839569,
-0.10451768338680267,
0.13320931792259216,
-0.02384040132164955,
0.15243935585021973,
-0.1014343872666359,
0.15285718441009521,
0.37407180666923523,
0.08413346111774445,
0.23873943090438843,
-0.41046175360679626,
0.22124849259853363,
0.2202964574098587,
-0.4802778959274292,
-0.20565669238567352,
-0.2477678656578064,
-0.10467328876256943,
0.265036940574646,
0.20819729566574097,
0.12175752967596054,
-0.13421347737312317,
-0.10674832761287689,
0.1430412381887436,
0.3041805624961853,
-0.08531329035758972,
-0.07165003567934036,
0.20376157760620117,
-0.06340671330690384,
0.2247582972049713,
-0.08192261308431625,
0.04880040884017944,
-0.31370946764945984,
-0.012953825294971466,
-0.003180505707859993,
0.25317832827568054,
-0.24762438237667084,
0.06030425801873207,
0.2005782276391983,
-0.4978001117706299,
0.13618767261505127,
-0.35670027136802673,
0.23668594658374786,
0.07476507127285004,
-0.19071023166179657,
0.32830509543418884,
-0.1854240447282791,
0.2657659649848938,
-0.05327301472425461,
-0.20721453428268433,
-0.1880471110343933,
0.21489249169826508,
-0.3193081319332123,
0.24541054666042328,
0.19089795649051666,
-0.012618806213140488,
0.16691997647285461,
0.33474576473236084,
0.07162420451641083,
0.006451968103647232,
0.36756521463394165,
-0.28844234347343445,
-0.22002065181732178,
-0.15445944666862488,
0.2525641918182373,
0.20332631468772888,
0.14358100295066833,
0.3965343236923218,
-0.21446263790130615,
0.09021755307912827,
-0.49317508935928345,
-0.02622482180595398,
0.2761390507221222,
0.100802943110466,
-0.15961717069149017,
0.040409453213214874,
-0.8439462184906006,
0.2114650458097458,
0.1535431295633316,
0.0032144300639629364,
0.009921222925186157,
0.02320338785648346,
0.11563974618911743,
-0.26570388674736023,
0.06279071420431137,
0.3633190989494324,
-0.2656933069229126,
-0.13729000091552734,
-0.009138884954154491,
-0.2979203164577484,
0.4705412685871124,
0.00353921577334404,
-0.45224902033805847,
0.3560406267642975,
-0.2815078794956207,
0.1066809594631195,
0.2924124598503113,
-0.44201865792274475,
-0.06567055732011795,
0.4262462556362152,
-0.17668870091438293,
-0.004109080880880356,
0.3303823471069336,
0.05443409085273743,
0.2620958089828491,
-0.1768241822719574,
-0.365495890378952,
0.5972784161567688,
-0.20435240864753723,
0.15482015907764435,
-0.05254121497273445,
-0.2917999029159546,
0.164738267660141,
0.40522506833076477,
0.12168772518634796,
0.04167743772268295,
-0.07699967175722122,
0.0828571766614914,
0.31322789192199707,
-0.2317800521850586,
0.32871097326278687,
0.027981063351035118,
0.049267809838056564,
-0.16167590022087097,
-0.17483310401439667,
-0.0466453991830349,
-0.3390176296234131,
0.12563982605934143,
-0.23192599415779114,
-0.09706617891788483,
0.40112680196762085,
-0.023218754678964615,
0.3465254604816437,
-0.2669229805469513,
-0.3869841992855072,
0.07237665355205536,
0.06117922067642212,
0.20237770676612854,
0.1085960865020752,
-0.33984363079071045,
-0.2768116295337677,
0.19081410765647888,
-0.22901073098182678,
0.05463770776987076,
-0.35653015971183777,
0.38418832421302795,
0.1405828893184662,
0.13938064873218536,
-0.009708046913146973,
-0.16975033283233643,
-0.11823185533285141,
-0.3064126968383789,
0.06678371131420135,
0.2394203543663025,
0.15564310550689697,
0.17329208552837372,
0.15321224927902222,
0.04272376000881195,
0.22593697905540466,
0.04172859713435173,
0.2905355989933014,
-0.25351741909980774,
0.12143245339393616,
-0.322680801153183,
0.07270384579896927,
0.37777554988861084,
-0.4089931845664978,
0.33442163467407227,
-0.08071500808000565,
-0.14590893685817719,
0.16029633581638336,
-0.09558431804180145,
-0.06685968488454819,
0.08979801833629608,
0.07994107902050018,
-0.03948964178562164,
0.510665774345398,
0.03348693251609802,
-0.256339967250824,
-0.08660753816366196,
-0.32835766673088074,
0.05086534842848778,
0.027214664965867996,
-0.03203143924474716,
-0.05411259084939957,
-0.08816830068826675,
0.053497955203056335,
0.22969745099544525,
0.5622864365577698,
0.09163206815719604,
0.12229734659194946,
-0.3130413293838501,
0.33649811148643494,
-0.05957471579313278,
-0.01757752150297165,
-0.05884699523448944,
0.2014513909816742,
0.1984524130821228,
-0.20469674468040466,
-0.15620708465576172,
0.10889054089784622,
-0.34930872917175293,
0.4324035346508026,
-0.010543029755353928,
-0.08215988427400589,
-0.08196759968996048,
-0.13655246794223785,
-0.21137210726737976,
-0.37895727157592773,
-0.18158307671546936,
-0.11655125021934509,
0.21154959499835968,
-0.11224167048931122,
0.42445290088653564,
0.14371319115161896,
0.0697336345911026,
0.028914693742990494,
0.46480363607406616,
-0.25817978382110596,
-0.11651322990655899,
0.1640334129333496,
0.041439976543188095,
-0.08919543772935867,
0.14707651734352112,
0.30064794421195984,
0.22376739978790283,
0.22472098469734192,
0.04731003940105438,
-0.12495763599872589,
-0.12310143560171127,
0.39335140585899353,
-0.022814549505710602,
0.04271800071001053,
0.17391885817050934,
0.05198680981993675,
0.1862623691558838,
-0.05286465585231781,
-0.19052168726921082,
-0.03918236121535301,
0.05910193920135498,
-0.14965693652629852,
-0.1275014579296112,
-0.21476298570632935,
0.06577989459037781,
0.06869496405124664,
0.07499821484088898,
-0.6593740582466125,
-0.20514987409114838,
-0.19124425947666168,
-0.0376744270324707,
0.27347975969314575,
-0.0044934432953596115,
0.11179444193840027,
-0.13482078909873962,
-0.011014103889465332,
-0.09169828146696091,
0.05396926775574684,
-0.8185966610908508,
0.09817599505186081,
-0.0951288565993309,
-0.06453126668930054,
-0.3637397289276123,
-0.11934051662683487,
0.272368460893631,
0.36218369007110596,
-0.21426475048065186,
-0.28227099776268005,
0.31001943349838257,
-0.01467091590166092,
0.1291707456111908,
0.3735462725162506,
0.11507074534893036,
-0.1168297529220581,
0.10849270224571228,
-0.05144195631146431,
0.3031533360481262,
0.3980281949043274,
-0.1371178925037384,
0.4599202275276184,
0.27321678400039673,
0.0310574471950531,
-0.1509060263633728,
0.6859971284866333,
0.2674052119255066,
-0.10254272818565369,
0.3714950978755951,
0.2768210172653198,
-0.21271313726902008,
0.22395002841949463,
-0.3388916254043579,
0.24191883206367493,
-0.02446606755256653,
-0.051504191011190414,
0.27200376987457275,
-0.20136478543281555,
-0.12270953506231308,
-0.20375728607177734,
-0.11273717880249023,
-0.2855703830718994,
-0.12015645205974579,
0.33644619584083557,
-0.44170841574668884,
0.18377918004989624,
-0.4353540241718292,
-0.40291517972946167,
-0.2996041476726532,
0.06068608909845352,
-0.15370377898216248,
0.1451987475156784,
0.1991254985332489,
-0.06623680889606476,
-0.7584746479988098,
0.037286996841430664,
-0.12499428540468216,
0.030695445835590363,
0.0765899047255516,
0.20141920447349548,
0.31814539432525635,
0.14603322744369507,
-0.01802355796098709,
0.11737026274204254,
0.6082798838615417,
-0.06614584475755692,
-0.14195869863033295,
-0.1396324187517166,
-0.22732798755168915,
0.08990679681301117,
-0.2605351209640503,
-0.2128526121377945,
0.30719906091690063,
-0.12607760727405548,
0.1600034087896347,
-0.4796886444091797,
-0.25130486488342285,
-0.18342043459415436,
0.2079840451478958,
-0.1182783991098404,
-0.4122634530067444,
-0.038133516907691956,
0.08374064415693283,
-0.08030185103416443,
0.0695662871003151,
-0.08317364007234573,
0.23377305269241333,
-0.06529569625854492,
-0.0486728735268116,
-0.11697334051132202,
0.11583732813596725,
0.2315760850906372,
-0.08745826780796051,
0.055586691945791245,
0.0780889093875885,
0.34579792618751526,
0.19343525171279907,
-0.07374849915504456,
0.518306314945221,
0.34176328778266907,
-0.4900234043598175,
-0.12084540724754333,
0.14753535389900208,
0.018825553357601166,
0.28422877192497253,
-0.030286118388175964,
0.10823878645896912,
0.30413228273391724,
0.08356896042823792,
-0.15071700513362885,
-0.2274363487958908,
0.08883846551179886,
-0.0415254607796669,
0.023199334740638733,
-0.48761457204818726,
-0.6660345792770386,
0.46845999360084534,
0.35202789306640625,
0.0157676562666893,
0.5351887345314026,
-0.5151386260986328,
-0.261973112821579,
0.19721946120262146,
0.24408823251724243,
0.634352445602417,
-0.06453438103199005,
-0.014266092330217361,
-0.05269207805395126,
0.6073738932609558,
0.42764729261398315,
-0.1701568067073822,
0.03595562279224396,
-0.273193895816803,
-0.32599687576293945,
-0.08999616652727127,
-0.24925479292869568,
0.15001225471496582,
0.6537646055221558,
-0.07522013038396835,
0.3147536516189575,
-0.018011584877967834,
0.02182724140584469,
-0.0847359150648117,
0.2518899142742157,
-0.07684514671564102,
-0.40261948108673096,
0.056993499398231506,
0.05684193968772888,
-0.15088441967964172,
0.10484747588634491,
-0.0717463344335556,
-0.15740880370140076,
0.16872677206993103,
0.2035701423883438,
0.01735827326774597,
0.11161138862371445,
-0.3153596818447113,
0.10355488210916519,
0.1064763218164444,
0.14569559693336487,
0.0690372884273529,
0.05258289352059364,
0.145795077085495,
-0.12081043422222137,
0.08286771923303604,
-0.07832570374011993,
0.039951175451278687,
0.03451010212302208,
-0.12956197559833527,
-0.1900821328163147,
0.4435194134712219,
0.0005731433629989624,
-0.14576317369937897,
0.06376751512289047,
0.14576053619384766,
-0.1982661634683609,
-0.11223919689655304,
-0.013408087193965912,
0.28639304637908936,
-0.2633129358291626,
-0.2650085985660553,
0.254334032535553,
0.1905946135520935,
0.037032727152109146,
0.06687871366739273,
0.2705124020576477,
-0.19042673707008362,
0.6262237429618835,
-0.18727612495422363,
0.09305913746356964,
-0.12678728997707367,
0.0679333433508873,
0.3257101774215698,
-0.35650429129600525,
0.08731290698051453,
0.12313149869441986,
0.008644599467515945,
-0.1919458508491516,
0.0667833760380745,
0.48963895440101624,
-0.2254796326160431,
0.11076533794403076,
-0.16114269196987152,
0.10731369256973267,
0.15497878193855286,
0.3132694363594055,
0.272429496049881,
0.16760607063770294,
0.07562650740146637,
-0.3852105140686035,
-0.31455564498901367,
0.17923399806022644,
-0.07319815456867218,
0.30708688497543335,
0.09411876648664474,
-0.028755545616149902,
-0.04722464829683304,
0.4644153416156769,
-0.23871469497680664,
-0.0739167332649231,
-0.04396343231201172,
0.1152409166097641,
0.2772044539451599,
0.15619495511054993,
-0.162152498960495,
0.32072722911834717,
-0.0046563297510147095,
-0.028452612459659576,
-0.08495047688484192,
-0.15760722756385803,
0.03869707137346268,
0.18439903855323792,
0.04734915494918823,
-0.02539614774286747,
0.11758503317832947,
-0.2932244539260864,
-0.0927734524011612,
-0.16504666209220886,
0.0020964965224266052,
-0.2110258936882019,
-0.03897850960493088,
-0.04834703356027603,
0.5076998472213745,
-0.15482819080352783,
-0.4957728981971741,
0.402254194021225,
-0.0133390873670578,
-0.26091766357421875,
0.004704137798398733,
0.23252302408218384,
0.17369621992111206,
-0.3700738251209259,
-0.45035091042518616,
-0.04399958997964859,
0.45143163204193115,
0.1486097276210785,
-0.05881299823522568,
-0.0423283651471138,
0.08745720982551575,
0.26357924938201904,
0.3449196219444275,
0.24929653108119965,
-0.0706133022904396,
0.06677490472793579,
0.305244117975235,
0.1638261377811432,
-0.04564102739095688,
0.02379954233765602,
0.018433187156915665,
0.0652497187256813,
0.07102590799331665,
0.4253253936767578,
0.08884702622890472,
0.03508487343788147,
-0.10528764128684998,
-0.03794817626476288,
0.26950353384017944,
0.16301409900188446,
0.2150268256664276,
0.16605053842067719,
0.04640013352036476,
-0.1233062595129013,
0.4382774531841278,
0.28479644656181335,
0.0830298364162445,
-0.13475461304187775,
-0.2000863254070282,
0.6424168348312378,
0.2414993941783905,
-0.19700661301612854,
0.05689499154686928,
-0.5968428254127502,
0.16141782701015472,
0.47464412450790405,
0.0026909783482551575,
-0.05280204117298126,
-0.134139746427536,
0.5436438322067261,
-0.41909557580947876,
-0.4090663194656372,
0.003626851364970207,
0.4454929828643799,
0.005300287157297134,
-0.008916838094592094,
-0.510105550289154,
-0.18023231625556946,
-0.21662716567516327,
-0.14971433579921722,
-0.026560809463262558,
-0.2004607766866684,
0.46305185556411743,
0.07628963887691498,
-0.0038347840309143066,
-0.32791635394096375,
-0.2256794273853302,
0.4454766511917114,
0.008699186146259308,
-0.3360501527786255,
0.12768661975860596,
0.14306113123893738,
-0.146070659160614,
0.024937467649579048,
0.3911391794681549,
0.1470084935426712,
0.416897714138031,
0.2586798667907715,
-0.038148246705532074,
-0.11585286259651184,
-0.0226651169359684,
0.016276907175779343,
0.03599243983626366,
-0.1415431797504425,
-0.16961021721363068,
0.39328494668006897,
0.11207272112369537,
-0.12193004786968231,
0.14729644358158112,
0.28783416748046875,
-0.14510491490364075,
-0.29533231258392334,
-0.0019897744059562683,
0.36454612016677856,
0.19369018077850342,
0.05021577328443527,
0.04155106469988823,
-0.5218901634216309,
-0.0013013985008001328,
0.19492146372795105,
-0.4592626094818115,
-0.012727410532534122,
-0.00814140122383833,
0.04287191480398178,
-0.08956736326217651,
0.2777063250541687,
0.3190697133541107,
0.24708741903305054,
-0.5013747215270996,
-0.343147337436676,
-0.3294943869113922,
-0.0038281679153442383,
-0.19073742628097534,
-0.13838784396648407,
-0.3621275722980499,
0.27421241998672485,
0.09224770218133926,
0.07912411540746689,
-0.2293827086687088,
0.17126359045505524,
0.020474370568990707,
0.5848491191864014,
-0.4562458097934723,
-0.06300142407417297,
-0.19210316240787506,
0.4216592013835907,
0.1097044050693512,
-0.3497255742549896,
0.13592660427093506,
0.1766253411769867,
-0.07875582575798035,
-0.033515866845846176,
0.006075814366340637,
0.45940032601356506,
-0.3696485459804535,
0.2187572866678238,
-0.10886314511299133,
0.5026681423187256,
-0.019091788679361343,
0.22381539642810822,
0.04334331303834915,
0.10163156688213348,
-0.3354453146457672,
-0.26643985509872437,
0.2633095979690552,
0.3186028301715851,
-0.18510150909423828,
0.23266001045703888,
-0.2636697590351105,
-0.07210241258144379,
0.08767510950565338,
-0.06535658985376358,
-0.3314822018146515,
-0.10602449625730515,
0.003535814583301544,
-0.09613148868083954,
0.35556378960609436,
0.26861053705215454,
-0.02576708048582077,
0.06291843205690384,
-0.2068594992160797,
-0.05560554563999176,
0.0867588073015213,
-0.33834749460220337,
-0.011822756379842758,
-0.40121322870254517,
0.04785306006669998,
-0.2957095801830292,
0.2436213344335556,
-0.3869486153125763,
0.10667037218809128,
0.40793663263320923,
-0.037327639758586884,
0.2124282866716385,
0.3201630711555481,
0.3638678193092346,
0.08085985481739044,
-0.20297150313854218,
-0.1619790494441986,
-0.05593118071556091,
-0.18486472964286804,
-0.026339013129472733,
-0.23359255492687225
] |
https://github.com/huggingface/datasets/issues/961 | sample multiple datasets | Thanks @rabeehk for sharing.
The sampler basically returns a list of integers to sample from each task's dataset. I was wondering how to use it with two `torch.Dataset` of different tasks. Also, do I need to shard across processes while creating an Iterable Dataset?
| Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help. | 44 | sample multiple datasets
Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help.
Thanks @rabeehk for sharing.
The sampler basically returns a list of integers to sample from each task's dataset. I was wondering how to use it with two `torch.Dataset` of different tasks. Also, do I need to shard across processes while creating an Iterable Dataset?
| [
-0.30914416909217834,
-0.15060408413410187,
-0.09213525056838989,
0.1913309395313263,
-0.027378752827644348,
-0.06553954631090164,
0.35724666714668274,
0.13473041355609894,
0.24571582674980164,
0.2995792329311371,
-0.09108693897724152,
0.22608983516693115,
-0.15362660586833954,
0.09421080350875854,
-0.07439310848712921,
-0.34497958421707153,
-0.018843993544578552,
0.0033389031887054443,
-0.4124898910522461,
0.024168580770492554,
0.03632143884897232,
-0.16475769877433777,
-0.015714943408966064,
-0.18018852174282074,
-0.13799601793289185,
-0.1108614131808281,
-0.4193829596042633,
-0.09468767791986465,
-0.05156015604734421,
-0.09731453657150269,
0.15475144982337952,
0.4623805582523346,
0.3770376741886139,
0.5032095313072205,
-0.00011270723916823044,
-0.1429099440574646,
0.002447608858346939,
-0.0975506603717804,
-0.17127414047718048,
-0.2752993702888489,
-0.010079693049192429,
-0.20851190388202667,
0.13124798238277435,
-0.17095071077346802,
-0.0642985850572586,
-0.05948460474610329,
0.16166380047798157,
-0.3304343819618225,
0.36626607179641724,
-0.12314403802156448,
0.10720303654670715,
0.14799773693084717,
-0.25102347135543823,
-0.003855097107589245,
0.15872779488563538,
0.3364366888999939,
0.13063868880271912,
0.2126612365245819,
0.6261070966720581,
0.019409915432333946,
-0.3076910078525543,
-0.05839769169688225,
-0.13504374027252197,
0.2916046380996704,
0.07177003473043442,
-0.1761123090982437,
-0.11253299564123154,
-0.39193180203437805,
-0.3349257707595825,
0.2209022343158722,
0.42516881227493286,
-0.21050617098808289,
-0.25614133477211,
-0.38617146015167236,
-0.08515729010105133,
0.1255398839712143,
-0.06298386305570602,
0.26563403010368347,
-0.34163427352905273,
-0.1157093346118927,
-0.10508276522159576,
0.02099945954978466,
-0.10652317106723785,
0.06523359566926956,
0.1439673900604248,
0.08088114112615585,
-0.036300063133239746,
0.2262204885482788,
0.4225725531578064,
0.1468418389558792,
0.4299536347389221,
-0.3506002426147461,
0.12346068024635315,
0.2193407565355301,
-0.4612840414047241,
-0.17455022037029266,
-0.2574535608291626,
-0.06715632230043411,
0.2559038996696472,
0.2898263931274414,
0.13076691329479218,
-0.11944881826639175,
0.03710567206144333,
0.08399613201618195,
0.29360589385032654,
-0.11956252157688141,
0.007384553551673889,
0.07439820468425751,
-0.07512739300727844,
-0.16257987916469574,
0.008184406906366348,
0.023147620260715485,
-0.32355624437332153,
-0.20614780485630035,
-0.05898876488208771,
0.32749298214912415,
-0.251054584980011,
-0.057063642889261246,
0.11222849041223526,
-0.42269304394721985,
0.17294201254844666,
-0.4633844792842865,
0.17646415531635284,
0.1875615119934082,
-0.04553009569644928,
0.09302845597267151,
-0.2234087884426117,
0.41656577587127686,
0.027959370985627174,
-0.28520506620407104,
-0.07432544976472855,
0.059137843549251556,
-0.3120620846748352,
0.12504515051841736,
0.18681377172470093,
-0.07057391107082367,
0.06320318579673767,
0.29273736476898193,
0.09182411432266235,
0.06653887778520584,
0.4459819197654724,
-0.1870482712984085,
-0.09712155908346176,
-0.1571861356496811,
0.3668389916419983,
0.24166326224803925,
0.17749157547950745,
0.5011306405067444,
-0.20599636435508728,
0.16468103229999542,
-0.4368531107902527,
0.0006349869072437286,
0.16646097600460052,
0.07432679086923599,
-0.18452082574367523,
0.05161217600107193,
-0.7449149489402771,
0.1417773813009262,
0.15225258469581604,
0.03680640086531639,
-0.005529977381229401,
-0.09630344808101654,
0.09123574197292328,
-0.2128206193447113,
-0.03953033685684204,
0.1670120507478714,
-0.239484041929245,
-0.15009087324142456,
0.04000059887766838,
-0.34730198979377747,
0.3765406012535095,
0.0007195658981800079,
-0.44953739643096924,
0.384433388710022,
-0.2617352604866028,
0.05853532254695892,
0.3484843969345093,
-0.26331308484077454,
0.008607059717178345,
0.42041394114494324,
-0.1872243583202362,
0.0051905307918787,
0.4822489321231842,
0.11616159975528717,
0.3799711763858795,
-0.1847810447216034,
-0.31616923213005066,
0.5908315777778625,
-0.29586711525917053,
0.05756548047065735,
-0.010606564581394196,
-0.015500183217227459,
0.1936832070350647,
0.37791165709495544,
0.13725876808166504,
0.03839980065822601,
-0.23824992775917053,
-0.17443197965621948,
0.26302507519721985,
-0.25881969928741455,
0.25524187088012695,
0.011276325210928917,
-0.07459850609302521,
-0.0362982377409935,
-0.12651456892490387,
0.04232095927000046,
-0.17368075251579285,
0.04229508340358734,
-0.30555784702301025,
-0.0816558301448822,
0.4844089150428772,
-0.09198305010795593,
0.35245731472969055,
-0.2012806534767151,
-0.42591726779937744,
0.0013953298330307007,
0.014707367867231369,
0.3356868624687195,
0.06123996898531914,
-0.5030726790428162,
-0.19342970848083496,
0.17601555585861206,
-0.26414480805397034,
0.0650489330291748,
-0.29341554641723633,
0.2025604248046875,
0.12801074981689453,
0.01796100288629532,
-0.04346704110503197,
-0.16309744119644165,
-0.14555799961090088,
-0.2681693732738495,
0.007135516498237848,
0.0621984526515007,
0.09354881197214127,
0.14675559103488922,
0.24411022663116455,
-0.1132025271654129,
0.11310521513223648,
-0.09110547602176666,
0.24473708868026733,
-0.20661376416683197,
-0.00852961465716362,
-0.32524168491363525,
0.16920390725135803,
0.47264230251312256,
-0.4583623707294464,
0.4650675058364868,
-0.19690759479999542,
-0.03536419942975044,
0.14112403988838196,
-0.10413026064634323,
-0.16146011650562286,
0.30064600706100464,
0.24315640330314636,
-0.01960764080286026,
0.40925002098083496,
-0.002599501982331276,
-0.34746992588043213,
-0.03617269545793533,
-0.44328001141548157,
0.021390564739704132,
-0.02693404257297516,
-0.005844123661518097,
-0.07175853103399277,
0.06951068341732025,
0.05664854496717453,
0.06169502064585686,
0.43131446838378906,
0.187590554356575,
0.14062494039535522,
-0.4575049579143524,
0.2285919189453125,
-0.06788728386163712,
-0.09347661584615707,
-0.05964808166027069,
-0.021503202617168427,
0.15932081639766693,
-0.19513653218746185,
-0.264215886592865,
0.14906564354896545,
-0.19987964630126953,
0.26498448848724365,
-0.04866929352283478,
-0.224238783121109,
-0.018471121788024902,
0.040244363248348236,
-0.17739614844322205,
-0.48323747515678406,
-0.3336966335773468,
-0.16023048758506775,
0.07431095093488693,
-0.08353973925113678,
0.5230569243431091,
0.15525949001312256,
0.12853442132472992,
0.1552947610616684,
0.3557887375354767,
-0.1945265829563141,
-0.13105666637420654,
0.18671536445617676,
-0.09574590623378754,
-0.06859909743070602,
0.15787166357040405,
0.3405124545097351,
0.16120417416095734,
0.2694947421550751,
-0.13445702195167542,
-0.05362381041049957,
-0.2778056561946869,
0.5034024119377136,
0.03548035770654678,
-0.11607947945594788,
0.18794672191143036,
-0.007823266088962555,
0.18643617630004883,
-0.036321550607681274,
-0.26271146535873413,
-0.0809735506772995,
0.10534824430942535,
-0.1289021223783493,
-0.02842821180820465,
-0.251913458108902,
0.05282096937298775,
0.18624910712242126,
0.042885955423116684,
-0.5023219585418701,
-0.12743327021598816,
-0.15961891412734985,
-0.026693081483244896,
0.287225604057312,
-0.11554545909166336,
0.179332435131073,
-0.2040233463048935,
-0.05678891763091087,
0.0702926442027092,
-0.017166275531053543,
-0.8391952514648438,
0.008937031030654907,
-0.1615849733352661,
-0.09092801809310913,
-0.3299793601036072,
-0.13287773728370667,
0.20574381947517395,
0.4397108554840088,
-0.09656308591365814,
-0.1496535837650299,
0.36702513694763184,
0.08945895731449127,
0.13022395968437195,
0.35051268339157104,
-0.011362239718437195,
-0.04755070060491562,
0.09433139115571976,
-0.08525915443897247,
0.3602389097213745,
0.3451484441757202,
-0.20269718766212463,
0.5967391729354858,
0.24707704782485962,
0.00796964205801487,
-0.2425692230463028,
0.8131011724472046,
0.1924000233411789,
-0.21442361176013947,
0.36831194162368774,
0.19312575459480286,
-0.11716233193874359,
0.27240246534347534,
-0.4104227125644684,
0.22432349622249603,
0.10896402597427368,
0.01211891695857048,
0.25778424739837646,
-0.2585086524486542,
-0.013955008238554,
-0.16717703640460968,
-0.01829450950026512,
-0.2213679850101471,
-0.17086321115493774,
0.39757484197616577,
-0.4647909998893738,
0.12469444423913956,
-0.4206693768501282,
-0.23352402448654175,
-0.3325876295566559,
0.046818722039461136,
-0.17442874610424042,
0.0872700959444046,
0.24497461318969727,
-0.07495445013046265,
-0.5071638226509094,
0.00879176426678896,
-0.18179962038993835,
0.17027121782302856,
0.06923803687095642,
0.10495395958423615,
0.24403540790081024,
-0.0012113489210605621,
0.004203014075756073,
0.23341819643974304,
0.7818578481674194,
0.009376604110002518,
-0.2018246203660965,
-0.12894900143146515,
-0.17667970061302185,
0.010443693026900291,
-0.1947183907032013,
-0.10691346228122711,
0.43063849210739136,
-0.08744904398918152,
0.02728027105331421,
-0.3718864619731903,
-0.305330365896225,
-0.03365786373615265,
0.3529526889324188,
-0.21290744841098785,
-0.33395910263061523,
-0.1321314424276352,
0.04351120442152023,
-0.01748047210276127,
0.11112485826015472,
-0.17991973459720612,
0.19341376423835754,
-0.2332131564617157,
0.05223802849650383,
-0.14595761895179749,
0.06879008561372757,
0.28717899322509766,
-0.07392221689224243,
0.08495821803808212,
-0.035677507519721985,
0.32664334774017334,
0.2523035407066345,
0.10216425359249115,
0.49318695068359375,
0.28479188680648804,
-0.57994145154953,
-0.15634775161743164,
0.16504377126693726,
-0.0426371805369854,
0.2709823250770569,
0.025318466126918793,
0.14649315178394318,
0.250823974609375,
-0.053647853434085846,
-0.14407922327518463,
-0.16025827825069427,
0.07323915511369705,
-0.005049237981438637,
0.1342919021844864,
-0.518156111240387,
-0.6151900887489319,
0.3679873049259186,
0.35146650671958923,
0.024622946977615356,
0.5754212737083435,
-0.6345165371894836,
-0.1447274386882782,
0.26727938652038574,
0.13343369960784912,
0.6884876489639282,
-0.12310898303985596,
0.04045776650309563,
-0.1955915093421936,
0.633561909198761,
0.2989371120929718,
-0.09012582898139954,
0.009029499255120754,
-0.2582164704799652,
-0.25371766090393066,
-0.1291874200105667,
-0.3498132526874542,
-0.009367629885673523,
0.5567127466201782,
-0.053305335342884064,
0.364336758852005,
-0.018838442862033844,
0.08028797805309296,
-0.03572718799114227,
0.21467599272727966,
-0.12907089293003082,
-0.29480093717575073,
0.223581001162529,
0.032238397747278214,
-0.2402159422636032,
0.26147446036338806,
-0.008008832111954689,
-0.16226617991924286,
0.050304193049669266,
0.16569748520851135,
-0.043928615748882294,
0.10535962134599686,
-0.15688732266426086,
-0.025894761085510254,
0.09984104335308075,
-0.288723886013031,
0.046571213752031326,
0.03976570814847946,
0.24805045127868652,
-0.14636215567588806,
0.09107660502195358,
-0.05187757685780525,
0.20304995775222778,
-0.052706025540828705,
-0.256590873003006,
-0.16265162825584412,
0.44596803188323975,
0.11781840771436691,
-0.18110503256320953,
0.16660860180854797,
0.2741127610206604,
-0.23913605511188507,
-0.1466040164232254,
0.03671766072511673,
0.29228144884109497,
-0.32578474283218384,
-0.20488257706165314,
0.26858267188072205,
0.19833427667617798,
0.0012560896575450897,
0.06239880621433258,
0.27303436398506165,
-0.2041940540075302,
0.4781061112880707,
-0.13753652572631836,
0.06928771734237671,
-0.09863285720348358,
-0.02684042602777481,
0.3271804451942444,
-0.35752591490745544,
0.1221204549074173,
0.21167008578777313,
0.06834764778614044,
-0.1758590042591095,
0.009121425449848175,
0.5107762217521667,
-0.23302322626113892,
0.09499327093362808,
-0.21500657498836517,
0.1868368238210678,
0.03960543870925903,
0.27648720145225525,
0.24520371854305267,
0.23649755120277405,
0.04291858151555061,
-0.2409358024597168,
-0.2991339862346649,
0.13248521089553833,
-0.1284206658601761,
0.4141407012939453,
0.02984963357448578,
0.10777781903743744,
-0.019846687093377113,
0.3290541172027588,
-0.2366255670785904,
-0.0722421333193779,
0.06397321075201035,
0.12084095925092697,
0.3161906599998474,
0.19764795899391174,
-0.15162673592567444,
0.26477280259132385,
-0.0022008027881383896,
-0.05054285377264023,
-0.0888868123292923,
-0.1603430211544037,
0.0976656824350357,
0.17467080056667328,
0.0033917129039764404,
0.010002290830016136,
0.007941294461488724,
-0.12397041916847229,
0.02265876717865467,
-0.1743984967470169,
-0.005144480615854263,
-0.15829408168792725,
-0.04940226674079895,
-0.09894540905952454,
0.4543515145778656,
-0.10371575504541397,
-0.36102545261383057,
0.3215208649635315,
-0.06053878366947174,
-0.17320607602596283,
0.022254440933465958,
0.23874767124652863,
0.11455422639846802,
-0.2878705561161041,
-0.3312094509601593,
-0.05576232820749283,
0.6224428415298462,
-0.05083080381155014,
-0.2747763693332672,
0.013009052723646164,
0.04879651591181755,
0.2301201969385147,
0.41024503111839294,
0.3612701892852783,
-0.05757150426506996,
0.12977181375026703,
0.328185498714447,
0.15649519860744476,
0.036089956760406494,
0.19352777302265167,
-0.11029656231403351,
0.07873296737670898,
0.0374516136944294,
0.3867591917514801,
0.09183570742607117,
0.1127491444349289,
-0.06638774275779724,
-0.08112755417823792,
0.24757079780101776,
0.1623300164937973,
0.20476529002189636,
0.2516852021217346,
0.08748766779899597,
-0.17550745606422424,
0.46571940183639526,
0.17078404128551483,
0.054542750120162964,
-0.3009531497955322,
-0.31656643748283386,
0.7508295178413391,
0.15812763571739197,
-0.3637072443962097,
0.15630459785461426,
-0.6236588954925537,
0.16356121003627777,
0.3737291395664215,
0.19983336329460144,
-0.06851180642843246,
-0.04097171127796173,
0.7959282994270325,
-0.36665022373199463,
-0.39864465594291687,
-0.0656934455037117,
0.571147084236145,
-0.02716374397277832,
-0.1102510392665863,
-0.5557934641838074,
-0.20087802410125732,
-0.043383024632930756,
-0.07239724695682526,
0.07204026728868484,
-0.2760889530181885,
0.31559938192367554,
0.03931046649813652,
0.04582292214035988,
-0.3139219880104065,
-0.08136679232120514,
0.3523241877555847,
-0.17440524697303772,
-0.22355039417743683,
0.030452359467744827,
0.06770212948322296,
-0.10781320929527283,
0.21290962398052216,
0.31524524092674255,
0.2467617690563202,
0.33467188477516174,
-0.020124483853578568,
-0.02460351586341858,
-0.16381625831127167,
-0.032811686396598816,
0.001294730231165886,
0.05629519000649452,
-0.23971053957939148,
-0.2697048783302307,
0.4819910526275635,
0.1127370297908783,
-0.11783429235219955,
0.00243942067027092,
0.2799886167049408,
-0.18317893147468567,
-0.15162651240825653,
-0.10536579042673111,
0.3272389769554138,
0.14141803979873657,
0.012709695845842361,
-0.07155684381723404,
-0.4833851754665375,
-0.14336344599723816,
0.26478666067123413,
-0.33182021975517273,
-0.053076326847076416,
0.02002231776714325,
0.04431747645139694,
-0.1470840722322464,
0.2660503089427948,
0.3293684422969818,
0.41114842891693115,
-0.5305402278900146,
-0.268373966217041,
-0.23147177696228027,
0.06949763000011444,
-0.28204935789108276,
-0.07870551198720932,
-0.3696596920490265,
0.28101515769958496,
0.16575123369693756,
0.20545288920402527,
-0.015424847602844238,
0.1577768623828888,
0.06652174144983292,
0.607675313949585,
-0.4521021842956543,
-0.15341883897781372,
-0.09097224473953247,
0.37164464592933655,
0.11652117967605591,
-0.30562418699264526,
0.027537435293197632,
0.1810699850320816,
-0.05443055182695389,
-0.07636408507823944,
0.023169785737991333,
0.5587268471717834,
-0.2703857719898224,
0.22518634796142578,
-0.2019023299217224,
0.654281497001648,
0.06134689599275589,
0.25980496406555176,
0.0997607633471489,
0.012331623584032059,
-0.3123836815357208,
-0.26066744327545166,
0.1967436522245407,
0.12020625174045563,
-0.11591149121522903,
0.19488133490085602,
-0.30994680523872375,
0.0004959357902407646,
0.10425969958305359,
-0.01998532935976982,
-0.40414589643478394,
-0.0330122634768486,
-0.057144083082675934,
-0.10876558721065521,
0.1739167720079422,
0.1539926528930664,
0.04161114618182182,
0.25285282731056213,
-0.2672005891799927,
-0.02120562456548214,
0.19719180464744568,
-0.3086317181587219,
-0.0038405396044254303,
-0.31949296593666077,
-0.037263527512550354,
-0.19441282749176025,
0.24485796689987183,
-0.43525275588035583,
0.12779074907302856,
0.3375934660434723,
-0.044920630753040314,
0.2574707269668579,
0.1947382688522339,
0.31094369292259216,
0.11277593672275543,
-0.14892898499965668,
-0.20385628938674927,
0.008266577497124672,
-0.11758799105882645,
-0.16889303922653198,
-0.20211021602153778
] |
https://github.com/huggingface/datasets/issues/961 | sample multiple datasets | We now have `interleave_datasets` in the API that allows you to cycle/sample with probabilities (with various stopping strategies) through a list of datasets. However, more specific behavior should be implemented manually. | Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help. | 31 | sample multiple datasets
Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help.
We now have `interleave_datasets` in the API that allows you to cycle/sample with probabilities (with various stopping strategies) through a list of datasets. However, more specific behavior should be implemented manually. | [
-0.2827259600162506,
-0.06909796595573425,
-0.08718488365411758,
0.10626742243766785,
-0.009181685745716095,
-0.01980600133538246,
0.38027599453926086,
0.10557696223258972,
0.44878679513931274,
0.24809050559997559,
0.03031018190085888,
0.1945829689502716,
-0.08470602333545685,
0.36228635907173157,
-0.1318095177412033,
-0.29610171914100647,
0.08072207868099213,
0.21103844046592712,
-0.3291616141796112,
0.011190734803676605,
-0.025575684383511543,
-0.22003093361854553,
-0.1782941371202469,
-0.2912977337837219,
-0.06389740109443665,
-0.09632482379674911,
-0.3795969784259796,
-0.08778836578130722,
-0.16147005558013916,
-0.08734773844480515,
0.21283011138439178,
0.5447799563407898,
0.3397133946418762,
0.29968997836112976,
-0.00011234775593038648,
-0.22134581208229065,
0.028278877958655357,
-0.1099904403090477,
-0.038465794175863266,
-0.2694123387336731,
-0.3779122829437256,
-0.15646496415138245,
0.12518170475959778,
-0.20857501029968262,
-0.09759631007909775,
-0.12607938051223755,
0.03408273309469223,
-0.5496282577514648,
0.38478338718414307,
-0.15584082901477814,
0.0927896648645401,
0.15747392177581787,
-0.17878228425979614,
0.03354213759303093,
0.10870411992073059,
0.19902102649211884,
0.18523409962654114,
0.3058926463127136,
0.6079248189926147,
-0.19490502774715424,
-0.16489845514297485,
-0.11897170543670654,
-0.06259290128946304,
0.26638954877853394,
0.023873459547758102,
-0.14972347021102905,
-0.06470983475446701,
-0.5010397434234619,
-0.4216667413711548,
0.27232441306114197,
0.5535379648208618,
-0.21643060445785522,
-0.31400272250175476,
-0.359138548374176,
0.006705911364406347,
0.07579225301742554,
-0.09717907756567001,
0.24519772827625275,
-0.23601847887039185,
-0.09658403694629669,
-0.07309074699878693,
0.07898958772420883,
-0.13620927929878235,
0.17386731505393982,
-0.00984068214893341,
0.07909658551216125,
-0.012231470085680485,
0.21397113800048828,
0.4431620240211487,
0.13537995517253876,
0.2745209336280823,
-0.3471986651420593,
0.05479779094457626,
0.21567556262016296,
-0.3993217647075653,
-0.314782053232193,
-0.33798351883888245,
-0.08544156700372696,
0.22636353969573975,
0.4247925281524658,
-0.05676368623971939,
-0.10394463688135147,
-0.08649566769599915,
0.13606993854045868,
0.44014275074005127,
-0.14487606287002563,
0.033867985010147095,
-0.0014536487869918346,
0.02560105361044407,
-0.10238514095544815,
0.01583012565970421,
0.09532532095909119,
-0.3165004849433899,
-0.067934550344944,
-0.12559197843074799,
0.2311754822731018,
-0.2856459617614746,
-0.09648983180522919,
0.07275322079658508,
-0.43055543303489685,
-0.10641004145145416,
-0.4167218804359436,
0.14127559959888458,
0.013688713312149048,
-0.1317882090806961,
0.3017381429672241,
-0.1909940391778946,
0.3963945508003235,
-0.02739560976624489,
-0.404305100440979,
-0.0682079941034317,
0.13206233084201813,
-0.2531428635120392,
0.14582116901874542,
0.19349801540374756,
0.01915052905678749,
0.09001641720533371,
0.2996498644351959,
0.09572191536426544,
-0.11216128617525101,
0.5080476403236389,
-0.09682761132717133,
-0.20239251852035522,
-0.14589034020900726,
0.4686582386493683,
0.2213812619447708,
0.2588154673576355,
0.3210710883140564,
-0.23746329545974731,
0.08705425262451172,
-0.4860438108444214,
0.08650653064250946,
0.15437546372413635,
0.09450419247150421,
-0.1853274554014206,
-0.09748484194278717,
-0.7596601843833923,
0.1942879557609558,
0.11704397946596146,
0.02601296827197075,
-0.01663077622652054,
0.0487307570874691,
0.22155582904815674,
-0.1589617133140564,
0.02282046712934971,
0.24476858973503113,
-0.4079738259315491,
-0.1422622799873352,
0.14300447702407837,
-0.2667061984539032,
0.4359579086303711,
0.031304121017456055,
-0.45059654116630554,
0.3110102415084839,
-0.22457440197467804,
-0.03194907307624817,
0.23471851646900177,
-0.27320608496665955,
0.07465582340955734,
0.32869288325309753,
-0.11987084150314331,
-0.04034944996237755,
0.381223201751709,
0.128932386636734,
0.38135942816734314,
-0.16879066824913025,
-0.1729496419429779,
0.6912966966629028,
-0.2303847372531891,
0.10361883789300919,
0.10794404149055481,
-0.20954595506191254,
0.10613871365785599,
0.3115253448486328,
-0.010545462369918823,
0.03202246129512787,
-0.1026090756058693,
0.0022884244099259377,
0.26848095655441284,
-0.2544868588447571,
0.219442218542099,
0.003924103453755379,
0.09633515775203705,
-0.14163967967033386,
-0.2317037284374237,
0.04938381910324097,
-0.15925496816635132,
0.03507687896490097,
-0.3012048006057739,
-0.0962563306093216,
0.5827545523643494,
-0.10234258323907852,
0.25770431756973267,
-0.24890390038490295,
-0.33382314443588257,
0.10481823980808258,
-0.0006135106086730957,
0.21104134619235992,
0.045807141810655594,
-0.334628701210022,
-0.3352377414703369,
0.13951440155506134,
-0.1475084125995636,
0.06428799778223038,
-0.3491798937320709,
0.3942013382911682,
0.21640972793102264,
0.10793156921863556,
0.023481279611587524,
-0.03829120099544525,
-0.1189369186758995,
-0.27944618463516235,
0.05521608516573906,
0.1091689020395279,
0.22418247163295746,
0.2241903394460678,
0.3076082468032837,
-0.05394430458545685,
0.2762109935283661,
-0.09089499711990356,
0.27203384041786194,
-0.3261861205101013,
0.010398474521934986,
-0.28988683223724365,
0.12346652895212173,
0.6128921508789062,
-0.32273492217063904,
0.4203450381755829,
-0.18968702852725983,
0.014650220051407814,
0.23382627964019775,
-0.11676834523677826,
-0.1517011821269989,
0.005790598690509796,
0.14716272056102753,
-0.06598208844661713,
0.42054274678230286,
0.07936105132102966,
-0.2155216485261917,
-0.016819387674331665,
-0.36354970932006836,
-0.012828795239329338,
-0.054617740213871,
-0.08013517409563065,
-0.06162179261445999,
-0.0034264642745256424,
-0.00864405743777752,
0.12144872546195984,
0.37663179636001587,
0.1763056218624115,
0.06685879826545715,
-0.468829870223999,
0.2731555104255676,
-0.1382807195186615,
0.011544488370418549,
-0.029089346528053284,
0.01302887313067913,
0.02403932809829712,
-0.13437296450138092,
-0.20762582123279572,
0.11104322224855423,
-0.2605151832103729,
0.2761458456516266,
-0.08013395220041275,
-0.19294409453868866,
-0.07885848730802536,
-0.10544171929359436,
-0.25296375155448914,
-0.3150874078273773,
-0.5334683656692505,
-0.11716017127037048,
0.09471483528614044,
-0.061174869537353516,
0.49464666843414307,
0.08070974051952362,
0.14582045376300812,
-0.08271244913339615,
0.5443113446235657,
-0.20740900933742523,
-0.13830001652240753,
0.21030110120773315,
-0.009345505386590958,
-0.10907002538442612,
0.17826630175113678,
0.24345116317272186,
0.24726298451423645,
0.34874969720840454,
0.007458776235580444,
-0.07790127396583557,
-0.17267665266990662,
0.34136754274368286,
0.011813357472419739,
0.0055528804659843445,
0.2231432944536209,
-0.015279263257980347,
0.23916704952716827,
0.06807047128677368,
-0.31191927194595337,
-0.15521152317523956,
0.22414417564868927,
-0.152117520570755,
-0.15632081031799316,
-0.18374595046043396,
0.104397252202034,
0.133337140083313,
0.038643691688776016,
-0.5274335145950317,
-0.13050015270709991,
-0.28743433952331543,
0.0050936974585056305,
0.18671956658363342,
-0.10805503278970718,
0.14566843211650848,
-0.15087653696537018,
0.01762116700410843,
-0.1123008206486702,
-0.021316856145858765,
-0.8489325642585754,
-0.0734931230545044,
-0.09977690130472183,
0.03324039280414581,
-0.2795097529888153,
-0.11662854999303818,
0.17380547523498535,
0.2633246183395386,
-0.10558894276618958,
-0.22876259684562683,
0.2840151786804199,
0.11635701358318329,
0.1362270563840866,
0.33833247423171997,
-0.035921692848205566,
-0.11897899210453033,
0.10369057953357697,
-0.09045444428920746,
0.30804622173309326,
0.389833003282547,
-0.05354128032922745,
0.5003939270973206,
0.23260807991027832,
-0.009285256266593933,
-0.31515732407569885,
0.6457370519638062,
0.29887354373931885,
-0.20342592895030975,
0.4446289837360382,
0.26570841670036316,
-0.06146811321377754,
0.1647668033838272,
-0.2673017382621765,
0.04818782955408096,
0.14227956533432007,
0.009982157498598099,
0.2921047806739807,
-0.22100993990898132,
-0.1516016125679016,
-0.23980648815631866,
0.0522393174469471,
-0.22115641832351685,
-0.12818820774555206,
0.23651276528835297,
-0.5906305313110352,
-0.014393426477909088,
-0.3974311947822571,
-0.300723671913147,
-0.29537233710289,
0.08407052606344223,
-0.25957322120666504,
0.058681558817625046,
0.30850034952163696,
-0.06059346720576286,
-0.5738852024078369,
-0.150237575173378,
-0.21222472190856934,
0.07993962615728378,
0.028996484354138374,
0.22733663022518158,
0.28229981660842896,
0.10405664891004562,
-0.033887818455696106,
0.14712075889110565,
0.6341326236724854,
-0.11716050654649734,
-0.30184006690979004,
-0.20903630554676056,
-0.022380083799362183,
0.15081976354122162,
-0.2604333162307739,
-0.18444089591503143,
0.25683942437171936,
-0.0545722134411335,
0.12228544801473618,
-0.39365100860595703,
-0.2684270143508911,
0.0004649646580219269,
0.30248114466667175,
-0.07164778560400009,
-0.24359248578548431,
-0.04207102581858635,
0.11045288294553757,
-0.14060547947883606,
0.14866361021995544,
-0.1803838610649109,
0.2484353929758072,
-0.1998196542263031,
-0.11489300429821014,
-0.09112615138292313,
0.059393130242824554,
0.2182803750038147,
-0.05614607036113739,
0.07164852321147919,
0.15715456008911133,
0.3687925338745117,
0.2108345478773117,
-0.042783573269844055,
0.5015279650688171,
0.3560793101787567,
-0.4877631962299347,
-0.302359014749527,
0.07169006764888763,
-0.0012618480250239372,
0.29075002670288086,
-0.0562673956155777,
0.13848179578781128,
0.36801859736442566,
0.06418709456920624,
-0.1288045197725296,
-0.18500176072120667,
0.14397287368774414,
-0.019573340192437172,
0.06389587372541428,
-0.560590386390686,
-0.6862822771072388,
0.4414932131767273,
0.31804847717285156,
0.08562758564949036,
0.7264957427978516,
-0.3977677822113037,
-0.23904986679553986,
0.3037608861923218,
0.17856183648109436,
0.5587428212165833,
-0.04334176331758499,
0.02471519634127617,
-0.19151386618614197,
0.6163287162780762,
0.48336243629455566,
0.0870540589094162,
0.019454574212431908,
-0.27242720127105713,
-0.2721620202064514,
-0.1433846801519394,
-0.2877114415168762,
0.08567354828119278,
0.48431307077407837,
-0.06972140073776245,
0.3124249279499054,
-0.022306691855192184,
0.04313239827752113,
-0.041643328964710236,
0.1553952544927597,
-0.07557191699743271,
-0.4357081949710846,
0.12836484611034393,
0.030615542083978653,
-0.1726895421743393,
0.17698970437049866,
-0.03982680290937424,
-0.14099419116973877,
0.13033030927181244,
0.11537428200244904,
-0.10936492681503296,
0.11976302415132523,
-0.18712764978408813,
-0.013038720935583115,
0.00011391565203666687,
-0.017823517322540283,
0.08453162014484406,
-0.09009738266468048,
0.17536094784736633,
0.004659239202737808,
0.0012184157967567444,
-0.017183098942041397,
0.14978985488414764,
-0.06032969802618027,
-0.18063144385814667,
-0.12014220654964447,
0.39784473180770874,
0.1065414622426033,
-0.27452006936073303,
0.1435222178697586,
0.13628926873207092,
-0.25750914216041565,
-0.1189420148730278,
0.05222330614924431,
0.21337778866291046,
-0.22116608917713165,
-0.27561724185943604,
0.3002239763736725,
0.2059745341539383,
-0.05762963742017746,
0.04975855350494385,
0.2681930959224701,
-0.08918052911758423,
0.5316259860992432,
-0.17862191796302795,
0.018631257116794586,
-0.16225259006023407,
0.004478476941585541,
0.30693283677101135,
-0.466182142496109,
0.23146279156208038,
0.12337814271450043,
0.13972096145153046,
-0.1971437931060791,
0.11881264299154282,
0.4090382754802704,
-0.040627919137477875,
0.10652028024196625,
-0.1437920778989792,
0.13567237555980682,
0.2156095653772354,
0.2694595456123352,
0.2145468145608902,
0.20413953065872192,
0.16469928622245789,
-0.49871596693992615,
-0.2047053873538971,
0.25878962874412537,
-0.08241604268550873,
0.4546376168727875,
0.07176011800765991,
0.06702692806720734,
-0.15523095428943634,
0.26612648367881775,
-0.21277709305286407,
-0.09025425463914871,
0.04945053905248642,
0.06049622595310211,
0.23212569952011108,
0.21430662274360657,
-0.1545342653989792,
0.29882097244262695,
-0.008150450885295868,
-0.09936240315437317,
0.00984172336757183,
-0.1328938901424408,
0.04276985302567482,
0.18014146387577057,
-0.007116157561540604,
-0.030652230605483055,
0.12960895895957947,
-0.19797389209270477,
-0.10569450259208679,
-0.20368164777755737,
-0.027572784572839737,
-0.2290724217891693,
-0.0658702403306961,
-0.20789986848831177,
0.41488802433013916,
-0.07495030015707016,
-0.39515769481658936,
0.3520989716053009,
0.008092902600765228,
-0.2358711212873459,
-0.048238568007946014,
0.22432155907154083,
0.0708780437707901,
-0.2976144254207611,
-0.34880346059799194,
-0.06700193136930466,
0.5244972705841064,
0.05416746810078621,
-0.2273576557636261,
0.09917082637548447,
0.0272664912045002,
0.36672189831733704,
0.38320907950401306,
0.39456892013549805,
0.045999202877283096,
0.16401387751102448,
0.3268159329891205,
0.1494733840227127,
0.023362863808870316,
0.09404011815786362,
-0.047140296548604965,
0.1538088023662567,
0.10373224318027496,
0.3965402841567993,
0.14773786067962646,
0.1169327050447464,
-0.04802227020263672,
-0.18547233939170837,
0.2610529959201813,
0.21484629809856415,
0.32348090410232544,
0.21272145211696625,
0.099636971950531,
-0.1725873500108719,
0.27843421697616577,
0.20183290541172028,
0.15787063539028168,
-0.26568692922592163,
-0.3814041316509247,
0.6499410271644592,
0.29568758606910706,
-0.3411349058151245,
-0.014562807977199554,
-0.6457902193069458,
0.15632487833499908,
0.43196991086006165,
0.13063843548297882,
0.03438892215490341,
0.02306477725505829,
0.6406370997428894,
-0.5146213173866272,
-0.4051499366760254,
-0.15354862809181213,
0.488321453332901,
0.14082014560699463,
-0.10837820172309875,
-0.6254392266273499,
-0.16403016448020935,
-0.047692421823740005,
-0.12367509305477142,
0.06420516967773438,
-0.26729702949523926,
0.1939689964056015,
0.031396809965372086,
0.039358291774988174,
-0.484016478061676,
-0.07038959860801697,
0.3431749641895294,
-0.04553215950727463,
-0.229904443025589,
0.04825428128242493,
0.11214952170848846,
-0.21089282631874084,
0.1681017279624939,
0.22703143954277039,
0.16586843132972717,
0.34866970777511597,
0.12722451984882355,
-0.011320884339511395,
-0.13646630942821503,
-0.046073198318481445,
-0.01230757124722004,
0.06464490294456482,
-0.1268743872642517,
-0.3011670410633087,
0.3937169015407562,
0.14211514592170715,
-0.08788415044546127,
0.013356288895010948,
0.35947954654693604,
-0.07054756581783295,
-0.27239787578582764,
-0.11599280685186386,
0.40720248222351074,
0.2725861370563507,
0.0245194211602211,
-0.024619244039058685,
-0.4070846438407898,
-0.006698189303278923,
0.15099269151687622,
-0.26377248764038086,
-0.10630731284618378,
0.1498134881258011,
0.04254769906401634,
-0.17249956727027893,
0.2532174289226532,
0.42435821890830994,
0.39819106459617615,
-0.46435868740081787,
-0.2622848153114319,
-0.18902209401130676,
0.07364703714847565,
-0.23620706796646118,
-0.12070927023887634,
-0.388068288564682,
0.291334867477417,
0.19417032599449158,
0.1207253560423851,
-0.07981500029563904,
0.2807554006576538,
0.1272943913936615,
0.4655904769897461,
-0.5508381128311157,
-0.1503380686044693,
-0.03855258226394653,
0.4205476641654968,
0.04743713140487671,
-0.2993233799934387,
0.13934606313705444,
0.24099159240722656,
-0.10685139894485474,
-0.004528746008872986,
0.007407434284687042,
0.49973201751708984,
-0.3155987858772278,
0.16747699677944183,
-0.1512846201658249,
0.6446723937988281,
-0.01723438873887062,
0.2691743075847626,
0.026845619082450867,
-0.07703370600938797,
-0.36391568183898926,
-0.22248485684394836,
0.18304917216300964,
0.19538572430610657,
-0.10405299067497253,
0.28911417722702026,
-0.2443215399980545,
-0.021609587594866753,
0.17790119349956512,
-0.07249527424573898,
-0.4446519911289215,
-0.09498349577188492,
0.014032408595085144,
-0.15156248211860657,
0.22029924392700195,
0.16803443431854248,
0.023243553936481476,
0.19414210319519043,
-0.16003015637397766,
0.00004692189395427704,
0.046956151723861694,
-0.3826487064361572,
0.019061904400587082,
-0.34545740485191345,
0.05402014032006264,
-0.29414835572242737,
0.24113351106643677,
-0.260656476020813,
0.16405615210533142,
0.3911740481853485,
-0.14045250415802002,
0.20952537655830383,
0.33213311433792114,
0.3384763300418854,
0.08721311390399933,
-0.13880567252635956,
-0.11178015172481537,
0.05754021555185318,
-0.16330008208751678,
-0.052455365657806396,
-0.19903147220611572
] |
https://github.com/huggingface/datasets/issues/961 | sample multiple datasets | Hi @mariosasko, @pushkalkatara
I have multi dataset for ASR task. I have multilingual such as: English, China, Japan, Vietnamese. Each dataset is loaded as dataset and they are imbalance dataset. Now I training, I want to equal sampler, it means each batch loader in training has equal number sampler in each language.
For example: Batch_size = 16:
English sample:4
China sample:4
Japan sample:4
Vietnamese sample:4
How can I do it? I saw that interleave_datasets only splits data with probability an concatenates all of them after that, it not affect in training data loader. Forgiving me if I wrong.
Thank you for your help. | Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help. | 103 | sample multiple datasets
Hi
I am dealing with multiple datasets, I need to have a dataloader over them with a condition that in each batch data samples are coming from one of the datasets. My main question is:
- I need to have a way to sample the datasets first with some weights, lets say 2x dataset1 1x dataset2, could you point me how I can do it
sub-questions:
- I want to concat sampled datasets and define one dataloader on it, then I need a way to make sure batches come from 1 dataset in each iteration, could you assist me how I can do?
- I use iterative-type of datasets, but I need a method of shuffling still since it brings accuracy performance issues if not doing it, thanks for the help.
Hi @mariosasko, @pushkalkatara
I have multi dataset for ASR task. I have multilingual such as: English, China, Japan, Vietnamese. Each dataset is loaded as dataset and they are imbalance dataset. Now I training, I want to equal sampler, it means each batch loader in training has equal number sampler in each language.
For example: Batch_size = 16:
English sample:4
China sample:4
Japan sample:4
Vietnamese sample:4
How can I do it? I saw that interleave_datasets only splits data with probability an concatenates all of them after that, it not affect in training data loader. Forgiving me if I wrong.
Thank you for your help. | [
-0.36725011467933655,
-0.23979651927947998,
-0.10563105344772339,
0.25768619775772095,
-0.07338005304336548,
0.047136180102825165,
0.4155574142932892,
0.04861149936914444,
0.27023017406463623,
0.22380876541137695,
-0.12034644186496735,
0.1390259861946106,
-0.0658416897058487,
0.2816202938556671,
-0.1850319355726242,
-0.23880785703659058,
0.06104813516139984,
0.1587129831314087,
-0.31297755241394043,
-0.06485619395971298,
-0.009411174803972244,
-0.109113410115242,
-0.21946308016777039,
-0.2157047539949417,
-0.16943559050559998,
-0.060425177216529846,
-0.3498642146587372,
-0.12032558768987656,
-0.12132076174020767,
-0.044684264808893204,
0.20372150838375092,
0.41576942801475525,
0.4892139136791229,
0.30491799116134644,
-0.00011788203119067475,
-0.2000872939825058,
-0.052754275500774384,
-0.05453991889953613,
-0.1800663024187088,
-0.22391583025455475,
-0.4249468445777893,
-0.28182142972946167,
0.05457300692796707,
-0.11581606417894363,
-0.12845344841480255,
-0.07326677441596985,
0.0037260204553604126,
-0.4525125026702881,
0.2809178829193115,
-0.05670711770653725,
0.06927018612623215,
0.04672269523143768,
-0.17796207964420319,
0.10510651767253876,
0.10259291529655457,
0.11645444482564926,
0.29205313324928284,
0.3615719974040985,
0.347776859998703,
-0.04966387897729874,
-0.1747213900089264,
-0.04658952355384827,
-0.04591783881187439,
0.17299391329288483,
-0.06372186541557312,
-0.1559055596590042,
0.041062161326408386,
-0.48274746537208557,
-0.3592987060546875,
0.200694739818573,
0.46128174662590027,
-0.12006130069494247,
-0.29491230845451355,
-0.25197288393974304,
0.07364270836114883,
0.0647844448685646,
-0.07916726917028427,
0.28285109996795654,
-0.22999607026576996,
0.050067074596881866,
0.019034583121538162,
0.006168697960674763,
-0.16144901514053345,
0.2609468698501587,
0.025795049965381622,
0.09916204959154129,
-0.08183909207582474,
0.18745875358581543,
0.41200709342956543,
0.06481330841779709,
0.3376784920692444,
-0.3227353096008301,
0.05951831489801407,
0.24979718029499054,
-0.5124495625495911,
-0.30040520429611206,
-0.4659886956214905,
-0.11446887999773026,
0.215906023979187,
0.1904262900352478,
-0.07505985349416733,
-0.015503816306591034,
-0.0057155597023665905,
0.19394144415855408,
0.23903439939022064,
-0.0031016552820801735,
0.17463496327400208,
0.19947931170463562,
-0.009499303996562958,
-0.08042143285274506,
-0.10122698545455933,
0.14758184552192688,
-0.36860090494155884,
-0.060892254114151,
-0.07470792531967163,
0.19096368551254272,
-0.3134765625,
-0.11770226061344147,
-0.04410509020090103,
-0.37970030307769775,
-0.1514878273010254,
-0.4956490993499756,
0.0991901159286499,
0.0005087703466415405,
-0.11326079815626144,
0.3119325637817383,
-0.22182723879814148,
0.3314024806022644,
-0.05809428542852402,
-0.5012767314910889,
-0.0822933092713356,
0.16904976963996887,
-0.30668583512306213,
0.14731168746948242,
0.07623794674873352,
-0.02368932217359543,
0.03449879586696625,
0.3015499413013458,
0.10062658786773682,
-0.09957799315452576,
0.3777535855770111,
-0.2150554656982422,
-0.11493504792451859,
-0.1583968698978424,
0.39605018496513367,
0.21184450387954712,
0.16541032493114471,
0.3337356448173523,
-0.18686962127685547,
0.03882111236453056,
-0.5176334381103516,
0.1243240088224411,
0.17458966374397278,
0.10850927978754044,
-0.1372278332710266,
-0.06173825263977051,
-0.6274449229240417,
0.2299962043762207,
0.20099207758903503,
0.009729750454425812,
0.0065454840660095215,
-0.0682171955704689,
0.1432647407054901,
-0.15831153094768524,
-0.011191095225512981,
0.17998851835727692,
-0.293063759803772,
-0.1820407509803772,
0.27956530451774597,
-0.23611652851104736,
0.5587921738624573,
0.08826601505279541,
-0.3953913152217865,
0.16667072474956512,
-0.2755277752876282,
-0.06825746595859528,
0.2845541536808014,
-0.20669673383235931,
-0.051177650690078735,
0.39710474014282227,
-0.1827905774116516,
0.04349762201309204,
0.4666624665260315,
0.10480918735265732,
0.4488353431224823,
-0.041966184973716736,
-0.08249513804912567,
0.777847170829773,
-0.10101331770420074,
0.013001682236790657,
-0.037292059510946274,
-0.1787872463464737,
0.09628058969974518,
0.41825056076049805,
0.022062230855226517,
0.16671107709407806,
0.0567503347992897,
-0.027496259659528732,
0.2064433991909027,
-0.18829253315925598,
0.2923189699649811,
-0.007958102971315384,
-0.09191088378429413,
-0.07783825695514679,
-0.13844378292560577,
-0.01846659556031227,
-0.2813074290752411,
-0.05984732508659363,
-0.2977748513221741,
-0.059651024639606476,
0.6015742421150208,
-0.026256559416651726,
0.279852032661438,
-0.3282284736633301,
-0.3334629237651825,
0.040446627885103226,
-0.04222961515188217,
0.3224172294139862,
0.09289434552192688,
-0.39446499943733215,
-0.3300057351589203,
0.41978761553764343,
-0.24729950726032257,
0.061090655624866486,
-0.3847441077232361,
0.40066584944725037,
0.12659737467765808,
0.1660727858543396,
0.03999496251344681,
0.0020316988229751587,
-0.18300098180770874,
-0.23797982931137085,
-0.03366365656256676,
0.10264785587787628,
0.13436774909496307,
0.05291760340332985,
0.2233792543411255,
-0.15582750737667084,
0.2407997101545334,
-0.3020821213722229,
0.27267685532569885,
-0.4233510196208954,
-0.058544475585222244,
-0.23242533206939697,
0.262836217880249,
0.5863096714019775,
-0.20507493615150452,
0.41849780082702637,
-0.1073310598731041,
0.03342454135417938,
0.21199411153793335,
-0.1469244360923767,
-0.15803837776184082,
-0.0010023042559623718,
0.2137128710746765,
-0.2849441170692444,
0.3786911368370056,
0.133540078997612,
-0.27319830656051636,
-0.10376644879579544,
-0.20020076632499695,
0.014317099004983902,
-0.12609589099884033,
0.1433905065059662,
-0.12136722356081009,
0.06639603525400162,
-0.10960772633552551,
0.06848697364330292,
0.34937435388565063,
0.18104073405265808,
0.06510726362466812,
-0.4127918779850006,
0.3486950695514679,
-0.09701625257730484,
-0.04351092129945755,
-0.08134147524833679,
0.02558693289756775,
0.23189345002174377,
-0.15339501202106476,
-0.1702459454536438,
0.14371642470359802,
-0.23123039305210114,
0.26079344749450684,
0.006415047682821751,
-0.20948898792266846,
-0.10450584441423416,
-0.04168296232819557,
-0.2693769931793213,
-0.43004852533340454,
-0.46501046419143677,
-0.13963818550109863,
0.1614985466003418,
-0.2274005264043808,
0.36649590730667114,
0.22793498635292053,
0.12504470348358154,
-0.17208892107009888,
0.4897650480270386,
-0.16162864863872528,
-0.04737139493227005,
0.21035417914390564,
0.10909232497215271,
-0.17845556139945984,
0.12328290939331055,
0.2465619593858719,
0.20723947882652283,
0.2386326938867569,
-0.13745729625225067,
-0.09490300714969635,
-0.15284012258052826,
0.34323716163635254,
0.01111801341176033,
0.03595386818051338,
0.15883415937423706,
0.008965536952018738,
0.10844580829143524,
-0.1463404893875122,
-0.3587767481803894,
-0.13806013762950897,
0.19356891512870789,
-0.2012915164232254,
0.02971874177455902,
-0.19695229828357697,
0.11078526079654694,
0.19226904213428497,
-0.0763375386595726,
-0.560871958732605,
-0.20369133353233337,
-0.3473758101463318,
-0.02919771708548069,
0.2085159420967102,
-0.14726480841636658,
0.18625019490718842,
-0.15796434879302979,
0.00035769538953900337,
-0.09373454749584198,
-0.09439516812562943,
-0.738515317440033,
-0.0000036284327507019043,
-0.07176254689693451,
0.0819442868232727,
-0.348314106464386,
-0.18069100379943848,
0.15296950936317444,
0.35597461462020874,
-0.06252048909664154,
-0.03717303276062012,
0.22772331535816193,
0.12698613107204437,
0.02698810026049614,
0.40501096844673157,
-0.03957243263721466,
-0.07447002828121185,
0.11584003269672394,
-0.025451011955738068,
0.33612796664237976,
0.4907402992248535,
-0.030748002231121063,
0.4931522607803345,
0.23171165585517883,
0.03394598141312599,
-0.3064934313297272,
0.5933256149291992,
0.3364580273628235,
-0.20178763568401337,
0.382468581199646,
0.30012714862823486,
-0.10123403370380402,
0.21989452838897705,
-0.3592154383659363,
0.0964084267616272,
0.26497915387153625,
0.11934860050678253,
0.28093162178993225,
-0.26447126269340515,
-0.1638537496328354,
-0.3206283152103424,
-0.044652167707681656,
-0.16973000764846802,
-0.028272762894630432,
0.3072907030582428,
-0.6501631736755371,
0.25050413608551025,
-0.3588372468948364,
-0.4236351549625397,
-0.10975201427936554,
-0.06528843194246292,
-0.2056957632303238,
0.17058426141738892,
0.10525607317686081,
-0.01314529962837696,
-0.6317996978759766,
-0.25592586398124695,
-0.06303555518388748,
0.23243868350982666,
0.18350213766098022,
0.4330475628376007,
0.29394277930259705,
0.007005654275417328,
0.05403801426291466,
0.275943398475647,
0.6178554892539978,
-0.22633576393127441,
-0.32061904668807983,
-0.14208684861660004,
0.1381957083940506,
0.1835486739873886,
-0.22061635553836823,
-0.21238276362419128,
0.1995081603527069,
-0.10176916420459747,
0.16357746720314026,
-0.41481977701187134,
-0.38271641731262207,
0.15270832180976868,
0.31772419810295105,
-0.09831385314464569,
-0.3051721155643463,
-0.14013035595417023,
0.17114102840423584,
-0.050540756434202194,
0.1814490407705307,
-0.2154996544122696,
0.21364174783229828,
-0.24406616389751434,
-0.03649858385324478,
-0.16880223155021667,
0.04458224028348923,
0.37939995527267456,
0.002605905756354332,
0.1522182822227478,
0.16200044751167297,
0.23723381757736206,
0.3570963442325592,
0.005638919770717621,
0.5563624501228333,
0.3932434320449829,
-0.6794124245643616,
-0.4572574496269226,
0.16296598315238953,
-0.04570908844470978,
0.4817609190940857,
-0.07389438152313232,
0.06105341762304306,
0.31156158447265625,
0.05860765278339386,
-0.1374518871307373,
-0.022748999297618866,
0.1456068456172943,
-0.0879702940583229,
0.17876380681991577,
-0.6175163388252258,
-0.680140495300293,
0.2557276487350464,
0.20315419137477875,
0.020421504974365234,
0.41545888781547546,
-0.4025583863258362,
-0.2530178427696228,
0.3500516414642334,
0.1011926680803299,
0.7300091981887817,
-0.01120498776435852,
0.05090082436800003,
-0.1836899220943451,
0.572516143321991,
0.3217342793941498,
0.023872897028923035,
0.07443810999393463,
-0.28283578157424927,
-0.2750537097454071,
-0.1457592397928238,
-0.34028568863868713,
0.03647688403725624,
0.5716188549995422,
-0.15327152609825134,
0.32031121850013733,
-0.07446534186601639,
-0.05557342991232872,
0.03981361538171768,
0.2638334631919861,
0.04493959993124008,
-0.3563993275165558,
0.15559878945350647,
-0.018675824627280235,
-0.2631387710571289,
0.27759990096092224,
0.062097057700157166,
-0.090122751891613,
0.14302170276641846,
0.08901733160018921,
0.09677989780902863,
0.15980836749076843,
-0.15613096952438354,
-0.003960389643907547,
-0.04884153977036476,
-0.08293402194976807,
0.15051931142807007,
-0.125550776720047,
0.24706415832042694,
-0.08560732007026672,
0.19522443413734436,
-0.22926689684391022,
0.28040584921836853,
0.011320884339511395,
-0.07541520148515701,
-0.15132857859134674,
0.49204856157302856,
0.16493991017341614,
-0.24020755290985107,
0.27782687544822693,
0.2232522815465927,
-0.17171962559223175,
-0.11347247660160065,
0.051755718886852264,
0.2526698112487793,
-0.3173747956752777,
-0.2657434642314911,
0.23269858956336975,
0.14008930325508118,
-0.0010853074491024017,
0.005280608311295509,
0.2010454535484314,
-0.27675944566726685,
0.4869515597820282,
-0.05113540217280388,
-0.12310034036636353,
-0.08429497480392456,
0.11795379966497421,
0.3816625475883484,
-0.48845216631889343,
0.31888890266418457,
0.025919076055288315,
0.03207220137119293,
-0.1985682249069214,
0.14151489734649658,
0.3898482620716095,
-0.05718928948044777,
0.07809201627969742,
-0.0975421592593193,
0.2220177799463272,
0.14395122230052948,
0.17343653738498688,
0.19565674662590027,
0.26037904620170593,
0.19212794303894043,
-0.5657039880752563,
-0.23310570418834686,
0.19727185368537903,
-0.06708966195583344,
0.2996194660663605,
0.11210747808218002,
0.11808846890926361,
-0.12790390849113464,
0.34846562147140503,
-0.18481695652008057,
-0.013453364372253418,
0.003652239218354225,
0.18423715233802795,
0.24949921667575836,
0.14291441440582275,
-0.16069665551185608,
0.24826543033123016,
-0.04226342588663101,
-0.13940903544425964,
0.0571659654378891,
-0.1037742868065834,
-0.007289307191967964,
0.19618277251720428,
-0.022865384817123413,
0.05868488550186157,
0.06274901330471039,
-0.1660691350698471,
-0.05051944777369499,
-0.014335868880152702,
-0.09846615791320801,
-0.23513168096542358,
-0.09921605885028839,
-0.04678934067487717,
0.27319201827049255,
-0.13005295395851135,
-0.3703903555870056,
0.3997649848461151,
-0.03127080202102661,
-0.3061644434928894,
0.021420951932668686,
0.2710825800895691,
0.053898897022008896,
-0.20003578066825867,
-0.2026592195034027,
-0.09163140505552292,
0.5297539234161377,
-0.043842464685440063,
-0.25359341502189636,
-0.02178998291492462,
0.10289278626441956,
0.3310993015766144,
0.17221349477767944,
0.3642491102218628,
0.03677235171198845,
0.0019157789647579193,
0.36640575528144836,
0.11426445841789246,
0.02523036301136017,
0.11798463761806488,
0.05612817779183388,
-0.05221595615148544,
0.09293912351131439,
0.4520735442638397,
0.1359996795654297,
0.11775477230548859,
0.016565486788749695,
-0.1026431992650032,
0.14938759803771973,
0.2624666094779968,
0.1773301362991333,
0.3008500635623932,
0.16728521883487701,
-0.09428533911705017,
0.41656801104545593,
0.17222994565963745,
0.08749330043792725,
-0.11506387591362,
-0.3480853736400604,
0.6118574738502502,
0.13805633783340454,
-0.17633286118507385,
-0.06320963054895401,
-0.7466785907745361,
0.18697035312652588,
0.5113207101821899,
0.08349524438381195,
0.020674563944339752,
-0.07183268666267395,
0.6876914501190186,
-0.3583959937095642,
-0.4304003119468689,
0.021964216604828835,
0.36618709564208984,
0.012967821210622787,
-0.029704777523875237,
-0.4982103705406189,
-0.2354598343372345,
-0.15156957507133484,
-0.09893935918807983,
0.06536150723695755,
-0.17743411660194397,
0.33384186029434204,
0.17449992895126343,
0.07884180545806885,
-0.39585986733436584,
-0.1291244924068451,
0.45267483592033386,
-0.10815661400556564,
-0.26545143127441406,
0.13005539774894714,
-0.048894524574279785,
-0.1330331265926361,
0.17812307178974152,
0.17692235112190247,
0.06667415052652359,
0.2746405005455017,
0.16845957934856415,
-0.05744919553399086,
-0.08027169108390808,
-0.0366637222468853,
0.02171139419078827,
0.18971528112888336,
0.021594084799289703,
-0.4052489399909973,
0.33793529868125916,
0.08774876594543457,
-0.12445778399705887,
-0.006675634533166885,
0.29597166180610657,
-0.10290057957172394,
-0.28187066316604614,
-0.2200574278831482,
0.4073975086212158,
0.17613783478736877,
-0.03931758552789688,
-0.09319288283586502,
-0.4503682851791382,
0.09578285366296768,
0.15395775437355042,
-0.2808959484100342,
-0.18943136930465698,
0.05937084183096886,
0.01823832467198372,
-0.11335718631744385,
0.27222928404808044,
0.503280520439148,
0.2905387580394745,
-0.5698057413101196,
-0.382158100605011,
-0.15436065196990967,
0.060701142996549606,
-0.14074578881263733,
-0.04899907857179642,
-0.4249187707901001,
0.3050435185432434,
0.19396546483039856,
0.13318075239658356,
-0.10789720714092255,
0.41680559515953064,
0.02164960652589798,
0.5463072061538696,
-0.37734973430633545,
-0.052484143525362015,
-0.029000870883464813,
0.48683974146842957,
-0.03158007189631462,
-0.3456105589866638,
0.10906001925468445,
0.28771477937698364,
-0.1676744669675827,
-0.0021002795547246933,
0.0227402001619339,
0.44840362668037415,
-0.31391841173171997,
0.07761392742395401,
-0.10408549010753632,
0.6372877359390259,
0.01011546328663826,
0.23093268275260925,
0.13029299676418304,
-0.09625117480754852,
-0.40512681007385254,
-0.04826435446739197,
0.22531849145889282,
0.2568484842777252,
-0.1086999922990799,
0.15813571214675903,
-0.22807510197162628,
0.025749042630195618,
0.2786412239074707,
-0.21810054779052734,
-0.40282467007637024,
-0.04310167580842972,
0.05080074071884155,
-0.08339760452508926,
0.25955089926719666,
0.3625129163265228,
0.11996619403362274,
0.07501334697008133,
-0.2206520140171051,
-0.018425876274704933,
-0.001116737723350525,
-0.3181566596031189,
-0.09626826643943787,
-0.28691163659095764,
0.16209162771701813,
-0.17074468731880188,
0.09297197312116623,
-0.17646372318267822,
0.10228023678064346,
0.44977104663848877,
-0.12045497447252274,
0.24007433652877808,
0.4197729825973511,
0.31093788146972656,
0.22528274357318878,
-0.1563623696565628,
-0.3018624484539032,
0.11731192469596863,
-0.21440757811069489,
-0.09549502283334732,
-0.22022506594657898
] |
https://github.com/huggingface/datasets/issues/937 | Local machine/cluster Beam Datasets example/tutorial | I tried to make it run once on the SparkRunner but it seems that this runner has some issues when it is run locally.
From my experience the DirectRunner is fine though, even if it's clearly not memory efficient.
It would be awesome though to make it work locally on a SparkRunner !
Did you manage to make your processing work ? | Hi,
I'm wondering if https://huggingface.co/docs/datasets/beam_dataset.html has an non-GCP or non-Dataflow version example/tutorial? I tried to migrate it to run on DirectRunner and SparkRunner, however, there were way too many runtime errors that I had to fix during the process, and even so I wasn't able to get either runner correctly producing the desired output.
Thanks!
Shang | 62 | Local machine/cluster Beam Datasets example/tutorial
Hi,
I'm wondering if https://huggingface.co/docs/datasets/beam_dataset.html has an non-GCP or non-Dataflow version example/tutorial? I tried to migrate it to run on DirectRunner and SparkRunner, however, there were way too many runtime errors that I had to fix during the process, and even so I wasn't able to get either runner correctly producing the desired output.
Thanks!
Shang
I tried to make it run once on the SparkRunner but it seems that this runner has some issues when it is run locally.
From my experience the DirectRunner is fine though, even if it's clearly not memory efficient.
It would be awesome though to make it work locally on a SparkRunner !
Did you manage to make your processing work ? | [
-0.30291664600372314,
-0.2597852945327759,
-0.00416458398103714,
0.08882109820842743,
0.06116844713687897,
-0.229460209608078,
0.27308768033981323,
-0.12529593706130981,
0.14714092016220093,
0.2653596103191376,
0.1793322116136551,
0.2921426296234131,
-0.4641709327697754,
0.6944864392280579,
0.24928638339042664,
-0.5270978212356567,
0.33345815539360046,
-0.11998704075813293,
0.021618109196424484,
-0.23156887292861938,
0.24997180700302124,
0.34680694341659546,
-0.33069908618927,
-0.05253744125366211,
-0.0932481437921524,
-0.03280340135097504,
-0.17212040722370148,
0.267787903547287,
-0.22005689144134521,
0.08410139381885529,
0.26585978269577026,
-0.10888409614562988,
0.18634474277496338,
0.905297040939331,
-0.00012018027337035164,
-0.04971539229154587,
0.15468057990074158,
-0.053985998034477234,
0.019946519285440445,
-0.18678779900074005,
0.15664392709732056,
-0.015415532514452934,
0.16193459928035736,
-0.07278468459844589,
-0.21239790320396423,
-0.09577072411775589,
0.09085357189178467,
-0.005582336336374283,
0.588593602180481,
0.1696535348892212,
0.10720537602901459,
0.3378795087337494,
-0.1923527717590332,
-0.19254525005817413,
-0.05446455627679825,
0.3821778893470764,
-0.30494827032089233,
0.4146493673324585,
0.43820884823799133,
-0.00016632117331027985,
-0.2150048315525055,
0.26468759775161743,
-0.16927039623260498,
-0.11971378326416016,
0.2742795944213867,
-0.17833198606967926,
-0.4092794358730316,
-0.26472148299217224,
0.009466353803873062,
0.38034704327583313,
0.644418478012085,
-0.3084754943847656,
-0.1788964718580246,
-0.14815086126327515,
0.07738170772790909,
0.0355665385723114,
0.16626909375190735,
0.11554577946662903,
-0.2511977553367615,
0.17775365710258484,
-0.725713849067688,
-0.24675607681274414,
-0.23924843966960907,
-0.21150349080562592,
-0.11590903997421265,
0.38878902792930603,
-0.18840672075748444,
0.0926896333694458,
0.161362424492836,
0.07157506048679352,
0.4279715418815613,
0.020876802504062653,
0.13950201869010925,
-0.11579786241054535,
-0.40142887830734253,
-0.18958216905593872,
-0.021200932562351227,
0.6500043869018555,
-0.08509213477373123,
0.18444781005382538,
0.10498165339231491,
-0.11019288748502731,
0.08402582257986069,
0.15322214365005493,
-0.12013623118400574,
0.26426956057548523,
0.26776134967803955,
0.017327673733234406,
0.02583073079586029,
-0.20551206171512604,
0.20567940175533295,
0.14325782656669617,
-0.45130303502082825,
-0.19566413760185242,
-0.7054800987243652,
-0.019863475114107132,
-0.22336047887802124,
-0.1397651880979538,
-0.08539360016584396,
-0.07154319435358047,
-0.11406134814023972,
0.022678950801491737,
0.22855280339717865,
0.16040700674057007,
0.2587020993232727,
0.1301407516002655,
-0.09170882403850555,
0.0659475177526474,
-0.04906577616930008,
-0.39334818720817566,
-0.06868516653776169,
0.3721350431442261,
-0.532884955406189,
-0.029705604538321495,
0.0960211306810379,
-0.05640346184372902,
0.081370510160923,
-0.04791373386979103,
0.19725701212882996,
0.3849089741706848,
0.06023462861776352,
0.13200818002223969,
0.056842487305402756,
0.136274054646492,
0.02199496701359749,
0.11736340075731277,
0.14484050869941711,
0.13987506926059723,
-0.2038721740245819,
-0.10345890372991562,
-0.223751962184906,
-0.3094117343425751,
0.0077484846115112305,
-0.029571421444416046,
-0.092075876891613,
-0.2321789264678955,
-0.5076844096183777,
0.483356237411499,
-0.20396342873573303,
0.005709119141101837,
0.25677427649497986,
-0.15271592140197754,
-0.28087010979652405,
-0.23575375974178314,
0.32159391045570374,
0.458326518535614,
-0.5268178582191467,
0.007719598710536957,
0.09119749814271927,
-0.3155307173728943,
0.2618650496006012,
0.2542577385902405,
0.07178275287151337,
0.2218494713306427,
-0.3367222547531128,
-0.044421251863241196,
0.31119224429130554,
-0.7092141509056091,
0.18474546074867249,
0.6678613424301147,
-0.25118187069892883,
-0.11775702238082886,
-0.048473604023456573,
-0.19164356589317322,
0.06421206891536713,
-0.009767912328243256,
-0.0884438306093216,
0.2391255646944046,
-0.16673718392848969,
0.1284683793783188,
-0.06378884613513947,
-0.2918201982975006,
-0.1378311663866043,
0.2049364596605301,
-0.01377081498503685,
0.13222524523735046,
-0.008445881307125092,
-0.18254326283931732,
0.20637556910514832,
-0.04253873601555824,
0.09861411154270172,
0.42104458808898926,
0.06587865203619003,
-0.18603138625621796,
-0.08737941086292267,
-0.05543096363544464,
-0.032415010035037994,
0.1529463827610016,
0.27873578667640686,
-0.0447169691324234,
0.5172029733657837,
-0.18207280337810516,
-0.26671889424324036,
-0.030376043170690536,
0.060062289237976074,
-0.2148183286190033,
-0.01250334084033966,
-0.25005850195884705,
0.31797635555267334,
-0.16344325244426727,
-0.33658167719841003,
0.3091777563095093,
-0.24866347014904022,
-0.08153793960809708,
-0.29811617732048035,
0.4468595087528229,
0.11382364481687546,
-0.327306866645813,
-0.008970540016889572,
-0.17824620008468628,
0.11341621726751328,
-0.3471781611442566,
-0.06415451318025589,
0.4955252707004547,
-0.25085750222206116,
0.45839691162109375,
0.3250464200973511,
0.5605688095092773,
0.3120703399181366,
-0.024410955607891083,
0.3025963306427002,
-0.3043552041053772,
-0.19114114344120026,
0.23064175248146057,
-0.3735179305076599,
0.12395188212394714,
-0.020757127553224564,
0.10904359817504883,
0.2474951595067978,
0.467624694108963,
-0.09156511723995209,
0.008847873657941818,
-0.007127684075385332,
0.31948524713516235,
0.4472433626651764,
-0.10270637273788452,
0.13832812011241913,
-0.17767462134361267,
-0.5297765731811523,
0.1255437284708023,
0.24708692729473114,
-0.15244345366954803,
0.0014618635177612305,
0.003934748470783234,
-0.39451152086257935,
0.09365695714950562,
0.6196672320365906,
0.3489683270454407,
0.12567363679409027,
0.21094366908073425,
0.2386402189731598,
0.13266555964946747,
0.20325641334056854,
-0.3326335549354553,
0.10986348986625671,
-0.14691977202892303,
0.16417919099330902,
0.026941515505313873,
0.01263381540775299,
0.13493657112121582,
-0.2734864354133606,
-0.09918505698442459,
0.047697484493255615,
0.05861268192529678,
-0.13519853353500366,
0.21647275984287262,
-0.3170536160469055,
-0.3035808801651001,
-0.2953272759914398,
0.37830761075019836,
-0.1633467674255371,
-0.10046981275081635,
-0.017995893955230713,
0.35283219814300537,
-0.08088374137878418,
0.19086697697639465,
0.38307705521583557,
0.33976316452026367,
-0.22246940433979034,
-0.1805751621723175,
-0.3251309394836426,
-0.1658746749162674,
-0.23358449339866638,
0.017044968903064728,
0.22643521428108215,
0.12276625633239746,
0.2665674686431885,
-0.11844771355390549,
0.015903033316135406,
-0.48908567428588867,
-0.20999792218208313,
0.42018166184425354,
-0.03447375446557999,
0.06256788223981857,
0.20832201838493347,
0.05805099382996559,
-0.7962211966514587,
-0.00009089335799217224,
0.07583332806825638,
-0.553788423538208,
-0.255865216255188,
-0.15975578129291534,
0.1086098849773407,
0.008794790133833885,
-0.20544284582138062,
0.11483645439147949,
-0.4072750210762024,
-0.33636683225631714,
0.43789219856262207,
0.04043292626738548,
0.20766198635101318,
-0.30116093158721924,
0.09281086921691895,
0.15405435860157013,
-0.03307410329580307,
-0.24899157881736755,
0.12882879376411438,
-0.5100074410438538,
-0.02252243086695671,
-0.42400258779525757,
-0.3663932979106903,
0.05974108353257179,
0.17869490385055542,
0.08226844668388367,
0.2870672941207886,
-0.21689385175704956,
-0.22069276869297028,
0.019621796905994415,
-0.155141219496727,
0.19821016490459442,
0.19663609564304352,
0.5560916662216187,
-0.2582687437534332,
0.11386705935001373,
0.012535057961940765,
-0.009143389761447906,
0.08287441730499268,
0.009121915325522423,
0.032965049147605896,
0.34332984685897827,
0.13000738620758057,
-0.015858668833971024,
0.7973925471305847,
-0.07418039441108704,
0.0728159174323082,
-0.10256926715373993,
-0.12843835353851318,
0.2782173752784729,
-0.1638895571231842,
0.0173639003187418,
0.4576422870159149,
0.14143440127372742,
-0.36006325483322144,
0.01647031307220459,
0.2358420193195343,
0.0456862673163414,
-0.2341410517692566,
-0.3557848632335663,
-0.08800499141216278,
-0.03654493764042854,
-0.13561558723449707,
-0.04631113260984421,
0.1653001308441162,
-0.15090370178222656,
0.17461851239204407,
0.10014909505844116,
0.05434861034154892,
0.21278968453407288,
0.24681846797466278,
0.22737041115760803,
0.22157523036003113,
-0.1988702267408371,
0.2046542465686798,
-0.4602733850479126,
0.10956639051437378,
-0.2576128840446472,
-0.013343225233256817,
-0.33382856845855713,
-0.13221655786037445,
-0.014146409928798676,
-0.13763679563999176,
0.7230762839317322,
-0.33898499608039856,
-0.2621290683746338,
0.05456162616610527,
-0.3302978277206421,
-0.1781732589006424,
-0.25560262799263,
-0.14314627647399902,
0.09827761352062225,
0.22424758970737457,
0.3155582845211029,
0.1999567151069641,
-0.280332088470459,
0.09755078703165054,
-0.049110062420368195,
0.101560577750206,
0.008823198266327381,
0.08942374587059021,
-0.16121837496757507,
-0.08539119362831116,
0.08596201241016388,
0.0370444729924202,
-0.11775988340377808,
-0.27813827991485596,
0.16498973965644836,
0.008270692080259323,
0.07511354237794876,
0.2309521734714508,
0.0013345014303922653,
0.1580343246459961,
-0.13940925896167755,
-0.09571079909801483,
0.34234702587127686,
0.5169060230255127,
-0.0716211274266243,
0.13302049040794373,
-0.020877283066511154,
0.14985743165016174,
0.4877234101295471,
0.05587952211499214,
0.26646625995635986,
0.5296108722686768,
-0.2160329520702362,
-0.18088918924331665,
0.04722624644637108,
-0.05197878181934357,
-0.23595421016216278,
0.07209759205579758,
-0.1418365240097046,
0.04488781467080116,
-0.14125198125839233,
-0.09762590378522873,
0.4548664093017578,
0.49064385890960693,
-0.2670266628265381,
0.51275634765625,
0.4088800549507141,
-0.12082238495349884,
0.17347602546215057,
0.01333589106798172,
1.055423617362976,
0.0016572996973991394,
0.11779865622520447,
0.48851290345191956,
-0.14301887154579163,
0.5475768446922302,
-0.530533492565155,
0.11822107434272766,
-0.3342905640602112,
-0.3852112591266632,
-0.12464199215173721,
-0.16340681910514832,
0.3275981545448303,
0.12424758076667786,
-0.1112975925207138,
0.24402861297130585,
-0.017248623073101044,
0.449138879776001,
-0.24832572042942047,
0.13074763119220734,
-0.15450817346572876,
-0.139536052942276,
-0.3024856746196747,
0.0793381780385971,
0.1973283290863037,
0.26723000407218933,
-0.22527343034744263,
-0.20273998379707336,
-0.18727713823318481,
-0.0034633390605449677,
-0.3674546480178833,
0.16070419549942017,
-0.2660142779350281,
-0.2253263145685196,
0.2754976749420166,
-0.6139966249465942,
0.3639710545539856,
0.1783308982849121,
0.5937720537185669,
0.011205803602933884,
-0.49481916427612305,
0.26256588101387024,
0.041266508400440216,
0.023364875465631485,
0.06210869550704956,
-0.10795671492815018,
0.05665934830904007,
-0.18932434916496277,
0.07835222035646439,
0.031281061470508575,
0.02321595326066017,
-0.07333272695541382,
-0.02859622985124588,
-0.13118401169776917,
0.11090904474258423,
0.11844656616449356,
0.012906810268759727,
0.23253507912158966,
0.07665762305259705,
0.09678924083709717,
0.03734240680932999,
-0.1108589917421341,
-0.027959322556853294,
-0.1504763960838318,
-0.006242193281650543,
0.30609458684921265,
-0.10809358954429626,
0.3110367953777313,
0.0753178596496582,
-0.5972082614898682,
0.047655828297138214,
0.3871471881866455,
-0.009266648441553116,
-0.2398848533630371,
0.024405069649219513,
0.5963466167449951,
-0.2447293996810913,
0.02296752855181694,
-0.2787952721118927,
-0.2756195664405823,
0.33741575479507446,
0.08337996900081635,
0.25407418608665466,
0.12356750667095184,
-0.11755287647247314,
0.10419066250324249,
-0.13843470811843872,
0.24615532159805298,
-0.02513233944773674,
0.00756433978676796,
-0.16414698958396912,
0.027709539979696274,
0.3490946888923645,
-0.3043752610683441,
-0.2110622674226761,
-0.016443096101284027,
-0.026993075385689735,
-0.21155798435211182,
0.457610160112381,
0.20093902945518494,
0.15709571540355682,
-0.15626303851604462,
-0.09690473228693008,
0.001430649310350418,
-0.20910699665546417,
-0.061801355332136154,
0.045136090368032455,
0.16722413897514343,
0.07219047844409943,
-0.3176049590110779,
0.4395860731601715,
-0.014816266484558582,
-0.4041314125061035,
-0.1516282558441162,
0.16607560217380524,
0.16541549563407898,
-0.045024678111076355,
-0.11446847766637802,
-0.05475013330578804,
0.3857511579990387,
-0.011283785104751587,
0.002951163798570633,
0.3871542513370514,
0.22548507153987885,
-0.05089025944471359,
0.09725955128669739,
0.3280142545700073,
-0.15590694546699524,
0.025774577632546425,
0.19943693280220032,
0.07378999888896942,
0.06730251759290695,
0.1660432517528534,
-0.11326175928115845,
-0.0023461617529392242,
-0.13036230206489563,
0.5203144550323486,
-0.1079605370759964,
-0.15236219763755798,
-0.08585428446531296,
0.5089148879051208,
0.09688057005405426,
-0.05118114873766899,
-0.06138383597135544,
0.5012269616127014,
0.27880245447158813,
-0.02156168967485428,
0.1282038688659668,
0.3890689015388489,
0.061162203550338745,
-0.2893527150154114,
0.0949898436665535,
0.35822880268096924,
-0.17213119566440582,
0.22248336672782898,
0.0266073327511549,
0.043049853295087814,
0.18756872415542603,
-0.1934005618095398,
0.039087213575839996,
0.1262449324131012,
0.47166240215301514,
-0.1522822380065918,
0.3054494857788086,
0.12419106066226959,
0.24413996934890747,
0.37967225909233093,
-0.36152079701423645,
-0.10024236142635345,
-0.07577267289161682,
0.05016181990504265,
0.07198233157396317,
-0.26174136996269226,
0.13454681634902954,
-0.2365349382162094,
-0.5163174271583557,
-0.3318723440170288,
0.3266518712043762,
-0.0773196741938591,
0.09496718645095825,
-0.4300448000431061,
-0.15629282593727112,
-0.11277322471141815,
0.13728123903274536,
-0.043388765305280685,
-0.05362150818109512,
0.4022265672683716,
-0.0932578444480896,
0.3207630217075348,
-0.027450812980532646,
0.2587762773036957,
-0.08129268139600754,
0.28368061780929565,
-0.0014639422297477722,
0.2012595683336258,
-0.02610228955745697,
-0.13640359044075012,
-0.11386728286743164,
0.2616124451160431,
0.22470425069332123,
0.10111523419618607,
0.0732359066605568,
-0.051870692521333694,
-0.1911333203315735,
0.2726092040538788,
0.13005924224853516,
0.18602047860622406,
-0.06655919551849365,
0.007550729438662529,
0.08792783319950104,
0.02652782015502453,
-0.005212181247770786,
0.27399805188179016,
0.04943167045712471,
0.008194890804588795,
-0.3530939817428589,
0.2339315414428711,
-0.24901455640792847,
0.003973580896854401,
-0.1353856921195984,
0.0845596045255661,
-0.3766196668148041,
0.09346341341733932,
0.34124624729156494,
0.36843088269233704,
0.08139274269342422,
-0.04435279220342636,
0.02285810187458992,
-0.022698290646076202,
0.42357173562049866,
0.37188786268234253,
0.5538845658302307,
-0.14741355180740356,
-0.420601487159729,
-0.3358653783798218,
-0.08918746560811996,
0.08099861443042755,
0.1617305874824524,
-0.14134781062602997,
0.017453735694289207,
0.21899667382240295,
0.11687355488538742,
-0.15875141322612762,
0.054156702011823654,
-0.2116028070449829,
0.15643760561943054,
-0.07114359736442566,
0.029413819313049316,
-0.32379502058029175,
0.11546701192855835,
0.07208914309740067,
-0.1201973706483841,
0.22495824098587036,
-0.1654522716999054,
-0.14708656072616577,
0.11593364924192429,
-0.1225321888923645,
0.004453778266906738,
-0.4958156645298004,
0.024673007428646088,
-0.041888438165187836,
0.22358831763267517,
0.03669825941324234,
-0.11098108440637589,
-0.18401096761226654,
0.057363931089639664,
-0.3844519853591919,
0.006952553987503052,
-0.26577332615852356,
0.13601024448871613,
-0.3506760001182556,
0.08196666091680527,
-0.25720593333244324,
0.05148923397064209,
0.10003359615802765,
0.33145394921302795,
-0.45659443736076355,
-0.09361734241247177,
-0.15094761550426483,
0.07374488562345505,
0.3138274848461151,
0.24842339754104614,
-0.053074538707733154,
-0.02782181091606617,
-0.5111489295959473,
0.21818561851978302,
0.503485918045044,
-0.8420358896255493,
-0.00222698412835598,
-0.3200291395187378,
0.0960514172911644,
0.4640604257583618,
-0.16366779804229736,
-0.4309748113155365,
-0.10378364473581314,
-0.01815064623951912,
-0.0661020576953888,
0.3196086585521698,
0.1118423193693161,
-0.20954224467277527,
-0.09335355460643768,
-0.14060711860656738,
-0.32273566722869873,
-0.07452639937400818,
-0.27946871519088745,
-0.004408430308103561,
-0.15576580166816711
] |
https://github.com/huggingface/datasets/issues/937 | Local machine/cluster Beam Datasets example/tutorial | We've deprecated the Beam API in `datasets`. As part of it, the Beam datasets have also been converted to non-Beam-based to make using them straightforward. | Hi,
I'm wondering if https://huggingface.co/docs/datasets/beam_dataset.html has an non-GCP or non-Dataflow version example/tutorial? I tried to migrate it to run on DirectRunner and SparkRunner, however, there were way too many runtime errors that I had to fix during the process, and even so I wasn't able to get either runner correctly producing the desired output.
Thanks!
Shang | 25 | Local machine/cluster Beam Datasets example/tutorial
Hi,
I'm wondering if https://huggingface.co/docs/datasets/beam_dataset.html has an non-GCP or non-Dataflow version example/tutorial? I tried to migrate it to run on DirectRunner and SparkRunner, however, there were way too many runtime errors that I had to fix during the process, and even so I wasn't able to get either runner correctly producing the desired output.
Thanks!
Shang
We've deprecated the Beam API in `datasets`. As part of it, the Beam datasets have also been converted to non-Beam-based to make using them straightforward. | [
-0.34634366631507874,
-0.2109188437461853,
-0.04029892757534981,
-0.05990653485059738,
0.006421264261007309,
-0.1013088971376419,
0.24714618921279907,
-0.19995100796222687,
0.11036710441112518,
0.28718119859695435,
0.1355254352092743,
0.26654481887817383,
-0.4669322371482849,
0.7000311613082886,
0.3138827681541443,
-0.5075286626815796,
0.3099297881126404,
-0.03528508543968201,
0.16763713955879211,
-0.23384468257427216,
0.23133862018585205,
0.2574988901615143,
-0.3942852020263672,
0.032556332647800446,
0.08601546287536621,
-0.10134277492761612,
-0.1358630359172821,
0.11039214581251144,
-0.16959510743618011,
0.06566772609949112,
0.3418554365634918,
-0.17896419763565063,
0.19548659026622772,
0.8221592903137207,
-0.00011841555533464998,
-0.09068718552589417,
0.20317700505256653,
-0.07722201198339462,
-0.02635117992758751,
-0.21719245612621307,
0.1320980191230774,
-0.020694466307759285,
0.21679683029651642,
-0.09170711785554886,
-0.2099902331829071,
-0.2741329073905945,
0.21675460040569305,
-0.022942140698432922,
0.6208594441413879,
0.18743294477462769,
0.1473667174577713,
0.439462810754776,
-0.19269856810569763,
-0.24288567900657654,
-0.11397979408502579,
0.3233869671821594,
-0.28749772906303406,
0.34467482566833496,
0.54289311170578,
0.04098421335220337,
-0.21846216917037964,
0.24297480285167694,
-0.25920286774635315,
-0.09482605755329132,
0.21005162596702576,
-0.15562804043293,
-0.4287678599357605,
-0.2639203369617462,
0.003871120512485504,
0.47999629378318787,
0.7217361330986023,
-0.3222891390323639,
-0.20872633159160614,
-0.17017726600170135,
0.20429374277591705,
0.06637377291917801,
-0.030699320137500763,
0.2622714638710022,
-0.27626433968544006,
0.12649081647396088,
-0.6906604170799255,
-0.23353461921215057,
-0.2394232153892517,
-0.058165043592453,
-0.05028720945119858,
0.31799888610839844,
-0.17358720302581787,
0.07983532547950745,
0.10648952424526215,
0.07459443807601929,
0.40748563408851624,
0.01505842711776495,
0.12157516181468964,
-0.08283369988203049,
-0.35251474380493164,
-0.22043758630752563,
0.016265660524368286,
0.6766824722290039,
-0.09127071499824524,
0.2104356437921524,
0.09699030965566635,
-0.07889707386493683,
-0.014733240008354187,
0.15004219114780426,
-0.09094975888729095,
0.12701301276683807,
0.32007384300231934,
0.07603754103183746,
-0.0037799328565597534,
-0.1765936017036438,
0.31031572818756104,
0.11932098120450974,
-0.35622885823249817,
-0.14246079325675964,
-0.6745368242263794,
-0.028565246611833572,
-0.18044717609882355,
-0.041865274310112,
-0.15358534455299377,
-0.139179527759552,
-0.0862133577466011,
0.09140006452798843,
0.23137788474559784,
0.11663304269313812,
0.36341792345046997,
0.13512876629829407,
-0.10405360162258148,
0.061610836535692215,
-0.09141331911087036,
-0.4597346782684326,
-0.05176233872771263,
0.2811910808086395,
-0.4562707543373108,
0.0007245931774377823,
0.06927689909934998,
-0.06184097006917,
0.06833425164222717,
-0.010816127993166447,
0.19947287440299988,
0.4602624773979187,
0.11254090070724487,
0.17580606043338776,
0.09484050422906876,
0.13248983025550842,
0.04132509604096413,
0.08003608137369156,
0.12414266169071198,
0.07275067269802094,
-0.22590062022209167,
-0.10738451033830643,
-0.3502429127693176,
-0.24957652390003204,
-0.10383692383766174,
-0.005192295648157597,
0.0004223529249429703,
-0.26174700260162354,
-0.5376690030097961,
0.5253168940544128,
-0.30731189250946045,
-0.13201749324798584,
0.35172131657600403,
-0.21747256815433502,
-0.16221477091312408,
-0.21906810998916626,
0.2433394193649292,
0.4083600640296936,
-0.48492375016212463,
-0.11116643249988556,
0.07220274955034256,
-0.3461388945579529,
0.15127065777778625,
0.19790077209472656,
0.05776458606123924,
0.11240004748106003,
-0.30039557814598083,
-0.1167602464556694,
0.3886631727218628,
-0.7016658782958984,
0.2111932635307312,
0.5581796169281006,
-0.0817970335483551,
-0.13066300749778748,
-0.1625804901123047,
-0.12952080368995667,
0.054695308208465576,
0.06196051090955734,
-0.21741414070129395,
0.18410556018352509,
-0.16538134217262268,
0.08378689736127853,
0.13994812965393066,
-0.3529454171657562,
-0.16407470405101776,
0.1974753737449646,
-0.03450583294034004,
0.16048428416252136,
0.07806964963674545,
-0.12498243898153305,
0.2337755262851715,
-0.02182265743613243,
0.03145541250705719,
0.3980178236961365,
0.10166060924530029,
-0.2824465036392212,
-0.057981088757514954,
-0.17220917344093323,
-0.1430385410785675,
0.12012956291437149,
0.25296491384506226,
-0.10370127856731415,
0.4071974754333496,
-0.1681419312953949,
-0.19463273882865906,
0.006582170724868774,
0.10172651708126068,
-0.19000110030174255,
-0.00330481119453907,
-0.2894275486469269,
0.22775763273239136,
-0.13063442707061768,
-0.3791528344154358,
0.23943586647510529,
-0.24272440373897552,
-0.08073826134204865,
-0.32770711183547974,
0.4679195284843445,
0.1921907216310501,
-0.34889742732048035,
0.02777748554944992,
-0.07971837371587753,
0.03136994689702988,
-0.2768636643886566,
-0.019640667364001274,
0.5229090452194214,
-0.2067248672246933,
0.47559547424316406,
0.3149138391017914,
0.6466220021247864,
0.2650936543941498,
-0.07471318542957306,
0.22200340032577515,
-0.2876679599285126,
-0.1671048402786255,
0.30185240507125854,
-0.38968920707702637,
0.1061045378446579,
0.09695698320865631,
0.10791803896427155,
0.23774053156375885,
0.5291780233383179,
-0.13660186529159546,
-0.021617885679006577,
-0.04194740206003189,
0.267727792263031,
0.41518884897232056,
-0.15200862288475037,
0.22145096957683563,
-0.25441062450408936,
-0.44302114844322205,
0.029884815216064453,
0.2944848835468292,
-0.25801628828048706,
0.06191694736480713,
0.047441136091947556,
-0.41091910004615784,
0.12236972898244858,
0.6304359436035156,
0.2970353066921234,
0.026085883378982544,
0.22288595139980316,
0.1988162249326706,
0.09456443786621094,
0.2090192288160324,
-0.3150356709957123,
0.09901779890060425,
-0.07934567332267761,
0.101673424243927,
-0.07297579199075699,
0.018999703228473663,
0.1731923520565033,
-0.19720295071601868,
-0.07215892523527145,
-0.0947081446647644,
0.007364785298705101,
-0.12134391069412231,
0.2595594525337219,
-0.3754340410232544,
-0.23562997579574585,
-0.21598035097122192,
0.3991034924983978,
-0.1794920414686203,
-0.2070128321647644,
-0.045879676938056946,
0.2470499724149704,
-0.12111404538154602,
0.18675029277801514,
0.24017205834388733,
0.29257041215896606,
-0.192069411277771,
-0.21336939930915833,
-0.37403425574302673,
-0.1315554827451706,
-0.22715574502944946,
0.07219982147216797,
0.11859814822673798,
0.049124665558338165,
0.2562411427497864,
-0.09004466980695724,
0.09154513478279114,
-0.5583993792533875,
-0.25838515162467957,
0.4763558506965637,
0.01740235462784767,
0.0706341564655304,
0.3568415343761444,
-0.02967141568660736,
-0.762759804725647,
0.07486224174499512,
-0.015481837093830109,
-0.6967952251434326,
-0.20217183232307434,
-0.16453123092651367,
-0.04402381554245949,
0.03807307034730911,
-0.13291886448860168,
0.1609250158071518,
-0.40739262104034424,
-0.2872905433177948,
0.3274632692337036,
0.0742635726928711,
0.22085663676261902,
-0.1932181715965271,
0.0758901834487915,
0.21215324103832245,
-0.03431040048599243,
-0.25191107392311096,
0.14341287314891815,
-0.40961137413978577,
-0.023533444851636887,
-0.4047687351703644,
-0.2812170088291168,
0.01975063607096672,
0.09118372946977615,
0.10380682349205017,
0.33587807416915894,
-0.24076412618160248,
-0.25813645124435425,
0.05518188327550888,
-0.12820683419704437,
0.1816326081752777,
0.154396653175354,
0.489172101020813,
-0.29401895403862,
0.09618906676769257,
-0.05700714886188507,
0.10969151556491852,
0.03130730986595154,
0.029407959431409836,
0.05258237197995186,
0.3550458252429962,
0.02899067848920822,
0.013882908970117569,
0.8073540925979614,
-0.03764152526855469,
0.0069293007254600525,
-0.2010970413684845,
-0.1903565376996994,
0.3629648983478546,
-0.1403529942035675,
0.08946117758750916,
0.3513430953025818,
0.23110365867614746,
-0.23763036727905273,
-0.021177902817726135,
0.2453072965145111,
0.04725752770900726,
-0.17192800343036652,
-0.2660006880760193,
-0.15623244643211365,
-0.009624116122722626,
-0.2327260822057724,
-0.11534199118614197,
0.19206185638904572,
-0.2043887972831726,
0.2323302924633026,
0.09634508192539215,
0.00507460068911314,
0.11221221089363098,
0.23863644897937775,
0.19016441702842712,
0.20905038714408875,
-0.17895300686359406,
0.2340892255306244,
-0.37497174739837646,
0.17600594460964203,
-0.24123187363147736,
0.045418236404657364,
-0.2572249472141266,
-0.0702735185623169,
-0.08687032759189606,
-0.048761654645204544,
0.6207321882247925,
-0.42138928174972534,
-0.31402283906936646,
0.06631237268447876,
-0.1029709056019783,
-0.3182631731033325,
-0.26470741629600525,
-0.21476063132286072,
0.20527172088623047,
0.16171623766422272,
0.2727285325527191,
0.2515433132648468,
-0.3149538040161133,
0.09328137338161469,
-0.10072260349988937,
0.1333085596561432,
0.05593014881014824,
0.12318049371242523,
-0.10677048563957214,
0.037783198058605194,
0.03394589200615883,
-0.05973948538303375,
-0.19777104258537292,
-0.3224761486053467,
0.12455454468727112,
-0.029344571754336357,
0.11800698190927505,
0.21153683960437775,
-0.10907931625843048,
0.11204228550195694,
-0.0642521008849144,
-0.22658684849739075,
0.2801319360733032,
0.518028736114502,
-0.06095012277364731,
0.04718523100018501,
-0.0007601119577884674,
0.07148172706365585,
0.5397456884384155,
0.076778344810009,
0.24000892043113708,
0.367584764957428,
-0.2456081658601761,
-0.08604440838098526,
0.08123329281806946,
-0.02622893452644348,
-0.17803916335105896,
-0.023067647591233253,
-0.08007024228572845,
0.042633701115846634,
-0.18432460725307465,
-0.08301408588886261,
0.5335836410522461,
0.46150270104408264,
-0.2959757149219513,
0.46453332901000977,
0.4279784560203552,
-0.07185709476470947,
0.11744669824838638,
0.057007741183042526,
0.8248540759086609,
0.01940670982003212,
0.17212359607219696,
0.5183266401290894,
-0.16554884612560272,
0.6788827776908875,
-0.4279017448425293,
0.05139296129345894,
-0.28586846590042114,
-0.3855206072330475,
-0.216059610247612,
-0.24214085936546326,
0.30955469608306885,
0.16144846379756927,
-0.13541939854621887,
0.3358677625656128,
-0.04270945489406586,
0.5232656598091125,
-0.17298012971878052,
0.07702017575502396,
-0.14797677099704742,
-0.07578946650028229,
-0.23883876204490662,
0.10040570795536041,
0.12313225120306015,
0.20823384821414948,
-0.18675875663757324,
-0.09587584435939789,
-0.10891781002283096,
0.020446542650461197,
-0.48038649559020996,
0.17953535914421082,
-0.16347333788871765,
-0.20871004462242126,
0.3958529531955719,
-0.6125364303588867,
0.3828013241291046,
0.2550986707210541,
0.46012312173843384,
-0.04784310236573219,
-0.569842517375946,
0.31027859449386597,
0.004041776061058044,
0.08634506165981293,
0.0025844592601060867,
-0.04464079067111015,
0.1067042201757431,
-0.07723092287778854,
0.04185483604669571,
0.17224669456481934,
0.0822385847568512,
-0.12174106389284134,
-0.045093171298503876,
-0.09051002562046051,
0.11897753179073334,
0.1525784134864807,
0.09542685747146606,
0.13813650608062744,
0.13772544264793396,
0.10955120623111725,
0.0378778874874115,
-0.1614927500486374,
0.13521429896354675,
-0.2684127390384674,
-0.017426278442144394,
0.3251798152923584,
-0.10945944488048553,
0.25643280148506165,
0.10468389838933945,
-0.6021151542663574,
0.06731702387332916,
0.32687339186668396,
0.03274279087781906,
-0.28427228331565857,
0.028568923473358154,
0.5579798817634583,
-0.16706016659736633,
0.01299176923930645,
-0.2585160434246063,
-0.15268369019031525,
0.4334646165370941,
-0.03280453011393547,
0.17459416389465332,
0.09235646575689316,
-0.18821515142917633,
0.14557188749313354,
-0.11444400250911713,
0.2611122727394104,
-0.04568559303879738,
0.08838552236557007,
-0.16102023422718048,
-0.0782068520784378,
0.37958136200904846,
-0.36444178223609924,
-0.22016122937202454,
0.04578496515750885,
0.014546578750014305,
-0.18883761763572693,
0.5212365388870239,
0.2666528820991516,
0.125387042760849,
-0.17681463062763214,
-0.09641807526350021,
-0.1304263025522232,
-0.2003057897090912,
-0.08926928788423538,
0.02485712245106697,
0.15754523873329163,
0.04641740769147873,
-0.2564314603805542,
0.48605868220329285,
0.018529407680034637,
-0.421772301197052,
-0.21345798671245575,
0.18640495836734772,
0.19117113947868347,
-0.019272364675998688,
-0.022185225039720535,
-0.10856190323829651,
0.3934519290924072,
-0.006256572902202606,
0.005395708605647087,
0.2734330892562866,
0.2863486111164093,
-0.054589468985795975,
0.10844845324754715,
0.3910842537879944,
-0.1111440360546112,
-0.02680046297609806,
0.25168997049331665,
0.1510033756494522,
0.030891049653291702,
0.19274485111236572,
-0.04546211659908295,
0.019861485809087753,
-0.10820399969816208,
0.4486256539821625,
-0.23150679469108582,
-0.1931450217962265,
-0.0833650529384613,
0.433108389377594,
0.10658255964517593,
-0.013054164126515388,
-0.01403636671602726,
0.42586466670036316,
0.38208308815956116,
-0.03239990025758743,
0.034026987850666046,
0.3725804090499878,
-0.00021766126155853271,
-0.20671476423740387,
-0.018854890018701553,
0.28192639350891113,
-0.15602827072143555,
0.3639487028121948,
0.079964779317379,
0.1353028267621994,
0.1809697151184082,
-0.1796131134033203,
-0.06120562180876732,
0.06898265331983566,
0.4667172431945801,
-0.1889839470386505,
0.3327893912792206,
0.1512325406074524,
0.22762395441532135,
0.4879065155982971,
-0.38297727704048157,
-0.10490457713603973,
-0.05970868468284607,
0.08688696473836899,
0.15170513093471527,
-0.24504315853118896,
0.13663992285728455,
-0.19280947744846344,
-0.41729438304901123,
-0.37074118852615356,
0.23164737224578857,
0.008030982688069344,
0.030189357697963715,
-0.41166213154792786,
-0.07910265028476715,
-0.0467684306204319,
0.03673360124230385,
-0.04537220671772957,
-0.1149585098028183,
0.30279964208602905,
-0.12333691120147705,
0.30256974697113037,
-0.0022678691893815994,
0.3394874036312103,
0.009225795045495033,
0.27514955401420593,
0.05860677734017372,
0.06440587341785431,
-0.05053642392158508,
-0.1245017945766449,
-0.11058035492897034,
0.28673991560935974,
0.1701328307390213,
0.02011047676205635,
0.03121579810976982,
-0.08852611482143402,
-0.0858149528503418,
0.23085220158100128,
0.1910804808139801,
0.14490489661693573,
-0.082365021109581,
-0.03385721519589424,
0.055774468928575516,
0.06517073512077332,
0.018713362514972687,
0.26206380128860474,
0.05213185399770737,
0.03767186775803566,
-0.48614922165870667,
0.273765504360199,
-0.33687642216682434,
-0.024249766021966934,
-0.09736889600753784,
0.16047506034374237,
-0.3475992679595947,
0.09262778609991074,
0.30042630434036255,
0.3687678873538971,
0.023498758673667908,
-0.02038397267460823,
0.033475011587142944,
-0.12146039307117462,
0.39791378378868103,
0.4109885096549988,
0.6561906933784485,
0.06074456870555878,
-0.3965449929237366,
-0.23936031758785248,
-0.05522073060274124,
0.056100357323884964,
0.11403518915176392,
-0.10687834769487381,
-0.09976304322481155,
0.19387169182300568,
0.09091992676258087,
-0.11054065823554993,
0.13326340913772583,
-0.18373028934001923,
0.06008491665124893,
-0.08233654499053955,
-0.10119172930717468,
-0.2755622863769531,
0.07265447825193405,
0.0020435266196727753,
-0.11634231358766556,
0.11050203442573547,
-0.20255814492702484,
-0.15384913980960846,
0.08979596942663193,
-0.08034244179725647,
0.10886777937412262,
-0.48994025588035583,
0.10838054120540619,
-0.05636250227689743,
0.16686269640922546,
-0.03257548436522484,
-0.12968894839286804,
-0.1264614313840866,
0.008343804627656937,
-0.30686670541763306,
0.07828658074140549,
-0.3863499164581299,
0.07631304860115051,
-0.31731411814689636,
0.09172908961772919,
-0.18891136348247528,
-0.010650268755853176,
0.09621027112007141,
0.31190618872642517,
-0.5407900810241699,
-0.04189382493495941,
-0.163627028465271,
0.02958344854414463,
0.23512543737888336,
0.1800590455532074,
-0.10899780690670013,
-0.0037989867851138115,
-0.3034273087978363,
0.31375622749328613,
0.3680429458618164,
-0.8155406713485718,
0.10005839169025421,
-0.3602543771266937,
0.13299666345119476,
0.3758670687675476,
-0.06166321039199829,
-0.40704837441444397,
-0.07031970471143723,
0.10018806904554367,
-0.032255981117486954,
0.31544965505599976,
0.0924559086561203,
-0.1957244575023651,
-0.04384656623005867,
-0.1900758594274521,
-0.231916606426239,
0.005977911874651909,
-0.35290735960006714,
0.05029382184147835,
-0.1851446032524109
] |
https://github.com/huggingface/datasets/issues/919 | wrong length with datasets | Also, I cannot first convert it to torch format, since huggingface seq2seq_trainer codes process the datasets afterwards during datacollector function to make it optimize for TPUs. | Hi
I have a MRPC dataset which I convert it to seq2seq format, then this is of this format:
`Dataset(features: {'src_texts': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 10)
`
I feed it to a dataloader:
```
dataloader = DataLoader(
train_dataset,
batch_size=self.args.train_batch_size,
sampler=train_sampler,
collate_fn=self.data_collator,
drop_last=self.args.dataloader_drop_last,
num_workers=self.args.dataloader_num_workers,
)
```
now if I type len(dataloader) this is 1, which is wrong, and this needs to be 10. could you assist me please? thanks
| 26 | wrong length with datasets
Hi
I have a MRPC dataset which I convert it to seq2seq format, then this is of this format:
`Dataset(features: {'src_texts': Value(dtype='string', id=None), 'tgt_texts': Value(dtype='string', id=None)}, num_rows: 10)
`
I feed it to a dataloader:
```
dataloader = DataLoader(
train_dataset,
batch_size=self.args.train_batch_size,
sampler=train_sampler,
collate_fn=self.data_collator,
drop_last=self.args.dataloader_drop_last,
num_workers=self.args.dataloader_num_workers,
)
```
now if I type len(dataloader) this is 1, which is wrong, and this needs to be 10. could you assist me please? thanks
Also, I cannot first convert it to torch format, since huggingface seq2seq_trainer codes process the datasets afterwards during datacollector function to make it optimize for TPUs. | [
-0.0898992121219635,
-0.31920814514160156,
-0.03239399939775467,
0.6070461869239807,
0.2765789330005646,
-0.03361320495605469,
0.4790792763233185,
0.07050272077322006,
-0.5328689217567444,
0.207811176776886,
0.1901032030582428,
-0.1201394572854042,
0.01392704900354147,
0.3443428575992584,
0.06750989705324173,
-0.27079981565475464,
0.06430846452713013,
0.17873595654964447,
-0.10161489248275757,
-0.008910980075597763,
-0.22743754088878632,
0.17098447680473328,
-0.25982269644737244,
-0.07065241038799286,
-0.31260180473327637,
-0.07300768047571182,
-0.1010059118270874,
-0.033304207026958466,
-0.34624359011650085,
-0.35257551074028015,
0.06610846519470215,
-0.2506406307220459,
0.35443976521492004,
0.6040884256362915,
-0.00012650391727220267,
-0.07226724177598953,
0.18248720467090607,
-0.11070394515991211,
-0.09111075103282928,
0.09759950637817383,
-0.23391252756118774,
-0.01032363809645176,
0.3017585277557373,
-0.29144027829170227,
-0.0674704760313034,
0.38160380721092224,
-0.3033180832862854,
-0.11907126009464264,
0.1697501242160797,
0.416088730096817,
0.14916829764842987,
0.2589474320411682,
-0.1338302046060562,
-0.2041475623846054,
0.2666983902454376,
0.4192836284637451,
0.189833402633667,
-0.14626222848892212,
0.09964911639690399,
0.48923540115356445,
-0.08973494917154312,
0.1494983285665512,
0.19662296772003174,
-0.14164498448371887,
0.11349433660507202,
-0.06584933400154114,
0.03030787780880928,
-0.09599979221820831,
0.3137543499469757,
0.32646235823631287,
0.6222061514854431,
-0.18999791145324707,
-0.07398281246423721,
-0.04413807392120361,
0.08268535882234573,
-0.5755808353424072,
0.19401848316192627,
0.20100225508213043,
0.06776994466781616,
0.012914575636386871,
-0.6586118936538696,
0.07564731687307358,
0.03329741209745407,
0.11465730518102646,
-0.32735151052474976,
-0.1786707639694214,
-0.21087953448295593,
0.16782553493976593,
-0.07657298445701599,
-0.3343454599380493,
0.2114916294813156,
0.1300554871559143,
0.12235142290592194,
0.18503476679325104,
-0.31685197353363037,
0.004068072885274887,
-0.3697819113731384,
0.30312031507492065,
0.18079155683517456,
-0.031200475990772247,
-0.007185009308159351,
-0.27697861194610596,
0.16591738164424896,
-0.16499561071395874,
-0.08326408267021179,
0.2409600168466568,
0.1471588909626007,
0.07163174450397491,
-0.059391170740127563,
-0.1920502483844757,
-0.07464384287595749,
-0.1838717758655548,
-0.0941523015499115,
-0.4005028009414673,
0.15719270706176758,
-0.0017078407108783722,
-0.07280773669481277,
-0.17009548842906952,
-0.15296955406665802,
0.05096292123198509,
-0.05719822272658348,
0.03629785403609276,
0.13266032934188843,
0.12797537446022034,
-0.08907944709062576,
0.21954500675201416,
0.016839101910591125,
0.11683332175016403,
-0.34454020857810974,
-0.33996689319610596,
-0.2275850623846054,
-0.09427852928638458,
-0.20379945635795593,
-0.04551520198583603,
0.04864362254738808,
-0.36871883273124695,
0.16432727873325348,
-0.1625644862651825,
0.04642096906900406,
-0.24400512874126434,
-0.3857925832271576,
-0.036146439611911774,
0.017332054674625397,
-0.030113112181425095,
-0.07403023540973663,
0.10036590695381165,
0.029884349554777145,
-0.06825019419193268,
-0.09198858588933945,
0.1005261018872261,
-0.732648491859436,
0.09354564547538757,
-0.17259396612644196,
0.07203095406293869,
0.01754482090473175,
0.19926817715168,
-0.195620596408844,
0.11668150126934052,
0.5712836384773254,
-0.09819019585847855,
0.2525561451911926,
-0.317115843296051,
-0.19539427757263184,
-0.08767513930797577,
-0.014013335108757019,
0.06056694686412811,
-0.566856324672699,
-0.29941558837890625,
0.2563396096229553,
0.0627235621213913,
0.27869912981987,
0.5221865177154541,
-0.0936204344034195,
0.05946897715330124,
-0.2201632857322693,
0.026004433631896973,
0.5655910968780518,
-0.12278302013874054,
-0.11805307865142822,
0.4563281834125519,
-0.1290663480758667,
-0.41695985198020935,
0.10425174236297607,
0.06995700299739838,
0.4696897566318512,
0.1280135214328766,
0.27824050188064575,
-0.03810745105147362,
-0.09180128574371338,
0.07896546274423599,
-0.2886631190776825,
-0.17995290458202362,
0.4170445203781128,
-0.06380040943622589,
0.07364334911108017,
0.024780668318271637,
0.17822399735450745,
0.08281425386667252,
0.39272600412368774,
0.10723156481981277,
0.23177644610404968,
0.3984631896018982,
-0.19451019167900085,
-0.20832647383213043,
0.09484944492578506,
0.07199127227067947,
-0.2795378267765045,
-0.16464711725711823,
-0.16623027622699738,
0.15736471116542816,
0.3653210997581482,
0.1342683732509613,
-0.21849584579467773,
-0.02700459212064743,
0.04016033560037613,
-0.07570815086364746,
-0.04788166284561157,
-0.2674983739852905,
0.13384920358657837,
-0.16863645613193512,
0.3453322649002075,
0.35763975977897644,
0.07828673720359802,
0.4306091070175171,
-0.5524819493293762,
0.23055975139141083,
0.12184160202741623,
-0.1312158852815628,
0.004695001989603043,
0.11914970725774765,
0.4328717589378357,
0.19648140668869019,
-0.28487980365753174,
0.4029536843299866,
0.060449521988630295,
0.07183342427015305,
-0.06740190833806992,
0.0387822687625885,
0.3924155533313751,
-0.3995308578014374,
0.33625951409339905,
0.03540702536702156,
0.12621654570102692,
-0.06135953590273857,
-0.4830279052257538,
0.18993932008743286,
-0.02300890162587166,
0.3436664640903473,
-0.24952617287635803,
-0.026423394680023193,
-0.010431002825498581,
0.2588880658149719,
-0.35818442702293396,
0.1657913774251938,
0.28245532512664795,
0.44989144802093506,
0.3601812720298767,
0.6867604851722717,
-0.23216159641742706,
0.05257963389158249,
0.43731245398521423,
-0.26946064829826355,
-0.3443400263786316,
0.3847818076610565,
-0.24862140417099,
-0.14979150891304016,
0.1073857992887497,
-0.4560212194919586,
0.18972089886665344,
0.16043272614479065,
0.07313434779644012,
-0.25893986225128174,
0.045969393104314804,
-0.22199006378650665,
-0.06696171313524246,
0.0007341355085372925,
0.13741008937358856,
-0.022854313254356384,
0.3271225392818451,
-0.22027930617332458,
0.026924997568130493,
0.06082317605614662,
-0.06638860702514648,
0.20486408472061157,
-0.428559273481369,
0.17159956693649292,
-0.45123109221458435,
-0.27247926592826843,
-0.35190996527671814,
-0.002168908715248108,
-0.5320200324058533,
-0.08939918130636215,
-0.0661172866821289,
-0.3157939910888672,
0.38613057136535645,
0.017572689801454544,
-0.11271119117736816,
0.10997620970010757,
0.4287564754486084,
0.07759968936443329,
0.07592535018920898,
0.3114219903945923,
-0.22052571177482605,
-0.0305123683065176,
-0.06193936616182327,
-0.0093869399279356,
0.05105328932404518,
-0.2923029065132141,
0.05192890018224716,
-0.10271735489368439,
-0.42113855481147766,
0.06768816709518433,
0.041881293058395386,
0.16877055168151855,
0.38332679867744446,
0.01603853702545166,
0.09917034208774567,
0.010329541750252247,
0.05056043341755867,
0.1298251450061798,
-0.10577459633350372,
0.3102929890155792,
-0.19646362960338593,
-0.07861081510782242,
0.04328004643321037,
-0.05851837247610092,
-0.2840178906917572,
0.07922904193401337,
0.4483124613761902,
0.23543359339237213,
0.10603851824998856,
0.05826510116457939,
0.16958028078079224,
-0.41983461380004883,
0.18142405152320862,
0.12397046387195587,
-0.22220951318740845,
-0.8714922666549683,
0.1374487280845642,
-0.025804024189710617,
-0.1211957186460495,
-0.13834373652935028,
-0.052983108907938004,
0.2503458857536316,
0.2581642270088196,
-0.2691623568534851,
0.13814504444599152,
-0.23741085827350616,
-0.12315857410430908,
-0.05991081893444061,
0.16058020293712616,
0.35728850960731506,
-0.23686110973358154,
0.11176268756389618,
-0.018145738169550896,
-0.29332196712493896,
0.35796743631362915,
0.0900375172495842,
0.45539742708206177,
-0.0026251953095197678,
0.4152846932411194,
-0.08466305583715439,
0.2809683680534363,
0.37773481011390686,
-0.09295445680618286,
0.06587302684783936,
-0.24633899331092834,
0.16685426235198975,
-0.1257384717464447,
0.0782260149717331,
0.46886035799980164,
0.03592434525489807,
-0.21775127947330475,
0.4141392707824707,
0.033404797315597534,
-0.10379675775766373,
0.15190748870372772,
0.0047103241086006165,
-0.4924771189689636,
-0.10213513672351837,
0.031973280012607574,
0.14281126856803894,
0.07195346802473068,
-0.053931377828121185,
0.22389185428619385,
-0.26814812421798706,
-0.29808151721954346,
-0.38638103008270264,
0.07759760320186615,
-0.14217987656593323,
0.31620046496391296,
-0.484160840511322,
-0.11773139983415604,
-0.5206748843193054,
0.18968093395233154,
0.1766359508037567,
0.24270690977573395,
0.2643302381038666,
-0.1345771849155426,
0.17288172245025635,
0.11353671550750732,
0.60009765625,
0.2969931960105896,
-0.2703237533569336,
0.12222090363502502,
-0.05023712292313576,
-0.2922773063182831,
-0.12504896521568298,
-0.02807294763624668,
0.20357243716716766,
0.01809157058596611,
0.34376955032348633,
-0.3671683669090271,
-0.1061793640255928,
0.114321269094944,
0.04407506808638573,
-0.3028910160064697,
-0.26907971501350403,
0.007523722946643829,
0.06363444775342941,
0.1795836240053177,
-0.06445182114839554,
0.036985673010349274,
0.46418455243110657,
-0.23137050867080688,
-0.202168270945549,
-0.16670362651348114,
-0.3244054615497589,
0.2900686264038086,
-0.04698043316602707,
0.35445645451545715,
-0.04829012230038643,
0.120176762342453,
0.018598563969135284,
0.3662225902080536,
0.4305936396121979,
0.20562903583049774,
-0.3145064115524292,
0.03883412852883339,
0.3624871075153351,
-0.39277711510658264,
0.6368674039840698,
0.4278537333011627,
-0.21706578135490417,
0.11356336623430252,
-0.1979174166917801,
0.6306791305541992,
-0.3744523525238037,
0.10948288440704346,
0.22823132574558258,
0.04285946860909462,
-0.5182515978813171,
-0.14546352624893188,
0.04481739550828934,
0.10732786357402802,
0.1506492644548416,
-0.36583438515663147,
0.03221210464835167,
-0.35298922657966614,
-0.1641676276922226,
0.15593355894088745,
1.1218019723892212,
-0.1575758159160614,
0.35983139276504517,
-0.07893374562263489,
0.11598120629787445,
0.3529955744743347,
-0.4284675121307373,
-0.06134171783924103,
-0.4853716492652893,
-0.29791703820228577,
-0.034855637699365616,
-0.1774214208126068,
-0.12710359692573547,
0.2593648433685303,
-0.2782272696495056,
0.5325509905815125,
-0.15825407207012177,
-0.14350400865077972,
-0.2566656768321991,
0.14303700625896454,
0.1784835159778595,
-0.41581326723098755,
-0.30694669485092163,
0.08335430175065994,
-0.14478260278701782,
0.15170487761497498,
-0.07143203169107437,
0.0871070921421051,
0.032358262687921524,
-0.379626989364624,
-0.05733958259224892,
-0.2712668180465698,
-0.5653038024902344,
-0.38878196477890015,
0.3015841841697693,
-0.17441710829734802,
-0.006083399057388306,
0.26565441489219666,
0.1588515341281891,
0.3715471029281616,
0.04375218600034714,
-0.084959015250206,
-0.03863956779241562,
0.36675146222114563,
0.04054156318306923,
0.16783763468265533,
0.004114365205168724,
0.1074034795165062,
0.19299837946891785,
0.18596777319908142,
-0.01397828571498394,
0.08391781151294708,
0.047283291816711426,
-0.30488836765289307,
-0.08600360155105591,
-0.6301486492156982,
0.07142427563667297,
-0.2834021747112274,
0.13998939096927643,
-0.0646587684750557,
-0.0034211333841085434,
0.3126317858695984,
-0.10890571027994156,
0.299091100692749,
0.24899500608444214,
-0.39305123686790466,
-0.2548385560512543,
0.30609315633773804,
0.22531947493553162,
-0.13717110455036163,
0.17210988700389862,
0.27464738488197327,
-0.17487747967243195,
-0.07729335874319077,
0.47278207540512085,
0.2911943197250366,
-0.35048481822013855,
-0.085323266685009,
-0.06910290569067001,
0.2003546506166458,
-0.09388606250286102,
0.32423993945121765,
0.14177055656909943,
0.14589032530784607,
0.08261103928089142,
-0.09998977184295654,
-0.45178651809692383,
0.04508490860462189,
0.1475597470998764,
0.31115394830703735,
0.15258395671844482,
0.28916001319885254,
0.08757919818162918,
0.04280523210763931,
-0.1588153839111328,
0.08024226129055023,
-0.17183588445186615,
0.23288217186927795,
0.03630601614713669,
-0.31750643253326416,
0.009058697149157524,
0.188031405210495,
0.001968342810869217,
0.24947060644626617,
0.1264847368001938,
-0.12262774258852005,
-0.22692988812923431,
0.1617535650730133,
0.058963481336832047,
-0.18501250445842743,
0.13965386152267456,
-0.03145749121904373,
-0.03313226252794266,
-0.214924156665802,
0.011080492287874222,
0.10285478085279465,
0.34333503246307373,
0.15482957661151886,
0.49314212799072266,
0.02595757693052292,
-0.057264458388090134,
0.5009922981262207,
0.40721219778060913,
0.28508222103118896,
-0.04540707916021347,
0.2998177409172058,
-0.07153414934873581,
-0.02223851904273033,
0.015296582132577896,
0.4587614834308624,
0.1614377796649933,
-0.06920240819454193,
-0.13551750779151917,
-0.291124165058136,
0.0823555439710617,
0.30944526195526123,
0.38560178875923157,
0.35705825686454773,
0.017375292256474495,
0.10951390862464905,
0.052695129066705704,
0.054413750767707825,
-0.04263678938150406,
0.05497310310602188,
-0.018383514136075974,
0.08823738247156143,
-0.23888805508613586,
0.5035162568092346,
-0.11741870641708374,
0.2689972519874573,
0.034547433257102966,
-0.06927795708179474,
0.29581719636917114,
0.07337568700313568,
-0.15852858126163483,
0.22688497602939606,
0.014632824808359146,
0.18156996369361877,
0.39808332920074463,
0.2304409295320511,
-0.09040061384439468,
0.24879230558872223,
-0.1362537145614624,
0.20775996148586273,
-0.10287290066480637,
0.27488452196121216,
0.0996890440583229,
-0.17419752478599548,
-0.41173046827316284,
0.30647411942481995,
0.04495656490325928,
-0.33485740423202515,
-0.21273717284202576,
0.6561858057975769,
0.33552709221839905,
-0.40875229239463806,
-0.3752574026584625,
0.39568570256233215,
-0.21188309788703918,
-0.3872316777706146,
-0.16804488003253937,
-0.12475258111953735,
-0.46703770756721497,
-0.0503808930516243,
-0.32835012674331665,
-0.10683894157409668,
0.2790127098560333,
0.1475425362586975,
0.13683533668518066,
-0.41263285279273987,
-0.3528136610984802,
0.11066978424787521,
-0.27191582322120667,
-0.26296505331993103,
0.4174811542034149,
-0.028083011507987976,
0.03834909945726395,
0.5048877596855164,
-0.13957436382770538,
0.2498665452003479,
0.04996851831674576,
0.14364121854305267,
-0.21698345243930817,
0.07381244003772736,
-0.05109231919050217,
0.0659632608294487,
0.00856536440551281,
0.12849721312522888,
0.2257043719291687,
0.24484844505786896,
0.018140533939003944,
-0.041609399020671844,
0.1521872580051422,
-0.2556639313697815,
0.01739056408405304,
-0.5372475385665894,
-0.06389769166707993,
-0.18421518802642822,
0.1272341012954712,
-0.4959474503993988,
-0.06719415634870529,
-0.5162889361381531,
0.2294677197933197,
0.2347261756658554,
-0.08223658800125122,
0.3013237416744232,
0.11035149544477463,
0.0058020781725645065,
-0.14811378717422485,
0.16961732506752014,
0.2570335566997528,
0.11647315323352814,
-0.49647635221481323,
-0.16139104962348938,
-0.2868887186050415,
0.012697942554950714,
-0.04687916114926338,
-0.0013174843043088913,
0.04943560063838959,
0.27580592036247253,
0.008707106113433838,
-0.03063901513814926,
0.16661207377910614,
0.16448669135570526,
-0.11976514011621475,
0.2888929843902588,
0.009975530207157135,
-0.09155957400798798,
-0.037566088140010834,
-0.03188689053058624,
0.06733237206935883,
-0.06629433482885361,
0.35625505447387695,
0.07598619908094406,
-0.11195899546146393,
-0.3380556106567383,
0.21354296803474426,
-0.06250888109207153,
0.14194880425930023,
-0.007046714425086975,
0.13771717250347137,
0.19647634029388428,
0.15682634711265564,
0.1664329171180725,
-0.08006232976913452,
-0.11842173337936401,
-0.2754455804824829,
0.11714346706867218,
-0.18219754099845886,
0.2555270493030548,
-0.17608775198459625,
0.19995103776454926,
-0.1618427038192749,
0.11668840795755386,
0.1356528401374817,
-0.07460657507181168,
-0.37122222781181335,
0.09059084206819534,
-0.2492763102054596,
0.00673370948061347,
0.3864865005016327,
0.13385087251663208,
0.13625602424144745,
0.2491205781698227,
0.13911445438861847,
-0.3154528737068176,
0.4479084014892578,
-0.44129887223243713,
0.07339923083782196,
-0.23317299783229828,
-0.147621750831604,
0.46306750178337097,
-0.09305745363235474,
-0.25543224811553955,
0.035544492304325104,
0.48290425539016724,
-0.13323286175727844,
-0.024043675512075424,
0.18653787672519684,
-0.2772265076637268,
0.030416343361139297,
-0.3819780945777893,
0.15033584833145142,
0.17976060509681702,
0.011630496010184288,
-0.08620315045118332,
-0.4198217988014221
] |
https://github.com/huggingface/datasets/issues/915 | Shall we change the hashing to encoding to reduce potential replicated cache files? | This is an interesting idea !
Do you have ideas about how to approach the decoding and the normalization ? | Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the fingerprint may help in those cases, for example, use `base64.urlsafe_b64encode`. In this way, before we want to save a new copy, we can decode the transformation chain and normalize it to prevent omit potential reuse. As the main targets of this project are the really large datasets that cannot be loaded entirely in memory, I believe it would save a lot of time if we can avoid some write.
If you have interest in this, I'd love to help :). | 20 | Shall we change the hashing to encoding to reduce potential replicated cache files?
Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the fingerprint may help in those cases, for example, use `base64.urlsafe_b64encode`. In this way, before we want to save a new copy, we can decode the transformation chain and normalize it to prevent omit potential reuse. As the main targets of this project are the really large datasets that cannot be loaded entirely in memory, I believe it would save a lot of time if we can avoid some write.
If you have interest in this, I'd love to help :).
This is an interesting idea !
Do you have ideas about how to approach the decoding and the normalization ? | [
0.05798793211579323,
0.16470497846603394,
-0.020648183301091194,
-0.09999538958072662,
0.2292950600385666,
-0.05592672526836395,
0.2166694551706314,
0.4347030520439148,
-0.24738766252994537,
-0.16177071630954742,
0.009789731353521347,
-0.04963257536292076,
-0.16695444285869598,
0.28967469930648804,
0.2092277854681015,
0.12154466658830643,
0.14244383573532104,
0.18461698293685913,
-0.40957868099212646,
-0.06776294857263565,
-0.2962713837623596,
-0.0467052087187767,
0.24244247376918793,
-0.11442919075489044,
-0.39846667647361755,
-0.012998351827263832,
-0.21880750358104706,
0.2230953872203827,
0.01362436730414629,
-0.18215824663639069,
-0.32859715819358826,
0.3551391363143921,
0.11869442462921143,
0.03642313927412033,
-0.00011023744445992634,
0.014541059732437134,
0.10384966433048248,
-0.09673327207565308,
0.19729086756706238,
0.28230804204940796,
-0.4415961503982544,
-0.02087293565273285,
-0.31797778606414795,
-0.2204543650150299,
0.26327866315841675,
-0.16185812652111053,
0.24511736631393433,
-0.13869065046310425,
0.3337540030479431,
-0.26572319865226746,
0.2161935418844223,
-0.43804648518562317,
-0.2725086212158203,
0.39318183064460754,
0.17502909898757935,
0.17804819345474243,
-0.058174774050712585,
-0.05282038822770119,
0.1193537712097168,
0.32626810669898987,
-0.31761491298675537,
0.5141987204551697,
0.16873517632484436,
-0.34150072932243347,
0.15224885940551758,
0.0004010861739516258,
0.344698041677475,
-0.09066992998123169,
0.22885489463806152,
0.17921054363250732,
0.14039543271064758,
-0.24072369933128357,
-0.29097044467926025,
0.06163441389799118,
-0.2266465425491333,
-0.04717494174838066,
0.3117392361164093,
0.05139472335577011,
0.17433036863803864,
0.2972973585128784,
-0.8323923945426941,
-0.3791380822658539,
-0.00012483447790145874,
-0.20258529484272003,
0.13133348524570465,
-0.17227086424827576,
0.09705949574708939,
-0.12114249914884567,
0.28088313341140747,
-0.06711514294147491,
0.3315516412258148,
0.12345536798238754,
-0.036506619304418564,
-0.23054367303848267,
0.06202644482254982,
-0.15331080555915833,
-0.4224923253059387,
0.5188221335411072,
0.23953992128372192,
0.3001599907875061,
0.1627904325723648,
0.30868855118751526,
0.11063673347234726,
-0.0680963471531868,
-0.05549149587750435,
0.3370957672595978,
-0.15534931421279907,
-0.01870846562087536,
0.20993572473526,
-0.22346606850624084,
-0.37348437309265137,
0.17325729131698608,
-0.05044389143586159,
-0.20148463547229767,
0.3005167543888092,
0.3068946301937103,
-0.15996502339839935,
-0.24095796048641205,
0.5560634136199951,
-0.1805860549211502,
-0.1228703036904335,
0.12045247852802277,
0.17375828325748444,
0.05801481753587723,
0.028972309082746506,
0.31350240111351013,
0.0868721753358841,
-0.13486896455287933,
-0.06681455671787262,
-0.0665932223200798,
-0.16918149590492249,
-0.023778166621923447,
-0.33163440227508545,
0.2602970004081726,
-0.04591766372323036,
-0.2559428811073303,
0.05599801242351532,
-0.04726140573620796,
0.27112773060798645,
0.16670168936252594,
0.19886966049671173,
0.13676613569259644,
0.5526275038719177,
0.09594690799713135,
-0.11631521582603455,
-0.13827084004878998,
-0.19385330379009247,
0.08653217554092407,
-0.23593544960021973,
0.1158885732293129,
-0.19366928935050964,
-0.2252524495124817,
0.34948381781578064,
0.14784817397594452,
-0.27094560861587524,
-0.09095603227615356,
-0.07956349104642868,
0.061084575951099396,
0.20110869407653809,
-0.035245381295681,
0.0708695575594902,
0.0607462078332901,
0.03801951929926872,
-0.3379444181919098,
-0.019582370296120644,
0.25350141525268555,
0.09979782998561859,
-0.000055223703384399414,
0.391678124666214,
0.14931608736515045,
0.19377881288528442,
0.4858616888523102,
-0.10026531666517258,
-0.19924792647361755,
-0.05080088973045349,
0.17793749272823334,
0.006996817886829376,
-0.32285889983177185,
-0.15325351059436798,
0.4586924910545349,
0.0817386656999588,
-0.032135721296072006,
0.2724073529243469,
0.2414177507162094,
0.13657376170158386,
-0.5183569192886353,
-0.3733367919921875,
0.08488930016756058,
-0.22655966877937317,
0.14555218815803528,
-0.4432273209095001,
-0.5432182550430298,
0.22054672241210938,
-0.11685043573379517,
0.14065498113632202,
0.07318046689033508,
0.07390914112329483,
0.09289057552814484,
-0.02596135437488556,
-0.4790359437465668,
0.1978311836719513,
-0.026119694113731384,
0.0933566689491272,
-0.12859079241752625,
0.11914360523223877,
0.489650696516037,
0.0705784410238266,
-0.053509537130594254,
-0.46478790044784546,
-0.3019524812698364,
-0.2511306405067444,
-0.32606983184814453,
0.3761867582798004,
-0.4562114477157593,
-0.1690853089094162,
0.1202603131532669,
0.10469950735569,
-0.05045093595981598,
0.06561805307865143,
-0.23688550293445587,
-0.10924918949604034,
0.2331494688987732,
-0.006495269015431404,
-0.10746506601572037,
-0.43088066577911377,
-0.055986449122428894,
0.04175350442528725,
0.20983506739139557,
-0.08807309716939926,
0.10349515080451965,
0.0917721837759018,
-0.2685273289680481,
0.14056092500686646,
0.20211225748062134,
-0.2694941759109497,
0.4485934376716614,
0.45986321568489075,
0.7957433462142944,
0.23273144662380219,
-0.30122217535972595,
0.6026000380516052,
-0.07640336453914642,
-0.14743854105472565,
-0.09085103869438171,
0.10169149935245514,
0.35859179496765137,
-0.2511354386806488,
-0.08735872060060501,
0.09137475490570068,
-0.1395510882139206,
0.10780207812786102,
-0.417528361082077,
-0.3176831603050232,
-0.2822000980377197,
-0.1522047370672226,
-0.12162105739116669,
0.1933116614818573,
0.3982318937778473,
-0.08679173141717911,
0.28055059909820557,
0.2394750565290451,
-0.1773468554019928,
0.010385196655988693,
0.24320727586746216,
0.08366362005472183,
-0.4002477824687958,
-0.2816604673862457,
0.20785237848758698,
0.0816144272685051,
0.2223655730485916,
0.24113796651363373,
0.28492748737335205,
0.1991671919822693,
-0.1477101445198059,
0.1926001012325287,
-0.007455088198184967,
-0.03292766958475113,
-0.05493129789829254,
-0.18687215447425842,
-0.0027011027559638023,
-0.25739505887031555,
-0.07295025885105133,
0.11498468369245529,
-0.13996393978595734,
-0.23591773211956024,
0.09898574650287628,
-0.4986065924167633,
-0.022335607558488846,
-0.1428443044424057,
-0.19237957894802094,
-0.06219356134533882,
-0.13011206686496735,
0.2478783130645752,
-0.17974208295345306,
-0.29552432894706726,
0.2282325029373169,
-0.1217205822467804,
0.20373904705047607,
-0.09437122195959091,
0.007610015571117401,
-0.2146124541759491,
-0.26657384634017944,
-0.017430245876312256,
0.05818553641438484,
0.36974504590034485,
-0.2563678026199341,
0.1824270337820053,
-0.6005426645278931,
0.22524507343769073,
-0.47031915187835693,
-0.5034909248352051,
0.0603681243956089,
-0.10383406281471252,
-0.16460499167442322,
0.10061299800872803,
-0.15565258264541626,
-0.37235206365585327,
-0.14168815314769745,
-0.12980917096138,
-0.22279804944992065,
-0.1721685528755188,
0.1530264914035797,
-0.039013516157865524,
-0.1300099492073059,
0.05599938705563545,
-0.17858493328094482,
-0.1654711216688156,
-0.05482173711061478,
0.13652043044567108,
-0.1140015572309494,
0.23934318125247955,
0.20223750174045563,
-0.08546182513237,
-0.19936177134513855,
-0.20334719121456146,
-0.18499605357646942,
-0.3022696077823639,
-0.9126803874969482,
0.46305811405181885,
-0.29177871346473694,
-0.12753672897815704,
-0.022004779428243637,
-0.09330879151821136,
0.049654364585876465,
0.54157954454422,
-0.29044628143310547,
-0.45103979110717773,
0.08010819554328918,
0.01545776054263115,
0.12558194994926453,
0.030448080971837044,
0.12025481462478638,
0.21746918559074402,
-0.19530124962329865,
-0.038135938346385956,
0.39753609895706177,
0.3179323971271515,
0.03638291358947754,
0.3993937373161316,
0.26058632135391235,
0.023694489151239395,
0.3085046112537384,
0.5524950623512268,
0.2742903530597687,
-0.15586522221565247,
0.04506637901067734,
0.2183421403169632,
0.16257743537425995,
0.10715755820274353,
-0.014638598076999187,
-0.03299317881464958,
-0.15544268488883972,
-0.07444945722818375,
0.4130134582519531,
0.12309467792510986,
-0.20625337958335876,
0.0986751914024353,
-0.1469072699546814,
-0.35580113530158997,
-0.45858269929885864,
0.4402863085269928,
-0.2552868127822876,
0.22098061442375183,
-0.15112850069999695,
-0.24106496572494507,
-0.16310715675354004,
-0.07631417363882065,
0.5368346571922302,
0.21719667315483093,
0.12389274686574936,
0.13597168028354645,
-0.02647380158305168,
-0.12226344645023346,
-0.2475913166999817,
0.2743959128856659,
0.35654500126838684,
0.17778505384922028,
-0.009402565658092499,
-0.17174747586250305,
0.03861340135335922,
-0.049314722418785095,
0.42917364835739136,
-0.26853787899017334,
-0.04856206476688385,
-0.12282350659370422,
-0.5765990018844604,
0.5129474401473999,
0.24746106564998627,
0.09356832504272461,
0.045818060636520386,
0.30482232570648193,
0.10301042348146439,
-0.0661194697022438,
-0.05913502722978592,
-0.186918243765831,
0.2788245379924774,
-0.13135606050491333,
-0.027404405176639557,
0.12778142094612122,
-0.3672362267971039,
-0.005854655057191849,
-0.09688711911439896,
0.013989588245749474,
-0.3605833649635315,
0.13403712213039398,
-0.20994296669960022,
-0.3357192873954773,
-0.18789225816726685,
0.27077049016952515,
0.13706627488136292,
0.03357383608818054,
0.012829000130295753,
0.1681179404258728,
0.2732580304145813,
0.24855291843414307,
0.10629480332136154,
0.31917691230773926,
0.0693294033408165,
0.05743408203125,
-0.26553624868392944,
-0.1567779779434204,
-0.17498144507408142,
0.4416704773902893,
-0.11195648461580276,
-0.3950531482696533,
0.32574576139450073,
0.11386378109455109,
-0.15747644007205963,
-0.20198282599449158,
-0.388444721698761,
0.0846870169043541,
-0.45544907450675964,
-0.1692984700202942,
0.3722609281539917,
0.14364613592624664,
-0.23506580293178558,
-0.04373157024383545,
-0.02093951404094696,
-0.3833582103252411,
0.15874972939491272,
0.5202270150184631,
1.2037166357040405,
-0.14984644949436188,
0.1079217940568924,
-0.2164001166820526,
0.02369852364063263,
-0.21746210753917694,
-0.2415349781513214,
-0.016602683812379837,
-0.22054971754550934,
-0.40654152631759644,
-0.20700055360794067,
0.00818779319524765,
0.1574709415435791,
0.13229306042194366,
-0.3657616972923279,
0.23422974348068237,
0.1607876718044281,
-0.2798333466053009,
0.052243344485759735,
0.2037740796804428,
-0.18227355182170868,
-0.14497415721416473,
0.19522400200366974,
0.12493960559368134,
0.11377985775470734,
-0.316934198141098,
0.09101642668247223,
-0.41050291061401367,
-0.014383591711521149,
0.10199189186096191,
0.47249841690063477,
-0.026183126494288445,
-0.48556405305862427,
0.2704311013221741,
-0.19512638449668884,
0.022676192224025726,
-0.040484052151441574,
-0.15405739843845367,
0.6115785241127014,
-0.007008355110883713,
-0.1267046481370926,
0.06301470845937729,
0.32663729786872864,
0.32939475774765015,
-0.0012059349101036787,
-0.20203933119773865,
0.449464350938797,
0.039772048592567444,
0.11629804223775864,
-0.3359428346157074,
0.29510992765426636,
-0.32446664571762085,
-0.18158964812755585,
-0.2578533887863159,
-0.24252359569072723,
-0.03769819065928459,
0.31488847732543945,
0.1724090278148651,
-0.4297753572463989,
0.11868821084499359,
0.10016651451587677,
0.3503260612487793,
-0.026700492948293686,
0.6805771589279175,
0.25370705127716064,
-0.13763122260570526,
0.0074454788118600845,
0.22447970509529114,
0.33338987827301025,
-0.09042060375213623,
0.07904413342475891,
-0.32301065325737,
-0.34103310108184814,
-0.1152854859828949,
0.2726306915283203,
-0.2552441954612732,
-0.24418839812278748,
0.13475023210048676,
-0.22137798368930817,
-0.12664324045181274,
-0.06766802817583084,
-0.07482939958572388,
0.20053277909755707,
0.1958204209804535,
-0.12873464822769165,
0.030950449407100677,
-0.400974839925766,
0.37303853034973145,
0.004366248846054077,
0.38895705342292786,
-0.011738987639546394,
0.07548517733812332,
-0.12657643854618073,
0.28357240557670593,
-0.33093374967575073,
0.17142008244991302,
-0.0394417829811573,
0.2735460102558136,
-0.25362685322761536,
-0.36104699969291687,
0.2120087742805481,
-0.1412414014339447,
0.055956460535526276,
0.1845548450946808,
-0.24291196465492249,
-0.14689631760120392,
-0.1379624307155609,
0.14211970567703247,
0.09256931394338608,
-0.137642502784729,
-0.009723106399178505,
0.22685329616069794,
0.0682707279920578,
-0.07923252135515213,
0.07849358022212982,
0.2135465443134308,
0.01076456531882286,
0.0031713545322418213,
0.06712769716978073,
-0.43236276507377625,
0.02111741155385971,
-0.07806862890720367,
0.10217170417308807,
0.1335621476173401,
-0.05664433166384697,
0.11408992111682892,
-0.11469356715679169,
-0.21909740567207336,
0.17250977456569672,
0.30529773235321045,
0.17494887113571167,
-0.06636373698711395,
0.3501417934894562,
0.24968555569648743,
0.017591875046491623,
0.58709317445755,
-0.04960810765624046,
-0.07471548020839691,
-0.1433601826429367,
-0.4321398437023163,
0.35909581184387207,
0.16593091189861298,
-0.17304959893226624,
-0.1153542622923851,
0.05903962627053261,
-0.12408144026994705,
-0.30189162492752075,
0.3146199584007263,
0.49469807744026184,
-0.21489723026752472,
0.1783948838710785,
-0.16355150938034058,
0.25952550768852234,
-0.45962369441986084,
0.0658152624964714,
0.11655701696872711,
-0.2677548825740814,
-0.04032003507018089,
0.1498769074678421,
0.37824851274490356,
-0.06565750390291214,
0.2406572848558426,
-0.2567142844200134,
0.3606833219528198,
0.0745139867067337,
0.39424440264701843,
-0.1373748481273651,
0.07272599637508392,
-0.15433728694915771,
0.2562469244003296,
0.03851614147424698,
0.3209945857524872,
0.21278253197669983,
0.3322634696960449,
0.39057663083076477,
-0.21045620739459991,
-0.021780047565698624,
0.6193833947181702,
0.07762783765792847,
-0.2505095601081848,
0.139614075422287,
-0.0036262720823287964,
-0.4405718743801117,
0.06958922743797302,
-0.06638084352016449,
-0.15497331321239471,
0.4601643979549408,
0.5837762355804443,
0.30658867955207825,
0.015922823920845985,
0.199325829744339,
-0.18722394108772278,
0.5381709933280945,
-0.43641820549964905,
0.10841748863458633,
0.3436720371246338,
-0.11810348927974701,
0.3846258223056793,
0.19860120117664337,
0.12198248505592346,
0.041189324110746384,
-0.17957304418087006,
0.3040752708911896,
-0.05438826605677605,
0.09117962419986725,
-0.13643109798431396,
0.1980258971452713,
0.05351616069674492,
-0.1056823581457138,
0.05439433827996254,
0.0945076122879982,
-0.02415618672966957,
0.07309974730014801,
-0.13374772667884827,
0.05834292992949486,
0.33792099356651306,
0.38058194518089294,
0.36123454570770264,
0.005196630954742432,
0.03381871059536934,
0.04473020136356354,
-0.39654770493507385,
-0.19494424760341644,
0.18416379392147064,
-0.45948898792266846,
0.001147933304309845,
0.08830977976322174,
0.08994114398956299,
-0.022361520677804947,
0.5009449124336243,
0.3568817377090454,
-0.25053852796554565,
-0.31369805335998535,
0.10429053008556366,
0.07792127132415771,
0.015280470252037048,
0.25014692544937134,
0.04616369307041168,
-0.07740884274244308,
0.14678655564785004,
-0.04438353329896927,
0.23678746819496155,
-0.08691331744194031,
0.026654299348592758,
-0.059994861483573914,
0.19724008440971375,
-0.05719170719385147,
0.5674793720245361,
0.1685575246810913,
0.30000925064086914,
0.10522682964801788,
-0.2551068365573883,
0.3098328411579132,
0.2597009241580963,
0.10143420845270157,
0.10462404042482376,
-0.13091760873794556,
-0.09868253767490387,
0.05109162628650665,
0.19531527161598206,
0.284218430519104,
-0.0392182320356369,
-0.20653316378593445,
-0.04107356444001198,
0.01147744432091713,
-0.24777208268642426,
-0.06814642250537872,
0.14503760635852814,
0.3426806926727295,
-0.0684213638305664,
-0.158384770154953,
-0.100801020860672,
-0.07491961866617203,
0.12339793145656586,
-0.2849738597869873,
0.18076829612255096,
-0.20970427989959717,
0.20577950775623322,
-0.18745490908622742,
-0.00997824128717184,
0.03022642433643341,
0.5391847491264343,
-0.03421793878078461,
0.0706414133310318,
-0.12434407323598862,
-0.4154355227947235,
0.4183196425437927,
-0.4434707760810852,
-0.04259456694126129,
0.1918371021747589,
0.22440704703330994,
0.3125602602958679,
0.08355630189180374,
-0.4205694794654846,
-0.03324320912361145,
-0.10360757261514664,
-0.0892919972538948,
-0.02219964936375618,
0.16372008621692657,
-0.10729730129241943,
-0.2310144156217575,
-0.1094600260257721,
-0.2687177360057831,
-0.003199450671672821,
-0.03634032607078552,
-0.27463239431381226,
-0.3152400255203247
] |
https://github.com/huggingface/datasets/issues/915 | Shall we change the hashing to encoding to reduce potential replicated cache files? | @lhoestq
I think we first need to save the transformation chain to a list in `self._fingerprint`. Then we can
- decode all the current saved datasets to see if there is already one that is equivalent to the transformation we need now.
- or, calculate all the possible hash value of the current chain for comparison so that we could continue to use hashing.
If we find one, we can adjust the list in `self._fingerprint` to it.
As for the transformation reordering rules, we can just start with some manual rules, like two sort on the same column should merge to one, filter and select can change orders.
And for encoding and decoding, we can just manually specify `sort` is 0, `shuffling` is 2 and create a base-n number or use some general algorithm like `base64.urlsafe_b64encode`.
Because we are not doing lazy evaluation now, we may not be able to normalize the transformation to its minimal form. If we want to support that, we can provde a `Sequential` api and let user input a list or transformation, so that user would not use the intermediate datasets. This would look like tf.data.Dataset. | Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the fingerprint may help in those cases, for example, use `base64.urlsafe_b64encode`. In this way, before we want to save a new copy, we can decode the transformation chain and normalize it to prevent omit potential reuse. As the main targets of this project are the really large datasets that cannot be loaded entirely in memory, I believe it would save a lot of time if we can avoid some write.
If you have interest in this, I'd love to help :). | 191 | Shall we change the hashing to encoding to reduce potential replicated cache files?
Hi there. For now, we are using `xxhash` to hash the transformations to fingerprint and we will save a copy of the processed dataset to disk if there is a new hash value. However, there are some transformations that are idempotent or commutative to each other. I think that encoding the transformation chain as the fingerprint may help in those cases, for example, use `base64.urlsafe_b64encode`. In this way, before we want to save a new copy, we can decode the transformation chain and normalize it to prevent omit potential reuse. As the main targets of this project are the really large datasets that cannot be loaded entirely in memory, I believe it would save a lot of time if we can avoid some write.
If you have interest in this, I'd love to help :).
@lhoestq
I think we first need to save the transformation chain to a list in `self._fingerprint`. Then we can
- decode all the current saved datasets to see if there is already one that is equivalent to the transformation we need now.
- or, calculate all the possible hash value of the current chain for comparison so that we could continue to use hashing.
If we find one, we can adjust the list in `self._fingerprint` to it.
As for the transformation reordering rules, we can just start with some manual rules, like two sort on the same column should merge to one, filter and select can change orders.
And for encoding and decoding, we can just manually specify `sort` is 0, `shuffling` is 2 and create a base-n number or use some general algorithm like `base64.urlsafe_b64encode`.
Because we are not doing lazy evaluation now, we may not be able to normalize the transformation to its minimal form. If we want to support that, we can provde a `Sequential` api and let user input a list or transformation, so that user would not use the intermediate datasets. This would look like tf.data.Dataset. | [
0.12853042781352997,
0.08636419475078583,
-0.04908739775419235,
-0.0772111713886261,
0.12530599534511566,
-0.05366534739732742,
0.22149786353111267,
0.4482245147228241,
-0.12496188282966614,
-0.040037453174591064,
-0.13873223960399628,
0.03347334265708923,
-0.1281396597623825,
0.3592916429042816,
0.24452395737171173,
-0.004585161805152893,
-0.02142985910177231,
0.11002333462238312,
-0.4076029360294342,
-0.011221393942832947,
-0.25596868991851807,
-0.01323755644261837,
0.13681766390800476,
-0.03378528356552124,
-0.2687935531139374,
-0.08063916116952896,
-0.17973926663398743,
0.18538284301757812,
0.10483667254447937,
-0.13349346816539764,
-0.30314964056015015,
0.4466131925582886,
0.14721103012561798,
0.27941909432411194,
-0.00010381008178228512,
0.05626159906387329,
-0.24880479276180267,
-0.13864575326442719,
0.21292822062969208,
0.07444056868553162,
-0.2611117959022522,
0.07850921899080276,
-0.3203868269920349,
-0.20409232378005981,
0.0010416507720947266,
-0.2220730185508728,
0.178808331489563,
-0.045942433178424835,
0.3743225932121277,
-0.06527144461870193,
0.24679096043109894,
-0.20139800012111664,
-0.1129855215549469,
0.33123520016670227,
0.22610574960708618,
0.109831802546978,
-0.11991925537586212,
-0.1880587488412857,
0.12449870258569717,
0.18675509095191956,
-0.21794870495796204,
0.5250281095504761,
0.13267789781093597,
-0.31115594506263733,
0.22735881805419922,
-0.0156111354008317,
0.14313767850399017,
-0.12391139566898346,
0.005616325885057449,
0.4643924832344055,
0.22283580899238586,
-0.270663321018219,
-0.44820934534072876,
-0.0549168735742569,
-0.19630907475948334,
-0.0430079847574234,
0.2514188885688782,
-0.01892530731856823,
0.2822050154209137,
0.16874144971370697,
-0.555962085723877,
-0.16997577250003815,
-0.05333111435174942,
-0.11002165079116821,
-0.06840810924768448,
-0.04383014142513275,
0.12274013459682465,
-0.12207937985658646,
0.08737149834632874,
-0.14705996215343475,
0.250261127948761,
0.058604802936315536,
0.18330135941505432,
-0.12702296674251556,
-0.18141719698905945,
-0.34227263927459717,
-0.21973863244056702,
0.31318342685699463,
0.28029900789260864,
0.2581951916217804,
0.2559705674648285,
0.22660362720489502,
-0.06248072162270546,
-0.11815056949853897,
-0.17666830122470856,
0.3222269117832184,
-0.3438584506511688,
0.08896281570196152,
0.1337670534849167,
-0.2756942808628082,
-0.3974500000476837,
0.1466483771800995,
-0.008586667478084564,
-0.25181302428245544,
0.22267602384090424,
0.28223514556884766,
-0.1962132453918457,
-0.09951731562614441,
0.40839436650276184,
-0.20094844698905945,
-0.01077018678188324,
0.13000570237636566,
0.24490103125572205,
0.13393792510032654,
-0.05420509725809097,
0.22214317321777344,
0.20676542818546295,
-0.18950746953487396,
-0.08068549633026123,
0.11019247770309448,
-0.12724605202674866,
-0.08585560321807861,
-0.24886493384838104,
0.1876552700996399,
-0.004887625575065613,
-0.1962253451347351,
0.01585821807384491,
-0.08354923129081726,
0.2741127610206604,
0.23469021916389465,
0.30420157313346863,
-0.041735779494047165,
0.46404796838760376,
0.12927240133285522,
-0.0601889044046402,
-0.26958876848220825,
-0.18723201751708984,
0.15795718133449554,
-0.33267080783843994,
0.12889578938484192,
-0.24242985248565674,
-0.286166250705719,
0.2012261599302292,
0.2426215410232544,
-0.24699075520038605,
-0.1991753876209259,
-0.044827304780483246,
0.0969923660159111,
0.25322315096855164,
-0.11127814650535583,
0.023089811205863953,
0.0169688630849123,
-0.14194200932979584,
-0.34853455424308777,
-0.18427695333957672,
0.26878976821899414,
-0.19003209471702576,
0.12491491436958313,
0.34784457087516785,
0.1490202248096466,
-0.09056549519300461,
0.3433872163295746,
-0.11076357215642929,
0.010224871337413788,
-0.051006726920604706,
0.2945247292518616,
0.21587735414505005,
-0.3417194187641144,
-0.03832252323627472,
0.34368258714675903,
-0.15988734364509583,
0.03140351176261902,
0.24592354893684387,
0.29525887966156006,
0.2183942347764969,
-0.6586909294128418,
-0.2680199444293976,
0.11504897475242615,
-0.14579464495182037,
0.20359283685684204,
-0.37823721766471863,
-0.4893108904361725,
0.15516014397144318,
-0.11102063953876495,
0.21894682943820953,
-0.02190960943698883,
-0.026486337184906006,
-0.024392714723944664,
0.02110401540994644,
-0.3764764070510864,
-0.009697742760181427,
-0.020175833255052567,
0.03289571776986122,
0.18621116876602173,
0.101408950984478,
0.20246672630310059,
-0.21860086917877197,
0.10927055031061172,
-0.2190377414226532,
-0.28668728470802307,
0.030382998287677765,
-0.34085237979888916,
0.21359655261039734,
-0.3898273706436157,
-0.0898486077785492,
0.2973102331161499,
0.16390807926654816,
0.0066264718770980835,
0.0824812799692154,
-0.33061644434928894,
-0.20064988732337952,
0.1946839839220047,
-0.1601666957139969,
-0.14349356293678284,
-0.2852325737476349,
0.068434938788414,
0.04422084987163544,
0.2410113662481308,
0.041320040822029114,
-0.03410208225250244,
0.06680125743150711,
-0.26580220460891724,
0.12907949090003967,
0.31790217757225037,
-0.1664431244134903,
0.33091139793395996,
0.2668877840042114,
0.8330718874931335,
0.14070306718349457,
-0.10767023265361786,
0.3438839912414551,
-0.08462518453598022,
-0.1168704628944397,
-0.005588609725236893,
-0.08052221685647964,
0.4911960959434509,
-0.33414992690086365,
-0.11718227714300156,
0.13679562509059906,
-0.15999548137187958,
0.05597296357154846,
-0.3720172941684723,
-0.19772076606750488,
-0.2793739438056946,
-0.09324195981025696,
-0.10630239546298981,
0.12000742554664612,
0.3791046738624573,
-0.2798249125480652,
0.4305248558521271,
0.42736631631851196,
-0.14992639422416687,
0.029448606073856354,
0.21695879101753235,
0.2922953963279724,
-0.138904869556427,
-0.26798710227012634,
0.2191866785287857,
0.1560051292181015,
0.39485859870910645,
0.15794610977172852,
0.06965336203575134,
0.12325448542833328,
-0.14533059298992157,
0.23836171627044678,
-0.1427057981491089,
0.09408935904502869,
0.10482902079820633,
-0.02067774534225464,
0.15569619834423065,
-0.3001694083213806,
-0.12459485232830048,
0.17472197115421295,
-0.04034806042909622,
-0.3369618356227875,
0.0005103610455989838,
-0.37862250208854675,
0.0028125494718551636,
-0.03289681673049927,
-0.20663070678710938,
-0.05397805944085121,
-0.16424542665481567,
0.4976658821105957,
-0.10899814963340759,
-0.3371105492115021,
0.23314227163791656,
-0.21945443749427795,
0.1465769112110138,
-0.024213138967752457,
-0.10017666220664978,
-0.2513730823993683,
-0.16505300998687744,
-0.014768131077289581,
0.15144923329353333,
0.4425896108150482,
-0.13077162206172943,
0.340908408164978,
-0.36352887749671936,
0.08245782554149628,
-0.39775708317756653,
-0.6287534832954407,
0.07002990692853928,
-0.23151837289333344,
-0.07883753627538681,
0.12440498173236847,
-0.07122871279716492,
-0.2253909558057785,
-0.09938806295394897,
-0.14410217106342316,
-0.22218123078346252,
-0.33591726422309875,
0.09359946846961975,
0.01173524372279644,
-0.014257255010306835,
0.035311225801706314,
-0.2946576178073883,
-0.19087687134742737,
-0.18417778611183167,
0.05175720527768135,
0.11545057594776154,
0.3753777742385864,
0.1448078602552414,
-0.06528742611408234,
-0.24653467535972595,
0.03212738037109375,
-0.01790965348482132,
-0.32943978905677795,
-0.8471508026123047,
0.47230756282806396,
-0.33250758051872253,
-0.18743517994880676,
-0.06726183742284775,
-0.03766419738531113,
-0.1309809386730194,
0.5486736297607422,
-0.363874614238739,
-0.6462661027908325,
-0.0005098339170217514,
0.12215438485145569,
-0.009284570813179016,
-0.03659336268901825,
0.4072081446647644,
0.18955948948860168,
-0.23528367280960083,
-0.13165117800235748,
0.3807606101036072,
0.2739589810371399,
0.06043611466884613,
0.19675132632255554,
0.10909544676542282,
0.16104993224143982,
0.36500126123428345,
0.6264786124229431,
0.18536028265953064,
-0.27842622995376587,
0.04661291092634201,
0.06758588552474976,
0.12450134754180908,
-0.0798213854432106,
-0.012351061217486858,
-0.00829108152538538,
-0.015418171882629395,
0.13579219579696655,
0.394453227519989,
0.11574070900678635,
-0.015470640733838081,
0.11522901058197021,
0.1230585128068924,
-0.49633723497390747,
-0.5042799115180969,
0.39026591181755066,
-0.3113090693950653,
0.2560547888278961,
-0.03964051976799965,
-0.24959829449653625,
-0.38936302065849304,
-0.16537395119667053,
0.4180830717086792,
0.23671790957450867,
0.2869229316711426,
0.045979008078575134,
0.023136567324399948,
0.08785171061754227,
-0.10843781381845474,
0.27262791991233826,
0.3196280300617218,
0.02133050560951233,
0.043189581483602524,
-0.23853278160095215,
-0.007218405604362488,
-0.22769340872764587,
0.602175235748291,
-0.12388145178556442,
0.06708183884620667,
-0.06658251583576202,
-0.5419081449508667,
0.354177862405777,
0.227194145321846,
0.14218084514141083,
-0.13217078149318695,
0.18440133333206177,
0.37182822823524475,
-0.2227366864681244,
-0.226492241024971,
-0.08395104855298996,
0.19377972185611725,
-0.1486983597278595,
-0.05688127130270004,
0.04753381386399269,
-0.34850645065307617,
-0.05481090769171715,
0.01019124686717987,
-0.07898979634046555,
-0.4550440013408661,
0.10566142946481705,
-0.22574225068092346,
-0.36927250027656555,
-0.2502521276473999,
0.23583392798900604,
0.1980256736278534,
0.03666173294186592,
0.07071524113416672,
0.1968155950307846,
0.21249839663505554,
0.10111469030380249,
0.0640043094754219,
0.2546144127845764,
-0.03682949021458626,
0.14300987124443054,
-0.31025153398513794,
0.03492774814367294,
-0.32836687564849854,
0.47853711247444153,
-0.1703668087720871,
-0.20687299966812134,
0.12419376522302628,
0.2493247240781784,
-0.12713636457920074,
-0.12887556850910187,
-0.22216346859931946,
-0.022547731176018715,
-0.31390032172203064,
-0.16676372289657593,
0.388857364654541,
0.14225906133651733,
-0.27299660444259644,
0.09194769710302353,
0.17330139875411987,
-0.38269832730293274,
0.256011426448822,
0.5420141816139221,
1.1761375665664673,
-0.37633049488067627,
0.10051015764474869,
0.06995092332363129,
0.02340923249721527,
-0.011478221975266933,
-0.2966817617416382,
-0.030650556087493896,
-0.20490381121635437,
-0.48420408368110657,
-0.22328710556030273,
0.03848729655146599,
-0.036025457084178925,
0.219857320189476,
-0.25032636523246765,
0.163620263338089,
0.1835585981607437,
-0.11907202005386353,
-0.04288150370121002,
0.2936105728149414,
-0.10042773932218552,
-0.21448469161987305,
0.02206958457827568,
0.20723186433315277,
0.18149785697460175,
-0.30166274309158325,
0.07394684106111526,
-0.33711445331573486,
0.01969430223107338,
0.12609465420246124,
0.3993551731109619,
-0.09893416613340378,
-0.5738701820373535,
0.19000181555747986,
-0.17596842348575592,
0.03220918029546738,
-0.0943489670753479,
-0.04237758740782738,
0.48529356718063354,
0.0370611771941185,
-0.12112453579902649,
0.04958214610815048,
0.36620643734931946,
0.34740644693374634,
0.0016458113677799702,
-0.2287256270647049,
0.534290611743927,
-0.02924438565969467,
0.09501845389604568,
-0.3131178617477417,
0.336068332195282,
-0.3367794156074524,
-0.27952754497528076,
-0.2785632014274597,
-0.16084666550159454,
-0.08025550097227097,
0.328386127948761,
0.18804752826690674,
-0.4775858521461487,
0.0487525500357151,
0.16652913391590118,
0.19958139955997467,
-0.08741867542266846,
0.6254336833953857,
0.13618208467960358,
-0.06477333605289459,
-0.049828145653009415,
0.23433876037597656,
0.2947431802749634,
0.12026846408843994,
0.15888215601444244,
-0.08834223449230194,
-0.3206322193145752,
-0.2068021595478058,
0.18039503693580627,
-0.2727232277393341,
-0.2477397322654724,
0.24951699376106262,
-0.1612061858177185,
-0.12123414129018784,
0.1711607575416565,
0.11205057799816132,
0.3005470633506775,
0.06689555943012238,
-0.05547989904880524,
0.03524010628461838,
-0.3055219352245331,
0.36747264862060547,
0.173747256398201,
0.4600825309753418,
-0.14679956436157227,
0.43434351682662964,
-0.2452530562877655,
0.37627094984054565,
-0.4509998559951782,
0.14248399436473846,
-0.14632561802864075,
0.32628709077835083,
-0.19007034599781036,
-0.2824576199054718,
0.12218344956636429,
-0.15875467658042908,
0.1252051293849945,
0.12855350971221924,
-0.3576834499835968,
-0.2642918527126312,
-0.1343516856431961,
0.12337177991867065,
0.09295932948589325,
-0.06172056496143341,
-0.024125494062900543,
0.04062066972255707,
-0.09301890432834625,
-0.07733667641878128,
0.15554292500019073,
0.20897874236106873,
0.002800583839416504,
-0.05217744782567024,
0.07839104533195496,
-0.47369661927223206,
0.16003072261810303,
-0.02814047783613205,
0.12409818917512894,
-0.10410729050636292,
-0.0500570684671402,
0.2095998227596283,
-0.18253210186958313,
-0.1774720847606659,
0.18903475999832153,
0.3020366132259369,
0.2633100152015686,
-0.19040235877037048,
0.2855669856071472,
0.17652897536754608,
-0.17782308161258698,
0.45873624086380005,
0.12595126032829285,
0.0384659469127655,
0.0009790766052901745,
-0.4334661662578583,
0.26048269867897034,
0.23511651158332825,
-0.42028236389160156,
-0.08991444855928421,
0.12050089240074158,
-0.06546906381845474,
-0.020490961149334908,
0.27783939242362976,
0.20728832483291626,
-0.031733132898807526,
0.16105946898460388,
0.00010414980351924896,
0.12137950956821442,
-0.5231859087944031,
0.05573828145861626,
0.19095535576343536,
-0.2242419421672821,
-0.03908199444413185,
0.08461398631334305,
0.24729767441749573,
-0.0045037418603897095,
0.13978025317192078,
-0.06077627092599869,
0.4106541574001312,
-0.2522779405117035,
0.24499452114105225,
-0.048231326043605804,
-0.20534460246562958,
-0.029508505016565323,
0.285145103931427,
0.0826418548822403,
0.22427815198898315,
0.3080563247203827,
0.0737210065126419,
0.4339230954647064,
-0.2171860635280609,
-0.07263302057981491,
0.6125524044036865,
0.091912642121315,
-0.2435760349035263,
-0.0462820865213871,
-0.08417855203151703,
-0.21974113583564758,
0.021867815405130386,
-0.015990789979696274,
-0.11723974347114563,
0.32996779680252075,
0.5798953175544739,
0.3886064887046814,
-0.123300701379776,
-0.0035296492278575897,
-0.23813286423683167,
0.5514829158782959,
-0.3509504199028015,
0.16970960795879364,
0.3621647357940674,
-0.21817153692245483,
0.22074119746685028,
0.24242454767227173,
-0.06963202357292175,
-0.02614407241344452,
-0.14386014640331268,
0.3785848319530487,
-0.047393303364515305,
0.11395226418972015,
-0.07693828642368317,
0.1688646823167801,
-0.04000838100910187,
-0.1288125216960907,
0.21107125282287598,
0.15553607046604156,
-0.1085624024271965,
0.09343689680099487,
-0.18070898950099945,
0.01293105073273182,
0.09312401711940765,
0.3506371080875397,
0.37610676884651184,
-0.06623242050409317,
0.049814075231552124,
0.030940845608711243,
-0.2851729691028595,
-0.07429700344800949,
0.1877620667219162,
-0.39891141653060913,
0.11439595371484756,
0.07207756489515305,
0.13034266233444214,
0.07160322368144989,
0.4829990565776825,
0.38065099716186523,
-0.24324801564216614,
-0.347389817237854,
0.1224917620420456,
-0.1109221875667572,
-0.0021120086312294006,
0.0821843147277832,
0.10230430960655212,
0.037367045879364014,
0.22209511697292328,
0.1007126122713089,
0.19748736917972565,
-0.04958580434322357,
-0.07936690747737885,
-0.12674051523208618,
0.3335699141025543,
-0.16183651983737946,
0.397896409034729,
-0.13698983192443848,
0.16825462877750397,
0.05891069024801254,
-0.3917446434497833,
0.10690991580486298,
0.21577411890029907,
0.17704671621322632,
0.006303517147898674,
-0.013082042336463928,
0.034860823303461075,
0.17454253137111664,
0.19082273542881012,
0.19268836081027985,
-0.12979558110237122,
-0.20644089579582214,
0.10189584642648697,
0.02816564217209816,
-0.11971583962440491,
-0.32703495025634766,
0.12730517983436584,
0.3439902067184448,
-0.042450882494449615,
-0.1253281980752945,
-0.22143025696277618,
-0.06302271038293839,
-0.13443449139595032,
-0.21000666916370392,
0.1930847018957138,
-0.1583123803138733,
0.156844362616539,
-0.0833466500043869,
-0.013982268050312996,
-0.006603446323424578,
0.6900026202201843,
0.018920671194791794,
0.2031872421503067,
-0.2757936716079712,
-0.36803993582725525,
0.5384500026702881,
-0.43743646144866943,
-0.05836661159992218,
0.14957033097743988,
0.2244146317243576,
0.2603413164615631,
-0.01627877913415432,
-0.30345234274864197,
0.059620343148708344,
0.05194097384810448,
-0.062371060252189636,
0.06900912523269653,
0.2875989079475403,
-0.06803788244724274,
-0.22146004438400269,
-0.09950996935367584,
-0.13332968950271606,
0.015983985736966133,
-0.10043593496084213,
-0.39439234137535095,
-0.2757806181907654
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.